Lines Matching refs:pctldesc
1987 pinctrl_init_controller(struct pinctrl_desc *pctldesc, struct device *dev, in pinctrl_init_controller() argument
1993 if (!pctldesc) in pinctrl_init_controller()
1995 if (!pctldesc->name) in pinctrl_init_controller()
2003 pctldev->owner = pctldesc->owner; in pinctrl_init_controller()
2004 pctldev->desc = pctldesc; in pinctrl_init_controller()
2026 if (pctldesc->pmxops) { in pinctrl_init_controller()
2033 if (pctldesc->confops) { in pinctrl_init_controller()
2040 dev_dbg(dev, "try to register %d pins ...\n", pctldesc->npins); in pinctrl_init_controller()
2041 ret = pinctrl_register_pins(pctldev, pctldesc->pins, pctldesc->npins); in pinctrl_init_controller()
2044 pinctrl_free_pindescs(pctldev, pctldesc->pins, in pinctrl_init_controller()
2045 pctldesc->npins); in pinctrl_init_controller()
2132 struct pinctrl_dev *pinctrl_register(struct pinctrl_desc *pctldesc, in pinctrl_register() argument
2138 pctldev = pinctrl_init_controller(pctldesc, dev, driver_data); in pinctrl_register()
2160 int pinctrl_register_and_init(struct pinctrl_desc *pctldesc, in pinctrl_register_and_init() argument
2166 p = pinctrl_init_controller(pctldesc, dev, driver_data); in pinctrl_register_and_init()
2251 struct pinctrl_desc *pctldesc, in devm_pinctrl_register() argument
2260 pctldev = pinctrl_register(pctldesc, dev, driver_data); in devm_pinctrl_register()
2285 struct pinctrl_desc *pctldesc, in devm_pinctrl_register_and_init() argument
2296 error = pinctrl_register_and_init(pctldesc, dev, driver_data, pctldev); in devm_pinctrl_register_and_init()