Lines Matching refs:selector

452 					 unsigned int selector)  in madera_get_group_name()  argument
456 if (selector < priv->chip->n_pin_groups) in madera_get_group_name()
457 return priv->chip->pin_groups[selector].name; in madera_get_group_name()
459 selector -= priv->chip->n_pin_groups; in madera_get_group_name()
460 return madera_pin_single_group_names[selector]; in madera_get_group_name()
464 unsigned int selector, in madera_get_group_pins() argument
470 if (selector < priv->chip->n_pin_groups) { in madera_get_group_pins()
471 *pins = priv->chip->pin_groups[selector].pins; in madera_get_group_pins()
472 *num_pins = priv->chip->pin_groups[selector].n_pins; in madera_get_group_pins()
475 selector -= priv->chip->n_pin_groups; in madera_get_group_pins()
476 *pins = &madera_pin_single_group_pins[selector]; in madera_get_group_pins()
582 unsigned int selector) in madera_mux_get_func_name() argument
584 return madera_mux_funcs[selector].name; in madera_mux_get_func_name()
588 unsigned int selector, in madera_mux_get_groups() argument
594 *groups = madera_mux_funcs[selector].group_names; in madera_mux_get_groups()
596 if (madera_mux_funcs[selector].func == 0) { in madera_mux_get_groups()
608 unsigned int selector, in madera_mux_set_mux() argument
615 const char *func_name = madera_mux_funcs[selector].name; in madera_mux_set_mux()
620 __func__, selector, func_name, group, in madera_mux_set_mux()
623 if (madera_mux_funcs[selector].func == 0) { in madera_mux_set_mux()
657 __func__, reg, madera_mux_funcs[selector].func); in madera_mux_set_mux()
662 madera_mux_funcs[selector].func); in madera_mux_set_mux()
945 unsigned int selector, in madera_pin_conf_group_set() argument
955 madera_get_group_name(pctldev, selector)); in madera_pin_conf_group_set()
957 if (selector >= n_groups) { in madera_pin_conf_group_set()
960 selector - n_groups, in madera_pin_conf_group_set()
964 pin_group = &priv->chip->pin_groups[selector]; in madera_pin_conf_group_set()