Searched refs:maps_per_pin (Results 1 - 3 of 3) sorted by relevance
/linux-4.1.27/drivers/pinctrl/vt8500/ |
H A D | pinctrl-wmt.c | 312 int num_pins, num_funcs, num_pulls, maps_per_pin; wmt_pctl_dt_node_to_map() local 350 maps_per_pin = 0; wmt_pctl_dt_node_to_map() 352 maps_per_pin++; wmt_pctl_dt_node_to_map() 354 maps_per_pin++; wmt_pctl_dt_node_to_map() 356 cur_map = maps = kzalloc(num_pins * maps_per_pin * sizeof(*maps), wmt_pctl_dt_node_to_map() 397 *num_maps = num_pins * maps_per_pin; wmt_pctl_dt_node_to_map() 403 * pass 'num_pins * maps_per_pin' as the map count even though we probably wmt_pctl_dt_node_to_map() 409 wmt_pctl_dt_free_map(pctldev, maps, num_pins * maps_per_pin); wmt_pctl_dt_node_to_map()
|
/linux-4.1.27/drivers/pinctrl/bcm/ |
H A D | pinctrl-bcm2835.c | 716 int num_pins, num_funcs, num_pulls, maps_per_pin; bcm2835_pctl_dt_node_to_map() local 756 maps_per_pin = 0; bcm2835_pctl_dt_node_to_map() 758 maps_per_pin++; bcm2835_pctl_dt_node_to_map() 760 maps_per_pin++; bcm2835_pctl_dt_node_to_map() 761 cur_map = maps = kzalloc(num_pins * maps_per_pin * sizeof(*maps), bcm2835_pctl_dt_node_to_map() 800 *num_maps = num_pins * maps_per_pin; bcm2835_pctl_dt_node_to_map()
|
/linux-4.1.27/drivers/pinctrl/mediatek/ |
H A D | pinctrl-mtk-common.c | 393 int num_pins, num_funcs, maps_per_pin; mtk_pctrl_dt_subnode_to_map() local 416 maps_per_pin = 0; mtk_pctrl_dt_subnode_to_map() 418 maps_per_pin++; mtk_pctrl_dt_subnode_to_map() 420 maps_per_pin++; mtk_pctrl_dt_subnode_to_map() 422 if (!num_pins || !maps_per_pin) mtk_pctrl_dt_subnode_to_map() 425 reserve = num_pins * maps_per_pin; mtk_pctrl_dt_subnode_to_map()
|
Completed in 119 milliseconds