Home
last modified time | relevance | path

Searched refs:name_len (Results 1 – 4 of 4) sorted by relevance

/sound/soc/codecs/
Dsigmadsp.c205 size_t name_len; in sigma_fw_load_control() local
214 name_len = length - sizeof(*ctrl_chunk); in sigma_fw_load_control()
215 if (name_len >= SNDRV_CTL_ELEM_ID_NAME_MAXLEN) in sigma_fw_load_control()
216 name_len = SNDRV_CTL_ELEM_ID_NAME_MAXLEN - 1; in sigma_fw_load_control()
219 if (!sigma_fw_validate_control_name(ctrl_chunk->name, name_len)) in sigma_fw_load_control()
227 name = kzalloc(name_len + 1, GFP_KERNEL); in sigma_fw_load_control()
232 memcpy(name, ctrl_chunk->name, name_len); in sigma_fw_load_control()
233 name[name_len] = '\0'; in sigma_fw_load_control()
Dwm_adsp.c1183 int name_len; member
1191 int name_len; member
1253 blk->name_len = strlen(raw->name); in wm_coeff_parse_alg()
1258 blk->name_len = wm_coeff_parse_string(sizeof(u8), data, in wm_coeff_parse_alg()
1266 adsp_dbg(dsp, "Algorithm name: %.*s\n", blk->name_len, blk->name); in wm_coeff_parse_alg()
1286 blk->name_len = strlen(raw->name); in wm_coeff_parse_coeff()
1296 blk->name_len = wm_coeff_parse_string(sizeof(u8), &tmp, in wm_coeff_parse_coeff()
1310 adsp_dbg(dsp, "\tCoefficient name: %.*s\n", blk->name_len, blk->name); in wm_coeff_parse_coeff()
1345 coeff_blk.name_len, in wm_adsp_parse_coeff()
1349 coeff_blk.name_len, coeff_blk.name, ret); in wm_adsp_parse_coeff()
/sound/core/
Dcontrol.c1189 size_t buf_len, name_len; in snd_ctl_elem_init_enum_names() local
1205 name_len = strnlen(p, buf_len); in snd_ctl_elem_init_enum_names()
1206 if (name_len == 0 || name_len >= 64 || name_len == buf_len) { in snd_ctl_elem_init_enum_names()
1210 p += name_len + 1; in snd_ctl_elem_init_enum_names()
1211 buf_len -= name_len + 1; in snd_ctl_elem_init_enum_names()
/sound/pci/hda/
Dhda_generic.c2661 char *name, size_t name_len) in get_jack_mode_name() argument
2666 snd_hda_get_pin_label(codec, pin, &spec->autocfg, name, name_len, &idx); in get_jack_mode_name()
2667 strlcat(name, " Jack Mode", name_len); in get_jack_mode_name()