/linux-6.12.1/drivers/pinctrl/bcm/ |
D | pinctrl-bcm63xx.c | 85 pc->pctl_desc.name = dev_name(dev); in bcm63xx_pinctrl_probe() 86 pc->pctl_desc.pins = soc->pins; in bcm63xx_pinctrl_probe() 87 pc->pctl_desc.npins = soc->npins; in bcm63xx_pinctrl_probe() 88 pc->pctl_desc.pctlops = soc->pctl_ops; in bcm63xx_pinctrl_probe() 89 pc->pctl_desc.pmxops = soc->pmx_ops; in bcm63xx_pinctrl_probe() 90 pc->pctl_desc.owner = THIS_MODULE; in bcm63xx_pinctrl_probe() 92 pc->pctl_dev = devm_pinctrl_register(dev, &pc->pctl_desc, pc); in bcm63xx_pinctrl_probe()
|
D | pinctrl-bcm63xx.h | 30 struct pinctrl_desc pctl_desc; member
|
D | pinctrl-bcm2835.c | 90 struct pinctrl_desc pctl_desc; member 882 if (pin >= pc->pctl_desc.npins) { in bcm2835_pctl_dt_node_to_map() 1252 const struct pinctrl_desc *pctl_desc; member 1258 .pctl_desc = &bcm2835_pinctrl_desc, 1264 .pctl_desc = &bcm2711_pinctrl_desc, 1348 pc->pctl_desc = *pdata->pctl_desc; in bcm2835_pinctrl_probe() 1349 pc->pctl_dev = devm_pinctrl_register(dev, &pc->pctl_desc, pc); in bcm2835_pinctrl_probe()
|
/linux-6.12.1/drivers/pinctrl/ |
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 …]
|
D | pinctrl-microchip-sgpio.c | 113 struct pinctrl_desc pctl_desc; member 495 return bank->pctl_desc.npins; in sgpio_pctl_get_groups_count() 503 return bank->pctl_desc.pins[group].name; in sgpio_pctl_get_group_name() 513 *pins = &bank->pctl_desc.pins[group].number; in sgpio_pctl_get_group_pins() 791 struct pinctrl_desc *pctl_desc; in microchip_sgpio_register_bank() local 815 pctl_desc = &bank->pctl_desc; in microchip_sgpio_register_bank() 816 pctl_desc->name = devm_kasprintf(dev, GFP_KERNEL, "%s-%sput", in microchip_sgpio_register_bank() 819 if (!pctl_desc->name) in microchip_sgpio_register_bank() 822 pctl_desc->pctlops = &sgpio_pctl_ops; in microchip_sgpio_register_bank() 823 pctl_desc->pmxops = &sgpio_pmx_ops; in microchip_sgpio_register_bank() [all …]
|
D | pinctrl-scmi.c | 40 struct pinctrl_desc pctl_desc; member 540 pmx->pctl_desc.name = DRV_NAME; in scmi_pinctrl_probe() 541 pmx->pctl_desc.owner = THIS_MODULE; in scmi_pinctrl_probe() 542 pmx->pctl_desc.pctlops = &pinctrl_scmi_pinctrl_ops; in scmi_pinctrl_probe() 543 pmx->pctl_desc.pmxops = &pinctrl_scmi_pinmux_ops; in scmi_pinctrl_probe() 544 pmx->pctl_desc.confops = &pinctrl_scmi_pinconf_ops; in scmi_pinctrl_probe() 546 ret = pinctrl_scmi_get_pins(pmx, &pmx->pctl_desc); in scmi_pinctrl_probe() 550 ret = devm_pinctrl_register_and_init(dev, &pmx->pctl_desc, pmx, in scmi_pinctrl_probe()
|
D | pinctrl-equilibrium.c | 740 if (pin_id >= drvdata->pctl_desc.npins) { in eqbr_build_groups() 770 struct pinctrl_desc *pctl_desc; in pinctrl_reg() local 778 pctl_desc = &drvdata->pctl_desc; in pinctrl_reg() 779 pctl_desc->name = "eqbr-pinctrl"; in pinctrl_reg() 780 pctl_desc->owner = THIS_MODULE; in pinctrl_reg() 781 pctl_desc->pctlops = &eqbr_pctl_ops; in pinctrl_reg() 782 pctl_desc->pmxops = &eqbr_pinmux_ops; in pinctrl_reg() 783 pctl_desc->confops = &eqbr_pinconf_ops; in pinctrl_reg() 802 pctl_desc->pins = pdesc; in pinctrl_reg() 803 pctl_desc->npins = nr_pins; in pinctrl_reg() [all …]
|
D | pinctrl-stmfx.c | 87 struct pinctrl_desc pctl_desc; member 669 pctl->pctl_desc.name = "stmfx-pinctrl"; in stmfx_pinctrl_probe() 670 pctl->pctl_desc.pctlops = &stmfx_pinctrl_ops; in stmfx_pinctrl_probe() 671 pctl->pctl_desc.confops = &stmfx_pinconf_ops; in stmfx_pinctrl_probe() 672 pctl->pctl_desc.pins = stmfx_pins; in stmfx_pinctrl_probe() 673 pctl->pctl_desc.npins = ARRAY_SIZE(stmfx_pins); in stmfx_pinctrl_probe() 674 pctl->pctl_desc.owner = THIS_MODULE; in stmfx_pinctrl_probe() 675 pctl->pctl_desc.link_consumers = true; in stmfx_pinctrl_probe() 677 ret = devm_pinctrl_register_and_init(pctl->dev, &pctl->pctl_desc, in stmfx_pinctrl_probe() 700 pctl->gpio_chip.ngpio = pctl->pctl_desc.npins; in stmfx_pinctrl_probe()
|
D | pinctrl-st.c | 1588 struct pinctrl_desc *pctl_desc, struct st_pinctrl *info) in st_pctl_probe_dt() argument 1631 pctl_desc->npins = info->nbanks * ST_GPIO_PINS_PER_BANK; in st_pctl_probe_dt() 1632 pdesc = devm_kcalloc(dev, pctl_desc->npins, sizeof(*pdesc), GFP_KERNEL); in st_pctl_probe_dt() 1636 pctl_desc->pins = pdesc; in st_pctl_probe_dt() 1679 struct pinctrl_desc *pctl_desc; in st_pctl_probe() local 1687 pctl_desc = devm_kzalloc(dev, sizeof(*pctl_desc), GFP_KERNEL); in st_pctl_probe() 1688 if (!pctl_desc) in st_pctl_probe() 1697 ret = st_pctl_probe_dt(pdev, pctl_desc, info); in st_pctl_probe() 1701 pctl_desc->owner = THIS_MODULE; in st_pctl_probe() 1702 pctl_desc->pctlops = &st_pctlops; in st_pctl_probe() [all …]
|
D | pinctrl-equilibrium.h | 122 struct pinctrl_desc pctl_desc; member
|
D | pinctrl-ingenic.c | 4237 struct pinctrl_desc *pctl_desc; in ingenic_pinctrl_probe() local 4276 pctl_desc = devm_kzalloc(&pdev->dev, sizeof(*pctl_desc), GFP_KERNEL); in ingenic_pinctrl_probe() 4277 if (!pctl_desc) in ingenic_pinctrl_probe() 4281 pctl_desc->name = dev_name(dev); in ingenic_pinctrl_probe() 4282 pctl_desc->owner = THIS_MODULE; in ingenic_pinctrl_probe() 4283 pctl_desc->pctlops = &ingenic_pctlops; in ingenic_pinctrl_probe() 4284 pctl_desc->pmxops = &ingenic_pmxops; in ingenic_pinctrl_probe() 4285 pctl_desc->confops = &ingenic_confops; in ingenic_pinctrl_probe() 4286 pctl_desc->npins = chip_info->num_chips * PINS_PER_GPIO_CHIP; in ingenic_pinctrl_probe() 4287 pctl_desc->pins = jzpc->pdesc = devm_kcalloc(&pdev->dev, in ingenic_pinctrl_probe() [all …]
|
/linux-6.12.1/drivers/pinctrl/visconti/ |
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.12.1/drivers/pinctrl/freescale/ |
D | pinctrl-imx-scmi.c | 36 struct pinctrl_desc pctl_desc; member 322 pmx->pctl_desc.name = DRV_NAME; in scmi_pinctrl_imx_probe() 323 pmx->pctl_desc.owner = THIS_MODULE; in scmi_pinctrl_imx_probe() 324 pmx->pctl_desc.pctlops = &pinctrl_scmi_imx_pinctrl_ops; in scmi_pinctrl_imx_probe() 325 pmx->pctl_desc.pmxops = &pinctrl_scmi_imx_pinmux_ops; in scmi_pinctrl_imx_probe() 326 pmx->pctl_desc.confops = &pinctrl_scmi_imx_pinconf_ops; in scmi_pinctrl_imx_probe() 328 ret = scmi_pinctrl_imx_get_pins(pmx, &pmx->pctl_desc); in scmi_pinctrl_imx_probe() 334 ret = devm_pinctrl_register_and_init(dev, &pmx->pctl_desc, pmx, in scmi_pinctrl_imx_probe()
|
D | pinctrl-imx1-core.c | 592 struct pinctrl_desc *pctl_desc; in imx1_pinctrl_core_probe() local 615 pctl_desc = &imx1_pinctrl_desc; in imx1_pinctrl_core_probe() 616 pctl_desc->name = dev_name(&pdev->dev); in imx1_pinctrl_core_probe() 617 pctl_desc->pins = info->pins; in imx1_pinctrl_core_probe() 618 pctl_desc->npins = info->npins; in imx1_pinctrl_core_probe() 629 ipctl->pctl = devm_pinctrl_register(&pdev->dev, pctl_desc, ipctl); in imx1_pinctrl_core_probe()
|
/linux-6.12.1/drivers/pinctrl/renesas/ |
D | pinctrl.c | 37 struct pinctrl_desc pctl_desc; member 796 pmx->pctl_desc.name = DRV_NAME; in sh_pfc_register_pinctrl() 797 pmx->pctl_desc.owner = THIS_MODULE; in sh_pfc_register_pinctrl() 798 pmx->pctl_desc.pctlops = &sh_pfc_pinctrl_ops; in sh_pfc_register_pinctrl() 799 pmx->pctl_desc.pmxops = &sh_pfc_pinmux_ops; in sh_pfc_register_pinctrl() 800 pmx->pctl_desc.confops = &sh_pfc_pinconf_ops; in sh_pfc_register_pinctrl() 801 pmx->pctl_desc.pins = pmx->pins; in sh_pfc_register_pinctrl() 802 pmx->pctl_desc.npins = pfc->info->nr_pins; in sh_pfc_register_pinctrl() 804 ret = devm_pinctrl_register_and_init(pfc->dev, &pmx->pctl_desc, pmx, in sh_pfc_register_pinctrl()
|
/linux-6.12.1/drivers/pinctrl/sunplus/ |
D | sppctl.c | 1041 sppctl->pctl_desc.owner = THIS_MODULE; in sppctl_pinctrl_init() 1042 sppctl->pctl_desc.name = dev_name(&pdev->dev); in sppctl_pinctrl_init() 1043 sppctl->pctl_desc.pins = sppctl_pins_all; in sppctl_pinctrl_init() 1044 sppctl->pctl_desc.npins = sppctl_pins_all_sz; in sppctl_pinctrl_init() 1045 sppctl->pctl_desc.pctlops = &sppctl_pctl_ops; in sppctl_pinctrl_init() 1046 sppctl->pctl_desc.confops = &sppctl_pconf_ops; in sppctl_pinctrl_init() 1047 sppctl->pctl_desc.pmxops = &sppctl_pinmux_ops; in sppctl_pinctrl_init() 1053 err = devm_pinctrl_register_and_init(&pdev->dev, &sppctl->pctl_desc, in sppctl_pinctrl_init()
|
D | sppctl.h | 132 struct pinctrl_desc pctl_desc; member
|
/linux-6.12.1/drivers/pinctrl/mediatek/ |
D | pinctrl-mtk-common.c | 1090 pctl->pctl_desc.name = dev_name(&pdev->dev); in mtk_pctrl_init() 1091 pctl->pctl_desc.owner = THIS_MODULE; in mtk_pctrl_init() 1092 pctl->pctl_desc.pins = pins; in mtk_pctrl_init() 1093 pctl->pctl_desc.npins = pctl->devdata->npins; in mtk_pctrl_init() 1094 pctl->pctl_desc.confops = &mtk_pconf_ops; in mtk_pctrl_init() 1095 pctl->pctl_desc.pctlops = &mtk_pctrl_ops; in mtk_pctrl_init() 1096 pctl->pctl_desc.pmxops = &mtk_pmx_ops; in mtk_pctrl_init() 1099 pctl->pctl_dev = devm_pinctrl_register(&pdev->dev, &pctl->pctl_desc, in mtk_pctrl_init()
|
D | pinctrl-mtk-common.h | 285 struct pinctrl_desc pctl_desc; member
|
/linux-6.12.1/drivers/pinctrl/stm32/ |
D | pinctrl-stm32.c | 106 struct pinctrl_desc pctl_desc; member 1596 pctl->pctl_desc.name = dev_name(&pdev->dev); in stm32_pctl_probe() 1597 pctl->pctl_desc.owner = THIS_MODULE; in stm32_pctl_probe() 1598 pctl->pctl_desc.pins = pins; in stm32_pctl_probe() 1599 pctl->pctl_desc.npins = pctl->npins; in stm32_pctl_probe() 1600 pctl->pctl_desc.link_consumers = true; in stm32_pctl_probe() 1601 pctl->pctl_desc.confops = &stm32_pconf_ops; in stm32_pctl_probe() 1602 pctl->pctl_desc.pctlops = &stm32_pctrl_ops; in stm32_pctl_probe() 1603 pctl->pctl_desc.pmxops = &stm32_pmx_ops; in stm32_pctl_probe() 1606 pctl->pctl_dev = devm_pinctrl_register(&pdev->dev, &pctl->pctl_desc, in stm32_pctl_probe()
|