Lines Matching refs:selector
36 unsigned selector = 0; in pinmux_check_ops() local
49 while (selector < nfuncs) { in pinmux_check_ops()
51 selector); in pinmux_check_ops()
54 selector); in pinmux_check_ops()
57 selector++; in pinmux_check_ops()
325 unsigned selector = 0; in pinmux_func_name_to_selector() local
328 while (selector < nfuncs) { in pinmux_func_name_to_selector()
329 const char *fname = ops->get_function_name(pctldev, selector); in pinmux_func_name_to_selector()
332 return selector; in pinmux_func_name_to_selector()
334 selector++; in pinmux_func_name_to_selector()
808 unsigned int selector) in pinmux_generic_get_function_name() argument
813 selector); in pinmux_generic_get_function_name()
829 unsigned int selector, in pinmux_generic_get_function_groups() argument
836 selector); in pinmux_generic_get_function_groups()
839 __func__, selector); in pinmux_generic_get_function_groups()
855 unsigned int selector) in pinmux_generic_get_function() argument
860 selector); in pinmux_generic_get_function()
883 int selector; in pinmux_generic_add_function() local
888 selector = pinmux_func_name_to_selector(pctldev, name); in pinmux_generic_add_function()
889 if (selector >= 0) in pinmux_generic_add_function()
890 return selector; in pinmux_generic_add_function()
892 selector = pctldev->num_functions; in pinmux_generic_add_function()
903 radix_tree_insert(&pctldev->pin_function_tree, selector, function); in pinmux_generic_add_function()
907 return selector; in pinmux_generic_add_function()
919 unsigned int selector) in pinmux_generic_remove_function() argument
924 selector); in pinmux_generic_remove_function()
928 radix_tree_delete(&pctldev->pin_function_tree, selector); in pinmux_generic_remove_function()