Lines Matching refs:li_base

359 		if (a->li_base < k) {  in clean_adapter()
360 memmove(&li_config_table[a->li_base], in clean_adapter()
361 &li_config_table[a->li_base + a->li_channels], in clean_adapter()
362 (k - a->li_base) * sizeof(LI_CONFIG)); in clean_adapter()
364 memmove(&li_config_table[i].flag_table[a->li_base], in clean_adapter()
365 &li_config_table[i].flag_table[a->li_base + a->li_channels], in clean_adapter()
366 k - a->li_base); in clean_adapter()
368 coef_table[a->li_base], in clean_adapter()
369 &li_config_table[i].coef_table[a->li_base + a->li_channels], in clean_adapter()
370 k - a->li_base); in clean_adapter()
377 adapter[i].li_base -= a->li_channels; in clean_adapter()
618 a->li_base = 0; in diva_add_card()
621 a->li_base = adapter[i].li_base + adapter[i].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()
650 if (a->li_base != 0) { in diva_add_card()
653 a->li_base); in diva_add_card()
656 a->li_base); 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()
661 memcpy(&new_li_config_table[i].flag_table[a->li_base + in diva_add_card()
663 &li_config_table[j].flag_table[a->li_base], in diva_add_card()
664 k - (a->li_base + a->li_channels)); in diva_add_card()
665 memcpy(&new_li_config_table[i].coef_table[a->li_base + in diva_add_card()
667 &li_config_table[j].coef_table[a->li_base], 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()