Lines Matching refs:pctl_desc
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()
822 pctl_desc->owner = THIS_MODULE; in microchip_sgpio_register_bank()
828 pctl_desc->npins = ngpios; in microchip_sgpio_register_bank()
829 pctl_desc->pins = pins; in microchip_sgpio_register_bank()
845 pctldev = devm_pinctrl_register(dev, pctl_desc, bank); in microchip_sgpio_register_bank()
850 gc->label = pctl_desc->name; in microchip_sgpio_register_bank()