Home
last modified time | relevance | path

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

/linux-6.12.1/sound/soc/sof/
Dcompress.c174 size_t ext_data_size; in sof_compr_set_params() local
193 ext_data_size = sizeof(params->codec); in sof_compr_set_params()
195 if (sizeof(*pcm) + ext_data_size > sdev->ipc->max_payload_size) in sof_compr_set_params()
198 pcm = kzalloc(sizeof(*pcm) + ext_data_size, GFP_KERNEL); in sof_compr_set_params()
213 pcm->hdr.size = sizeof(*pcm) + ext_data_size; in sof_compr_set_params()
217 pcm->params.hdr.size = sizeof(pcm->params) + ext_data_size; in sof_compr_set_params()
228 pcm->params.ext_data_length = ext_data_size; in sof_compr_set_params()
230 memcpy((u8 *)pcm->params.ext_data, &params->codec, ext_data_size); in sof_compr_set_params()
232 ret = sof_ipc_tx_message(sdev->ipc, pcm, sizeof(*pcm) + ext_data_size, in sof_compr_set_params()
/linux-6.12.1/drivers/media/platform/amphion/
Dvpu_malone.c1220 u32 ext_data_size = MALONE_VC1_RCV_SEQ_EXT_DATA_SIZE; in set_vc1_rcv_seqhdr() local
1231 dst[4] = ext_data_size; in set_vc1_rcv_seqhdr()
1232 dst[5] = ext_data_size >> 8; in set_vc1_rcv_seqhdr()
1233 dst[6] = ext_data_size >> 16; in set_vc1_rcv_seqhdr()
1234 dst[7] = ext_data_size >> 24; in set_vc1_rcv_seqhdr()