Lines Matching defs:function
47 * struct zynqmp_pmux_function - a pinmux function
48 * @name: Name of the pin mux function
49 * @groups: List of pin groups for this function
51 * @node: Firmware node matching with the function
53 * This structure holds information about pin control function
54 * and function group names supporting that function.
162 * zynqmp_pmux_get_function_groups() - Get groups for the function
166 * @num_groups: Number of function groups.
168 * Get function's group count and group names.
186 * zynqmp_pinmux_set_mux() - Set requested function for the group
188 * @function: Function ID.
192 * to set requested function for all pins in the group.
197 unsigned int function,
207 ret = zynqmp_pm_pinctrl_set_function(pin, function);
461 * Call function to set configs for each pin in the group.
537 * zynqmp_pinctrl_prepare_func_groups() - prepare function and groups data
543 * Query firmware to get group IDs for each function. Firmware returns
544 * group IDs. Based on the group index for the function, group names in
545 * the function are stored. For example, the first group in "eth0" function
548 * Based on the group ID received from the firmware, function stores name of
552 * Once done for each function, each function would have its group names
611 * Name of the function is maximum 16 bytes and cannot
730 * zynqmp_pinctrl_prepare_function_info() - prepare function info
737 * Query number of functions and number of function groups (number
738 * of groups in the given function) to allocate required memory buffers
741 * (number of groups and group names for each function, number of
870 dev_err(&pdev->dev, "function info prepare fail with %d\n", ret);