Home
last modified time | relevance | path

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

/openbmc/linux/drivers/pinctrl/qcom/
H A Dpinctrl-spmi-mpp.c858 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()
[all …]
H A Dpinctrl-spmi-gpio.c1058 struct pinctrl_desc *pctrldesc; in pmic_gpio_probe() local
1094 pctrldesc = devm_kzalloc(dev, sizeof(*pctrldesc), GFP_KERNEL); in pmic_gpio_probe()
1095 if (!pctrldesc) in pmic_gpio_probe()
1098 pctrldesc->pctlops = &pmic_gpio_pinctrl_ops; in pmic_gpio_probe()
1099 pctrldesc->pmxops = &pmic_gpio_pinmux_ops; in pmic_gpio_probe()
1100 pctrldesc->confops = &pmic_gpio_pinconf_ops; in pmic_gpio_probe()
1101 pctrldesc->owner = THIS_MODULE; in pmic_gpio_probe()
1102 pctrldesc->name = dev_name(dev); in pmic_gpio_probe()
1103 pctrldesc->pins = pindesc; in pmic_gpio_probe()
1104 pctrldesc->npins = npins; in pmic_gpio_probe()
[all …]