Lines Matching defs:pins
72 * from the corresponding device datasheet. This value is different for pins
132 * array is the same as pins.
133 * @pins: an array of discrete physical pins used in this group, taken
135 * @npins: the number of pins in this group array, i.e. the number of
136 * elements in .pins so we can iterate over that array
141 unsigned int *pins;
226 dev_dbg(info->dev, "%s: %d 0:%d\n", name, grp->npins, grp->pins[0]);
249 const unsigned **pins,
257 *pins = info->groups[selector].pins;
282 * config maps for pins
316 pin_get_name(pctldev, grp->pins[i]);
837 /* first check that all the pins of the group are valid with a valid
1190 * the binding format is atmel,pins = <bank pin mux CONFIG ...>,
1191 * do sanity check and calculate pins number
1193 list = of_get_property(np, "atmel,pins", &size);
1197 dev_err(info->dev, "wrong pins number or pins and configs should be by 4\n");
1206 grp->pins = devm_kcalloc(info->dev, grp->npins, sizeof(unsigned int),
1208 if (!grp->pins_conf || !grp->pins)
1214 grp->pins[j] = pin->bank * MAX_NB_GPIO_PER_BANK + pin->pin;
1377 at91_pinctrl_desc.pins = pdesc =
1382 if (!at91_pinctrl_desc.pins)
1402 /* We will handle a range of GPIO pins */
1464 /* Mask additionally to ngpio as not all GPIO controllers have 32 pins */
1527 * Alternatively, certain pins may be used directly as IRQ0..IRQ6 after