Lines Matching refs:pdesc
157 static char *get_defined_attribute(const struct aspeed_pin_desc *pdesc, in get_defined_attribute() argument
165 prios = pdesc->prios; in get_defined_attribute()
206 static char *get_defined_functions(const struct aspeed_pin_desc *pdesc) in get_defined_functions() argument
208 return get_defined_attribute(pdesc, aspeed_sig_expr_function); in get_defined_functions()
216 static char *get_defined_signals(const struct aspeed_pin_desc *pdesc) in get_defined_signals() argument
218 return get_defined_attribute(pdesc, aspeed_sig_expr_signal); in get_defined_signals()
233 const struct aspeed_pin_desc *pdesc = pdata->pins[pin].drv_data; in aspeed_pinmux_set_mux() local
238 if (!pdesc) in aspeed_pinmux_set_mux()
241 pr_debug("Muxing pin %s for %s\n", pdesc->name, pfunc->name); in aspeed_pinmux_set_mux()
243 prios = pdesc->prios; in aspeed_pinmux_set_mux()
263 char *functions = get_defined_functions(pdesc); in aspeed_pinmux_set_mux()
264 char *signals = get_defined_signals(pdesc); in aspeed_pinmux_set_mux()
267 pfunc->name, pdesc->name, pin, signals, in aspeed_pinmux_set_mux()
279 pr_debug("Muxed pin %s as %s for %s\n", pdesc->name, expr->signal, in aspeed_pinmux_set_mux()
381 const struct aspeed_pin_desc *pdesc = pdata->pins[offset].drv_data; in aspeed_gpio_request_enable() local
384 if (!pdesc) in aspeed_gpio_request_enable()
387 prios = pdesc->prios; in aspeed_gpio_request_enable()
392 pr_debug("Muxing pin %s for GPIO\n", pdesc->name); in aspeed_gpio_request_enable()
407 char *signals = get_defined_signals(pdesc); in aspeed_gpio_request_enable()
410 pdesc->name, offset, signals); in aspeed_gpio_request_enable()
424 pr_debug("Muxed pin %s as GPIO\n", pdesc->name); in aspeed_gpio_request_enable()
436 pr_debug("Muxed pin %s as %s\n", pdesc->name, expr->signal); in aspeed_gpio_request_enable()
442 struct pinctrl_desc *pdesc, in aspeed_pinctrl_probe() argument
462 pctl = pinctrl_register(pdesc, &pdev->dev, pdata); in aspeed_pinctrl_probe()