Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/ufs/core/
Dufshpb.c653 int srgn_idx, int srgn_mem_size) in ufshpb_set_read_buf_cmd() argument
660 put_unaligned_be24(srgn_mem_size, &cdb[6]); in ufshpb_set_read_buf_cmd()
690 int mem_size = hpb->srgn_mem_size; in ufshpb_execute_map_req()
1618 hpb->srgn_mem_size = (1ULL << hpb_dev_info->srgn_size) in ufshpb_lu_parameter_init()
1627 hpb->entries_per_srgn = hpb->srgn_mem_size / HPB_ENTRY_SIZE; in ufshpb_lu_parameter_init()
1632 do_div(tmp, hpb->srgn_mem_size); in ufshpb_lu_parameter_init()
1638 (hpb->srgn_mem_size / HPB_ENTRY_SIZE)); in ufshpb_lu_parameter_init()
1640 % (hpb->srgn_mem_size / HPB_ENTRY_SIZE); in ufshpb_lu_parameter_init()
1642 hpb->pages_per_srgn = DIV_ROUND_UP(hpb->srgn_mem_size, PAGE_SIZE); in ufshpb_lu_parameter_init()
Dufshpb.h264 u32 srgn_mem_size; member