Lines Matching refs:selector
39 unsigned int selector = 0; in pinmux_check_ops() local
52 while (selector < nfuncs) { in pinmux_check_ops()
54 selector); in pinmux_check_ops()
57 selector); in pinmux_check_ops()
60 selector++; in pinmux_check_ops()
326 unsigned int selector = 0; in pinmux_func_name_to_selector() local
329 while (selector < nfuncs) { in pinmux_func_name_to_selector()
330 const char *fname = ops->get_function_name(pctldev, selector); in pinmux_func_name_to_selector()
333 return selector; in pinmux_func_name_to_selector()
335 selector++; in pinmux_func_name_to_selector()
787 unsigned int selector) in pinmux_generic_get_function_name() argument
792 selector); in pinmux_generic_get_function_name()
808 unsigned int selector, in pinmux_generic_get_function_groups() argument
815 selector); in pinmux_generic_get_function_groups()
818 __func__, selector); in pinmux_generic_get_function_groups()
834 unsigned int selector) in pinmux_generic_get_function() argument
839 selector); in pinmux_generic_get_function()
862 int selector, error; in pinmux_generic_add_function() local
867 selector = pinmux_func_name_to_selector(pctldev, name); in pinmux_generic_add_function()
868 if (selector >= 0) in pinmux_generic_add_function()
869 return selector; in pinmux_generic_add_function()
871 selector = pctldev->num_functions; in pinmux_generic_add_function()
879 error = radix_tree_insert(&pctldev->pin_function_tree, selector, function); in pinmux_generic_add_function()
885 return selector; in pinmux_generic_add_function()
897 unsigned int selector) in pinmux_generic_remove_function() argument
902 selector); in pinmux_generic_remove_function()
906 radix_tree_delete(&pctldev->pin_function_tree, selector); in pinmux_generic_remove_function()