Home
last modified time | relevance | path

Searched refs:enum_id (Results 1 – 6 of 6) sorted by relevance

/external/u-boot/drivers/gpio/
Dsh_pfc.c21 static int enum_in_range(pinmux_enum_t enum_id, struct pinmux_range *r) in enum_in_range() argument
23 if (enum_id < r->begin) in enum_in_range()
26 if (enum_id > r->end) in enum_in_range()
178 if (!enum_in_range(gpiop->enum_id, &gpioc->data)) in setup_data_reg()
191 if (data_reg->enum_ids[n] == gpiop->enum_id) { in setup_data_reg()
234 if (!enum_in_range(gpiop->enum_id, &gpioc->data)) in get_data_reg()
244 static int get_config_reg(struct pinmux_info *gpioc, pinmux_enum_t enum_id, in get_config_reg() argument
273 if (config_reg->enum_ids[pos + n] == enum_id) { in get_config_reg()
293 pinmux_enum_t enum_id = gpioc->gpios[gpio].enum_id; in get_gpio_enum_id() local
297 if (!enum_in_range(enum_id, &gpioc->data)) { in get_gpio_enum_id()
[all …]
/external/u-boot/drivers/pinctrl/renesas/
Dpfc.c78 static int sh_pfc_enum_in_range(u16 enum_id, const struct pinmux_range *r) in sh_pfc_enum_in_range() argument
80 if (enum_id < r->begin) in sh_pfc_enum_in_range()
83 if (enum_id > r->end) in sh_pfc_enum_in_range()
188 static int sh_pfc_get_config_reg(struct sh_pfc *pfc, u16 enum_id, in sh_pfc_get_config_reg() argument
218 if (config_reg->enum_ids[pos + n] == enum_id) { in sh_pfc_get_config_reg()
284 u16 enum_id; in sh_pfc_config_mux() local
289 pos = sh_pfc_mark_to_enum(pfc, mark, pos, &enum_id); in sh_pfc_config_mux()
293 if (!enum_id) in sh_pfc_config_mux()
300 in_range = sh_pfc_enum_in_range(enum_id, &pfc->info->function); in sh_pfc_config_mux()
311 in_range = sh_pfc_enum_in_range(enum_id, range); in sh_pfc_config_mux()
[all …]
Dsh_pfc.h34 u16 enum_id; member
92 u16 enum_id; member
511 .enum_id = _name##_DATA, \
549 .enum_id = _pin##_DATA, \
557 .enum_id = PORT##_pin##_DATA, \
589 .enum_id = data_or_mark, \
/external/tinyalsa/
Dmixer.c583 unsigned int enum_id) in mixer_ctl_get_enum_string() argument
586 (enum_id >= ctl->info->value.enumerated.items)) in mixer_ctl_get_enum_string()
589 return (const char *)ctl->ename[enum_id]; in mixer_ctl_get_enum_string()
/external/tinyalsa/include/tinyalsa/
Dasoundlib.h294 unsigned int enum_id);
/external/u-boot/include/
Dsh_pfc.h37 pinmux_enum_t enum_id; member