Lines Matching refs:hpb_dev_info
1600 struct ufshpb_dev_info *hpb_dev_info, in ufshpb_lu_parameter_init() argument
1609 hpb->pre_req_max_tr_len = hpb_dev_info->max_hpb_single_cmd; in ufshpb_lu_parameter_init()
1618 rgn_mem_size = (1ULL << hpb_dev_info->rgn_size) * HPB_RGN_SIZE_UNIT in ufshpb_lu_parameter_init()
1621 hpb->srgn_mem_size = (1ULL << hpb_dev_info->srgn_size) in ufshpb_lu_parameter_init()
1647 if (hpb_dev_info->control_mode == HPB_HOST_CONTROL) in ufshpb_lu_parameter_init()
2223 struct ufshpb_dev_info *hpb_dev_info, in ufshpb_alloc_hpb_lu() argument
2236 ufshpb_lu_parameter_init(hba, hpb, hpb_dev_info, hpb_lu_info); in ufshpb_alloc_hpb_lu()
2598 struct ufshpb_dev_info *hpb_dev_info = &hba->ufshpb_dev; in ufshpb_get_dev_info() local
2602 hpb_dev_info->control_mode = desc_buf[DEVICE_DESC_PARAM_HPB_CONTROL]; in ufshpb_get_dev_info()
2609 hpb_dev_info->hpb_disabled = true; in ufshpb_get_dev_info()
2614 hpb_dev_info->is_legacy = true; in ufshpb_get_dev_info()
2620 hpb_dev_info->num_lu = desc_buf[DEVICE_DESC_PARAM_NUM_LU]; in ufshpb_get_dev_info()
2622 if (hpb_dev_info->is_legacy) in ufshpb_get_dev_info()
2629 hpb_dev_info->max_hpb_single_cmd = HPB_LEGACY_CHUNK_HIGH; in ufshpb_get_dev_info()
2631 hpb_dev_info->max_hpb_single_cmd = min(max_single_cmd + 1, HPB_MULTI_CHUNK_HIGH); in ufshpb_get_dev_info()
2636 struct ufshpb_dev_info *hpb_dev_info = &hba->ufshpb_dev; in ufshpb_init() local
2644 hpb_dev_info->hpb_disabled = true; in ufshpb_init()
2648 atomic_set(&hpb_dev_info->slave_conf_cnt, hpb_dev_info->num_lu); in ufshpb_init()