/drivers/pinctrl/bcm/ |
D | pinctrl-ns.c | 27 struct pinctrl_desc pctldesc; member 268 struct pinctrl_desc *pctldesc; in ns_pinctrl_probe() local 278 pctldesc = &ns_pinctrl->pctldesc; in ns_pinctrl_probe() 298 memcpy(pctldesc, &ns_pinctrl_desc, sizeof(*pctldesc)); in ns_pinctrl_probe() 302 pctldesc->pins = devm_kcalloc(dev, ARRAY_SIZE(ns_pinctrl_pins), in ns_pinctrl_probe() 305 if (!pctldesc->pins) in ns_pinctrl_probe() 307 for (i = 0, pin = (struct pinctrl_pin_desc *)&pctldesc->pins[0]; in ns_pinctrl_probe() 314 pctldesc->npins++; in ns_pinctrl_probe() 351 ns_pinctrl->pctldev = devm_pinctrl_register(dev, pctldesc, ns_pinctrl); in ns_pinctrl_probe()
|
D | pinctrl-nsp-gpio.c | 76 struct pinctrl_desc pctldesc; member 578 struct pinctrl_desc *pctldesc = &chip->pctldesc; in nsp_gpio_register_pinconf() local 593 pctldesc->name = dev_name(chip->dev); in nsp_gpio_register_pinconf() 594 pctldesc->pctlops = &nsp_pctrl_ops; in nsp_gpio_register_pinconf() 595 pctldesc->pins = pins; in nsp_gpio_register_pinconf() 596 pctldesc->npins = gc->ngpio; in nsp_gpio_register_pinconf() 597 pctldesc->confops = &nsp_pconf_ops; in nsp_gpio_register_pinconf() 599 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 739 struct pinctrl_desc *pctldesc = &chip->pctldesc; in iproc_gpio_register_pinconf() local 756 pctldesc->name = dev_name(chip->dev); in iproc_gpio_register_pinconf() 757 pctldesc->pctlops = &iproc_pctrl_ops; in iproc_gpio_register_pinconf() 758 pctldesc->pins = pins; in iproc_gpio_register_pinconf() 759 pctldesc->npins = gc->ngpio; in iproc_gpio_register_pinconf() 760 pctldesc->confops = &iproc_pconf_ops; in iproc_gpio_register_pinconf() 762 chip->pctl = devm_pinctrl_register(chip->dev, pctldesc, chip); in iproc_gpio_register_pinconf()
|
/drivers/pinctrl/zte/ |
D | pinctrl-zx.c | 387 struct pinctrl_desc *pctldesc; in zx_pinctrl_init() local 416 pctldesc = devm_kzalloc(&pdev->dev, sizeof(*pctldesc), GFP_KERNEL); in zx_pinctrl_init() 417 if (!pctldesc) in zx_pinctrl_init() 420 pctldesc->name = dev_name(&pdev->dev); in zx_pinctrl_init() 421 pctldesc->owner = THIS_MODULE; in zx_pinctrl_init() 422 pctldesc->pins = info->pins; in zx_pinctrl_init() 423 pctldesc->npins = info->npins; in zx_pinctrl_init() 424 pctldesc->pctlops = &zx_pinctrl_ops; in zx_pinctrl_init() 425 pctldesc->pmxops = &zx_pinmux_ops; in zx_pinctrl_init() 426 pctldesc->confops = &zx_pinconf_ops; in zx_pinctrl_init() [all …]
|
/drivers/pinctrl/ |
D | core.c | 1964 pinctrl_init_controller(struct pinctrl_desc *pctldesc, struct device *dev, in pinctrl_init_controller() argument 1970 if (!pctldesc) in pinctrl_init_controller() 1972 if (!pctldesc->name) in pinctrl_init_controller() 1980 pctldev->owner = pctldesc->owner; in pinctrl_init_controller() 1981 pctldev->desc = pctldesc; in pinctrl_init_controller() 2003 if (pctldesc->pmxops) { in pinctrl_init_controller() 2010 if (pctldesc->confops) { in pinctrl_init_controller() 2017 dev_dbg(dev, "try to register %d pins ...\n", pctldesc->npins); in pinctrl_init_controller() 2018 ret = pinctrl_register_pins(pctldev, pctldesc->pins, pctldesc->npins); in pinctrl_init_controller() 2021 pinctrl_free_pindescs(pctldev, pctldesc->pins, in pinctrl_init_controller() [all …]
|
/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()
|
/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 | 830 lg->pctldesc = lptlp_pinctrl_desc; in lp_gpio_probe() 831 lg->pctldesc.name = dev_name(dev); in lp_gpio_probe() 832 lg->pctldesc.pins = lg->soc->pins; in lp_gpio_probe() 833 lg->pctldesc.npins = lg->soc->npins; in lp_gpio_probe() 835 lg->pctldev = devm_pinctrl_register(dev, &lg->pctldesc, lg); in lp_gpio_probe()
|
D | pinctrl-intel.h | 232 struct pinctrl_desc pctldesc; member
|
D | pinctrl-baytrail.c | 1664 vg->pctldesc = byt_pinctrl_desc; in byt_pinctrl_probe() 1665 vg->pctldesc.name = dev_name(dev); in byt_pinctrl_probe() 1666 vg->pctldesc.pins = vg->soc->pins; in byt_pinctrl_probe() 1667 vg->pctldesc.npins = vg->soc->npins; in byt_pinctrl_probe() 1669 vg->pctldev = devm_pinctrl_register(dev, &vg->pctldesc, vg); in byt_pinctrl_probe()
|
D | pinctrl-cherryview.c | 1675 pctrl->pctldesc = chv_pinctrl_desc; in chv_pinctrl_probe() 1676 pctrl->pctldesc.name = dev_name(dev); in chv_pinctrl_probe() 1677 pctrl->pctldesc.pins = pctrl->soc->pins; in chv_pinctrl_probe() 1678 pctrl->pctldesc.npins = pctrl->soc->npins; in chv_pinctrl_probe() 1680 pctrl->pctldev = devm_pinctrl_register(dev, &pctrl->pctldesc, pctrl); in chv_pinctrl_probe()
|
D | pinctrl-intel.c | 1532 pctrl->pctldesc = intel_pinctrl_desc; in intel_pinctrl_probe() 1533 pctrl->pctldesc.name = dev_name(&pdev->dev); in intel_pinctrl_probe() 1534 pctrl->pctldesc.pins = pctrl->soc->pins; in intel_pinctrl_probe() 1535 pctrl->pctldesc.npins = pctrl->soc->npins; in intel_pinctrl_probe() 1537 pctrl->pctldev = devm_pinctrl_register(&pdev->dev, &pctrl->pctldesc, in intel_pinctrl_probe()
|