/linux-6.3-rc2/drivers/pinctrl/bcm/ |
A D | pinctrl-bcm63xx.c | 86 pc->pctl_desc.name = dev_name(dev); in bcm63xx_pinctrl_probe() 87 pc->pctl_desc.pins = soc->pins; in bcm63xx_pinctrl_probe() 88 pc->pctl_desc.npins = soc->npins; in bcm63xx_pinctrl_probe() 89 pc->pctl_desc.pctlops = soc->pctl_ops; in bcm63xx_pinctrl_probe() 90 pc->pctl_desc.pmxops = soc->pmx_ops; in bcm63xx_pinctrl_probe() 91 pc->pctl_desc.owner = THIS_MODULE; in bcm63xx_pinctrl_probe() 93 pc->pctl_dev = devm_pinctrl_register(dev, &pc->pctl_desc, pc); in bcm63xx_pinctrl_probe()
|
A D | pinctrl-bcm63xx.h | 30 struct pinctrl_desc pctl_desc; member
|
A D | pinctrl-bcm2835.c | 89 struct pinctrl_desc pctl_desc; member 869 if (pin >= pc->pctl_desc.npins) { in bcm2835_pctl_dt_node_to_map() 1177 const struct pinctrl_desc *pctl_desc; member 1183 .pctl_desc = &bcm2835_pinctrl_desc, 1189 .pctl_desc = &bcm2711_pinctrl_desc, 1271 pc->pctl_desc = *pdata->pctl_desc; in bcm2835_pinctrl_probe() 1272 pc->pctl_dev = devm_pinctrl_register(dev, &pc->pctl_desc, pc); in bcm2835_pinctrl_probe()
|
/linux-6.3-rc2/drivers/pinctrl/ |
A D | pinctrl-digicolor.c | 273 struct pinctrl_desc *pctl_desc; in dc_pinctrl_probe() local 308 pctl_desc = devm_kzalloc(&pdev->dev, sizeof(*pctl_desc), GFP_KERNEL); in dc_pinctrl_probe() 309 if (!pctl_desc) in dc_pinctrl_probe() 312 pctl_desc->name = DRIVER_NAME, in dc_pinctrl_probe() 313 pctl_desc->owner = THIS_MODULE, in dc_pinctrl_probe() 314 pctl_desc->pctlops = &dc_pinctrl_ops, in dc_pinctrl_probe() 315 pctl_desc->pmxops = &dc_pmxops, in dc_pinctrl_probe() 316 pctl_desc->npins = PINS_COUNT; in dc_pinctrl_probe() 317 pctl_desc->pins = pins; in dc_pinctrl_probe() 318 pmap->desc = pctl_desc; in dc_pinctrl_probe() [all …]
|
A D | pinctrl-microchip-sgpio.c | 113 struct pinctrl_desc pctl_desc; member 495 return bank->pctl_desc.npins; in sgpio_pctl_get_groups_count() 793 struct pinctrl_desc *pctl_desc; in microchip_sgpio_register_bank() local 817 pctl_desc = &bank->pctl_desc; in microchip_sgpio_register_bank() 821 pctl_desc->pctlops = &sgpio_pctl_ops; in microchip_sgpio_register_bank() 822 pctl_desc->pmxops = &sgpio_pmx_ops; in microchip_sgpio_register_bank() 823 pctl_desc->confops = &sgpio_confops; in microchip_sgpio_register_bank() 824 pctl_desc->owner = THIS_MODULE; in microchip_sgpio_register_bank() 830 pctl_desc->npins = ngpios; in microchip_sgpio_register_bank() 831 pctl_desc->pins = pins; in microchip_sgpio_register_bank() [all …]
|
A D | pinctrl-equilibrium.c | 740 if (pin_id >= drvdata->pctl_desc.npins) { in eqbr_build_groups() 773 struct pinctrl_desc *pctl_desc; in pinctrl_reg() local 781 pctl_desc = &drvdata->pctl_desc; in pinctrl_reg() 782 pctl_desc->name = "eqbr-pinctrl"; in pinctrl_reg() 783 pctl_desc->owner = THIS_MODULE; in pinctrl_reg() 784 pctl_desc->pctlops = &eqbr_pctl_ops; in pinctrl_reg() 785 pctl_desc->pmxops = &eqbr_pinmux_ops; in pinctrl_reg() 786 pctl_desc->confops = &eqbr_pinconf_ops; in pinctrl_reg() 805 pctl_desc->pins = pdesc; in pinctrl_reg() 806 pctl_desc->npins = nr_pins; in pinctrl_reg() [all …]
|
A D | pinctrl-stmfx.c | 86 struct pinctrl_desc pctl_desc; member 647 pctl->pctl_desc.name = "stmfx-pinctrl"; in stmfx_pinctrl_probe() 648 pctl->pctl_desc.pctlops = &stmfx_pinctrl_ops; in stmfx_pinctrl_probe() 649 pctl->pctl_desc.confops = &stmfx_pinconf_ops; in stmfx_pinctrl_probe() 650 pctl->pctl_desc.pins = stmfx_pins; in stmfx_pinctrl_probe() 651 pctl->pctl_desc.npins = ARRAY_SIZE(stmfx_pins); in stmfx_pinctrl_probe() 652 pctl->pctl_desc.owner = THIS_MODULE; in stmfx_pinctrl_probe() 653 pctl->pctl_desc.link_consumers = true; in stmfx_pinctrl_probe() 655 ret = devm_pinctrl_register_and_init(pctl->dev, &pctl->pctl_desc, in stmfx_pinctrl_probe() 678 pctl->gpio_chip.ngpio = pctl->pctl_desc.npins; in stmfx_pinctrl_probe()
|
A D | pinctrl-st.c | 1603 struct pinctrl_desc *pctl_desc, struct st_pinctrl *info) in st_pctl_probe_dt() argument 1652 pctl_desc->pins = pdesc; in st_pctl_probe_dt() 1700 struct pinctrl_desc *pctl_desc; in st_pctl_probe() local 1708 pctl_desc = devm_kzalloc(dev, sizeof(*pctl_desc), GFP_KERNEL); in st_pctl_probe() 1709 if (!pctl_desc) in st_pctl_probe() 1718 ret = st_pctl_probe_dt(pdev, pctl_desc, info); in st_pctl_probe() 1722 pctl_desc->owner = THIS_MODULE; in st_pctl_probe() 1723 pctl_desc->pctlops = &st_pctlops; in st_pctl_probe() 1724 pctl_desc->pmxops = &st_pmxops; in st_pctl_probe() 1725 pctl_desc->confops = &st_confops; in st_pctl_probe() [all …]
|
A D | pinctrl-equilibrium.h | 136 struct pinctrl_desc pctl_desc; member
|
A D | pinctrl-ingenic.c | 4232 struct pinctrl_desc *pctl_desc; in ingenic_pinctrl_probe() local 4271 pctl_desc = devm_kzalloc(&pdev->dev, sizeof(*pctl_desc), GFP_KERNEL); in ingenic_pinctrl_probe() 4272 if (!pctl_desc) in ingenic_pinctrl_probe() 4276 pctl_desc->name = dev_name(dev); in ingenic_pinctrl_probe() 4277 pctl_desc->owner = THIS_MODULE; in ingenic_pinctrl_probe() 4278 pctl_desc->pctlops = &ingenic_pctlops; in ingenic_pinctrl_probe() 4279 pctl_desc->pmxops = &ingenic_pmxops; in ingenic_pinctrl_probe() 4280 pctl_desc->confops = &ingenic_confops; in ingenic_pinctrl_probe() 4282 pctl_desc->pins = jzpc->pdesc = devm_kcalloc(&pdev->dev, in ingenic_pinctrl_probe() 4283 pctl_desc->npins, sizeof(*jzpc->pdesc), GFP_KERNEL); in ingenic_pinctrl_probe() [all …]
|
/linux-6.3-rc2/drivers/pinctrl/visconti/ |
A D | pinctrl-common.c | 28 struct pinctrl_desc pctl_desc; member 309 priv->pctl_desc.name = dev_name(dev); in visconti_pinctrl_probe() 310 priv->pctl_desc.owner = THIS_MODULE; in visconti_pinctrl_probe() 311 priv->pctl_desc.pins = pins; in visconti_pinctrl_probe() 312 priv->pctl_desc.npins = devdata->nr_pins; in visconti_pinctrl_probe() 313 priv->pctl_desc.confops = &visconti_pinconf_ops; in visconti_pinctrl_probe() 314 priv->pctl_desc.pctlops = &visconti_pinctrl_ops; in visconti_pinctrl_probe() 315 priv->pctl_desc.pmxops = &visconti_pinmux_ops; in visconti_pinctrl_probe() 317 ret = devm_pinctrl_register_and_init(dev, &priv->pctl_desc, in visconti_pinctrl_probe()
|
/linux-6.3-rc2/drivers/pinctrl/renesas/ |
A D | pinctrl.c | 37 struct pinctrl_desc pctl_desc; member 819 pmx->pctl_desc.name = DRV_NAME; in sh_pfc_register_pinctrl() 820 pmx->pctl_desc.owner = THIS_MODULE; in sh_pfc_register_pinctrl() 821 pmx->pctl_desc.pctlops = &sh_pfc_pinctrl_ops; in sh_pfc_register_pinctrl() 822 pmx->pctl_desc.pmxops = &sh_pfc_pinmux_ops; in sh_pfc_register_pinctrl() 823 pmx->pctl_desc.confops = &sh_pfc_pinconf_ops; in sh_pfc_register_pinctrl() 824 pmx->pctl_desc.pins = pmx->pins; in sh_pfc_register_pinctrl() 825 pmx->pctl_desc.npins = pfc->info->nr_pins; in sh_pfc_register_pinctrl() 827 ret = devm_pinctrl_register_and_init(pfc->dev, &pmx->pctl_desc, pmx, in sh_pfc_register_pinctrl()
|
/linux-6.3-rc2/drivers/pinctrl/freescale/ |
A D | pinctrl-imx1-core.c | 597 struct pinctrl_desc *pctl_desc; in imx1_pinctrl_core_probe() local 620 pctl_desc = &imx1_pinctrl_desc; in imx1_pinctrl_core_probe() 621 pctl_desc->name = dev_name(&pdev->dev); in imx1_pinctrl_core_probe() 622 pctl_desc->pins = info->pins; in imx1_pinctrl_core_probe() 623 pctl_desc->npins = info->npins; in imx1_pinctrl_core_probe() 634 ipctl->pctl = devm_pinctrl_register(&pdev->dev, pctl_desc, ipctl); in imx1_pinctrl_core_probe()
|
/linux-6.3-rc2/drivers/pinctrl/sunplus/ |
A D | sppctl.c | 1031 sppctl->pctl_desc.owner = THIS_MODULE; in sppctl_pinctrl_init() 1032 sppctl->pctl_desc.name = dev_name(&pdev->dev); in sppctl_pinctrl_init() 1033 sppctl->pctl_desc.pins = sppctl_pins_all; in sppctl_pinctrl_init() 1034 sppctl->pctl_desc.npins = sppctl_pins_all_sz; in sppctl_pinctrl_init() 1035 sppctl->pctl_desc.pctlops = &sppctl_pctl_ops; in sppctl_pinctrl_init() 1036 sppctl->pctl_desc.confops = &sppctl_pconf_ops; in sppctl_pinctrl_init() 1037 sppctl->pctl_desc.pmxops = &sppctl_pinmux_ops; in sppctl_pinctrl_init() 1043 err = devm_pinctrl_register_and_init(&pdev->dev, &sppctl->pctl_desc, in sppctl_pinctrl_init()
|
A D | sppctl.h | 132 struct pinctrl_desc pctl_desc; member
|
/linux-6.3-rc2/drivers/pinctrl/mediatek/ |
A D | pinctrl-mtk-common.c | 1101 pctl->pctl_desc.name = dev_name(&pdev->dev); in mtk_pctrl_init() 1102 pctl->pctl_desc.owner = THIS_MODULE; in mtk_pctrl_init() 1103 pctl->pctl_desc.pins = pins; in mtk_pctrl_init() 1104 pctl->pctl_desc.npins = pctl->devdata->npins; in mtk_pctrl_init() 1105 pctl->pctl_desc.confops = &mtk_pconf_ops; in mtk_pctrl_init() 1106 pctl->pctl_desc.pctlops = &mtk_pctrl_ops; in mtk_pctrl_init() 1107 pctl->pctl_desc.pmxops = &mtk_pmx_ops; in mtk_pctrl_init() 1110 pctl->pctl_dev = devm_pinctrl_register(&pdev->dev, &pctl->pctl_desc, in mtk_pctrl_init()
|
A D | pinctrl-mtk-common.h | 285 struct pinctrl_desc pctl_desc; member
|
/linux-6.3-rc2/drivers/pinctrl/stm32/ |
A D | pinctrl-stm32.c | 107 struct pinctrl_desc pctl_desc; member 1563 pctl->pctl_desc.name = dev_name(&pdev->dev); in stm32_pctl_probe() 1564 pctl->pctl_desc.owner = THIS_MODULE; in stm32_pctl_probe() 1565 pctl->pctl_desc.pins = pins; in stm32_pctl_probe() 1566 pctl->pctl_desc.npins = pctl->npins; in stm32_pctl_probe() 1567 pctl->pctl_desc.link_consumers = true; in stm32_pctl_probe() 1568 pctl->pctl_desc.confops = &stm32_pconf_ops; in stm32_pctl_probe() 1569 pctl->pctl_desc.pctlops = &stm32_pctrl_ops; in stm32_pctl_probe() 1570 pctl->pctl_desc.pmxops = &stm32_pmx_ops; in stm32_pctl_probe() 1573 pctl->pctl_dev = devm_pinctrl_register(&pdev->dev, &pctl->pctl_desc, in stm32_pctl_probe()
|