0001
0002
0003
0004
0005
0006
0007
0008
0009 #include "host1x06.h"
0010 #include "host1x06_hardware.h"
0011
0012
0013 #define HOST1X_HW 6
0014
0015 #include "cdma_hw.c"
0016 #include "channel_hw.c"
0017 #include "debug_hw.c"
0018 #include "intr_hw.c"
0019 #include "syncpt_hw.c"
0020
0021 #include "../dev.h"
0022
0023 int host1x06_init(struct host1x *host)
0024 {
0025 host->channel_op = &host1x_channel_ops;
0026 host->cdma_op = &host1x_cdma_ops;
0027 host->cdma_pb_op = &host1x_pushbuffer_ops;
0028 host->syncpt_op = &host1x_syncpt_ops;
0029 host->intr_op = &host1x_intr_ops;
0030 host->debug_op = &host1x_debug_ops;
0031
0032 return 0;
0033 }