Lines Matching refs:pctl_desc
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()
1719 pctl_desc->pmxops = &st_pmxops; in st_pctl_probe()
1720 pctl_desc->confops = &st_confops; in st_pctl_probe()
1721 pctl_desc->name = dev_name(dev); in st_pctl_probe()
1723 info->pctl = devm_pinctrl_register(dev, pctl_desc, info); in st_pctl_probe()