Lines Matching refs:chn
1629 unsigned int chn, channels; local
1642 for (chn = 1; chn < channels; chn++) {
1643 if (dst_areas[chn-1].addr != dst_areas[chn].addr)
1645 if (src_areas[chn-1].addr != src_areas[chn].addr)
1648 for (chn = 0; chn < channels; chn++) {
1649 if (dmix->bindings && dmix->bindings[chn] != chn)
1651 if (dst_areas[chn].first != chn * bits ||
1652 dst_areas[chn].step != channels * bits)
1654 if (src_areas[chn].first != chn * bits ||
1655 src_areas[chn].step != channels * bits)
1673 unsigned int chn, chn1, count = 0; local
1707 for (chn = 0; chn < count; chn++)
1708 bindings[chn] = UINT_MAX; /* don't route */
1732 for (chn = 0; chn < count; chn++) {
1734 if (chn == chn1)
1736 if (bindings[chn] == dmix->bindings[chn1]) {
1737 SNDERR("unable to route channels %d,%d to same destination %d", chn, chn1, bindings[chn]);