Home
last modified time | relevance | path

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

/drivers/pinctrl/vt8500/
Dpinctrl-wmt.c303 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()
/drivers/pinctrl/bcm/
Dpinctrl-bcm2835.c722 int num_pins, num_funcs, num_pulls, maps_per_pin; in bcm2835_pctl_dt_node_to_map() local
767 maps_per_pin = 0; in bcm2835_pctl_dt_node_to_map()
769 maps_per_pin++; in bcm2835_pctl_dt_node_to_map()
771 maps_per_pin++; in bcm2835_pctl_dt_node_to_map()
772 cur_map = maps = kcalloc(num_pins * maps_per_pin, sizeof(*maps), in bcm2835_pctl_dt_node_to_map()
811 *num_maps = num_pins * maps_per_pin; in bcm2835_pctl_dt_node_to_map()
816 bcm2835_pctl_dt_free_map(pctldev, maps, num_pins * maps_per_pin); in bcm2835_pctl_dt_node_to_map()
/drivers/pinctrl/mediatek/
Dpinctrl-paris.c432 int num_pins, num_funcs, maps_per_pin, i, err; in mtk_pctrl_dt_subnode_to_map() local
458 maps_per_pin = 0; in mtk_pctrl_dt_subnode_to_map()
460 maps_per_pin++; in mtk_pctrl_dt_subnode_to_map()
462 maps_per_pin++; in mtk_pctrl_dt_subnode_to_map()
464 if (!num_pins || !maps_per_pin) { in mtk_pctrl_dt_subnode_to_map()
469 reserve = num_pins * maps_per_pin; in mtk_pctrl_dt_subnode_to_map()
Dpinctrl-mtk-common.c498 int num_pins, num_funcs, maps_per_pin; in mtk_pctrl_dt_subnode_to_map() local
524 maps_per_pin = 0; in mtk_pctrl_dt_subnode_to_map()
526 maps_per_pin++; in mtk_pctrl_dt_subnode_to_map()
528 maps_per_pin++; in mtk_pctrl_dt_subnode_to_map()
530 if (!num_pins || !maps_per_pin) { in mtk_pctrl_dt_subnode_to_map()
535 reserve = num_pins * maps_per_pin; in mtk_pctrl_dt_subnode_to_map()
/drivers/pinctrl/stm32/
Dpinctrl-stm32.c519 int num_pins, num_funcs, maps_per_pin, i, err = 0; in stm32_pctrl_dt_subnode_to_map() local
540 maps_per_pin = 0; in stm32_pctrl_dt_subnode_to_map()
542 maps_per_pin++; in stm32_pctrl_dt_subnode_to_map()
544 maps_per_pin++; in stm32_pctrl_dt_subnode_to_map()
546 if (!num_pins || !maps_per_pin) { in stm32_pctrl_dt_subnode_to_map()
551 reserve = num_pins * maps_per_pin; in stm32_pctrl_dt_subnode_to_map()