Lines Matching defs:pins
92 * from the corresponding device datasheet. This value is different for pins
152 * array is the same as pins.
153 * @pins: an array of discrete physical pins used in this group, taken
155 * @npins: the number of pins in this group array, i.e. the number of
156 * elements in .pins so we can iterate over that array
161 unsigned int *pins;
246 dev_dbg(info->dev, "%s: %d 0:%d\n", name, grp->npins, grp->pins[0]);
269 const unsigned **pins,
277 *pins = info->groups[selector].pins;
302 * config maps for pins
336 pin_get_name(pctldev, grp->pins[i]);
857 /* first check that all the pins of the group are valid with a valid
1210 * the binding format is atmel,pins = <bank pin mux CONFIG ...>,
1211 * do sanity check and calculate pins number
1213 list = of_get_property(np, "atmel,pins", &size);
1217 dev_err(info->dev, "wrong pins number or pins and configs should be by 4\n");
1226 grp->pins = devm_kcalloc(info->dev, grp->npins, sizeof(unsigned int),
1228 if (!grp->pins_conf || !grp->pins)
1234 grp->pins[j] = pin->bank * MAX_NB_GPIO_PER_BANK + pin->pin;
1383 at91_pinctrl_desc.pins = pdesc =
1385 if (!at91_pinctrl_desc.pins)
1411 /* We will handle a range of GPIO pins */
1473 /* Mask additionally to ngpio as not all GPIO controllers have 32 pins */
1550 * Alternatively, certain pins may be used directly as IRQ0..IRQ6 after