Lines Matching full:selector

454 					 unsigned int selector)  in madera_get_group_name()  argument
458 if (selector < priv->chip->n_pin_groups) in madera_get_group_name()
459 return priv->chip->pin_groups[selector].name; in madera_get_group_name()
461 selector -= priv->chip->n_pin_groups; in madera_get_group_name()
462 return madera_pin_single_group_names[selector]; in madera_get_group_name()
466 unsigned int selector, in madera_get_group_pins() argument
472 if (selector < priv->chip->n_pin_groups) { in madera_get_group_pins()
473 *pins = priv->chip->pin_groups[selector].pins; in madera_get_group_pins()
474 *num_pins = priv->chip->pin_groups[selector].n_pins; in madera_get_group_pins()
477 selector -= priv->chip->n_pin_groups; in madera_get_group_pins()
478 *pins = &madera_pin_single_group_pins[selector]; in madera_get_group_pins()
584 unsigned int selector) in madera_mux_get_func_name() argument
586 return madera_mux_funcs[selector].name; in madera_mux_get_func_name()
590 unsigned int selector, in madera_mux_get_groups() argument
596 *groups = madera_mux_funcs[selector].group_names; in madera_mux_get_groups()
598 if (madera_mux_funcs[selector].func == 0) { in madera_mux_get_groups()
610 unsigned int selector, in madera_mux_set_mux() argument
617 const char *func_name = madera_mux_funcs[selector].name; in madera_mux_set_mux()
622 __func__, selector, func_name, group, in madera_mux_set_mux()
625 if (madera_mux_funcs[selector].func == 0) { in madera_mux_set_mux()
659 __func__, reg, madera_mux_funcs[selector].func); in madera_mux_set_mux()
664 madera_mux_funcs[selector].func); in madera_mux_set_mux()
947 unsigned int selector, in madera_pin_conf_group_set() argument
957 madera_get_group_name(pctldev, selector)); in madera_pin_conf_group_set()
959 if (selector >= n_groups) { in madera_pin_conf_group_set()
962 selector - n_groups, in madera_pin_conf_group_set()
966 pin_group = &priv->chip->pin_groups[selector]; in madera_pin_conf_group_set()