Home
last modified time | relevance | path

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

/linux-6.1.9/sound/soc/codecs/
Dsigmadsp.c205 const struct sigma_fw_chunk_control *ctrl_chunk; in sigma_fw_load_control() local
212 if (length <= sizeof(*ctrl_chunk)) in sigma_fw_load_control()
215 ctrl_chunk = (const struct sigma_fw_chunk_control *)chunk; in sigma_fw_load_control()
217 name_len = length - sizeof(*ctrl_chunk); in sigma_fw_load_control()
222 if (!sigma_fw_validate_control_name(ctrl_chunk->name, name_len)) in sigma_fw_load_control()
225 num_bytes = le16_to_cpu(ctrl_chunk->num_bytes); in sigma_fw_load_control()
230 name = kmemdup_nul(ctrl_chunk->name, name_len, GFP_KERNEL); in sigma_fw_load_control()
246 ctrl->addr = le16_to_cpu(ctrl_chunk->addr); in sigma_fw_load_control()