Lines Matching refs:selector
455 unsigned int selector) in madera_get_group_name() argument
459 if (selector < priv->chip->n_pin_groups) in madera_get_group_name()
460 return priv->chip->pin_groups[selector].name; in madera_get_group_name()
462 selector -= priv->chip->n_pin_groups; in madera_get_group_name()
463 return madera_pin_single_group_names[selector]; in madera_get_group_name()
467 unsigned int selector, in madera_get_group_pins() argument
473 if (selector < priv->chip->n_pin_groups) { in madera_get_group_pins()
474 *pins = priv->chip->pin_groups[selector].pins; in madera_get_group_pins()
475 *num_pins = priv->chip->pin_groups[selector].n_pins; in madera_get_group_pins()
478 selector -= priv->chip->n_pin_groups; in madera_get_group_pins()
479 *pins = &madera_pin_single_group_pins[selector]; in madera_get_group_pins()
585 unsigned int selector) in madera_mux_get_func_name() argument
587 return madera_mux_funcs[selector].name; in madera_mux_get_func_name()
591 unsigned int selector, in madera_mux_get_groups() argument
597 *groups = madera_mux_funcs[selector].group_names; in madera_mux_get_groups()
599 if (madera_mux_funcs[selector].func == 0) { in madera_mux_get_groups()
611 unsigned int selector, in madera_mux_set_mux() argument
618 const char *func_name = madera_mux_funcs[selector].name; in madera_mux_set_mux()
623 __func__, selector, func_name, group, in madera_mux_set_mux()
626 if (madera_mux_funcs[selector].func == 0) { in madera_mux_set_mux()
660 __func__, reg, madera_mux_funcs[selector].func); in madera_mux_set_mux()
665 madera_mux_funcs[selector].func); in madera_mux_set_mux()
948 unsigned int selector, in madera_pin_conf_group_set() argument
958 madera_get_group_name(pctldev, selector)); in madera_pin_conf_group_set()
960 if (selector >= n_groups) { in madera_pin_conf_group_set()
963 selector - n_groups, in madera_pin_conf_group_set()
967 pin_group = &priv->chip->pin_groups[selector]; in madera_pin_conf_group_set()