Lines Matching refs:pctrldesc
858 struct pinctrl_desc *pctrldesc; in pmic_mpp_probe() local
892 pctrldesc = devm_kzalloc(dev, sizeof(*pctrldesc), GFP_KERNEL); in pmic_mpp_probe()
893 if (!pctrldesc) in pmic_mpp_probe()
896 pctrldesc->pctlops = &pmic_mpp_pinctrl_ops; in pmic_mpp_probe()
897 pctrldesc->pmxops = &pmic_mpp_pinmux_ops; in pmic_mpp_probe()
898 pctrldesc->confops = &pmic_mpp_pinconf_ops; in pmic_mpp_probe()
899 pctrldesc->owner = THIS_MODULE; in pmic_mpp_probe()
900 pctrldesc->name = dev_name(dev); in pmic_mpp_probe()
901 pctrldesc->pins = pindesc; in pmic_mpp_probe()
902 pctrldesc->npins = npins; in pmic_mpp_probe()
904 pctrldesc->num_custom_params = ARRAY_SIZE(pmic_mpp_bindings); in pmic_mpp_probe()
905 pctrldesc->custom_params = pmic_mpp_bindings; in pmic_mpp_probe()
907 pctrldesc->custom_conf_items = pmic_conf_items; in pmic_mpp_probe()
931 state->ctrl = devm_pinctrl_register(dev, pctrldesc, state); in pmic_mpp_probe()