Home
last modified time | relevance | path

Searched refs:range_cfg (Results 1 – 1 of 1) sorted by relevance

/kernel/linux/linux-5.10/drivers/base/regmap/
Dregmap.c1086 const struct regmap_range_cfg *range_cfg = &config->ranges[i]; in __regmap_init() local
1090 if (range_cfg->range_max < range_cfg->range_min) { in __regmap_init()
1092 range_cfg->range_max, range_cfg->range_min); in __regmap_init()
1096 if (range_cfg->range_max > map->max_register) { in __regmap_init()
1098 range_cfg->range_max, map->max_register); in __regmap_init()
1102 if (range_cfg->selector_reg > map->max_register) { in __regmap_init()
1108 if (range_cfg->window_len == 0) { in __regmap_init()
1126 if (range_cfg->range_min <= sel_reg && in __regmap_init()
1127 sel_reg <= range_cfg->range_max) { in __regmap_init()
1134 if (!(win_max < range_cfg->range_min || in __regmap_init()
[all …]