Lines Matching refs:block_size_shift
201 context->block_size_shift = BLOCK_SIZE_SHIFT_V1; in mbox_handle_mbox_info()
204 context->block_size_shift = log_2(context->mtd_info.erasesize); in mbox_handle_mbox_info()
208 1 << context->block_size_shift, context->block_size_shift); in mbox_handle_mbox_info()
227 context->block_size_shift); in mbox_handle_mbox_info()
229 context->block_size_shift); in mbox_handle_mbox_info()
232 resp->args[5] = context->block_size_shift; in mbox_handle_mbox_info()
262 context->flash_size >> context->block_size_shift); in mbox_handle_flash_info()
265 context->block_size_shift); in mbox_handle_flash_info()
292 return lpc_addr >> context->block_size_shift; in get_lpc_addr_shifted()
334 flash_offset = get_u16(&req->msg.args[0]) << context->block_size_shift; in mbox_handle_read_window()
358 context->block_size_shift); in mbox_handle_read_window()
360 context->block_size_shift); in mbox_handle_read_window()
440 context->block_size_shift); in mbox_handle_dirty_window()
444 offset << context->block_size_shift, in mbox_handle_dirty_window()
455 size = align_up(size, 1 << context->block_size_shift); in mbox_handle_dirty_window()
456 size >>= context->block_size_shift; in mbox_handle_dirty_window()
460 offset << context->block_size_shift, in mbox_handle_dirty_window()
461 size << context->block_size_shift); in mbox_handle_dirty_window()
500 offset << context->block_size_shift, in mbox_handle_erase_window()
501 size << context->block_size_shift); in mbox_handle_erase_window()
510 memset(context->current->mem + (offset << context->block_size_shift), in mbox_handle_erase_window()
511 0xFF, size << context->block_size_shift); in mbox_handle_erase_window()
572 for (i = 0; i < (context->current->size >> context->block_size_shift); in mbox_handle_flush_window()
614 context->block_size_shift, in mbox_handle_flush_window()