Searched refs:cur_entity_size (Results 1 – 3 of 3) sorted by relevance
164 u32 cur_entity_size, in cudbg_write_flash() argument189 cudbg_init->print(adap->dip, CE_NOTE, "\tWriting %u bytes to flash\n", cur_entity_size); in cudbg_write_flash()200 cur_entity_size += sizeof(struct cudbg_entity_hdr); in cudbg_write_flash()201 start_offset = dbg_buff->offset - cur_entity_size; in cudbg_write_flash()214 if (cur_entity_size > space_left) { in cudbg_write_flash()219 while (cur_entity_size > 0) { in cudbg_write_flash()233 if (cur_entity_size + sec_data_offset > sec_data_size) { in cudbg_write_flash()236 tmp_size = cur_entity_size; in cudbg_write_flash()238 sec_info->par_sec_offset = cur_entity_size + in cudbg_write_flash()251 cur_entity_size -= tmp_size; in cudbg_write_flash()
151 u32 cur_entity_size,
228 u32 cur_entity_size, in wr_entity_to_flash() argument251 update_skip_size(sec_info, cur_entity_size); in wr_entity_to_flash()260 if (cur_entity_size > remain_flash_size) { in wr_entity_to_flash()261 update_skip_size(sec_info, cur_entity_size); in wr_entity_to_flash()275 cur_entity_size, in wr_entity_to_flash()