Searched refs:pctldesc (Results 1 – 7 of 7) sorted by relevance
/drivers/pinctrl/uniphier/ |
D | pinctrl-uniphier-core.c | 30 struct pinctrl_desc pctldesc; member 722 priv->pctldesc.name = dev->driver->name; in uniphier_pinctrl_probe() 723 priv->pctldesc.pins = socdata->pins; in uniphier_pinctrl_probe() 724 priv->pctldesc.npins = socdata->npins; in uniphier_pinctrl_probe() 725 priv->pctldesc.pctlops = &uniphier_pctlops; in uniphier_pinctrl_probe() 726 priv->pctldesc.pmxops = &uniphier_pmxops; in uniphier_pinctrl_probe() 727 priv->pctldesc.confops = &uniphier_confops; in uniphier_pinctrl_probe() 728 priv->pctldesc.owner = dev->driver->owner; in uniphier_pinctrl_probe() 730 priv->pctldev = devm_pinctrl_register(dev, &priv->pctldesc, priv); in uniphier_pinctrl_probe()
|
/drivers/pinctrl/bcm/ |
D | pinctrl-nsp-gpio.c | 74 struct pinctrl_desc pctldesc; member 593 struct pinctrl_desc *pctldesc = &chip->pctldesc; in nsp_gpio_register_pinconf() local 608 pctldesc->name = dev_name(chip->dev); in nsp_gpio_register_pinconf() 609 pctldesc->pctlops = &nsp_pctrl_ops; in nsp_gpio_register_pinconf() 610 pctldesc->pins = pins; in nsp_gpio_register_pinconf() 611 pctldesc->npins = gc->ngpio; in nsp_gpio_register_pinconf() 612 pctldesc->confops = &nsp_pconf_ops; in nsp_gpio_register_pinconf() 614 chip->pctl = devm_pinctrl_register(chip->dev, pctldesc, chip); in nsp_gpio_register_pinconf()
|
D | pinctrl-iproc-gpio.c | 113 struct pinctrl_desc pctldesc; member 684 struct pinctrl_desc *pctldesc = &chip->pctldesc; in iproc_gpio_register_pinconf() local 701 pctldesc->name = dev_name(chip->dev); in iproc_gpio_register_pinconf() 702 pctldesc->pctlops = &iproc_pctrl_ops; in iproc_gpio_register_pinconf() 703 pctldesc->pins = pins; in iproc_gpio_register_pinconf() 704 pctldesc->npins = gc->ngpio; in iproc_gpio_register_pinconf() 705 pctldesc->confops = &iproc_pconf_ops; in iproc_gpio_register_pinconf() 707 chip->pctl = devm_pinctrl_register(chip->dev, pctldesc, chip); in iproc_gpio_register_pinconf()
|
/drivers/pinctrl/ |
D | core.c | 1756 struct pinctrl_dev *pinctrl_register(struct pinctrl_desc *pctldesc, in pinctrl_register() argument 1762 if (!pctldesc) in pinctrl_register() 1764 if (!pctldesc->name) in pinctrl_register() 1774 pctldev->owner = pctldesc->owner; in pinctrl_register() 1775 pctldev->desc = pctldesc; in pinctrl_register() 1790 if (pctldesc->pmxops) { in pinctrl_register() 1797 if (pctldesc->confops) { in pinctrl_register() 1804 dev_dbg(dev, "try to register %d pins ...\n", pctldesc->npins); in pinctrl_register() 1805 ret = pinctrl_register_pins(pctldev, pctldesc->pins, pctldesc->npins); in pinctrl_register() 1808 pinctrl_free_pindescs(pctldev, pctldesc->pins, in pinctrl_register() [all …]
|
/drivers/pinctrl/intel/ |
D | pinctrl-merrifield.c | 424 struct pinctrl_desc pctldesc; member 878 mp->pctldesc = mrfld_pinctrl_desc; in mrfld_pinctrl_probe() 879 mp->pctldesc.name = dev_name(&pdev->dev); in mrfld_pinctrl_probe() 880 mp->pctldesc.pins = mrfld_pins; in mrfld_pinctrl_probe() 881 mp->pctldesc.npins = ARRAY_SIZE(mrfld_pins); in mrfld_pinctrl_probe() 883 mp->pctldev = devm_pinctrl_register(&pdev->dev, &mp->pctldesc, mp); in mrfld_pinctrl_probe()
|
D | pinctrl-intel.c | 95 struct pinctrl_desc pctldesc; member 1035 pctrl->pctldesc = intel_pinctrl_desc; in intel_pinctrl_probe() 1036 pctrl->pctldesc.name = dev_name(&pdev->dev); in intel_pinctrl_probe() 1037 pctrl->pctldesc.pins = pctrl->soc->pins; in intel_pinctrl_probe() 1038 pctrl->pctldesc.npins = pctrl->soc->npins; in intel_pinctrl_probe() 1040 pctrl->pctldev = devm_pinctrl_register(&pdev->dev, &pctrl->pctldesc, in intel_pinctrl_probe()
|
D | pinctrl-cherryview.c | 175 struct pinctrl_desc pctldesc; member 1672 pctrl->pctldesc = chv_pinctrl_desc; in chv_pinctrl_probe() 1673 pctrl->pctldesc.name = dev_name(&pdev->dev); in chv_pinctrl_probe() 1674 pctrl->pctldesc.pins = pctrl->community->pins; in chv_pinctrl_probe() 1675 pctrl->pctldesc.npins = pctrl->community->npins; in chv_pinctrl_probe() 1677 pctrl->pctldev = devm_pinctrl_register(&pdev->dev, &pctrl->pctldesc, in chv_pinctrl_probe()
|