Searched refs:hpb (Results 1 – 5 of 5) sorted by relevance
36 static void ufshpb_update_active_info(struct ufshpb_lu *hpb, int rgn_idx,60 static int ufshpb_get_state(struct ufshpb_lu *hpb) in ufshpb_get_state() argument62 return atomic_read(&hpb->hpb_state); in ufshpb_get_state()65 static void ufshpb_set_state(struct ufshpb_lu *hpb, int state) in ufshpb_set_state() argument67 atomic_set(&hpb->hpb_state, state); in ufshpb_set_state()88 static bool ufshpb_is_supported_chunk(struct ufshpb_lu *hpb, int transfer_len) in ufshpb_is_supported_chunk() argument90 return transfer_len <= hpb->pre_req_max_tr_len; in ufshpb_is_supported_chunk()97 static inline bool ufshpb_is_required_wb(struct ufshpb_lu *hpb, int len) in ufshpb_is_required_wb() argument99 return len > hpb->pre_req_min_tr_len && in ufshpb_is_required_wb()100 len <= hpb->pre_req_max_tr_len; in ufshpb_is_required_wb()[all …]
118 struct ufshpb_lu *hpb; member165 struct ufshpb_lu *hpb; member
14 struct sh73a0_hpb *hpb = (struct sh73a0_hpb *)HPB_BASE; in rmobile_get_cpu_type() local16 id = readl(&hpb->cccr); in rmobile_get_cpu_type()26 struct sh73a0_hpb *hpb = (struct sh73a0_hpb *)HPB_BASE; in rmobile_get_cpu_rev_integer() local28 id = readl(&hpb->cccr); in rmobile_get_cpu_rev_integer()38 struct sh73a0_hpb *hpb = (struct sh73a0_hpb *)HPB_BASE; in rmobile_get_cpu_rev_fraction() local40 id = readl(&hpb->cccr); in rmobile_get_cpu_rev_fraction()
14 struct r8a7740_hpb *hpb = (struct r8a7740_hpb *)HPB_BASE; in rmobile_get_cpu_type() local16 id = readl(hpb->cccr); in rmobile_get_cpu_type()26 struct r8a7740_hpb *hpb = (struct r8a7740_hpb *)HPB_BASE; in rmobile_get_cpu_rev() local28 id = readl(hpb->cccr); in rmobile_get_cpu_rev()
141 struct sh73a0_hpb *hpb = (struct sh73a0_hpb *)HPB_BASE; in s_init() local238 writel(0x00000001, &hpb->hpbctrl6); in s_init()239 cmp_loop(&hpb->hpbctrl6, 0x1, 0x1); in s_init()