Searched refs:maps_per_pin (Results 1 – 5 of 5) sorted by relevance
/Linux-v6.1/drivers/pinctrl/vt8500/ |
D | pinctrl-wmt.c | 303 int num_pins, num_funcs, num_pulls, maps_per_pin; in wmt_pctl_dt_node_to_map() local 341 maps_per_pin = 0; in wmt_pctl_dt_node_to_map() 343 maps_per_pin++; in wmt_pctl_dt_node_to_map() 345 maps_per_pin++; in wmt_pctl_dt_node_to_map() 347 cur_map = maps = kcalloc(num_pins * maps_per_pin, sizeof(*maps), in wmt_pctl_dt_node_to_map() 388 *num_maps = num_pins * maps_per_pin; in wmt_pctl_dt_node_to_map() 400 wmt_pctl_dt_free_map(pctldev, maps, num_pins * maps_per_pin); in wmt_pctl_dt_node_to_map()
|
/Linux-v6.1/drivers/pinctrl/bcm/ |
D | pinctrl-bcm2835.c | 812 int num_pins, num_funcs, num_pulls, maps_per_pin; in bcm2835_pctl_dt_node_to_map() local 857 maps_per_pin = 0; in bcm2835_pctl_dt_node_to_map() 859 maps_per_pin++; in bcm2835_pctl_dt_node_to_map() 861 maps_per_pin++; in bcm2835_pctl_dt_node_to_map() 862 cur_map = maps = kcalloc(num_pins * maps_per_pin, sizeof(*maps), in bcm2835_pctl_dt_node_to_map() 901 *num_maps = num_pins * maps_per_pin; in bcm2835_pctl_dt_node_to_map() 906 bcm2835_pctl_dt_free_map(pctldev, maps, num_pins * maps_per_pin); in bcm2835_pctl_dt_node_to_map()
|
/Linux-v6.1/drivers/pinctrl/mediatek/ |
D | pinctrl-paris.c | 451 int num_pins, num_funcs, maps_per_pin, i, err; in mtk_pctrl_dt_subnode_to_map() local 477 maps_per_pin = 0; in mtk_pctrl_dt_subnode_to_map() 479 maps_per_pin++; in mtk_pctrl_dt_subnode_to_map() 481 maps_per_pin++; in mtk_pctrl_dt_subnode_to_map() 483 if (!num_pins || !maps_per_pin) { in mtk_pctrl_dt_subnode_to_map() 488 reserve = num_pins * maps_per_pin; in mtk_pctrl_dt_subnode_to_map()
|
D | pinctrl-mtk-common.c | 517 int num_pins, num_funcs, maps_per_pin; in mtk_pctrl_dt_subnode_to_map() local 543 maps_per_pin = 0; in mtk_pctrl_dt_subnode_to_map() 545 maps_per_pin++; in mtk_pctrl_dt_subnode_to_map() 547 maps_per_pin++; in mtk_pctrl_dt_subnode_to_map() 549 if (!num_pins || !maps_per_pin) { in mtk_pctrl_dt_subnode_to_map() 554 reserve = num_pins * maps_per_pin; in mtk_pctrl_dt_subnode_to_map()
|
/Linux-v6.1/drivers/pinctrl/stm32/ |
D | pinctrl-stm32.c | 598 int num_pins, num_funcs, maps_per_pin, i, err = 0; in stm32_pctrl_dt_subnode_to_map() local 619 maps_per_pin = 0; in stm32_pctrl_dt_subnode_to_map() 621 maps_per_pin++; in stm32_pctrl_dt_subnode_to_map() 623 maps_per_pin++; in stm32_pctrl_dt_subnode_to_map() 625 if (!num_pins || !maps_per_pin) { in stm32_pctrl_dt_subnode_to_map() 630 reserve = num_pins * maps_per_pin; in stm32_pctrl_dt_subnode_to_map()
|