Lines Matching refs:en
213 vortex_mix_setenablebit(vortex_t * vortex, unsigned char mix, int mixin, int en) in vortex_mix_setenablebit() argument
223 if (en) in vortex_mix_setenablebit()
474 vortex_src_set_throttlesource(vortex_t * vortex, unsigned char src, int en) in vortex_src_set_throttlesource() argument
479 if (en) in vortex_src_set_throttlesource()
800 static void vortex_fifo_setadbvalid(vortex_t * vortex, int fifo, int en) in vortex_fifo_setadbvalid() argument
804 0xffffffef) | ((1 & en) << 4) | FIFO_U1); in vortex_fifo_setadbvalid()
901 static void vortex_fifo_setwtvalid(vortex_t * vortex, int fifo, int en) in vortex_fifo_setwtvalid() argument
905 0xffffffef) | ((en & 1) << 4) | FIFO_U1); in vortex_fifo_setwtvalid()
1723 vortex_route(vortex_t * vortex, int en, unsigned char channel, in vortex_route() argument
1729 if (en) { in vortex_route()
1754 vortex_routes(vortex_t * vortex, int en, unsigned char channel,
1762 if (en) {
1788 vortex_routeLRT(vortex_t * vortex, int en, unsigned char ch, in vortex_routeLRT() argument
1800 if (en) { in vortex_routeLRT()
1837 vortex_connection_adbdma_src(vortex_t * vortex, int en, unsigned char ch, in vortex_connection_adbdma_src() argument
1840 vortex_route(vortex, en, ch, ADB_DMA(adbdma), ADB_SRCIN(src)); in vortex_connection_adbdma_src()
1845 vortex_connection_src_mixin(vortex_t * vortex, int en, in vortex_connection_src_mixin() argument
1849 vortex_route(vortex, en, channel, ADB_SRCOUT(src), ADB_MIXIN(mixin)); in vortex_connection_src_mixin()
1854 vortex_connection_mixin_mix(vortex_t * vortex, int en, unsigned char mixin, in vortex_connection_mixin_mix() argument
1857 if (en) { in vortex_connection_mixin_mix()
1866 vortex_connection_adb_mixin(vortex_t * vortex, int en, in vortex_connection_adb_mixin() argument
1870 vortex_route(vortex, en, channel, source, ADB_MIXIN(mixin)); in vortex_connection_adb_mixin()
1874 vortex_connection_src_adbdma(vortex_t * vortex, int en, unsigned char ch, in vortex_connection_src_adbdma() argument
1877 vortex_route(vortex, en, ch, ADB_SRCOUT(src), ADB_DMA(adbdma)); in vortex_connection_src_adbdma()
1881 vortex_connection_src_src_adbdma(vortex_t * vortex, int en, in vortex_connection_src_src_adbdma() argument
1886 vortex_routeLRT(vortex, en, ch, ADB_SRCOUT(src0), ADB_SRCOUT(src1), in vortex_connection_src_src_adbdma()
1892 vortex_connection_mix_adb(vortex_t * vortex, int en, unsigned char ch, in vortex_connection_mix_adb() argument
1895 vortex_route(vortex, en, ch, ADB_MIXOUT(mix), dest); in vortex_connection_mix_adb()
1901 vortex_connection_mix_src(vortex_t * vortex, int en, unsigned char ch, in vortex_connection_mix_src() argument
1904 vortex_route(vortex, en, ch, ADB_MIXOUT(mix), ADB_SRCIN(src)); in vortex_connection_mix_src()
1910 vortex_connection_adbdma_src_src(vortex_t * vortex, int en,
1915 vortex_routes(vortex, en, channel, ADB_DMA(adbdma),
1921 vortex_connection_mix_mix_adbdma(vortex_t * vortex, int en,
1934 if (en) {
1949 vortex_connect_codecplay(vortex_t * vortex, int en, unsigned char mixers[]) in vortex_connect_codecplay() argument
1952 vortex_connection_mix_adb(vortex, en, 0x11, mixers[0], ADB_CODECOUT(0)); in vortex_connect_codecplay()
1953 vortex_connection_mix_adb(vortex, en, 0x11, mixers[1], ADB_CODECOUT(1)); in vortex_connect_codecplay()
1957 vortex_connection_mix_adb(vortex, en, 0x11, mixers[0], ADB_EQIN(0)); in vortex_connect_codecplay()
1958 vortex_connection_mix_adb(vortex, en, 0x11, mixers[1], ADB_EQIN(1)); in vortex_connect_codecplay()
1962 vortex_route(vortex, en, 0x11, ADB_EQOUT(0), ADB_CODECOUT(0)); in vortex_connect_codecplay()
1963 vortex_route(vortex, en, 0x11, ADB_EQOUT(1), ADB_CODECOUT(1)); in vortex_connect_codecplay()
1968 vortex_connection_mix_adb(vortex, en, 0x11, mixers[2], in vortex_connect_codecplay()
1970 vortex_connection_mix_adb(vortex, en, 0x11, mixers[3], in vortex_connect_codecplay()
1976 vortex_connection_mix_adb(vortex, en, 0x11, mixers[0], ADB_CODECOUT(0)); in vortex_connect_codecplay()
1977 vortex_connection_mix_adb(vortex, en, 0x11, mixers[1], ADB_CODECOUT(1)); in vortex_connect_codecplay()
1983 vortex_connect_codecrec(vortex_t * vortex, int en, unsigned char mixin0, in vortex_connect_codecrec() argument
1992 vortex_connection_adb_mixin(vortex, en, 0x11, ADB_CODECIN(0), mixin0); in vortex_connect_codecrec()
1993 vortex_connection_adb_mixin(vortex, en, 0x11, ADB_CODECIN(1), mixin1); in vortex_connect_codecrec()
2058 static void vortex_connect_default(vortex_t * vortex, int en) in vortex_connect_default() argument
2061 vortex->mixplayb[0] = vortex_adb_checkinout(vortex, vortex->fixed_res, en, in vortex_connect_default()
2063 vortex->mixplayb[1] = vortex_adb_checkinout(vortex, vortex->fixed_res, en, in vortex_connect_default()
2066 vortex->mixplayb[2] = vortex_adb_checkinout(vortex, vortex->fixed_res, en, in vortex_connect_default()
2068 vortex->mixplayb[3] = vortex_adb_checkinout(vortex, vortex->fixed_res, en, in vortex_connect_default()
2071 vortex_connect_codecplay(vortex, en, vortex->mixplayb); in vortex_connect_default()
2073 vortex->mixcapt[0] = vortex_adb_checkinout(vortex, vortex->fixed_res, en, in vortex_connect_default()
2075 vortex->mixcapt[1] = vortex_adb_checkinout(vortex, vortex->fixed_res, en, in vortex_connect_default()
2077 vortex_connect_codecrec(vortex, en, MIX_CAPT(0), MIX_CAPT(1)); in vortex_connect_default()
2081 vortex->mixspdif[0] = vortex_adb_checkinout(vortex, vortex->fixed_res, en, in vortex_connect_default()
2083 vortex->mixspdif[1] = vortex_adb_checkinout(vortex, vortex->fixed_res, en, in vortex_connect_default()
2085 vortex_connection_mix_adb(vortex, en, 0x14, vortex->mixspdif[0], in vortex_connect_default()
2087 vortex_connection_mix_adb(vortex, en, 0x14, vortex->mixspdif[1], in vortex_connect_default()
2092 vortex_wt_connect(vortex, en); in vortex_connect_default()
2096 vortex_Vort3D_connect(vortex, en); in vortex_connect_default()
2120 int i, en; in vortex_adb_allocroute() local
2124 en = 0; in vortex_adb_allocroute()
2126 vortex->dma_adb[dma].resources, en, in vortex_adb_allocroute()
2129 en = 1; in vortex_adb_allocroute()
2131 vortex_adb_checkinout(vortex, NULL, en, in vortex_adb_allocroute()
2151 stream->resources, en, in vortex_adb_allocroute()
2161 en, in vortex_adb_allocroute()
2175 stream->resources, en, in vortex_adb_allocroute()
2185 vortex_Vort3D_InitializeSource(&vortex->a3d[a3d], en, in vortex_adb_allocroute()
2189 if ((stream->type == VORTEX_PCM_SPDIF) && (en)) { in vortex_adb_allocroute()
2201 vortex_connection_adbdma_src(vortex, en, in vortex_adb_allocroute()
2205 vortex_connection_src_mixin(vortex, en, in vortex_adb_allocroute()
2208 vortex_connection_mixin_mix(vortex, en, in vortex_adb_allocroute()
2212 vortex_connection_mixin_mix(vortex, en, in vortex_adb_allocroute()
2223 vortex_connection_adbdma_src(vortex, en, in vortex_adb_allocroute()
2227 vortex_route(vortex, en, 0x11, ADB_SRCOUT(src[i]), ADB_A3DIN(a3d)); in vortex_adb_allocroute()
2233 vortex_route(vortex, en, 0x14, in vortex_adb_allocroute()
2241 vortex_connection_mixin_mix(vortex, en, in vortex_adb_allocroute()
2245 vortex_connection_mixin_mix(vortex, en, in vortex_adb_allocroute()
2255 if (stream->type == VORTEX_PCM_ADB && en) { in vortex_adb_allocroute()
2267 vortex_route(vortex, en, 0x14, in vortex_adb_allocroute()
2272 if ((stream->type == VORTEX_PCM_SPDIF) && (!en)) { in vortex_adb_allocroute()
2289 stream->resources, en, in vortex_adb_allocroute()
2299 stream->resources, en, in vortex_adb_allocroute()
2309 vortex_connection_mixin_mix(vortex, en, MIX_CAPT(0), mix[0], 0); in vortex_adb_allocroute()
2310 vortex_connection_mix_src(vortex, en, 0x11, mix[0], src[0]); in vortex_adb_allocroute()
2312 vortex_connection_mixin_mix(vortex, en, in vortex_adb_allocroute()
2314 vortex_connection_src_adbdma(vortex, en, in vortex_adb_allocroute()
2318 vortex_connection_mixin_mix(vortex, en, in vortex_adb_allocroute()
2320 vortex_connection_mix_src(vortex, en, 0x11, mix[1], in vortex_adb_allocroute()
2322 vortex_connection_src_src_adbdma(vortex, en, in vortex_adb_allocroute()