Searched refs:HPB_ENTRY_SIZE (Results 1 – 2 of 2) sorted by relevance
291 index = pos / (PAGE_SIZE / HPB_ENTRY_SIZE); in ufshpb_fill_ppn_from_page()292 offset = pos % (PAGE_SIZE / HPB_ENTRY_SIZE); in ufshpb_fill_ppn_from_page()294 if ((offset + len) <= (PAGE_SIZE / HPB_ENTRY_SIZE)) in ufshpb_fill_ppn_from_page()297 copied = (PAGE_SIZE / HPB_ENTRY_SIZE) - offset; in ufshpb_fill_ppn_from_page()306 memcpy(ppn_buf, page_address(page) + (offset * HPB_ENTRY_SIZE), in ufshpb_fill_ppn_from_page()307 copied * HPB_ENTRY_SIZE); in ufshpb_fill_ppn_from_page()714 mem_size = hpb->last_srgn_entries * HPB_ENTRY_SIZE; in ufshpb_execute_map_req()1616 * HPB_ENTRY_SIZE; in ufshpb_lu_parameter_init()1619 * HPB_RGN_SIZE_UNIT / HPB_ENTRY_BLOCK_SIZE * HPB_ENTRY_SIZE; in ufshpb_lu_parameter_init()1622 do_div(tmp, HPB_ENTRY_SIZE); in ufshpb_lu_parameter_init()[all …]
29 #define HPB_ENTRY_SIZE 0x8 macro