Lines Matching full:scp

174 	uint32_t		(*ih) (struct sc_pcminfo *scp);
186 static int setup_dma(struct sc_pcminfo *scp);
197 struct sc_pcminfo *scp; in saimixer_init() local
201 scp = mix_getdevinfo(m); in saimixer_init()
202 sc = scp->sc; in saimixer_init()
210 pcm_setflags(scp->dev, pcm_getflags(scp->dev) | SD_F_SOFTPCMVOL); in saimixer_init()
222 struct sc_pcminfo *scp; in saimixer_set()
224 scp = mix_getdevinfo(m); in saimixer_set()
226 device_printf(scp->dev, "saimixer_set() %d %d\n", in saimixer_set()
248 struct sc_pcminfo *scp; in saichan_init() local
252 scp = (struct sc_pcminfo *)devinfo; in saichan_init()
253 sc = scp->sc; in saichan_init()
256 ch = &scp->chan[0]; in saichan_init()
261 ch->parent = scp; in saichan_init()
265 device_printf(scp->dev, "Can't setup sndbuf.\n"); in saichan_init()
276 struct sc_pcminfo *scp = ch->parent; in saichan_free() local
277 struct sc_info *sc = scp->sc; in saichan_free()
280 device_printf(scp->dev, "saichan_free()\n"); in saichan_free()
303 struct sc_pcminfo *scp; in saichan_setspeed() local
311 scp = ch->parent; in saichan_setspeed()
312 sc = scp->sc; in saichan_setspeed()
367 struct sc_pcminfo *scp = ch->parent; in saichan_setblocksize() local
368 struct sc_info *sc = scp->sc; in saichan_setblocksize()
380 struct sc_pcminfo *scp; in sai_dma_intr() local
385 scp = arg; in sai_dma_intr()
386 ch = &scp->chan[0]; in sai_dma_intr()
388 sc = scp->sc; in sai_dma_intr()
471 setup_dma(struct sc_pcminfo *scp) in setup_dma() argument
476 sc = scp->sc; in setup_dma()
481 tcd->ih_user = scp; in setup_dma()
513 struct sc_pcminfo *scp = ch->parent; in saichan_trigger() local
514 struct sc_info *sc = scp->sc; in saichan_trigger()
521 device_printf(scp->dev, "trigger start\n"); in saichan_trigger()
529 device_printf(scp->dev, "trigger stop or abort\n"); in saichan_trigger()
543 struct sc_pcminfo *scp; in saichan_getptr() local
548 scp = ch->parent; in saichan_getptr()
549 sc = scp->sc; in saichan_getptr()
602 struct sc_pcminfo *scp; in sai_intr() local
605 scp = arg; in sai_intr()
606 sc = scp->sc; in sai_intr()
685 struct sc_pcminfo *scp; in sai_attach() local
716 scp = malloc(sizeof(struct sc_pcminfo), M_DEVBUF, M_NOWAIT | M_ZERO); in sai_attach()
717 scp->sc = sc; in sai_attach()
718 scp->dev = dev; in sai_attach()
757 NULL, sai_intr, scp, &sc->ih); in sai_attach()
765 pcm_init(dev, scp); in sai_attach()
767 scp->chnum = 0; in sai_attach()
768 pcm_addchan(dev, PCMDIR_PLAY, &saichan_class, scp); in sai_attach()
769 scp->chnum++; in sai_attach()
778 mixer_init(dev, &saimixer_class, scp); in sai_attach()
780 setup_dma(scp); in sai_attach()