Searched refs:SCSTATE (Results 1 – 2 of 2) sorted by relevance
58 #define SCSTATE ((struct sc_state_wss *)(&sm->hw)) macro137 if (SCSTATE->crystal) { in wss_set_codec_fmt()145 if (SCSTATE->crystal && !fullcalib) { in wss_set_codec_fmt()195 SCSTATE->revwss = 0; in wss_init_codec()223 SCSTATE->revwss = inb(WSS_STATUS(dev->base_addr)) & 0x3f; in wss_init_codec()264 SCSTATE->crystal = (read_codec(dev, 16) != 0x45); in wss_init_codec()266 SCSTATE->crystal &= (read_codec(dev, 16) != 0xaa); in wss_init_codec()267 if (SCSTATE->crystal) { in wss_init_codec()268 SCSTATE->revcid = read_codec(dev, 0x19); in wss_init_codec()269 SCSTATE->revv = (SCSTATE->revcid >> 5) & 7; in wss_init_codec()[all …]
60 #define SCSTATE ((struct sc_state_sbc *)(&sm->hw)) macro274 write_dsp(dev, SCSTATE->fmt[send]); in setup_dma_dsp()278 if (SCSTATE->revhi >= 4) { in setup_dma_dsp()287 write_dsp(dev, sbcmode[SCSTATE->fmt[send] >= 180][send]); in setup_dma_dsp()364 if (!read_dsp(dev, &SCSTATE->revhi) || in sbc_open()365 !read_dsp(dev, &SCSTATE->revlo)) in sbc_open()368 SCSTATE->revhi, SCSTATE->revlo); in sbc_open()369 if (SCSTATE->revhi < 2) { in sbc_open()374 if (SCSTATE->revhi < 3 && in sbc_open()375 (SCSTATE->fmt[0] >= 180 || SCSTATE->fmt[1] >= 180)) { in sbc_open()[all …]