Lines Matching refs:bin_pos
26 if (tplg->bin_pos + data_size > tplg->bin_size) in twrite()
28 memcpy(tplg->bin + tplg->bin_pos, data, data_size); in twrite()
29 tplg->bin_pos += data_size; in twrite()
53 if (tplg->bin_pos != tplg->next_hdr_pos) { in write_block_header()
56 tplg->next_hdr_pos, tplg->bin_pos, in write_block_header()
57 tplg->bin_pos > tplg->next_hdr_pos ? "ahead" : "behind", in write_block_header()
58 tplg->bin_pos - tplg->next_hdr_pos); in write_block_header()
62 tplg_log(tplg, 'B', tplg->bin_pos, in write_block_header()
112 tplg_log(tplg, 'B', tplg->bin_pos, in write_elem_block()
116 tplg_log(tplg, 'B', tplg->bin_pos, in write_elem_block()
218 tplg_log(tplg, 'B', tplg->bin_pos, "manifest: write %d bytes", in write_manifest_data()
222 tplg_log(tplg, 'B', tplg->bin_pos, in write_manifest_data()
252 tplg->bin_pos = 0; in tplg_write_data()
276 tplg_log(tplg, 'B', tplg->bin_pos, in tplg_write_data()
289 tplg_log(tplg, 'B', tplg->bin_pos, "total size is 0x%zx/%zd", in tplg_write_data()
290 tplg->bin_pos, tplg->bin_pos); in tplg_write_data()
292 if (total_size != tplg->bin_pos) { in tplg_write_data()
294 total_size, tplg->bin_pos); in tplg_write_data()