Searched refs:name_len (Results 1 – 2 of 2) sorted by relevance
/sound/core/ |
D | control.c | 1120 size_t buf_len, name_len; in snd_ctl_elem_init_enum_names() local 1136 name_len = strnlen(p, buf_len); in snd_ctl_elem_init_enum_names() 1137 if (name_len == 0 || name_len >= 64 || name_len == buf_len) { in snd_ctl_elem_init_enum_names() 1141 p += name_len + 1; in snd_ctl_elem_init_enum_names() 1142 buf_len -= name_len + 1; in snd_ctl_elem_init_enum_names()
|
/sound/pci/hda/ |
D | hda_generic.c | 2573 char *name, size_t name_len) in get_jack_mode_name() argument 2578 snd_hda_get_pin_label(codec, pin, &spec->autocfg, name, name_len, &idx); in get_jack_mode_name() 2579 strlcat(name, " Jack Mode", name_len); in get_jack_mode_name()
|