• Home
  • Raw
  • Download

Lines Matching refs:fifo

779 vortex_fifo_clearadbdata(vortex_t * vortex, int fifo, int x)  in vortex_fifo_clearadbdata()  argument
784 (((fifo << FIFO_SIZE_BITS) + x) << 2), 0); in vortex_fifo_clearadbdata()
788 static void vortex_fifo_adbinitialize(vortex_t * vortex, int fifo, int j)
790 vortex_fifo_clearadbdata(vortex, fifo, FIFO_SIZE);
792 hwwrite(vortex->mmio, VORTEX_FIFO_ADBCTRL + (fifo << 2),
795 hwwrite(vortex->mmio, VORTEX_FIFO_ADBCTRL + (fifo << 2),
800 static void vortex_fifo_setadbvalid(vortex_t * vortex, int fifo, int en) in vortex_fifo_setadbvalid() argument
802 hwwrite(vortex->mmio, VORTEX_FIFO_ADBCTRL + (fifo << 2), in vortex_fifo_setadbvalid()
803 (hwread(vortex->mmio, VORTEX_FIFO_ADBCTRL + (fifo << 2)) & in vortex_fifo_setadbvalid()
808 vortex_fifo_setadbctrl(vortex_t * vortex, int fifo, int stereo, int priority, in vortex_fifo_setadbctrl() argument
820 temp = hwread(vortex->mmio, VORTEX_FIFO_ADBCTRL + (fifo << 2)); in vortex_fifo_setadbctrl()
834 vortex_fifo_clearadbdata(vortex, fifo, FIFO_SIZE); // this_4 in vortex_fifo_setadbctrl()
872 vortex_fifo_clearadbdata(vortex, fifo, FIFO_SIZE); in vortex_fifo_setadbctrl()
874 hwwrite(vortex->mmio, VORTEX_FIFO_ADBCTRL + (fifo << 2), temp); in vortex_fifo_setadbctrl()
875 hwread(vortex->mmio, VORTEX_FIFO_ADBCTRL + (fifo << 2)); in vortex_fifo_setadbctrl()
879 static void vortex_fifo_clearwtdata(vortex_t * vortex, int fifo, int x) in vortex_fifo_clearwtdata() argument
886 (((fifo << FIFO_SIZE_BITS) + x) << 2), 0); in vortex_fifo_clearwtdata()
889 static void vortex_fifo_wtinitialize(vortex_t * vortex, int fifo, int j) in vortex_fifo_wtinitialize() argument
891 vortex_fifo_clearwtdata(vortex, fifo, FIFO_SIZE); in vortex_fifo_wtinitialize()
893 hwwrite(vortex->mmio, VORTEX_FIFO_WTCTRL + (fifo << 2), in vortex_fifo_wtinitialize()
896 hwwrite(vortex->mmio, VORTEX_FIFO_WTCTRL + (fifo << 2), in vortex_fifo_wtinitialize()
901 static void vortex_fifo_setwtvalid(vortex_t * vortex, int fifo, int en) in vortex_fifo_setwtvalid() argument
903 hwwrite(vortex->mmio, VORTEX_FIFO_WTCTRL + (fifo << 2), in vortex_fifo_setwtvalid()
904 (hwread(vortex->mmio, VORTEX_FIFO_WTCTRL + (fifo << 2)) & in vortex_fifo_setwtvalid()
909 vortex_fifo_setwtctrl(vortex_t * vortex, int fifo, int ctrl, int priority, in vortex_fifo_setwtctrl() argument
916 temp = hwread(vortex->mmio, VORTEX_FIFO_WTCTRL + (fifo << 2)); in vortex_fifo_setwtctrl()
926 vortex_fifo_clearwtdata(vortex, fifo, FIFO_SIZE); // this_4 in vortex_fifo_setwtctrl()
964 vortex_fifo_clearwtdata(vortex, fifo, FIFO_SIZE); in vortex_fifo_setwtctrl()
966 hwwrite(vortex->mmio, VORTEX_FIFO_WTCTRL + (fifo << 2), temp); in vortex_fifo_setwtctrl()
967 hwread(vortex->mmio, VORTEX_FIFO_WTCTRL + (fifo << 2)); in vortex_fifo_setwtctrl()