Searched refs:nr_cells (Results 1 – 3 of 3) sorted by relevance
/drivers/pinctrl/ |
D | devicetree.c | 354 int size, nr_cells, error; in pinctrl_count_index_with_args() local 357 &nr_cells, &size); in pinctrl_count_index_with_args() 378 int index, int nr_cells, int nr_elem, in pinctrl_copy_args() argument 385 out_args->args_count = nr_cells + 1; in pinctrl_copy_args() 390 list += index * (nr_cells + 1); in pinctrl_copy_args() 392 for (i = 0; i < nr_cells + 1; i++) in pinctrl_copy_args() 414 int nr_elem, nr_cells, error; in pinctrl_parse_index_with_args() local 417 &nr_cells, &nr_elem); in pinctrl_parse_index_with_args() 418 if (error || !nr_cells) in pinctrl_parse_index_with_args() 421 error = pinctrl_copy_args(np, list, index, nr_cells, nr_elem, in pinctrl_parse_index_with_args()
|
/drivers/mfd/ |
D | axp20x.c | 849 axp20x->nr_cells = ARRAY_SIZE(axp152_cells); in axp20x_match_device() 856 axp20x->nr_cells = ARRAY_SIZE(axp20x_cells); in axp20x_match_device() 862 axp20x->nr_cells = ARRAY_SIZE(axp221_cells); in axp20x_match_device() 868 axp20x->nr_cells = ARRAY_SIZE(axp223_cells); in axp20x_match_device() 875 axp20x->nr_cells = ARRAY_SIZE(axp288_cells); in axp20x_match_device() 881 axp20x->nr_cells = ARRAY_SIZE(axp803_cells); in axp20x_match_device() 889 axp20x->nr_cells = ARRAY_SIZE(axp806_self_working_cells); in axp20x_match_device() 892 axp20x->nr_cells = ARRAY_SIZE(axp806_cells); in axp20x_match_device() 899 axp20x->nr_cells = ARRAY_SIZE(axp809_cells); in axp20x_match_device() 905 axp20x->nr_cells = ARRAY_SIZE(axp813_cells); in axp20x_match_device() [all …]
|
D | rk808.c | 564 int nr_cells; in rk808_probe() local 608 nr_cells = ARRAY_SIZE(rk805s); in rk808_probe() 618 nr_cells = ARRAY_SIZE(rk808s); in rk808_probe() 627 nr_cells = ARRAY_SIZE(rk818s); in rk808_probe() 637 nr_cells = ARRAY_SIZE(rk817s); in rk808_probe() 682 cells, nr_cells, NULL, 0, in rk808_probe()
|