Home
last modified time | relevance | path

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

/sound/soc/sof/
Dipc3-loader.c146 ssize_t remaining; in sof_ipc3_fw_parse_ext_man() local
151 remaining = head->full_size - head->header_size; in sof_ipc3_fw_parse_ext_man()
170 while (remaining > sizeof(*elem_hdr)) { in sof_ipc3_fw_parse_ext_man()
177 elem_hdr->size > remaining) { in sof_ipc3_fw_parse_ext_man()
218 remaining -= elem_hdr->size; in sof_ipc3_fw_parse_ext_man()
222 if (remaining) { in sof_ipc3_fw_parse_ext_man()
237 size_t remaining; in sof_ipc3_parse_module_memcpy() local
245 remaining = module->size; in sof_ipc3_parse_module_memcpy()
248 if (remaining < sizeof(*block)) { in sof_ipc3_parse_module_memcpy()
254 remaining -= sizeof(*block); in sof_ipc3_parse_module_memcpy()
[all …]
Dipc4-loader.c27 ssize_t remaining; in sof_ipc4_fw_parse_ext_man() local
36 remaining = fw->size; in sof_ipc4_fw_parse_ext_man()
37 if (remaining <= sizeof(*ext_man_hdr)) { in sof_ipc4_fw_parse_ext_man()
38 dev_err(sdev->dev, "Firmware size is too small: %zu\n", remaining); in sof_ipc4_fw_parse_ext_man()
59 if (remaining <= ext_man_hdr->len + fw_hdr_offset + sizeof(*fw_header)) { in sof_ipc4_fw_parse_ext_man()
61 remaining, ext_man_hdr->len + fw_hdr_offset + sizeof(*fw_header)); in sof_ipc4_fw_parse_ext_man()
67 remaining -= (ext_man_hdr->len + fw_hdr_offset); in sof_ipc4_fw_parse_ext_man()
69 if (remaining <= fw_header->len) { in sof_ipc4_fw_parse_ext_man()
90 remaining -= fw_header->len; in sof_ipc4_fw_parse_ext_man()
92 if (remaining < fw_header->num_module_entries * sizeof(*fm_entry)) { in sof_ipc4_fw_parse_ext_man()
[all …]
Dsof-client-ipc-msg-injector.c80 size_t remaining; in sof_msg_inject_ipc4_dfs_read() local
89 remaining = header_size; in sof_msg_inject_ipc4_dfs_read()
94 remaining += ipc4_msg->data_size; in sof_msg_inject_ipc4_dfs_read()
96 if (count > remaining) in sof_msg_inject_ipc4_dfs_read()
97 count = remaining; in sof_msg_inject_ipc4_dfs_read()
98 else if (count < remaining) in sof_msg_inject_ipc4_dfs_read()
99 remaining = count; in sof_msg_inject_ipc4_dfs_read()
106 remaining -= header_size; in sof_msg_inject_ipc4_dfs_read()
108 if (!remaining) in sof_msg_inject_ipc4_dfs_read()
111 if (remaining > ipc4_msg->data_size) in sof_msg_inject_ipc4_dfs_read()
[all …]
Dipc4.c402 size_t remaining = payload_bytes; in sof_ipc4_set_get_data() local
439 if (remaining > payload_limit) { in sof_ipc4_set_get_data()
442 chunk_size = remaining; in sof_ipc4_set_get_data()
492 remaining = rx_size; in sof_ipc4_set_get_data()
494 remaining = rx_size; in sof_ipc4_set_get_data()
499 remaining -= chunk_size; in sof_ipc4_set_get_data()
500 } while (remaining); in sof_ipc4_set_get_data()
Dsof-client-probes.c422 int remaining, offset; in sof_probes_dfs_points_read() local
448 remaining = PAGE_SIZE - offset; in sof_probes_dfs_points_read()
449 ret = snprintf(buf + offset, remaining, in sof_probes_dfs_points_read()
452 if (ret < 0 || ret >= remaining) { in sof_probes_dfs_points_read()
Dipc4-mtrace.c316 int i, ret, offset, remaining; in sof_ipc4_priority_mask_dfs_read() local
331 remaining = 241 - offset; in sof_ipc4_priority_mask_dfs_read()
332 snprintf(buf + offset, remaining, "%2d: 0x%08x\n", i, in sof_ipc4_priority_mask_dfs_read()
/sound/soc/intel/avs/
Dcldma.c48 unsigned int remaining; member
64 if (cl->remaining > cl->buffer_size) in hda_cldma_fill()
67 size = cl->remaining; in hda_cldma_fill()
78 cl->remaining -= ss; in hda_cldma_fill()
83 cl->remaining -= size; in hda_cldma_fill()
113 if (!cl->remaining) in cldma_memcpy_work()
126 if (!cl->remaining) in hda_cldma_transfer()
202 cl->remaining = size; in hda_cldma_set_data()
209 int remaining = cl->buffer_size; in cldma_setup_bdle() local
214 while (remaining > 0) { in cldma_setup_bdle()
[all …]
Dtrace.c21 size_t remaining = size; in trace_avs_msg_payload() local
24 while (remaining > 0) { in trace_avs_msg_payload()
27 chunk = min(remaining, (size_t)MAX_CHUNK_SIZE); in trace_avs_msg_payload()
30 remaining -= chunk; in trace_avs_msg_payload()
Dmessages.c336 size_t remaining, tx_size; in avs_ipc_set_large_config() local
340 remaining = request_size; in avs_ipc_set_large_config()
341 tx_size = min_t(size_t, AVS_MAILBOX_SIZE, remaining); in avs_ipc_set_large_config()
342 final = (tx_size == remaining); in avs_ipc_set_large_config()
351 remaining -= tx_size; in avs_ipc_set_large_config()
354 while (remaining) { in avs_ipc_set_large_config()
357 offset = request_size - remaining; in avs_ipc_set_large_config()
358 tx_size = min_t(size_t, AVS_MAILBOX_SIZE, remaining); in avs_ipc_set_large_config()
359 final = (tx_size == remaining); in avs_ipc_set_large_config()
368 remaining -= tx_size; in avs_ipc_set_large_config()
Dtopology.c1477 size_t remaining = le32_to_cpu(manifest->priv.size); in avs_manifest() local
1481 ret = avs_tplg_vendor_array_lookup(tuples, remaining, in avs_manifest()
1497 remaining -= offset; in avs_manifest()
1500 ret = avs_tplg_vendor_array_lookup(tuples, remaining, in avs_manifest()
1512 remaining -= offset; in avs_manifest()
1515 ret = avs_tplg_vendor_array_lookup(tuples, remaining, in avs_manifest()
1527 remaining -= offset; in avs_manifest()
1530 ret = avs_tplg_vendor_array_lookup(tuples, remaining, in avs_manifest()
1542 remaining -= offset; in avs_manifest()
1545 ret = avs_tplg_vendor_array_lookup(tuples, remaining, in avs_manifest()
[all …]