Home
last modified time | relevance | path

Searched refs:hpb (Results 1 – 5 of 5) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/scsi/ufs/
H A Dufshpb.c36 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() argument
62 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() argument
67 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() argument
90 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() argument
99 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 …]
H A Dufshpb.h118 struct ufshpb_lu *hpb; member
165 struct ufshpb_lu *hpb; member
/OK3568_Linux_fs/u-boot/arch/arm/mach-rmobile/
H A Dcpu_info-sh73a0.c14 struct sh73a0_hpb *hpb = (struct sh73a0_hpb *)HPB_BASE; in rmobile_get_cpu_type() local
16 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() local
28 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() local
40 id = readl(&hpb->cccr); in rmobile_get_cpu_rev_fraction()
H A Dcpu_info-r8a7740.c14 struct r8a7740_hpb *hpb = (struct r8a7740_hpb *)HPB_BASE; in rmobile_get_cpu_type() local
16 id = readl(hpb->cccr); in rmobile_get_cpu_type()
26 struct r8a7740_hpb *hpb = (struct r8a7740_hpb *)HPB_BASE; in rmobile_get_cpu_rev() local
28 id = readl(hpb->cccr); in rmobile_get_cpu_rev()
/OK3568_Linux_fs/u-boot/board/kmc/kzm9g/
H A Dkzm9g.c141 struct sh73a0_hpb *hpb = (struct sh73a0_hpb *)HPB_BASE; in s_init() local
238 writel(0x00000001, &hpb->hpbctrl6); in s_init()
239 cmp_loop(&hpb->hpbctrl6, 0x1, 0x1); in s_init()