Lines Matching defs:en

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