Lines Matching refs:en

201 vortex_mix_setenablebit(vortex_t * vortex, unsigned char mix, int mixin, int en)  in vortex_mix_setenablebit()  argument
211 if (en) in vortex_mix_setenablebit()
462 vortex_src_set_throttlesource(vortex_t * vortex, unsigned char src, int en) in vortex_src_set_throttlesource() argument
467 if (en) in vortex_src_set_throttlesource()
788 static void vortex_fifo_setadbvalid(vortex_t * vortex, int fifo, int en) in vortex_fifo_setadbvalid() argument
792 0xffffffef) | ((1 & en) << 4) | FIFO_U1); in vortex_fifo_setadbvalid()
889 static void vortex_fifo_setwtvalid(vortex_t * vortex, int fifo, int en) in vortex_fifo_setwtvalid() argument
893 0xffffffef) | ((en & 1) << 4) | FIFO_U1); in vortex_fifo_setwtvalid()
1716 vortex_route(vortex_t * vortex, int en, unsigned char channel, in vortex_route() argument
1722 if (en) { in vortex_route()
1747 vortex_routes(vortex_t * vortex, int en, unsigned char channel,
1755 if (en) {
1781 vortex_routeLRT(vortex_t * vortex, int en, unsigned char ch, in vortex_routeLRT() argument
1793 if (en) { in vortex_routeLRT()
1830 vortex_connection_adbdma_src(vortex_t * vortex, int en, unsigned char ch, in vortex_connection_adbdma_src() argument
1833 vortex_route(vortex, en, ch, ADB_DMA(adbdma), ADB_SRCIN(src)); in vortex_connection_adbdma_src()
1838 vortex_connection_src_mixin(vortex_t * vortex, int en, in vortex_connection_src_mixin() argument
1842 vortex_route(vortex, en, channel, ADB_SRCOUT(src), ADB_MIXIN(mixin)); in vortex_connection_src_mixin()
1847 vortex_connection_mixin_mix(vortex_t * vortex, int en, unsigned char mixin, in vortex_connection_mixin_mix() argument
1850 if (en) { in vortex_connection_mixin_mix()
1859 vortex_connection_adb_mixin(vortex_t * vortex, int en, in vortex_connection_adb_mixin() argument
1863 vortex_route(vortex, en, channel, source, ADB_MIXIN(mixin)); in vortex_connection_adb_mixin()
1867 vortex_connection_src_adbdma(vortex_t * vortex, int en, unsigned char ch, in vortex_connection_src_adbdma() argument
1870 vortex_route(vortex, en, ch, ADB_SRCOUT(src), ADB_DMA(adbdma)); in vortex_connection_src_adbdma()
1874 vortex_connection_src_src_adbdma(vortex_t * vortex, int en, in vortex_connection_src_src_adbdma() argument
1879 vortex_routeLRT(vortex, en, ch, ADB_SRCOUT(src0), ADB_SRCOUT(src1), in vortex_connection_src_src_adbdma()
1885 vortex_connection_mix_adb(vortex_t * vortex, int en, unsigned char ch, in vortex_connection_mix_adb() argument
1888 vortex_route(vortex, en, ch, ADB_MIXOUT(mix), dest); in vortex_connection_mix_adb()
1894 vortex_connection_mix_src(vortex_t * vortex, int en, unsigned char ch, in vortex_connection_mix_src() argument
1897 vortex_route(vortex, en, ch, ADB_MIXOUT(mix), ADB_SRCIN(src)); in vortex_connection_mix_src()
1903 vortex_connection_adbdma_src_src(vortex_t * vortex, int en,
1908 vortex_routes(vortex, en, channel, ADB_DMA(adbdma),
1914 vortex_connection_mix_mix_adbdma(vortex_t * vortex, int en,
1927 if (en) {
1942 vortex_connect_codecplay(vortex_t * vortex, int en, unsigned char mixers[]) in vortex_connect_codecplay() argument
1945 vortex_connection_mix_adb(vortex, en, 0x11, mixers[0], ADB_CODECOUT(0)); in vortex_connect_codecplay()
1946 vortex_connection_mix_adb(vortex, en, 0x11, mixers[1], ADB_CODECOUT(1)); in vortex_connect_codecplay()
1950 vortex_connection_mix_adb(vortex, en, 0x11, mixers[0], ADB_EQIN(0)); in vortex_connect_codecplay()
1951 vortex_connection_mix_adb(vortex, en, 0x11, mixers[1], ADB_EQIN(1)); in vortex_connect_codecplay()
1955 vortex_route(vortex, en, 0x11, ADB_EQOUT(0), ADB_CODECOUT(0)); in vortex_connect_codecplay()
1956 vortex_route(vortex, en, 0x11, ADB_EQOUT(1), ADB_CODECOUT(1)); in vortex_connect_codecplay()
1961 vortex_connection_mix_adb(vortex, en, 0x11, mixers[2], in vortex_connect_codecplay()
1963 vortex_connection_mix_adb(vortex, en, 0x11, mixers[3], in vortex_connect_codecplay()
1969 vortex_connection_mix_adb(vortex, en, 0x11, mixers[0], ADB_CODECOUT(0)); in vortex_connect_codecplay()
1970 vortex_connection_mix_adb(vortex, en, 0x11, mixers[1], ADB_CODECOUT(1)); in vortex_connect_codecplay()
1976 vortex_connect_codecrec(vortex_t * vortex, int en, unsigned char mixin0, in vortex_connect_codecrec() argument
1985 vortex_connection_adb_mixin(vortex, en, 0x11, ADB_CODECIN(0), mixin0); in vortex_connect_codecrec()
1986 vortex_connection_adb_mixin(vortex, en, 0x11, ADB_CODECIN(1), mixin1); in vortex_connect_codecrec()
2051 static void vortex_connect_default(vortex_t * vortex, int en) in vortex_connect_default() argument
2054 vortex->mixplayb[0] = vortex_adb_checkinout(vortex, vortex->fixed_res, en, in vortex_connect_default()
2056 vortex->mixplayb[1] = vortex_adb_checkinout(vortex, vortex->fixed_res, en, in vortex_connect_default()
2059 vortex->mixplayb[2] = vortex_adb_checkinout(vortex, vortex->fixed_res, en, in vortex_connect_default()
2061 vortex->mixplayb[3] = vortex_adb_checkinout(vortex, vortex->fixed_res, en, in vortex_connect_default()
2064 vortex_connect_codecplay(vortex, en, vortex->mixplayb); in vortex_connect_default()
2066 vortex->mixcapt[0] = vortex_adb_checkinout(vortex, vortex->fixed_res, en, in vortex_connect_default()
2068 vortex->mixcapt[1] = vortex_adb_checkinout(vortex, vortex->fixed_res, en, in vortex_connect_default()
2070 vortex_connect_codecrec(vortex, en, MIX_CAPT(0), MIX_CAPT(1)); in vortex_connect_default()
2074 vortex->mixspdif[0] = vortex_adb_checkinout(vortex, vortex->fixed_res, en, in vortex_connect_default()
2076 vortex->mixspdif[1] = vortex_adb_checkinout(vortex, vortex->fixed_res, en, in vortex_connect_default()
2078 vortex_connection_mix_adb(vortex, en, 0x14, vortex->mixspdif[0], in vortex_connect_default()
2080 vortex_connection_mix_adb(vortex, en, 0x14, vortex->mixspdif[1], in vortex_connect_default()
2085 vortex_wt_connect(vortex, en); in vortex_connect_default()
2089 vortex_Vort3D_connect(vortex, en); in vortex_connect_default()
2113 int i, en; in vortex_adb_allocroute() local
2117 en = 0; in vortex_adb_allocroute()
2119 vortex->dma_adb[dma].resources, en, in vortex_adb_allocroute()
2122 en = 1; in vortex_adb_allocroute()
2123 dma = vortex_adb_checkinout(vortex, NULL, en, in vortex_adb_allocroute()
2144 stream->resources, en, in vortex_adb_allocroute()
2154 en, in vortex_adb_allocroute()
2168 stream->resources, en, in vortex_adb_allocroute()
2178 vortex_Vort3D_InitializeSource(&vortex->a3d[a3d], en, in vortex_adb_allocroute()
2182 if ((stream->type == VORTEX_PCM_SPDIF) && (en)) { in vortex_adb_allocroute()
2194 vortex_connection_adbdma_src(vortex, en, in vortex_adb_allocroute()
2198 vortex_connection_src_mixin(vortex, en, in vortex_adb_allocroute()
2201 vortex_connection_mixin_mix(vortex, en, in vortex_adb_allocroute()
2205 vortex_connection_mixin_mix(vortex, en, in vortex_adb_allocroute()
2216 vortex_connection_adbdma_src(vortex, en, in vortex_adb_allocroute()
2220 vortex_route(vortex, en, 0x11, ADB_SRCOUT(src[i]), ADB_A3DIN(a3d)); in vortex_adb_allocroute()
2226 vortex_route(vortex, en, 0x14, in vortex_adb_allocroute()
2234 vortex_connection_mixin_mix(vortex, en, in vortex_adb_allocroute()
2238 vortex_connection_mixin_mix(vortex, en, in vortex_adb_allocroute()
2248 if (stream->type == VORTEX_PCM_ADB && en) { in vortex_adb_allocroute()
2260 vortex_route(vortex, en, 0x14, in vortex_adb_allocroute()
2265 if ((stream->type == VORTEX_PCM_SPDIF) && (!en)) { in vortex_adb_allocroute()
2284 stream->resources, en, in vortex_adb_allocroute()
2292 stream->resources, en, in vortex_adb_allocroute()
2302 vortex_connection_mixin_mix(vortex, en, MIX_CAPT(0), mix[0], 0); in vortex_adb_allocroute()
2303 vortex_connection_mix_src(vortex, en, 0x11, mix[0], src[0]); in vortex_adb_allocroute()
2305 vortex_connection_mixin_mix(vortex, en, in vortex_adb_allocroute()
2307 vortex_connection_src_adbdma(vortex, en, in vortex_adb_allocroute()
2311 vortex_connection_mixin_mix(vortex, en, in vortex_adb_allocroute()
2313 vortex_connection_mix_src(vortex, en, 0x11, mix[1], in vortex_adb_allocroute()
2315 vortex_connection_src_src_adbdma(vortex, en, in vortex_adb_allocroute()