/kernel/linux/linux-5.10/drivers/pinctrl/ |
H A D | devicetree.c | 355 int size, nr_cells, error; in pinctrl_count_index_with_args() local 358 &nr_cells, &size); in pinctrl_count_index_with_args() 371 * @nr_cells: number of cells in the list 379 int index, int nr_cells, int nr_elem, in pinctrl_copy_args() 386 out_args->args_count = nr_cells + 1; in pinctrl_copy_args() 391 list += index * (nr_cells + 1); in pinctrl_copy_args() 393 for (i = 0; i < nr_cells + 1; i++) in pinctrl_copy_args() 415 int nr_elem, nr_cells, error; in pinctrl_parse_index_with_args() local 418 &nr_cells, &nr_elem); in pinctrl_parse_index_with_args() 419 if (error || !nr_cells) in pinctrl_parse_index_with_args() 377 pinctrl_copy_args(const struct device_node *np, const __be32 *list, int index, int nr_cells, int nr_elem, struct of_phandle_args *out_args) pinctrl_copy_args() argument [all...] |
/kernel/linux/linux-6.6/drivers/pinctrl/ |
H A D | devicetree.c | 353 int size, nr_cells, error; in pinctrl_count_index_with_args() local 356 &nr_cells, &size); in pinctrl_count_index_with_args() 369 * @nr_cells: number of cells in the list 377 int index, int nr_cells, int nr_elem, in pinctrl_copy_args() 384 out_args->args_count = nr_cells + 1; in pinctrl_copy_args() 389 list += index * (nr_cells + 1); in pinctrl_copy_args() 391 for (i = 0; i < nr_cells + 1; i++) in pinctrl_copy_args() 413 int nr_elem, nr_cells, error; in pinctrl_parse_index_with_args() local 416 &nr_cells, &nr_elem); in pinctrl_parse_index_with_args() 417 if (error || !nr_cells) in pinctrl_parse_index_with_args() 375 pinctrl_copy_args(const struct device_node *np, const __be32 *list, int index, int nr_cells, int nr_elem, struct of_phandle_args *out_args) pinctrl_copy_args() argument [all...] |
/kernel/linux/linux-5.10/drivers/mfd/ |
H A D | axp20x.c | 850 axp20x->nr_cells = ARRAY_SIZE(axp152_cells); in axp20x_match_device() 857 axp20x->nr_cells = ARRAY_SIZE(axp20x_cells); in axp20x_match_device() 863 axp20x->nr_cells = ARRAY_SIZE(axp221_cells); in axp20x_match_device() 869 axp20x->nr_cells = ARRAY_SIZE(axp223_cells); in axp20x_match_device() 876 axp20x->nr_cells = ARRAY_SIZE(axp288_cells); in axp20x_match_device() 882 axp20x->nr_cells = ARRAY_SIZE(axp803_cells); in axp20x_match_device() 890 axp20x->nr_cells = ARRAY_SIZE(axp806_self_working_cells); in axp20x_match_device() 893 axp20x->nr_cells = ARRAY_SIZE(axp806_cells); in axp20x_match_device() 900 axp20x->nr_cells = ARRAY_SIZE(axp809_cells); in axp20x_match_device() 906 axp20x->nr_cells in axp20x_match_device() [all...] |
H A D | rk808.c | 522 int nr_cells; in rk808_probe() local 566 nr_cells = ARRAY_SIZE(rk805s); in rk808_probe() 574 nr_cells = ARRAY_SIZE(rk808s); in rk808_probe() 582 nr_cells = ARRAY_SIZE(rk818s); in rk808_probe() 591 nr_cells = ARRAY_SIZE(rk817s); in rk808_probe() 635 cells, nr_cells, NULL, 0, in rk808_probe()
|
/kernel/linux/linux-6.6/drivers/mfd/ |
H A D | axp20x.c | 1155 axp20x->nr_cells = ARRAY_SIZE(axp152_cells); in axp20x_match_device() 1161 axp20x->nr_cells = ARRAY_SIZE(axp192_cells); in axp20x_match_device() 1168 axp20x->nr_cells = ARRAY_SIZE(axp20x_cells); in axp20x_match_device() 1174 axp20x->nr_cells = ARRAY_SIZE(axp221_cells); in axp20x_match_device() 1180 axp20x->nr_cells = ARRAY_SIZE(axp223_cells); in axp20x_match_device() 1187 axp20x->nr_cells = ARRAY_SIZE(axp288_cells); in axp20x_match_device() 1193 axp20x->nr_cells = ARRAY_SIZE(axp313a_cells); in axp20x_match_device() 1199 axp20x->nr_cells = ARRAY_SIZE(axp803_cells); in axp20x_match_device() 1212 axp20x->nr_cells = ARRAY_SIZE(axp806_self_working_cells); in axp20x_match_device() 1215 axp20x->nr_cells in axp20x_match_device() [all...] |
H A D | rk8xx-core.c | 601 int nr_cells; in rk8xx_probe() local 619 nr_cells = ARRAY_SIZE(rk805s); in rk8xx_probe() 626 nr_cells = ARRAY_SIZE(rk806s); in rk8xx_probe() 634 nr_cells = ARRAY_SIZE(rk808s); in rk8xx_probe() 641 nr_cells = ARRAY_SIZE(rk818s); in rk8xx_probe() 649 nr_cells = ARRAY_SIZE(rk817s); in rk8xx_probe() 675 ret = devm_mfd_add_devices(dev, PLATFORM_DEVID_AUTO, cells, nr_cells, NULL, 0, in rk8xx_probe()
|
H A D | atc260x-core.c | 211 atc260x->nr_cells = ARRAY_SIZE(atc2603c_mfd_cells); in atc260x_match_device() 220 atc260x->nr_cells = ARRAY_SIZE(atc2609a_mfd_cells); in atc260x_match_device() 293 atc260x->cells, atc260x->nr_cells, NULL, 0, in atc260x_device_probe()
|
/kernel/linux/linux-6.6/include/linux/mfd/atc260x/ |
H A D | core.h | 42 int nr_cells; member
|
/kernel/linux/linux-5.10/include/linux/mfd/ |
H A D | axp20x.h | 642 int nr_cells; member
|
/kernel/linux/linux-6.6/include/linux/mfd/ |
H A D | axp20x.h | 848 int nr_cells; member
|