Home
last modified time | relevance | path

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

/drivers/pinctrl/
Dpinctrl-utils.c22 unsigned old_num = *reserved_maps; in pinctrl_utils_reserve_map() local
26 if (old_num >= new_num) in pinctrl_utils_reserve_map()
35 memset(new_map + old_num, 0, (new_num - old_num) * sizeof(*new_map)); in pinctrl_utils_reserve_map()
90 unsigned old_num = *num_configs; in pinctrl_utils_add_config() local
91 unsigned new_num = old_num + 1; in pinctrl_utils_add_config()
101 new_configs[old_num] = config; in pinctrl_utils_add_config()
/drivers/pinctrl/samsung/
Dpinctrl-samsung.c81 unsigned old_num = *reserved_maps; in reserve_map() local
85 if (old_num >= new_num) in reserve_map()
92 memset(new_map + old_num, 0, (new_num - old_num) * sizeof(*new_map)); in reserve_map()
142 unsigned old_num = *num_configs; in add_config() local
143 unsigned new_num = old_num + 1; in add_config()
151 new_configs[old_num] = config; in add_config()