Lines Matching refs:hc
84 hdspe_channel_play_ports(struct hdspe_channel *hc) in hdspe_channel_play_ports() argument
86 return (hc->ports & (HDSPE_CHAN_AIO_ALL | HDSPE_CHAN_RAY_ALL)); in hdspe_channel_play_ports()
90 hdspe_channel_rec_ports(struct hdspe_channel *hc) in hdspe_channel_rec_ports() argument
92 return (hc->ports & (HDSPE_CHAN_AIO_ALL_REC | HDSPE_CHAN_RAY_ALL)); in hdspe_channel_rec_ports()
302 if (hdspe_channel_play_ports(scp->hc)) in hdspemixer_init()
305 if (hdspe_channel_rec_ports(scp->hc)) in hdspemixer_init()
702 ch->ports = hdspe_channel_play_ports(scp->hc); in hdspechan_init()
704 ch->ports = hdspe_channel_rec_ports(scp->hc); in hdspechan_init()
1049 if (scp->hc->ports & HDSPE_CHAN_AIO_ALL) in hdspe_pcm_attach()
1051 else if (scp->hc->ports & HDSPE_CHAN_RAY_ALL) in hdspe_pcm_attach()
1055 device_set_descf(dev, "HDSPe %s [%s]", buf, scp->hc->descr); in hdspe_pcm_attach()
1062 if (hdspe_channel_count(scp->hc->ports, 8) > HDSPE_MATRIX_MAX) in hdspe_pcm_attach()
1069 play = (hdspe_channel_play_ports(scp->hc)) ? 1 : 0; in hdspe_pcm_attach()
1070 rec = (hdspe_channel_rec_ports(scp->hc)) ? 1 : 0; in hdspe_pcm_attach()