Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/base/regmap/
Dregmap.c1142 const struct regmap_range_cfg *range_cfg = &config->ranges[i]; in __regmap_init() local
1146 if (range_cfg->range_max < range_cfg->range_min) { in __regmap_init()
1148 range_cfg->range_max, range_cfg->range_min); in __regmap_init()
1152 if (range_cfg->range_max > map->max_register) { in __regmap_init()
1154 range_cfg->range_max, map->max_register); in __regmap_init()
1158 if (range_cfg->selector_reg > map->max_register) { in __regmap_init()
1164 if (range_cfg->window_len == 0) { in __regmap_init()
1182 if (range_cfg->range_min <= sel_reg && in __regmap_init()
1183 sel_reg <= range_cfg->range_max) { in __regmap_init()
1190 if (!(win_max < range_cfg->range_min || in __regmap_init()
[all …]