Lines Matching refs:li_channels
352 k = li_total_channels - a->li_channels; in clean_adapter()
361 &li_config_table[a->li_base + a->li_channels], in clean_adapter()
365 &li_config_table[i].flag_table[a->li_base + a->li_channels], in clean_adapter()
369 &li_config_table[i].coef_table[a->li_base + a->li_channels], in clean_adapter()
377 adapter[i].li_base -= a->li_channels; in clean_adapter()
617 a->li_channels = a->li_pri ? MIXER_CHANNELS_PRI : MIXER_CHANNELS_BRI; in diva_add_card()
621 a->li_base = adapter[i].li_base + adapter[i].li_channels; in diva_add_card()
623 k = li_total_channels + a->li_channels; in diva_add_card()
637 if ((i >= a->li_base) && (i < a->li_base + a->li_channels)) in diva_add_card()
645 if ((i >= a->li_base) && (i < a->li_base + a->li_channels)) { in diva_add_card()
658 memset(&new_li_config_table[i].flag_table[a->li_base], 0, a->li_channels); in diva_add_card()
659 memset(&new_li_config_table[i].coef_table[a->li_base], 0, a->li_channels); in diva_add_card()
660 if (a->li_base + a->li_channels < k) { in diva_add_card()
662 a->li_channels], in diva_add_card()
664 k - (a->li_base + a->li_channels)); in diva_add_card()
666 a->li_channels], in diva_add_card()
668 k - (a->li_base + a->li_channels)); in diva_add_card()
680 adapter[i].li_base += a->li_channels; in diva_add_card()