Lines Matching refs:pins
150 const struct sunxi_desc_pin *pin = pctl->desc->pins + i;
177 const struct sunxi_desc_pin *pin = pctl->desc->pins + i;
211 const unsigned **pins,
216 *pins = (unsigned *)&pctl->groups[group].pin;
315 count = of_property_count_strings(node, "pins");
318 return "pins";
322 count = of_property_count_strings(node, "allwinner,pins");
325 return "allwinner,pins";
411 dev_err(pctl->dev, "missing pins property in node %pOFn\n",
1274 * We assume that the number of groups is the number of pins
1277 * This will not always be true, since some pins might not be
1279 * this means that the number of pins is the maximum group
1289 const struct sunxi_desc_pin *pin = pctl->desc->pins + i;
1298 /* And now we count the actual number of pins / groups */
1316 const struct sunxi_desc_pin *pin = pctl->desc->pins + i;
1348 const struct sunxi_desc_pin *pin = pctl->desc->pins + i;
1481 struct pinctrl_pin_desc *pins;
1524 pins = devm_kcalloc(&pdev->dev,
1525 pctl->desc->npins, sizeof(*pins),
1527 if (!pins)
1531 const struct sunxi_desc_pin *pin = pctl->desc->pins + i;
1536 pins[pin_idx++] = pin->pin;
1547 pctrl_desc->pins = pins;
1572 last_pin = pctl->desc->pins[pctl->desc->npins - 1].pin.number;
1596 const struct sunxi_desc_pin *pin = pctl->desc->pins + i;