Home
last modified time | relevance | path

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

/drivers/pinctrl/
Dpinctrl-utils.c35 unsigned old_num = *reserved_maps; in pinctrl_utils_reserve_map() local
39 if (old_num >= new_num) in pinctrl_utils_reserve_map()
48 memset(new_map + old_num, 0, (new_num - old_num) * sizeof(*new_map)); in pinctrl_utils_reserve_map()
105 unsigned old_num = *num_configs; in pinctrl_utils_add_config() local
106 unsigned new_num = old_num + 1; in pinctrl_utils_add_config()
116 new_configs[old_num] = config; in pinctrl_utils_add_config()
Dpinctrl-tz1090-pdc.c292 unsigned int old_num = *reserved_maps; in reserve_map() local
296 if (old_num >= new_num) in reserve_map()
305 memset(new_map + old_num, 0, (new_num - old_num) * sizeof(*new_map)); in reserve_map()
Dpinctrl-tz1090.c1036 unsigned int old_num = *reserved_maps; in reserve_map() local
1040 if (old_num >= new_num) in reserve_map()
1049 memset(new_map + old_num, 0, (new_num - old_num) * sizeof(*new_map)); in reserve_map()
/drivers/pinctrl/samsung/
Dpinctrl-samsung.c95 unsigned old_num = *reserved_maps; in reserve_map() local
99 if (old_num >= new_num) in reserve_map()
108 memset(new_map + old_num, 0, (new_num - old_num) * sizeof(*new_map)); in reserve_map()
160 unsigned old_num = *num_configs; in add_config() local
161 unsigned new_num = old_num + 1; in add_config()
171 new_configs[old_num] = config; in add_config()