Lines Matching refs:rt5670_ranges
59 static const struct regmap_range_cfg rt5670_ranges[] = { variable
217 for (i = 0; i < ARRAY_SIZE(rt5670_ranges); i++) { in rt5670_volatile_register()
218 if ((reg >= rt5670_ranges[i].window_start && in rt5670_volatile_register()
219 reg <= rt5670_ranges[i].window_start + in rt5670_volatile_register()
220 rt5670_ranges[i].window_len) || in rt5670_volatile_register()
221 (reg >= rt5670_ranges[i].range_min && in rt5670_volatile_register()
222 reg <= rt5670_ranges[i].range_max)) { in rt5670_volatile_register()
264 for (i = 0; i < ARRAY_SIZE(rt5670_ranges); i++) { in rt5670_readable_register()
265 if ((reg >= rt5670_ranges[i].window_start && in rt5670_readable_register()
266 reg <= rt5670_ranges[i].window_start + in rt5670_readable_register()
267 rt5670_ranges[i].window_len) || in rt5670_readable_register()
268 (reg >= rt5670_ranges[i].range_min && in rt5670_readable_register()
269 reg <= rt5670_ranges[i].range_max)) { in rt5670_readable_register()
2862 .max_register = RT5670_VENDOR_ID2 + 1 + (ARRAY_SIZE(rt5670_ranges) *
2869 .ranges = rt5670_ranges,
2870 .num_ranges = ARRAY_SIZE(rt5670_ranges),