Home
last modified time | relevance | path

Searched refs:pinctrl_desc (Results 1 – 25 of 123) sorted by relevance

12345

/openbmc/linux/include/linux/pinctrl/
H A Dpinctrl.h150 struct pinctrl_desc { struct
168 extern int pinctrl_register_and_init(struct pinctrl_desc *pctldesc, argument
174 extern struct pinctrl_dev *pinctrl_register(struct pinctrl_desc *pctldesc,
180 struct pinctrl_desc *pctldesc,
186 struct pinctrl_desc *pctldesc,
/openbmc/linux/drivers/pinctrl/
H A Dpinctrl-rk805.c73 struct pinctrl_desc pinctrl_desc; member
544 static const struct pinctrl_desc rk805_pinctrl_desc = {
566 pci->pinctrl_desc = rk805_pinctrl_desc; in rk805_pinctrl_probe()
580 pci->pinctrl_desc.pins = rk805_pins_desc; in rk805_pinctrl_probe()
581 pci->pinctrl_desc.npins = ARRAY_SIZE(rk805_pins_desc); in rk805_pinctrl_probe()
592 pci->pinctrl_desc.pins = rk806_pins_desc; in rk805_pinctrl_probe()
593 pci->pinctrl_desc.npins = ARRAY_SIZE(rk806_pins_desc); in rk805_pinctrl_probe()
611 pci->pctl = devm_pinctrl_register(&pdev->dev, &pci->pinctrl_desc, pci); in rk805_pinctrl_probe()
H A Dpinctrl-apple-gpio.c40 struct pinctrl_desc pinctrl_desc; member
381 pctl->gpio_chip.ngpio = pctl->pinctrl_desc.npins; in apple_gpio_register()
485 pctl->pinctrl_desc.name = dev_name(pctl->dev); in apple_gpio_pinctrl_probe()
486 pctl->pinctrl_desc.pins = pins; in apple_gpio_pinctrl_probe()
487 pctl->pinctrl_desc.npins = npins; in apple_gpio_pinctrl_probe()
488 pctl->pinctrl_desc.pctlops = &apple_gpio_pinctrl_ops; in apple_gpio_pinctrl_probe()
489 pctl->pinctrl_desc.pmxops = &apple_gpio_pinmux_ops; in apple_gpio_pinctrl_probe()
491 pctl->pctldev = devm_pinctrl_register(&pdev->dev, &pctl->pinctrl_desc, pctl); in apple_gpio_pinctrl_probe()
H A Dpinctrl-mcp23s08.h44 struct pinctrl_desc pinctrl_desc; member
H A Dpinctrl-mcp23s08.c675 mcp->pinctrl_desc.pctlops = &mcp_pinctrl_ops; in mcp23s08_probe_one()
676 mcp->pinctrl_desc.confops = &mcp_pinconf_ops; in mcp23s08_probe_one()
677 mcp->pinctrl_desc.npins = mcp->chip.ngpio; in mcp23s08_probe_one()
678 if (mcp->pinctrl_desc.npins == 8) in mcp23s08_probe_one()
679 mcp->pinctrl_desc.pins = mcp23x08_pins; in mcp23s08_probe_one()
680 else if (mcp->pinctrl_desc.npins == 16) in mcp23s08_probe_one()
681 mcp->pinctrl_desc.pins = mcp23x17_pins; in mcp23s08_probe_one()
682 mcp->pinctrl_desc.owner = THIS_MODULE; in mcp23s08_probe_one()
684 mcp->pctldev = devm_pinctrl_register(dev, &mcp->pinctrl_desc, mcp); in mcp23s08_probe_one()
H A Dcore.h25 struct pinctrl_desc;
54 struct pinctrl_desc *desc;
H A Dpinctrl-sx150x.c99 struct pinctrl_desc pinctrl_desc; member
1162 pctl->pinctrl_desc.name = "sx150x-pinctrl"; in sx150x_probe()
1163 pctl->pinctrl_desc.pctlops = &sx150x_pinctrl_ops; in sx150x_probe()
1164 pctl->pinctrl_desc.confops = &sx150x_pinconf_ops; in sx150x_probe()
1165 pctl->pinctrl_desc.pins = pctl->data->pins; in sx150x_probe()
1166 pctl->pinctrl_desc.npins = pctl->data->npins; in sx150x_probe()
1167 pctl->pinctrl_desc.owner = THIS_MODULE; in sx150x_probe()
1169 ret = devm_pinctrl_register_and_init(dev, &pctl->pinctrl_desc, in sx150x_probe()
H A Dpinctrl-mcp23s08_spi.c194 data->mcp[addr]->pinctrl_desc.name = devm_kasprintf(dev, GFP_KERNEL, in mcp23s08_probe()
197 if (!data->mcp[addr]->pinctrl_desc.name) in mcp23s08_probe()
H A Dpinctrl-equilibrium.h134 struct pinctrl_desc pctl_desc;
H A Dpinctrl-mcp23s08_i2c.c54 mcp->pinctrl_desc.name = "mcp23xxx-pinctrl"; in mcp230xx_probe()
H A Dpinctrl-digicolor.c45 struct pinctrl_desc *desc;
273 struct pinctrl_desc *pctl_desc; in dc_pinctrl_probe()
H A Dpinctrl-lantiq.h71 struct pinctrl_desc *desc;
H A Dpinctrl-amd.c867 struct pinctrl_desc *desc = gpio_dev->pctrl->desc; in amd_gpio_irq_init()
914 struct pinctrl_desc *desc = gpio_dev->pctrl->desc; in amd_gpio_suspend_hibernate_common()
955 struct pinctrl_desc *desc = gpio_dev->pctrl->desc; in amd_gpio_resume()
1060 static struct pinctrl_desc amd_pinctrl_desc = {
1071 struct pinctrl_desc *desc = &amd_pinctrl_desc; in amd_get_iomux_res()
H A Dcore.c2008 pinctrl_init_controller(struct pinctrl_desc *pctldesc, struct device *dev, in pinctrl_init_controller()
2078 static void pinctrl_uninit_controller(struct pinctrl_dev *pctldev, struct pinctrl_desc *pctldesc) in pinctrl_uninit_controller()
2155 struct pinctrl_dev *pinctrl_register(struct pinctrl_desc *pctldesc, in pinctrl_register()
2185 int pinctrl_register_and_init(struct pinctrl_desc *pctldesc, in pinctrl_register_and_init()
2276 struct pinctrl_desc *pctldesc, in devm_pinctrl_register()
2310 struct pinctrl_desc *pctldesc, in devm_pinctrl_register_and_init()
H A Dpinctrl-da850-pupd.c24 struct pinctrl_desc desc;
/openbmc/linux/drivers/pinctrl/bcm/
H A Dpinctrl-ns.c30 struct pinctrl_desc pctldesc;
195 static struct pinctrl_desc ns_pinctrl_desc = {
212 struct pinctrl_desc *pctldesc; in ns_pinctrl_probe()
H A Dpinctrl-bcm63xx.h30 struct pinctrl_desc pctl_desc;
H A Dpinctrl-bcm4908.c32 struct pinctrl_desc pctldesc;
459 static struct pinctrl_desc bcm4908_pinctrl_desc = {
474 struct pinctrl_desc *pctldesc; in bcm4908_pinctrl_probe()
/openbmc/linux/drivers/pinctrl/intel/
H A Dpinctrl-tangier.h76 struct pinctrl_desc pctldesc;
/openbmc/linux/drivers/pinctrl/pxa/
H A Dpinctrl-pxa2xx.h72 struct pinctrl_desc desc;
/openbmc/linux/drivers/pinctrl/tegra/
H A Dpinctrl-tegra.h20 struct pinctrl_desc desc;
/openbmc/linux/drivers/pinctrl/aspeed/
H A Dpinctrl-aspeed.h105 struct pinctrl_desc *pdesc,
/openbmc/linux/drivers/pinctrl/sunplus/
H A Dsppctl.h132 struct pinctrl_desc pctl_desc;
/openbmc/linux/drivers/pinctrl/mediatek/
H A Dpinctrl-mtmips.c33 struct pinctrl_desc *desc;
183 static struct pinctrl_desc mtmips_pctrl_desc = {
/openbmc/linux/drivers/pinctrl/meson/
H A Dpinctrl-meson.h128 struct pinctrl_desc desc;

12345