Home
last modified time | relevance | path

Searched refs:pctrl_desc (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/drivers/pinctrl/
Dpinctrl-axp209.c452 struct pinctrl_desc *pctrl_desc; in axp20x_pctl_probe() local
495 pctrl_desc = devm_kzalloc(&pdev->dev, sizeof(*pctrl_desc), GFP_KERNEL); in axp20x_pctl_probe()
496 if (!pctrl_desc) in axp20x_pctl_probe()
499 pctrl_desc->name = dev_name(&pdev->dev); in axp20x_pctl_probe()
500 pctrl_desc->owner = THIS_MODULE; in axp20x_pctl_probe()
501 pctrl_desc->pins = pctl->desc->pins; in axp20x_pctl_probe()
502 pctrl_desc->npins = pctl->desc->npins; in axp20x_pctl_probe()
503 pctrl_desc->pctlops = &axp20x_pctrl_ops; in axp20x_pctl_probe()
504 pctrl_desc->pmxops = &axp20x_pmx_ops; in axp20x_pctl_probe()
506 pctl->pctl_dev = devm_pinctrl_register(&pdev->dev, pctrl_desc, pctl); in axp20x_pctl_probe()
/linux-6.6.21/drivers/pinctrl/sunxi/
Dpinctrl-sunxi.c1480 struct pinctrl_desc *pctrl_desc; in sunxi_pinctrl_init_with_variant() local
1539 pctrl_desc = devm_kzalloc(&pdev->dev, in sunxi_pinctrl_init_with_variant()
1540 sizeof(*pctrl_desc), in sunxi_pinctrl_init_with_variant()
1542 if (!pctrl_desc) in sunxi_pinctrl_init_with_variant()
1545 pctrl_desc->name = dev_name(&pdev->dev); in sunxi_pinctrl_init_with_variant()
1546 pctrl_desc->owner = THIS_MODULE; in sunxi_pinctrl_init_with_variant()
1547 pctrl_desc->pins = pins; in sunxi_pinctrl_init_with_variant()
1548 pctrl_desc->npins = pctl->ngroups; in sunxi_pinctrl_init_with_variant()
1549 pctrl_desc->confops = &sunxi_pconf_ops; in sunxi_pinctrl_init_with_variant()
1550 pctrl_desc->pctlops = &sunxi_pctrl_ops; in sunxi_pinctrl_init_with_variant()
[all …]