19952f691SThomas Gleixner // SPDX-License-Identifier: GPL-2.0-only 25407f31bSThierry Reding /* 35407f31bSThierry Reding * Host1x init for Tegra114 SoCs 45407f31bSThierry Reding * 55407f31bSThierry Reding * Copyright (c) 2013 NVIDIA Corporation. 65407f31bSThierry Reding */ 75407f31bSThierry Reding 85407f31bSThierry Reding /* include hw specification */ 918b94f1cSThierry Reding #include "host1x02.h" 1018b94f1cSThierry Reding #include "host1x02_hardware.h" 115407f31bSThierry Reding 125407f31bSThierry Reding /* include code */ 13f1b53c4eSMikko Perttunen #define HOST1X_HW 2 14f1b53c4eSMikko Perttunen 155407f31bSThierry Reding #include "cdma_hw.c" 165407f31bSThierry Reding #include "channel_hw.c" 175407f31bSThierry Reding #include "debug_hw.c" 185407f31bSThierry Reding #include "intr_hw.c" 195407f31bSThierry Reding #include "syncpt_hw.c" 205407f31bSThierry Reding 215407f31bSThierry Reding #include "../dev.h" 225407f31bSThierry Reding host1x02_init(struct host1x * host)235407f31bSThierry Redingint host1x02_init(struct host1x *host) 245407f31bSThierry Reding { 255407f31bSThierry Reding host->channel_op = &host1x_channel_ops; 265407f31bSThierry Reding host->cdma_op = &host1x_cdma_ops; 275407f31bSThierry Reding host->cdma_pb_op = &host1x_pushbuffer_ops; 285407f31bSThierry Reding host->syncpt_op = &host1x_syncpt_ops; 295407f31bSThierry Reding host->intr_op = &host1x_intr_ops; 305407f31bSThierry Reding host->debug_op = &host1x_debug_ops; 315407f31bSThierry Reding 325407f31bSThierry Reding return 0; 335407f31bSThierry Reding } 34