Lines Matching refs:pctl_desc
4232 struct pinctrl_desc *pctl_desc; in ingenic_pinctrl_probe() local
4271 pctl_desc = devm_kzalloc(&pdev->dev, sizeof(*pctl_desc), GFP_KERNEL); in ingenic_pinctrl_probe()
4272 if (!pctl_desc) in ingenic_pinctrl_probe()
4276 pctl_desc->name = dev_name(dev); in ingenic_pinctrl_probe()
4277 pctl_desc->owner = THIS_MODULE; in ingenic_pinctrl_probe()
4278 pctl_desc->pctlops = &ingenic_pctlops; in ingenic_pinctrl_probe()
4279 pctl_desc->pmxops = &ingenic_pmxops; in ingenic_pinctrl_probe()
4280 pctl_desc->confops = &ingenic_confops; in ingenic_pinctrl_probe()
4281 pctl_desc->npins = chip_info->num_chips * PINS_PER_GPIO_CHIP; in ingenic_pinctrl_probe()
4282 pctl_desc->pins = jzpc->pdesc = devm_kcalloc(&pdev->dev, in ingenic_pinctrl_probe()
4283 pctl_desc->npins, sizeof(*jzpc->pdesc), GFP_KERNEL); in ingenic_pinctrl_probe()
4287 for (i = 0; i < pctl_desc->npins; i++) { in ingenic_pinctrl_probe()
4294 jzpc->pctl = devm_pinctrl_register(dev, pctl_desc, jzpc); in ingenic_pinctrl_probe()