Home
last modified time | relevance | path

Searched refs:ctrldesc (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/drivers/pinctrl/samsung/
Dpinctrl-samsung.c672 struct pinctrl_desc *ctrldesc = &drvdata->pctl; in samsung_pinctrl_create_groups() local
677 groups = devm_kcalloc(dev, ctrldesc->npins, sizeof(*groups), in samsung_pinctrl_create_groups()
683 pdesc = ctrldesc->pins; in samsung_pinctrl_create_groups()
684 for (i = 0; i < ctrldesc->npins; ++i, ++pdesc, ++grp) { in samsung_pinctrl_create_groups()
690 *cnt = ctrldesc->npins; in samsung_pinctrl_create_groups()
851 struct pinctrl_desc *ctrldesc = &drvdata->pctl; in samsung_pinctrl_register() local
857 ctrldesc->name = "samsung-pinctrl"; in samsung_pinctrl_register()
858 ctrldesc->owner = THIS_MODULE; in samsung_pinctrl_register()
859 ctrldesc->pctlops = &samsung_pctrl_ops; in samsung_pinctrl_register()
860 ctrldesc->pmxops = &samsung_pinmux_ops; in samsung_pinctrl_register()
[all …]
/Linux-v5.4/drivers/pinctrl/mvebu/
Dpinctrl-armada-37xx.c956 struct pinctrl_desc *ctrldesc = &info->pctl; in armada_37xx_pinctrl_register() local
963 ctrldesc->name = "armada_37xx-pinctrl"; in armada_37xx_pinctrl_register()
964 ctrldesc->owner = THIS_MODULE; in armada_37xx_pinctrl_register()
965 ctrldesc->pctlops = &armada_37xx_pctrl_ops; in armada_37xx_pinctrl_register()
966 ctrldesc->pmxops = &armada_37xx_pmx_ops; in armada_37xx_pinctrl_register()
967 ctrldesc->confops = &armada_37xx_pinconf_ops; in armada_37xx_pinctrl_register()
975 ctrldesc->pins = pindesc; in armada_37xx_pinctrl_register()
976 ctrldesc->npins = pin_data->nr_pins; in armada_37xx_pinctrl_register()
1006 info->pctl_dev = devm_pinctrl_register(&pdev->dev, ctrldesc, info); in armada_37xx_pinctrl_register()
/Linux-v5.4/drivers/pinctrl/
Dpinctrl-rockchip.c2630 struct pinctrl_desc *ctrldesc = &info->pctl; in rockchip_pinctrl_register() local
2636 ctrldesc->name = "rockchip-pinctrl"; in rockchip_pinctrl_register()
2637 ctrldesc->owner = THIS_MODULE; in rockchip_pinctrl_register()
2638 ctrldesc->pctlops = &rockchip_pctrl_ops; in rockchip_pinctrl_register()
2639 ctrldesc->pmxops = &rockchip_pmx_ops; in rockchip_pinctrl_register()
2640 ctrldesc->confops = &rockchip_pinconf_ops; in rockchip_pinctrl_register()
2648 ctrldesc->pins = pindesc; in rockchip_pinctrl_register()
2649 ctrldesc->npins = info->ctrl->nr_pins; in rockchip_pinctrl_register()
2666 info->pctl_dev = devm_pinctrl_register(&pdev->dev, ctrldesc, info); in rockchip_pinctrl_register()