hdspe_channel_count
if (hdspe_channel_count(scp->hc->ports, 8) > HDSPE_MATRIX_MAX)
return (hdspe_channel_count(preceding, adat_width));
return (hdspe_channel_count(row, adat_width));
channels = hdspe_channel_count(ports, pcm_width);
channels = hdspe_channel_count(ports, pcm_width);
if (n == hdspe_channel_count(ch->ports, 2))
else if (n == hdspe_channel_count(ch->ports, 4))
SND_FORMAT(AFMT_S32_LE, hdspe_channel_count(ch->ports, 2), 0);
SND_FORMAT(AFMT_S32_LE, hdspe_channel_count(ch->ports, 4), 0);
SND_FORMAT(AFMT_S32_LE, hdspe_channel_count(ch->ports, 8), 0);
ch->size = HDSPE_CHANBUF_SIZE * hdspe_channel_count(ch->ports, 8);