Lines Matching refs:pins
113 struct stm32_desc_pin *pins;
538 const struct stm32_desc_pin *pin = pctl->pins + i;
587 struct property *pins;
597 pins = of_find_property(node, "pinmux", NULL);
598 if (!pins) {
599 dev_err(pctl->dev, "missing pins property in node %pOFn .\n",
612 num_pins = pins->length / sizeof(u32);
717 const unsigned **pins,
722 *pins = (unsigned *)&pctl->groups[group].pin;
1277 /* get the last defined gpio line (offset + nb of pins) */
1412 const struct stm32_desc_pin *pin = pctl->pins + i;
1424 struct stm32_desc_pin *pins)
1430 p = pctl->match_data->pins + i;
1433 pins->pin = p->pin;
1434 pins->functions = p->functions;
1435 pins++;
1462 struct pinctrl_pin_desc *pins;
1472 if (!of_find_property(np, "pins-are-numbered", NULL)) {
1473 dev_err(dev, "only support pins-are-numbered format\n");
1507 pctl->pins = devm_kcalloc(pctl->dev, pctl->match_data->npins,
1508 sizeof(*pctl->pins), GFP_KERNEL);
1509 if (!pctl->pins)
1512 ret = stm32_pctrl_create_pins_tab(pctl, pctl->pins);
1528 pins = devm_kcalloc(&pdev->dev, pctl->npins, sizeof(*pins),
1530 if (!pins)
1534 pins[i] = pctl->pins[i].pin;
1538 pctl->pctl_desc.pins = pins;