Lines Matching refs:array
133 chip->mixer.array = (struct lola_mixer_array __iomem *) in lola_init_mixer_widget()
229 oldval = val = readl(&chip->mixer.array->src_gain_enable); in lola_mixer_set_src_gain()
236 (gain == readw(&chip->mixer.array->src_gain[id]))) in lola_mixer_set_src_gain()
241 writew(gain, &chip->mixer.array->src_gain[id]); in lola_mixer_set_src_gain()
242 writel(val, &chip->mixer.array->src_gain_enable); in lola_mixer_set_src_gain()
259 writew(*gains, &chip->mixer.array->src_gain[i]);
263 writel(mask, &chip->mixer.array->src_gain_enable);
291 writew(gain, &chip->mixer.array->dest_mix_gain[dest][src]); in lola_mixer_set_mapping_gain()
292 val = readl(&chip->mixer.array->dest_mix_gain_enable[dest]); in lola_mixer_set_mapping_gain()
297 writel(val, &chip->mixer.array->dest_mix_gain_enable[dest]); in lola_mixer_set_mapping_gain()
314 writew(*gains, &chip->mixer.array->dest_mix_gain[id][i]);
318 writel(mask, &chip->mixer.array->dest_mix_gain_enable[id]);
355 memcpy_fromio(chip->mixer.array_saved, chip->mixer.array, in lola_save_mixer()
356 sizeof(*chip->mixer.array)); in lola_save_mixer()
368 memcpy_toio(chip->mixer.array, chip->mixer.array_saved, in lola_restore_mixer()
369 sizeof(*chip->mixer.array)); in lola_restore_mixer()
469 memset_io(chip->mixer.array, 0, sizeof(*chip->mixer.array)); in init_mixer_values()
691 mask = readl(&chip->mixer.array->src_gain_enable); in lola_src_gain_get()
698 val = readw(&chip->mixer.array->src_gain[idx]) + 1; in lola_src_gain_get()
774 mask = readl(&chip->mixer.array->dest_mix_gain_enable[dst]);
781 val = readw(&chip->mixer.array->dest_mix_gain[dst][src]) + 1;