Home
last modified time | relevance | path

Searched refs:HPB_ENTRY_SIZE (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/ufs/core/ !
Dufshpb.c291 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()
717 mem_size = hpb->last_srgn_entries * HPB_ENTRY_SIZE; in ufshpb_execute_map_req()
1619 * HPB_ENTRY_SIZE; in ufshpb_lu_parameter_init()
1622 * HPB_RGN_SIZE_UNIT / HPB_ENTRY_BLOCK_SIZE * HPB_ENTRY_SIZE; in ufshpb_lu_parameter_init()
1625 do_div(tmp, HPB_ENTRY_SIZE); in ufshpb_lu_parameter_init()
[all …]
Dufshpb.h29 #define HPB_ENTRY_SIZE 0x8 macro