Searched refs:hpb (Results 1 – 2 of 2) sorted by relevance
38 static void ufshpb_update_active_info(struct ufshpb_lu *hpb, int rgn_idx,57 static int ufshpb_get_state(struct ufshpb_lu *hpb) in ufshpb_get_state() argument59 return atomic_read(&hpb->hpb_state); in ufshpb_get_state()62 static void ufshpb_set_state(struct ufshpb_lu *hpb, int state) in ufshpb_set_state() argument64 atomic_set(&hpb->hpb_state, state); in ufshpb_set_state()85 static bool ufshpb_is_supported_chunk(struct ufshpb_lu *hpb, int transfer_len) in ufshpb_is_supported_chunk() argument87 return transfer_len <= hpb->pre_req_max_tr_len; in ufshpb_is_supported_chunk()95 static bool ufshpb_is_pinned_region(struct ufshpb_lu *hpb, int rgn_idx) in ufshpb_is_pinned_region() argument97 return hpb->lu_pinned_end != PINNED_NOT_SET && in ufshpb_is_pinned_region()98 rgn_idx >= hpb->lu_pinned_start && rgn_idx <= hpb->lu_pinned_end; in ufshpb_is_pinned_region()[all …]
117 struct ufshpb_lu *hpb; member164 struct ufshpb_lu *hpb; member