Searched refs:srgn_mem_size (Results 1 – 2 of 2) sorted by relevance
656 int srgn_idx, int srgn_mem_size) in ufshpb_set_read_buf_cmd() argument663 put_unaligned_be24(srgn_mem_size, &cdb[6]); in ufshpb_set_read_buf_cmd()693 int mem_size = hpb->srgn_mem_size; in ufshpb_execute_map_req()1621 hpb->srgn_mem_size = (1ULL << hpb_dev_info->srgn_size) in ufshpb_lu_parameter_init()1630 hpb->entries_per_srgn = hpb->srgn_mem_size / HPB_ENTRY_SIZE; in ufshpb_lu_parameter_init()1635 do_div(tmp, hpb->srgn_mem_size); in ufshpb_lu_parameter_init()1641 (hpb->srgn_mem_size / HPB_ENTRY_SIZE)); in ufshpb_lu_parameter_init()1643 % (hpb->srgn_mem_size / HPB_ENTRY_SIZE); in ufshpb_lu_parameter_init()1645 hpb->pages_per_srgn = DIV_ROUND_UP(hpb->srgn_mem_size, PAGE_SIZE); in ufshpb_lu_parameter_init()
264 u32 srgn_mem_size; member