Lines Matching defs:function
55 unsigned int function)
59 return pdata->pinmux.functions[function].name;
63 unsigned int function,
69 *groups = pdata->pinmux.functions[function].groups;
70 *num_groups = pdata->pinmux.functions[function].ngroups;
81 expr->function);
99 expr->function);
138 * enable the pin's signal for the requested function.
141 * @name: The name of the requested function (needle)
143 * Return: A pointer to the signal expression whose function tag matches the
151 if (strcmp((*exprs)->function, name) == 0)
205 return expr->function;
223 int aspeed_pinmux_set_mux(struct pinctrl_dev *pctldev, unsigned int function,
231 &pdata->pinmux.functions[function];
268 pr_warn("No function %s found on pin %s (%d). Found signal(s) %s for function(s) %s\n",
282 expr->function);
299 * - expr->function set to "GPIOB1"
309 * - expr->function set to "GPIT0"
316 * function where the input state of one pin is replicated as the
330 * On e.g. the AST2400, a pass-through function "GPID0" is grouped on
335 * - expr->function set to "GPID0"
339 * - expr->function set to "GPID0"
346 * - expr->function looks like "GPIOD0"
350 * - expr->function looks like "GPIOD1"
352 * Testing both the signal _and_ function names gives us the means
357 * function name.
360 !strcmp(expr->signal, expr->function);
432 * one expression defined to enable the GPIO function