Lines Matching refs:hwwrite
79 hwwrite(vortex->mmio, VORTEX_MIXER_SR, in vortex_mixer_en_sr()
84 hwwrite(vortex->mmio, VORTEX_MIXER_SR, in vortex_mixer_dis_sr()
93 hwwrite(vortex->mmio, VORTEX_MIX_INVOL_A + ((mix << 5) + channel),
95 hwwrite(vortex->mmio, VORTEX_MIX_INVOL_B + ((mix << 5) + channel),
143 hwwrite(vortex->mmio,
146 hwwrite(vortex->mmio,
172 hwwrite(vortex->mmio, VORTEX_MIX_VOL_A + (mix << 2), vol); in vortex_mix_setvolumebyte()
178 hwwrite(vortex->mmio, VORTEX_MIX_VOL_B + (mix << 2), vol); in vortex_mix_setvolumebyte()
187 hwwrite(vortex->mmio, in vortex_mix_setinputvolumebyte()
196 hwwrite(vortex->mmio, in vortex_mix_setinputvolumebyte()
216 hwwrite(vortex->mmio, in vortex_mix_setenablebit()
219 hwwrite(vortex->mmio, VORTEX_MIX_SMP + (mixin << 2), 0x0); in vortex_mix_setenablebit()
220 hwwrite(vortex->mmio, VORTEX_MIX_SMP + 4 + (mixin << 2), 0x0); in vortex_mix_setenablebit()
222 hwwrite(vortex->mmio, VORTEX_MIX_ENIN + addr, temp); in vortex_mix_setenablebit()
265 hwwrite(vortex->mmio, VORTEX_MIXER_CHNBASE + (ch << 2), mix); in vortex_mixer_addWTD()
281 hwwrite(vortex->mmio, VORTEX_MIXER_RTBASE + ((temp & 0xf) << 2), mix); in vortex_mixer_addWTD()
282 hwwrite(vortex->mmio, prev, (temp & 0xf) | 0x10); in vortex_mixer_addWTD()
305 hwwrite(vortex->mmio, ebp, edx); in vortex_mixer_delWTD()
306 hwwrite(vortex->mmio, ebx, 0); in vortex_mixer_delWTD()
334 hwwrite(vortex->mmio, in vortex_mixer_delWTD()
336 hwwrite(vortex->mmio, ebx, 0); in vortex_mixer_delWTD()
341 hwwrite(vortex->mmio, in vortex_mixer_delWTD()
346 hwwrite(vortex->mmio, in vortex_mixer_delWTD()
351 hwwrite(vortex->mmio, in vortex_mixer_delWTD()
360 hwwrite(vortex->mmio, ebp, 0); in vortex_mixer_delWTD()
376 hwwrite(vortex->mmio, addr, 0); in vortex_mixer_init()
381 hwwrite(vortex->mmio, addr, 0); in vortex_mixer_init()
386 hwwrite(vortex->mmio, addr, 0); in vortex_mixer_init()
391 hwwrite(vortex->mmio, addr, 0x80); in vortex_mixer_init()
396 hwwrite(vortex->mmio, addr, 0x80); in vortex_mixer_init()
401 hwwrite(vortex->mmio, addr, 0x80); in vortex_mixer_init()
406 hwwrite(vortex->mmio, addr, 0x80); in vortex_mixer_init()
411 hwwrite(vortex->mmio, addr, 0x0); in vortex_mixer_init()
414 hwwrite(vortex->mmio, VORTEX_MIXER_SR, 0); in vortex_mixer_init()
433 hwwrite(vortex->mmio, VORTEX_SRCBLOCK_SR, in vortex_src_en_sr()
439 hwwrite(vortex->mmio, VORTEX_SRCBLOCK_SR, in vortex_src_dis_sr()
448 hwwrite(vortex->mmio, in vortex_src_flushbuffers()
450 hwwrite(vortex->mmio, VORTEX_SRC_DATA + (src << 3), 0); in vortex_src_flushbuffers()
451 hwwrite(vortex->mmio, VORTEX_SRC_DATA + (src << 3) + 4, 0); in vortex_src_flushbuffers()
456 hwwrite(vortex->mmio, VORTEX_SRC_DRIFT0 + (src << 2), 0); in vortex_src_cleardrift()
457 hwwrite(vortex->mmio, VORTEX_SRC_DRIFT1 + (src << 2), 0); in vortex_src_cleardrift()
458 hwwrite(vortex->mmio, VORTEX_SRC_DRIFT2 + (src << 2), 1); in vortex_src_cleardrift()
471 hwwrite(vortex->mmio, VORTEX_SRC_SOURCE, temp); in vortex_src_set_throttlesource()
480 hwwrite(vortex->mmio, VORTEX_SRC_CONVRATIO + (src << 2), ratio); in vortex_src_persist_convratio()
496 hwwrite(vortex->mmio, VORTEX_SRC_DRIFT2 + (src << 2), 1);
497 hwwrite(vortex->mmio, VORTEX_SRC_DRIFT0 + (src << 2), 0);
500 hwwrite(vortex->mmio, VORTEX_SRC_U0 + (src << 2),
518 hwwrite(vortex->mmio, VORTEX_SRC_U0 + (src << 2),
533 hwwrite(vortex->mmio, VORTEX_SRC_CONVRATIO + (src << 2), desired_ratio);
616 hwwrite(card->mmio, VORTEX_SRC_U0 + (src << 2), in vortex_src_setupchannel()
620 hwwrite(card->mmio, VORTEX_SRC_U1 + (src << 2), b & 0xffff); in vortex_src_setupchannel()
622 hwwrite(card->mmio, VORTEX_SRC_U2 + (src << 2), in vortex_src_setupchannel()
632 hwwrite(vortex->mmio, VORTEX_SRC_SOURCESIZE, 0x1ff); in vortex_srcblock_init()
642 hwwrite(vortex->mmio, addr, 0); in vortex_srcblock_init()
649 hwwrite(vortex->mmio, addr, 0); in vortex_srcblock_init()
662 hwwrite(vortex->mmio, VORTEX_SRC_CHNBASE + (ch << 2), src); in vortex_src_addWTD()
680 hwwrite(vortex->mmio, VORTEX_SRC_RTBASE + ((temp & 0xf) << 2), src); in vortex_src_addWTD()
682 hwwrite(vortex->mmio, prev, (temp & 0xf) | 0x10); in vortex_src_addWTD()
705 hwwrite(vortex->mmio, ebp, edx); in vortex_src_delWTD()
706 hwwrite(vortex->mmio, ebx, 0); in vortex_src_delWTD()
734 hwwrite(vortex->mmio, in vortex_src_delWTD()
736 hwwrite(vortex->mmio, ebx, 0); in vortex_src_delWTD()
741 hwwrite(vortex->mmio, in vortex_src_delWTD()
746 hwwrite(vortex->mmio, in vortex_src_delWTD()
751 hwwrite(vortex->mmio, in vortex_src_delWTD()
759 hwwrite(vortex->mmio, ebp, 0); in vortex_src_delWTD()
770 hwwrite(vortex->mmio, in vortex_fifo_clearadbdata()
780 hwwrite(vortex->mmio, VORTEX_FIFO_ADBCTRL + (fifo << 2),
783 hwwrite(vortex->mmio, VORTEX_FIFO_ADBCTRL + (fifo << 2),
790 hwwrite(vortex->mmio, VORTEX_FIFO_ADBCTRL + (fifo << 2), in vortex_fifo_setadbvalid()
862 hwwrite(vortex->mmio, VORTEX_FIFO_ADBCTRL + (fifo << 2), temp); in vortex_fifo_setadbctrl()
872 hwwrite(vortex->mmio, in vortex_fifo_clearwtdata()
881 hwwrite(vortex->mmio, VORTEX_FIFO_WTCTRL + (fifo << 2), in vortex_fifo_wtinitialize()
884 hwwrite(vortex->mmio, VORTEX_FIFO_WTCTRL + (fifo << 2), in vortex_fifo_wtinitialize()
891 hwwrite(vortex->mmio, VORTEX_FIFO_WTCTRL + (fifo << 2), in vortex_fifo_setwtvalid()
955 hwwrite(vortex->mmio, VORTEX_FIFO_WTCTRL + (fifo << 2), temp); in vortex_fifo_setwtctrl()
1032 hwwrite(vortex->mmio, addr, (FIFO_U0 | FIFO_U1)); in vortex_fifo_init()
1043 hwwrite(vortex->mmio, addr, FIFO_U0); in vortex_fifo_init()
1054 hwwrite(vortex->mmio, 0xf8c0, 0xd03); //0x0843 0xd6b in vortex_fifo_init()
1057 hwwrite(vortex->mmio, 0x17000, 0x61); /* wt a */ in vortex_fifo_init()
1058 hwwrite(vortex->mmio, 0x17004, 0x61); /* wt b */ in vortex_fifo_init()
1060 hwwrite(vortex->mmio, 0x17008, 0x61); /* adb */ in vortex_fifo_init()
1074 hwwrite(vortex->mmio, VORTEX_ADBDMA_CTRL + (adbdma << 2), in vortex_adbdma_setfirstbuffer()
1082 hwwrite(vortex->mmio, VORTEX_ADBDMA_START + (adbdma << 2), in vortex_adbdma_setstartbuffer()
1103 hwwrite(vortex->mmio, in vortex_adbdma_setbuffers()
1111 hwwrite(vortex->mmio, in vortex_adbdma_setbuffers()
1118 hwwrite(vortex->mmio, in vortex_adbdma_setbuffers()
1125 hwwrite(vortex->mmio, in vortex_adbdma_setbuffers()
1134 hwwrite(vortex->mmio, VORTEX_ADBDMA_BUFCFG0 + (adbdma << 3), dma->cfg0); in vortex_adbdma_setbuffers()
1135 hwwrite(vortex->mmio, VORTEX_ADBDMA_BUFCFG1 + (adbdma << 3), dma->cfg1); in vortex_adbdma_setbuffers()
1159 hwwrite(vortex->mmio, VORTEX_ADBDMA_CTRL + (adbdma << 2), in vortex_adbdma_setmode()
1194 hwwrite(vortex->mmio, in vortex_adbdma_bufshift()
1236 hwwrite(vortex->mmio, in vortex_adbdma_resetup()
1275 hwwrite(vortex->mmio, VORTEX_ADBDMA_CTRL + (adbdma << 2), in vortex_adbdma_startfifo()
1297 hwwrite(vortex->mmio, VORTEX_ADBDMA_CTRL + (adbdma << 2), in vortex_adbdma_resumefifo()
1323 hwwrite(vortex->mmio, VORTEX_ADBDMA_CTRL + (adbdma << 2), in vortex_adbdma_pausefifo()
1354 hwwrite(vortex->mmio, VORTEX_WTDMA_CTRL + (wtdma << 2), dma->dma_ctrl); in vortex_wtdma_setfirstbuffer()
1361 hwwrite(vortex->mmio, VORTEX_WTDMA_START + (wtdma << 2), in vortex_wtdma_setstartbuffer()
1382 hwwrite(vortex->mmio, VORTEX_WTDMA_BUFBASE + (wtdma << 4) + 0xc, in vortex_wtdma_setbuffers()
1389 hwwrite(vortex->mmio, VORTEX_WTDMA_BUFBASE + (wtdma << 4) + 0x8, in vortex_wtdma_setbuffers()
1395 hwwrite(vortex->mmio, VORTEX_WTDMA_BUFBASE + (wtdma << 4) + 0x4, in vortex_wtdma_setbuffers()
1401 hwwrite(vortex->mmio, VORTEX_WTDMA_BUFBASE + (wtdma << 4), in vortex_wtdma_setbuffers()
1405 hwwrite(vortex->mmio, VORTEX_WTDMA_BUFCFG0 + (wtdma << 3), dma->cfg0); in vortex_wtdma_setbuffers()
1406 hwwrite(vortex->mmio, VORTEX_WTDMA_BUFCFG1 + (wtdma << 3), dma->cfg1); in vortex_wtdma_setbuffers()
1432 hwwrite(vortex->mmio, VORTEX_WTDMA_CTRL + (wtdma << 2), dma->dma_ctrl); in vortex_wtdma_setmode()
1464 hwwrite(vortex->mmio, in vortex_wtdma_bufshift()
1524 hwwrite(vortex->mmio, VORTEX_WTDMA_CTRL + (wtdma << 2), in vortex_wtdma_startfifo()
1546 hwwrite(vortex->mmio, VORTEX_WTDMA_CTRL + (wtdma << 2), in vortex_wtdma_resumefifo()
1572 hwwrite(vortex->mmio, VORTEX_WTDMA_CTRL + (wtdma << 2), in vortex_wtdma_pausefifo()
1604 hwwrite(vortex->mmio, VORTEX_ADB_SR, 0); in vortex_adb_init()
1606 hwwrite(vortex->mmio, VORTEX_ADB_RTBASE + (i << 2), in vortex_adb_init()
1610 hwwrite(vortex->mmio, VORTEX_ADB_CHNBASE + (i << 2), in vortex_adb_init()
1618 hwwrite(vortex->mmio, VORTEX_ADB_SR, in vortex_adb_en_sr()
1624 hwwrite(vortex->mmio, VORTEX_ADB_SR, in vortex_adb_dis_sr()
1638 hwwrite(vortex->mmio, in vortex_adb_addroutes()
1642 hwwrite(vortex->mmio, in vortex_adb_addroutes()
1653 hwwrite(vortex->mmio, VORTEX_ADB_CHNBASE + (channel << 2), in vortex_adb_addroutes()
1672 hwwrite(vortex->mmio, VORTEX_ADB_RTBASE + (prev << 2), route[0]); in vortex_adb_addroutes()
1691 hwwrite(vortex->mmio, VORTEX_ADB_CHNBASE + (channel << 2), in vortex_adb_delroutes()
1712 hwwrite(vortex->mmio, VORTEX_ADB_RTBASE + (prev << 2), temp); in vortex_adb_delroutes()
2371 hwwrite(vortex->mmio, VORTEX_IRQ_STAT, period); in vortex_settimer()
2377 hwwrite(card->mmio, VORTEX_IRQ_CTRL,
2383 hwwrite(card->mmio, VORTEX_IRQ_CTRL,
2391 hwwrite(card->mmio, VORTEX_CTRL, in vortex_enable_int()
2393 hwwrite(card->mmio, VORTEX_IRQ_CTRL, in vortex_enable_int()
2399 hwwrite(card->mmio, VORTEX_CTRL, in vortex_disable_int()
2419 hwwrite(vortex->mmio, VORTEX_IRQ_SOURCE, source); in vortex_interrupt()
2505 hwwrite(vortex->mmio, (VORTEX_CODEC_CHN + (i << 2)), -i); in vortex_codec_init()
2509 hwwrite(vortex->mmio, VORTEX_CODEC_CTRL, 0x8068); in vortex_codec_init()
2511 hwwrite(vortex->mmio, VORTEX_CODEC_CTRL, 0x00e8); in vortex_codec_init()
2514 hwwrite(vortex->mmio, VORTEX_CODEC_CTRL, 0x00a8); in vortex_codec_init()
2516 hwwrite(vortex->mmio, VORTEX_CODEC_CTRL, 0x80a8); in vortex_codec_init()
2518 hwwrite(vortex->mmio, VORTEX_CODEC_CTRL, 0x80e8); in vortex_codec_init()
2520 hwwrite(vortex->mmio, VORTEX_CODEC_CTRL, 0x80a8); in vortex_codec_init()
2522 hwwrite(vortex->mmio, VORTEX_CODEC_CTRL, 0x00a8); in vortex_codec_init()
2524 hwwrite(vortex->mmio, VORTEX_CODEC_CTRL, 0x00e8); in vortex_codec_init()
2527 hwwrite(vortex->mmio, (VORTEX_CODEC_CHN + (i << 2)), -i); in vortex_codec_init()
2530 hwwrite(vortex->mmio, VORTEX_CODEC_CTRL, 0xe8); in vortex_codec_init()
2533 hwwrite(vortex->mmio, VORTEX_CODEC_EN, in vortex_codec_init()
2553 hwwrite(card->mmio, VORTEX_CODEC_IO, in vortex_codec_write()
2581 hwwrite(card->mmio, VORTEX_CODEC_IO, read_addr); in vortex_codec_read()
2606 hwwrite(vortex->mmio, VORTEX_SPDIF_FLAGS, in vortex_spdif_init()
2610 hwwrite(vortex->mmio, VORTEX_SPDIF_CFG1 + (i << 2), 0); in vortex_spdif_init()
2612 hwwrite(vortex->mmio, VORTEX_CODEC_EN, in vortex_spdif_init()
2676 hwwrite(vortex->mmio, VORTEX_SPDIF_CFG0, this_38 & 0xffff); in vortex_spdif_init()
2677 hwwrite(vortex->mmio, VORTEX_SPDIF_CFG1, this_38 >> 0x10); in vortex_spdif_init()
2678 hwwrite(vortex->mmio, VORTEX_SPDIF_SMPRATE, spdif_sr); in vortex_spdif_init()
2688 hwwrite(vortex->mmio, VORTEX_CTRL, 0xffffffff); in vortex_core_init()
2690 hwwrite(vortex->mmio, VORTEX_CTRL, in vortex_core_init()
2694 hwwrite(vortex->mmio, VORTEX_IRQ_SOURCE, 0xffffffff); in vortex_core_init()
2700 hwwrite(vortex->mmio, VORTEX_CTRL, in vortex_core_init()
2706 hwwrite(vortex->mmio, VORTEX_ENGINE_CTRL, 0x0); //, 0xc83c7e58, 0xc5f93e58 in vortex_core_init()
2757 hwwrite(vortex->mmio, VORTEX_IRQ_CTRL, 0); in vortex_core_shutdown()
2758 hwwrite(vortex->mmio, VORTEX_CTRL, 0); in vortex_core_shutdown()
2760 hwwrite(vortex->mmio, VORTEX_IRQ_SOURCE, 0xffff); in vortex_core_shutdown()