Lines Matching refs:num_pins
698 unsigned *num_pins) in bcm2835_pctl_get_group_pins() argument
701 *num_pins = 1; in bcm2835_pctl_get_group_pins()
785 int num_pins, num_funcs, num_pulls, maps_per_pin; in bcm2835_pctl_dt_node_to_map() local
812 num_pins = pins->length / 4; in bcm2835_pctl_dt_node_to_map()
816 if (num_funcs > 1 && num_funcs != num_pins) { in bcm2835_pctl_dt_node_to_map()
819 np, num_pins); in bcm2835_pctl_dt_node_to_map()
823 if (num_pulls > 1 && num_pulls != num_pins) { in bcm2835_pctl_dt_node_to_map()
826 np, num_pins); in bcm2835_pctl_dt_node_to_map()
835 cur_map = maps = kcalloc(num_pins * maps_per_pin, sizeof(*maps), in bcm2835_pctl_dt_node_to_map()
840 for (i = 0; i < num_pins; i++) { in bcm2835_pctl_dt_node_to_map()
874 *num_maps = num_pins * maps_per_pin; in bcm2835_pctl_dt_node_to_map()
879 bcm2835_pctl_dt_free_map(pctldev, maps, num_pins * maps_per_pin); in bcm2835_pctl_dt_node_to_map()