/linux-6.1.9/drivers/pinctrl/bcm/ |
D | pinctrl-ns.c | 30 struct pinctrl_desc pctldesc; member 213 struct pinctrl_desc *pctldesc; in ns_pinctrl_probe() local 221 pctldesc = &ns_pinctrl->pctldesc; in ns_pinctrl_probe() 239 memcpy(pctldesc, &ns_pinctrl_desc, sizeof(*pctldesc)); in ns_pinctrl_probe() 243 pctldesc->pins = devm_kcalloc(dev, ARRAY_SIZE(ns_pinctrl_pins), in ns_pinctrl_probe() 246 if (!pctldesc->pins) in ns_pinctrl_probe() 248 for (i = 0, pin = (struct pinctrl_pin_desc *)&pctldesc->pins[0]; in ns_pinctrl_probe() 255 pctldesc->npins++; in ns_pinctrl_probe() 261 ns_pinctrl->pctldev = devm_pinctrl_register(dev, pctldesc, ns_pinctrl); in ns_pinctrl_probe()
|
D | pinctrl-bcm4908.c | 32 struct pinctrl_desc pctldesc; member 474 struct pinctrl_desc *pctldesc; in bcm4908_pinctrl_probe() local 482 pctldesc = &bcm4908_pinctrl->pctldesc; in bcm4908_pinctrl_probe() 495 memcpy(pctldesc, &bcm4908_pinctrl_desc, sizeof(*pctldesc)); in bcm4908_pinctrl_probe() 510 pctldesc->pins = pins; in bcm4908_pinctrl_probe() 511 pctldesc->npins = BCM4908_NUM_PINS; in bcm4908_pinctrl_probe() 515 bcm4908_pinctrl->pctldev = devm_pinctrl_register(dev, pctldesc, bcm4908_pinctrl); in bcm4908_pinctrl_probe()
|
D | pinctrl-nsp-gpio.c | 66 struct pinctrl_desc pctldesc; member 567 struct pinctrl_desc *pctldesc = &chip->pctldesc; in nsp_gpio_register_pinconf() local 582 pctldesc->name = dev_name(chip->dev); in nsp_gpio_register_pinconf() 583 pctldesc->pctlops = &nsp_pctrl_ops; in nsp_gpio_register_pinconf() 584 pctldesc->pins = pins; in nsp_gpio_register_pinconf() 585 pctldesc->npins = gc->ngpio; in nsp_gpio_register_pinconf() 586 pctldesc->confops = &nsp_pconf_ops; in nsp_gpio_register_pinconf() 588 chip->pctl = devm_pinctrl_register(chip->dev, pctldesc, chip); in nsp_gpio_register_pinconf()
|
D | pinctrl-iproc-gpio.c | 119 struct pinctrl_desc pctldesc; member 738 struct pinctrl_desc *pctldesc = &chip->pctldesc; in iproc_gpio_register_pinconf() local 755 pctldesc->name = dev_name(chip->dev); in iproc_gpio_register_pinconf() 756 pctldesc->pctlops = &iproc_pctrl_ops; in iproc_gpio_register_pinconf() 757 pctldesc->pins = pins; in iproc_gpio_register_pinconf() 758 pctldesc->npins = gc->ngpio; in iproc_gpio_register_pinconf() 759 pctldesc->confops = &iproc_pconf_ops; in iproc_gpio_register_pinconf() 761 chip->pctl = devm_pinctrl_register(chip->dev, pctldesc, chip); in iproc_gpio_register_pinconf()
|
/linux-6.1.9/include/linux/pinctrl/ |
D | pinctrl.h | 168 extern int pinctrl_register_and_init(struct pinctrl_desc *pctldesc, 174 extern struct pinctrl_dev *pinctrl_register(struct pinctrl_desc *pctldesc, 180 struct pinctrl_desc *pctldesc, 186 struct pinctrl_desc *pctldesc,
|
/linux-6.1.9/drivers/pinctrl/ |
D | core.c | 1987 pinctrl_init_controller(struct pinctrl_desc *pctldesc, struct device *dev, in pinctrl_init_controller() argument 1993 if (!pctldesc) in pinctrl_init_controller() 1995 if (!pctldesc->name) in pinctrl_init_controller() 2003 pctldev->owner = pctldesc->owner; in pinctrl_init_controller() 2004 pctldev->desc = pctldesc; in pinctrl_init_controller() 2026 if (pctldesc->pmxops) { in pinctrl_init_controller() 2033 if (pctldesc->confops) { in pinctrl_init_controller() 2040 dev_dbg(dev, "try to register %d pins ...\n", pctldesc->npins); in pinctrl_init_controller() 2041 ret = pinctrl_register_pins(pctldev, pctldesc->pins, pctldesc->npins); in pinctrl_init_controller() 2044 pinctrl_free_pindescs(pctldev, pctldesc->pins, in pinctrl_init_controller() [all …]
|
/linux-6.1.9/drivers/pinctrl/uniphier/ |
D | pinctrl-uniphier-core.c | 36 struct pinctrl_desc pctldesc; member 891 priv->pctldesc.name = dev->driver->name; in uniphier_pinctrl_probe() 892 priv->pctldesc.pins = socdata->pins; in uniphier_pinctrl_probe() 893 priv->pctldesc.npins = socdata->npins; in uniphier_pinctrl_probe() 894 priv->pctldesc.pctlops = &uniphier_pctlops; in uniphier_pinctrl_probe() 895 priv->pctldesc.pmxops = &uniphier_pmxops; in uniphier_pinctrl_probe() 896 priv->pctldesc.confops = &uniphier_confops; in uniphier_pinctrl_probe() 897 priv->pctldesc.owner = dev->driver->owner; in uniphier_pinctrl_probe() 903 priv->pctldev = devm_pinctrl_register(dev, &priv->pctldesc, priv); in uniphier_pinctrl_probe()
|
/linux-6.1.9/drivers/pinctrl/intel/ |
D | pinctrl-merrifield.c | 426 struct pinctrl_desc pctldesc; member 939 mp->pctldesc = mrfld_pinctrl_desc; in mrfld_pinctrl_probe() 940 mp->pctldesc.name = dev_name(&pdev->dev); in mrfld_pinctrl_probe() 941 mp->pctldesc.pins = mrfld_pins; in mrfld_pinctrl_probe() 942 mp->pctldesc.npins = ARRAY_SIZE(mrfld_pins); in mrfld_pinctrl_probe() 944 mp->pctldev = devm_pinctrl_register(&pdev->dev, &mp->pctldesc, mp); in mrfld_pinctrl_probe()
|
D | pinctrl-lynxpoint.c | 834 lg->pctldesc = lptlp_pinctrl_desc; in lp_gpio_probe() 835 lg->pctldesc.name = dev_name(dev); in lp_gpio_probe() 836 lg->pctldesc.pins = lg->soc->pins; in lp_gpio_probe() 837 lg->pctldesc.npins = lg->soc->npins; in lp_gpio_probe() 839 lg->pctldev = devm_pinctrl_register(dev, &lg->pctldesc, lg); in lp_gpio_probe()
|
D | pinctrl-intel.h | 226 struct pinctrl_desc pctldesc; member
|
D | pinctrl-baytrail.c | 1730 vg->pctldesc = byt_pinctrl_desc; in byt_pinctrl_probe() 1731 vg->pctldesc.name = dev_name(dev); in byt_pinctrl_probe() 1732 vg->pctldesc.pins = vg->soc->pins; in byt_pinctrl_probe() 1733 vg->pctldesc.npins = vg->soc->npins; in byt_pinctrl_probe() 1735 vg->pctldev = devm_pinctrl_register(dev, &vg->pctldesc, vg); in byt_pinctrl_probe()
|
D | pinctrl-cherryview.c | 1749 pctrl->pctldesc = chv_pinctrl_desc; in chv_pinctrl_probe() 1750 pctrl->pctldesc.name = dev_name(dev); in chv_pinctrl_probe() 1751 pctrl->pctldesc.pins = pctrl->soc->pins; in chv_pinctrl_probe() 1752 pctrl->pctldesc.npins = pctrl->soc->npins; in chv_pinctrl_probe() 1754 pctrl->pctldev = devm_pinctrl_register(dev, &pctrl->pctldesc, pctrl); in chv_pinctrl_probe()
|
D | pinctrl-intel.c | 1602 pctrl->pctldesc = intel_pinctrl_desc; in intel_pinctrl_probe() 1603 pctrl->pctldesc.name = dev_name(&pdev->dev); in intel_pinctrl_probe() 1604 pctrl->pctldesc.pins = pctrl->soc->pins; in intel_pinctrl_probe() 1605 pctrl->pctldesc.npins = pctrl->soc->npins; in intel_pinctrl_probe() 1607 pctrl->pctldev = devm_pinctrl_register(&pdev->dev, &pctrl->pctldesc, in intel_pinctrl_probe()
|