Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/pinctrl/
Ddevicetree.c290 int cells_size, error; in pinctrl_find_cells_size() local
292 error = of_property_read_u32(np->parent, cells_name, &cells_size); in pinctrl_find_cells_size()
295 cells_name, &cells_size); in pinctrl_find_cells_size()
300 return cells_size; in pinctrl_find_cells_size()
316 int *cells_size, in pinctrl_get_list_and_count() argument
321 *cells_size = 0; in pinctrl_get_list_and_count()
328 *cells_size = pinctrl_find_cells_size(np); in pinctrl_get_list_and_count()
329 if (*cells_size < 0) in pinctrl_get_list_and_count()
333 *nr_elements = (size / sizeof(**list)) / (*cells_size + 1); in pinctrl_get_list_and_count()