Lines Matching refs:pins
40 struct pinctrl_pin_desc *pins;
64 const unsigned **pins, unsigned *num_pins)
68 *pins = pmx->pfc->info->groups[selector].pins;
128 of_find_property(np, "pins", NULL)) {
131 pmx->pins_prop_name = "pins";
135 pmx->pins_prop_name = "renesas,pins";
159 /* Count the number of pins and groups and reallocate mappings. */
164 dev_err(dev, "Invalid pins list in DT\n");
200 /* Iterate over pins and groups and create the mappings. */
357 int idx = sh_pfc_get_pin_index(pfc, grp->pins[i]);
374 /* All group pins are configured, mark the pins as mux_set */
376 int idx = sh_pfc_get_pin_index(pfc, grp->pins[i]);
405 const struct sh_pfc_pin *pin = &pfc->info->pins[idx];
448 const struct sh_pfc_pin *pin = &pfc->info->pins[idx];
573 const struct sh_pfc_pin *pin = &pfc->info->pins[idx];
746 const unsigned int *pins;
750 pins = pmx->pfc->info->groups[group].pins;
754 ret = sh_pfc_pinconf_set(pctldev, pins[i], configs, num_configs);
775 /* Allocate and initialize the pins and configs arrays. */
776 pmx->pins = devm_kcalloc(pfc->dev,
777 pfc->info->nr_pins, sizeof(*pmx->pins),
779 if (unlikely(!pmx->pins))
789 const struct sh_pfc_pin *info = &pfc->info->pins[i];
790 struct pinctrl_pin_desc *pin = &pmx->pins[i];
792 /* If the pin number is equal to -1 all pins are considered */
820 pmx->pctl_desc.pins = pmx->pins;