/linux-6.6.21/drivers/pinctrl/bcm/ |
D | pinctrl-bcm63xx.c | 93 pc->pctl_dev = devm_pinctrl_register(dev, &pc->pctl_desc, pc); in bcm63xx_pinctrl_probe() 94 if (IS_ERR(pc->pctl_dev)) in bcm63xx_pinctrl_probe() 95 return PTR_ERR(pc->pctl_dev); in bcm63xx_pinctrl_probe()
|
D | pinctrl-bcm63xx.h | 31 struct pinctrl_dev *pctl_dev; member
|
D | pinctrl-bcm2835.c | 87 struct pinctrl_dev *pctl_dev; member 1281 pc->pctl_dev = devm_pinctrl_register(dev, &pc->pctl_desc, pc); in bcm2835_pinctrl_probe() 1282 if (IS_ERR(pc->pctl_dev)) { in bcm2835_pinctrl_probe() 1284 return PTR_ERR(pc->pctl_dev); in bcm2835_pinctrl_probe() 1290 pinctrl_add_gpio_range(pc->pctl_dev, &pc->gpio_range); in bcm2835_pinctrl_probe() 1367 pinctrl_remove_gpio_range(pc->pctl_dev, &pc->gpio_range); in bcm2835_pinctrl_probe()
|
/linux-6.6.21/drivers/pinctrl/ |
D | pinctrl-stmfx.c | 85 struct pinctrl_dev *pctl_dev; member 619 struct pinctrl_dev *pctl_dev = pctl->pctl_dev; in stmfx_pinctrl_gpio_function_enable() local 624 gpio_range = pinctrl_find_gpio_range_from_pin(pctl_dev, 16); in stmfx_pinctrl_gpio_function_enable() 630 gpio_range = pinctrl_find_gpio_range_from_pin(pctl_dev, 20); in stmfx_pinctrl_gpio_function_enable() 677 pctl, &pctl->pctl_dev); in stmfx_pinctrl_probe() 683 ret = pinctrl_enable(pctl->pctl_dev); in stmfx_pinctrl_probe()
|
D | pinctrl-axp209.c | 70 struct pinctrl_dev *pctl_dev; member 506 pctl->pctl_dev = devm_pinctrl_register(&pdev->dev, pctrl_desc, pctl); in axp20x_pctl_probe() 507 if (IS_ERR(pctl->pctl_dev)) { in axp20x_pctl_probe() 509 return PTR_ERR(pctl->pctl_dev); in axp20x_pctl_probe()
|
D | pinctrl-equilibrium.h | 135 struct pinctrl_dev *pctl_dev; member
|
D | pinctrl-equilibrium.c | 688 ret = pinmux_generic_add_function(drvdata->pctl_dev, in eqbr_build_functions() 762 err = pinctrl_generic_add_group(drvdata->pctl_dev, group.name, in eqbr_build_groups() 816 &drvdata->pctl_dev); in pinctrl_reg() 832 return pinctrl_enable(drvdata->pctl_dev); in pinctrl_reg()
|
D | pinctrl-rockchip.h | 460 struct pinctrl_dev *pctl_dev; member
|
D | pinctrl-rockchip.c | 3179 info->pctl_dev = devm_pinctrl_register(dev, ctrldesc, info); in rockchip_pinctrl_register() 3180 if (IS_ERR(info->pctl_dev)) in rockchip_pinctrl_register() 3181 return dev_err_probe(dev, PTR_ERR(info->pctl_dev), "could not register pinctrl driver\n"); in rockchip_pinctrl_register() 3314 int ret = pinctrl_force_sleep(info->pctl_dev); in rockchip_pinctrl_suspend() 3327 pinctrl_force_default(info->pctl_dev); in rockchip_pinctrl_suspend() 3348 return pinctrl_force_default(info->pctl_dev); in rockchip_pinctrl_resume()
|
/linux-6.6.21/drivers/pinctrl/intel/ |
D | pinctrl-baytrail.c | 693 static int byt_gpio_request_enable(struct pinctrl_dev *pctl_dev, in byt_gpio_request_enable() argument 697 struct intel_pinctrl *vg = pinctrl_dev_get_drvdata(pctl_dev); in byt_gpio_request_enable() 730 static void byt_gpio_disable_free(struct pinctrl_dev *pctl_dev, in byt_gpio_disable_free() argument 734 struct intel_pinctrl *vg = pinctrl_dev_get_drvdata(pctl_dev); in byt_gpio_disable_free() 757 static int byt_gpio_set_direction(struct pinctrl_dev *pctl_dev, in byt_gpio_set_direction() argument 762 struct intel_pinctrl *vg = pinctrl_dev_get_drvdata(pctl_dev); in byt_gpio_set_direction() 835 static int byt_pin_config_get(struct pinctrl_dev *pctl_dev, unsigned int offset, in byt_pin_config_get() argument 838 struct intel_pinctrl *vg = pinctrl_dev_get_drvdata(pctl_dev); in byt_pin_config_get() 918 static int byt_pin_config_set(struct pinctrl_dev *pctl_dev, in byt_pin_config_set() argument 923 struct intel_pinctrl *vg = pinctrl_dev_get_drvdata(pctl_dev); in byt_pin_config_set()
|
/linux-6.6.21/drivers/pinctrl/vt8500/ |
D | pinctrl-wmt.h | 53 struct pinctrl_dev *pctl_dev; member
|
D | pinctrl-wmt.c | 574 data->pctl_dev = devm_pinctrl_register(&pdev->dev, &wmt_desc, data); in wmt_pinctrl_probe() 575 if (IS_ERR(data->pctl_dev)) { in wmt_pinctrl_probe() 577 return PTR_ERR(data->pctl_dev); in wmt_pinctrl_probe()
|
/linux-6.6.21/drivers/pinctrl/pxa/ |
D | pinctrl-pxa2xx.h | 73 struct pinctrl_dev *pctl_dev; member
|
D | pinctrl-pxa2xx.c | 416 pctl->pctl_dev = devm_pinctrl_register(&pdev->dev, &pctl->desc, pctl); in pxa2xx_pinctrl_init() 417 if (IS_ERR(pctl->pctl_dev)) { in pxa2xx_pinctrl_init() 419 return PTR_ERR(pctl->pctl_dev); in pxa2xx_pinctrl_init()
|
/linux-6.6.21/drivers/pinctrl/sunxi/ |
D | pinctrl-sunxi.c | 917 return sunxi_pmx_gpio_set_direction(pctl->pctl_dev, NULL, in sunxi_pinctrl_gpio_direction_input() 932 sunxi_pmx_set(pctl->pctl_dev, pin, SUN4I_FUNC_INPUT); in sunxi_pinctrl_gpio_get() 937 sunxi_pmx_set(pctl->pctl_dev, pin, SUN4I_FUNC_IRQ); in sunxi_pinctrl_gpio_get() 971 return sunxi_pmx_gpio_set_direction(pctl->pctl_dev, NULL, in sunxi_pinctrl_gpio_direction_output() 1035 sunxi_pmx_set(pctl->pctl_dev, pctl->irq_array[d->hwirq], func->muxval); in sunxi_pinctrl_irq_request_resources() 1562 pctl->pctl_dev = devm_pinctrl_register(&pdev->dev, pctrl_desc, pctl); in sunxi_pinctrl_init_with_variant() 1563 if (IS_ERR(pctl->pctl_dev)) { in sunxi_pinctrl_init_with_variant() 1565 return PTR_ERR(pctl->pctl_dev); in sunxi_pinctrl_init_with_variant()
|
D | pinctrl-sunxi.h | 176 struct pinctrl_dev *pctl_dev; member
|
/linux-6.6.21/drivers/pinctrl/sunplus/ |
D | sppctl.h | 133 struct pinctrl_dev *pctl_dev; member
|
D | sppctl.c | 1054 sppctl, &sppctl->pctl_dev); in sppctl_pinctrl_init() 1058 pinctrl_enable(sppctl->pctl_dev); in sppctl_pinctrl_init() 1105 pinctrl_add_gpio_range(sppctl->pctl_dev, &sppctl->pctl_grange); in sppctl_probe()
|
/linux-6.6.21/drivers/pinctrl/stm32/ |
D | pinctrl-stm32.c | 105 struct pinctrl_dev *pctl_dev; member 214 range = pinctrl_find_gpio_range_from_pin_nolock(pctl->pctl_dev, pin); in stm32_gpio_request() 1351 pinctrl_add_gpio_range(pctl->pctl_dev, in stm32_gpiolib_register_bank() 1614 pctl->pctl_dev = devm_pinctrl_register(&pdev->dev, &pctl->pctl_desc, in stm32_pctl_probe() 1617 if (IS_ERR(pctl->pctl_dev)) { in stm32_pctl_probe() 1619 return PTR_ERR(pctl->pctl_dev); in stm32_pctl_probe() 1674 const struct pin_desc *desc = pin_desc_get(pctl->pctl_dev, pin); in stm32_pinctrl_restore_gpio_regs() 1681 range = pinctrl_find_gpio_range_from_pin(pctl->pctl_dev, pin); in stm32_pinctrl_restore_gpio_regs()
|
/linux-6.6.21/drivers/pinctrl/mediatek/ |
D | pinctrl-mtk-common.c | 999 mtk_pmx_set_mode(pctl->pctl_dev, pin->pin.number, pin->eint.eintmux); in mtk_xt_set_gpio_as_eint() 1001 mtk_pmx_gpio_set_direction(pctl->pctl_dev, NULL, pin->pin.number, in mtk_xt_set_gpio_as_eint() 1108 pctl->pctl_dev = devm_pinctrl_register(&pdev->dev, &pctl->pctl_desc, in mtk_pctrl_init() 1110 if (IS_ERR(pctl->pctl_dev)) in mtk_pctrl_init() 1111 return dev_err_probe(dev, PTR_ERR(pctl->pctl_dev), in mtk_pctrl_init()
|
D | pinctrl-mtk-common.h | 291 struct pinctrl_dev *pctl_dev; member
|
/linux-6.6.21/drivers/pinctrl/samsung/ |
D | pinctrl-samsung.c | 907 drvdata->pctl_dev = devm_pinctrl_register(&pdev->dev, ctrldesc, in samsung_pinctrl_register() 909 if (IS_ERR(drvdata->pctl_dev)) { in samsung_pinctrl_register() 911 return PTR_ERR(drvdata->pctl_dev); in samsung_pinctrl_register() 923 pinctrl_add_gpio_range(drvdata->pctl_dev, &pin_bank->grange); in samsung_pinctrl_register() 937 pinctrl_remove_gpio_range(drvdata->pctl_dev, &bank->grange); in samsung_pinctrl_unregister()
|
D | pinctrl-samsung.h | 285 struct pinctrl_dev *pctl_dev; member
|
/linux-6.6.21/drivers/soc/tegra/ |
D | pmc.c | 455 struct pinctrl_dev *pctl_dev; member 2038 static int tegra_io_pad_pinctrl_get_groups_count(struct pinctrl_dev *pctl_dev) in tegra_io_pad_pinctrl_get_groups_count() argument 2040 struct tegra_pmc *pmc = pinctrl_dev_get_drvdata(pctl_dev); in tegra_io_pad_pinctrl_get_groups_count() 2053 static int tegra_io_pad_pinctrl_get_group_pins(struct pinctrl_dev *pctl_dev, in tegra_io_pad_pinctrl_get_group_pins() argument 2058 struct tegra_pmc *pmc = pinctrl_dev_get_drvdata(pctl_dev); in tegra_io_pad_pinctrl_get_group_pins() 2074 static int tegra_io_pad_pinconf_get(struct pinctrl_dev *pctl_dev, in tegra_io_pad_pinconf_get() argument 2078 struct tegra_pmc *pmc = pinctrl_dev_get_drvdata(pctl_dev); in tegra_io_pad_pinconf_get() 2113 static int tegra_io_pad_pinconf_set(struct pinctrl_dev *pctl_dev, in tegra_io_pad_pinconf_set() argument 2117 struct tegra_pmc *pmc = pinctrl_dev_get_drvdata(pctl_dev); in tegra_io_pad_pinconf_set() 2179 pmc->pctl_dev = devm_pinctrl_register(pmc->dev, &tegra_pmc_pctl_desc, in tegra_pmc_pinctrl_init() [all …]
|
/linux-6.6.21/drivers/pinctrl/mvebu/ |
D | pinctrl-armada-37xx.c | 105 struct pinctrl_dev *pctl_dev; member 1007 info->pctl_dev = devm_pinctrl_register(dev, ctrldesc, info); in armada_37xx_pinctrl_register() 1008 if (IS_ERR(info->pctl_dev)) in armada_37xx_pinctrl_register() 1009 return dev_err_probe(dev, PTR_ERR(info->pctl_dev), "could not register pinctrl driver\n"); in armada_37xx_pinctrl_register()
|