Home
last modified time | relevance | path

Searched refs:sctrl (Results 1 – 7 of 7) sorted by relevance

/linux-2.4.37.9/drivers/sound/
Des1370.c346 unsigned sctrl; member
488 s->sctrl = (s->sctrl & ~(SCTRL_P1LOOPSEL | SCTRL_P1PAUSE | SCTRL_P1SCTRLD)) | SCTRL_P1INTEN; in start_dac1()
489 outl(s->sctrl, s->io+ES1370_REG_SERIAL_CONTROL); in start_dac1()
491 fshift = sample_shift[(s->sctrl & SCTRL_P1FMT) >> SCTRL_SH_P1FMT]; in start_dac1()
510 s->sctrl = (s->sctrl & ~(SCTRL_P2LOOPSEL | SCTRL_P2PAUSE | SCTRL_P2DACSEN | in start_dac2()
512 (((s->sctrl & SCTRL_P2FMT) ? 2 : 1) << SCTRL_SH_P2ENDINC) | in start_dac2()
514 outl(s->sctrl, s->io+ES1370_REG_SERIAL_CONTROL); in start_dac2()
516 fshift = sample_shift[(s->sctrl & SCTRL_P2FMT) >> SCTRL_SH_P2FMT]; in start_dac2()
535 s->sctrl = (s->sctrl & ~SCTRL_R1LOOPSEL) | SCTRL_R1INTEN; in start_adc()
536 outl(s->sctrl, s->io+ES1370_REG_SERIAL_CONTROL); in start_adc()
[all …]
Des1371.c419 unsigned sctrl; member
822 s->sctrl = (s->sctrl & ~(SCTRL_P1LOOPSEL | SCTRL_P1PAUSE | SCTRL_P1SCTRLD)) | SCTRL_P1INTEN; in start_dac1()
823 outl(s->sctrl, s->io+ES1371_REG_SERIAL_CONTROL); in start_dac1()
825 fshift = sample_shift[(s->sctrl & SCTRL_P1FMT) >> SCTRL_SH_P1FMT]; in start_dac1()
844 s->sctrl = (s->sctrl & ~(SCTRL_P2LOOPSEL | SCTRL_P2PAUSE | SCTRL_P2DACSEN | in start_dac2()
846 (((s->sctrl & SCTRL_P2FMT) ? 2 : 1) << SCTRL_SH_P2ENDINC) | in start_dac2()
848 outl(s->sctrl, s->io+ES1371_REG_SERIAL_CONTROL); in start_dac2()
850 fshift = sample_shift[(s->sctrl & SCTRL_P2FMT) >> SCTRL_SH_P2FMT]; in start_dac2()
869 s->sctrl = (s->sctrl & ~SCTRL_R1LOOPSEL) | SCTRL_R1INTEN; in start_adc()
870 outl(s->sctrl, s->io+ES1371_REG_SERIAL_CONTROL); in start_adc()
[all …]
/linux-2.4.37.9/drivers/isdn/hisax/
Dhfc_sx.c421 cs->hw.hfcsx.sctrl = 0x40; /* set tx_lo mode, error in datasheet ! */ in reset_hfcsx()
422 Write_hfc(cs, HFCSX_SCTRL, cs->hw.hfcsx.sctrl); in reset_hfcsx()
671 cs->hw.hfcsx.sctrl |= SCTRL_MODE_NT; in hfcsx_auxcmd()
672 Write_hfc(cs, HFCSX_SCTRL, cs->hw.hfcsx.sctrl); /* set NT-mode */ in hfcsx_auxcmd()
702 cs->hw.hfcsx.sctrl &= ~SCTRL_B2_ENA; in hfcsx_auxcmd()
707 Write_hfc(cs, HFCSX_SCTRL, cs->hw.hfcsx.sctrl); in hfcsx_auxcmd()
1139 cs->hw.hfcsx.sctrl &= ~SCTRL_B2_ENA; in mode_hfcsx()
1142 cs->hw.hfcsx.sctrl &= ~SCTRL_B1_ENA; in mode_hfcsx()
1153 cs->hw.hfcsx.sctrl |= SCTRL_B2_ENA; in mode_hfcsx()
1156 cs->hw.hfcsx.sctrl |= SCTRL_B1_ENA; in mode_hfcsx()
[all …]
Dhfc_pci.c152 cs->hw.hfcpci.sctrl = 0x40; /* set tx_lo mode, error in datasheet ! */ in reset_hfcpci()
153 Write_hfc(cs, HFCPCI_SCTRL, cs->hw.hfcpci.sctrl); in reset_hfcpci()
819 cs->hw.hfcpci.sctrl |= SCTRL_MODE_NT; in hfcpci_auxcmd()
820 Write_hfc(cs, HFCPCI_SCTRL, cs->hw.hfcpci.sctrl); /* set NT-mode */ in hfcpci_auxcmd()
851 cs->hw.hfcpci.sctrl &= ~SCTRL_B2_ENA; in hfcpci_auxcmd()
856 Write_hfc(cs, HFCPCI_SCTRL, cs->hw.hfcpci.sctrl); in hfcpci_auxcmd()
1345 cs->hw.hfcpci.sctrl &= ~SCTRL_B2_ENA; in mode_hfcpci()
1348 cs->hw.hfcpci.sctrl &= ~SCTRL_B1_ENA; in mode_hfcpci()
1363 cs->hw.hfcpci.sctrl |= SCTRL_B2_ENA; in mode_hfcpci()
1366 cs->hw.hfcpci.sctrl |= SCTRL_B1_ENA; in mode_hfcpci()
[all …]
Dhfc_2bds0.c479 cs->hw.hfcD.sctrl &= ~SCTRL_B2_ENA; in mode_2bs0()
482 cs->hw.hfcD.sctrl &= ~SCTRL_B1_ENA; in mode_2bs0()
489 cs->hw.hfcD.sctrl |= SCTRL_B2_ENA; in mode_2bs0()
493 cs->hw.hfcD.sctrl |= SCTRL_B1_ENA; in mode_2bs0()
500 cs->hw.hfcD.sctrl |= SCTRL_B2_ENA; in mode_2bs0()
504 cs->hw.hfcD.sctrl |= SCTRL_B1_ENA; in mode_2bs0()
508 WriteReg(cs, HFCD_DATA, HFCD_SCTRL, cs->hw.hfcD.sctrl); in mode_2bs0()
Dhfcscard.c105 cs->hw.hfcD.sctrl = 0; in reset_hfcs()
106 cs->BC_Write_Reg(cs, HFCD_DATA, HFCD_SCTRL, cs->hw.hfcD.sctrl); in reset_hfcs()
Dhisax.h679 unsigned char sctrl; member
707 unsigned char sctrl; member
735 unsigned char sctrl; member