/linux-6.1.9/drivers/pinctrl/bcm/ |
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()
|
D | pinctrl-bcm63xx.h | 30 struct pinctrl_desc pctl_desc; member
|
D | pinctrl-bcm2835.c | 89 struct pinctrl_desc pctl_desc; member 871 if (pin >= pc->pctl_desc.npins) { in bcm2835_pctl_dt_node_to_map() 1179 const struct pinctrl_desc *pctl_desc; member 1185 .pctl_desc = &bcm2835_pinctrl_desc, 1191 .pctl_desc = &bcm2711_pinctrl_desc, 1273 pc->pctl_desc = *pdata->pctl_desc; in bcm2835_pinctrl_probe() 1274 pc->pctl_dev = devm_pinctrl_register(dev, &pc->pctl_desc, pc); in bcm2835_pinctrl_probe()
|
/linux-6.1.9/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 | 111 struct pinctrl_desc pctl_desc; member 493 return bank->pctl_desc.npins; in sgpio_pctl_get_groups_count() 501 return bank->pctl_desc.pins[group].name; in sgpio_pctl_get_group_name() 511 *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 pctl_desc->pctlops = &sgpio_pctl_ops; in microchip_sgpio_register_bank() 820 pctl_desc->pmxops = &sgpio_pmx_ops; in microchip_sgpio_register_bank() 821 pctl_desc->confops = &sgpio_confops; in microchip_sgpio_register_bank() [all …]
|
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 …]
|
D | pinctrl-stmfx.c | 84 struct pinctrl_desc pctl_desc; member 645 pctl->pctl_desc.name = "stmfx-pinctrl"; in stmfx_pinctrl_probe() 646 pctl->pctl_desc.pctlops = &stmfx_pinctrl_ops; in stmfx_pinctrl_probe() 647 pctl->pctl_desc.confops = &stmfx_pinconf_ops; in stmfx_pinctrl_probe() 648 pctl->pctl_desc.pins = stmfx_pins; in stmfx_pinctrl_probe() 649 pctl->pctl_desc.npins = ARRAY_SIZE(stmfx_pins); in stmfx_pinctrl_probe() 650 pctl->pctl_desc.owner = THIS_MODULE; in stmfx_pinctrl_probe() 651 pctl->pctl_desc.link_consumers = true; in stmfx_pinctrl_probe() 653 ret = devm_pinctrl_register_and_init(pctl->dev, &pctl->pctl_desc, in stmfx_pinctrl_probe() 676 pctl->gpio_chip.ngpio = pctl->pctl_desc.npins; in stmfx_pinctrl_probe()
|
D | pinctrl-st.c | 1598 struct pinctrl_desc *pctl_desc, struct st_pinctrl *info) in st_pctl_probe_dt() argument 1642 pctl_desc->npins = info->nbanks * ST_GPIO_PINS_PER_BANK; in st_pctl_probe_dt() 1643 pdesc = devm_kcalloc(dev, pctl_desc->npins, sizeof(*pdesc), GFP_KERNEL); in st_pctl_probe_dt() 1647 pctl_desc->pins = pdesc; in st_pctl_probe_dt() 1695 struct pinctrl_desc *pctl_desc; in st_pctl_probe() local 1703 pctl_desc = devm_kzalloc(dev, sizeof(*pctl_desc), GFP_KERNEL); in st_pctl_probe() 1704 if (!pctl_desc) in st_pctl_probe() 1713 ret = st_pctl_probe_dt(pdev, pctl_desc, info); in st_pctl_probe() 1717 pctl_desc->owner = THIS_MODULE; in st_pctl_probe() 1718 pctl_desc->pctlops = &st_pctlops; in st_pctl_probe() [all …]
|
D | pinctrl-equilibrium.h | 136 struct pinctrl_desc pctl_desc; member
|
D | pinctrl-ingenic.c | 4230 struct pinctrl_desc *pctl_desc; in ingenic_pinctrl_probe() local 4269 pctl_desc = devm_kzalloc(&pdev->dev, sizeof(*pctl_desc), GFP_KERNEL); in ingenic_pinctrl_probe() 4270 if (!pctl_desc) in ingenic_pinctrl_probe() 4274 pctl_desc->name = dev_name(dev); in ingenic_pinctrl_probe() 4275 pctl_desc->owner = THIS_MODULE; in ingenic_pinctrl_probe() 4276 pctl_desc->pctlops = &ingenic_pctlops; in ingenic_pinctrl_probe() 4277 pctl_desc->pmxops = &ingenic_pmxops; in ingenic_pinctrl_probe() 4278 pctl_desc->confops = &ingenic_confops; in ingenic_pinctrl_probe() 4279 pctl_desc->npins = chip_info->num_chips * PINS_PER_GPIO_CHIP; in ingenic_pinctrl_probe() 4280 pctl_desc->pins = jzpc->pdesc = devm_kcalloc(&pdev->dev, in ingenic_pinctrl_probe() [all …]
|
/linux-6.1.9/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.1.9/drivers/pinctrl/renesas/ |
D | pinctrl.c | 35 struct pinctrl_desc pctl_desc; member 817 pmx->pctl_desc.name = DRV_NAME; in sh_pfc_register_pinctrl() 818 pmx->pctl_desc.owner = THIS_MODULE; in sh_pfc_register_pinctrl() 819 pmx->pctl_desc.pctlops = &sh_pfc_pinctrl_ops; in sh_pfc_register_pinctrl() 820 pmx->pctl_desc.pmxops = &sh_pfc_pinmux_ops; in sh_pfc_register_pinctrl() 821 pmx->pctl_desc.confops = &sh_pfc_pinconf_ops; in sh_pfc_register_pinctrl() 822 pmx->pctl_desc.pins = pmx->pins; in sh_pfc_register_pinctrl() 823 pmx->pctl_desc.npins = pfc->info->nr_pins; in sh_pfc_register_pinctrl() 825 ret = devm_pinctrl_register_and_init(pfc->dev, &pmx->pctl_desc, pmx, in sh_pfc_register_pinctrl()
|
/linux-6.1.9/drivers/pinctrl/freescale/ |
D | pinctrl-imx1-core.c | 595 struct pinctrl_desc *pctl_desc; in imx1_pinctrl_core_probe() local 618 pctl_desc = &imx1_pinctrl_desc; in imx1_pinctrl_core_probe() 619 pctl_desc->name = dev_name(&pdev->dev); in imx1_pinctrl_core_probe() 620 pctl_desc->pins = info->pins; in imx1_pinctrl_core_probe() 621 pctl_desc->npins = info->npins; in imx1_pinctrl_core_probe() 632 ipctl->pctl = devm_pinctrl_register(&pdev->dev, pctl_desc, ipctl); in imx1_pinctrl_core_probe()
|
/linux-6.1.9/drivers/pinctrl/sunplus/ |
D | sppctl.c | 1035 sppctl->pctl_desc.owner = THIS_MODULE; in sppctl_pinctrl_init() 1036 sppctl->pctl_desc.name = dev_name(&pdev->dev); in sppctl_pinctrl_init() 1037 sppctl->pctl_desc.pins = sppctl_pins_all; in sppctl_pinctrl_init() 1038 sppctl->pctl_desc.npins = sppctl_pins_all_sz; in sppctl_pinctrl_init() 1039 sppctl->pctl_desc.pctlops = &sppctl_pctl_ops; in sppctl_pinctrl_init() 1040 sppctl->pctl_desc.confops = &sppctl_pconf_ops; in sppctl_pinctrl_init() 1041 sppctl->pctl_desc.pmxops = &sppctl_pinmux_ops; in sppctl_pinctrl_init() 1047 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.1.9/drivers/pinctrl/mediatek/ |
D | pinctrl-mtk-common.c | 1093 pctl->pctl_desc.name = dev_name(&pdev->dev); in mtk_pctrl_init() 1094 pctl->pctl_desc.owner = THIS_MODULE; in mtk_pctrl_init() 1095 pctl->pctl_desc.pins = pins; in mtk_pctrl_init() 1096 pctl->pctl_desc.npins = pctl->devdata->npins; in mtk_pctrl_init() 1097 pctl->pctl_desc.confops = &mtk_pconf_ops; in mtk_pctrl_init() 1098 pctl->pctl_desc.pctlops = &mtk_pctrl_ops; in mtk_pctrl_init() 1099 pctl->pctl_desc.pmxops = &mtk_pmx_ops; in mtk_pctrl_init() 1102 pctl->pctl_dev = devm_pinctrl_register(&pdev->dev, &pctl->pctl_desc, in mtk_pctrl_init()
|
D | pinctrl-mtk-common.h | 279 struct pinctrl_desc pctl_desc; member
|
/linux-6.1.9/drivers/pinctrl/stm32/ |
D | pinctrl-stm32.c | 105 struct pinctrl_desc pctl_desc; member 1565 pctl->pctl_desc.name = dev_name(&pdev->dev); in stm32_pctl_probe() 1566 pctl->pctl_desc.owner = THIS_MODULE; in stm32_pctl_probe() 1567 pctl->pctl_desc.pins = pins; in stm32_pctl_probe() 1568 pctl->pctl_desc.npins = pctl->npins; in stm32_pctl_probe() 1569 pctl->pctl_desc.link_consumers = true; in stm32_pctl_probe() 1570 pctl->pctl_desc.confops = &stm32_pconf_ops; in stm32_pctl_probe() 1571 pctl->pctl_desc.pctlops = &stm32_pctrl_ops; in stm32_pctl_probe() 1572 pctl->pctl_desc.pmxops = &stm32_pmx_ops; in stm32_pctl_probe() 1575 pctl->pctl_dev = devm_pinctrl_register(&pdev->dev, &pctl->pctl_desc, in stm32_pctl_probe()
|