• Home
  • Raw
  • Download

Lines Matching refs:hd

177 	utrd_header_t *hd;  in get_utrd()  local
198 hd = (utrd_header_t *)utrd->header; in get_utrd()
199 hd->ucdba = utrd->upiu & UINT32_MAX; in get_utrd()
200 hd->ucdbau = (utrd->upiu >> 32) & UINT32_MAX; in get_utrd()
202 hd->rul = utrd->size_resp_upiu >> 2; in get_utrd()
203 hd->ruo = utrd->size_upiu >> 2; in get_utrd()
213 utrd_header_t *hd; in ufs_prepare_cmd() local
226 hd = (utrd_header_t *)utrd->header; in ufs_prepare_cmd()
229 hd->i = 1; in ufs_prepare_cmd()
230 hd->ct = CT_UFS_STORAGE; in ufs_prepare_cmd()
231 hd->ocs = OCS_MASK; in ufs_prepare_cmd()
242 hd->dd = DD_OUT; in ufs_prepare_cmd()
247 hd->dd = DD_OUT; in ufs_prepare_cmd()
261 hd->dd = DD_IN; in ufs_prepare_cmd()
278 if (hd->dd == DD_IN) in ufs_prepare_cmd()
280 else if (hd->dd == DD_OUT) in ufs_prepare_cmd()
304 hd->prdtl = utrd->size_prdt >> 2; in ufs_prepare_cmd()
305 hd->prdto = (utrd->size_upiu + utrd->size_resp_upiu) >> 2; in ufs_prepare_cmd()
317 utrd_header_t *hd; in ufs_prepare_query() local
321 hd = (utrd_header_t *)utrd->header; in ufs_prepare_query()
330 hd->i = 1; in ufs_prepare_query()
331 hd->ct = CT_UFS_STORAGE; in ufs_prepare_query()
332 hd->ocs = OCS_MASK; in ufs_prepare_query()
374 utrd_header_t *hd; in ufs_prepare_nop_out() local
382 hd = (utrd_header_t *)utrd->header; in ufs_prepare_nop_out()
385 hd->i = 1; in ufs_prepare_nop_out()
386 hd->ct = CT_UFS_STORAGE; in ufs_prepare_nop_out()
387 hd->ocs = OCS_MASK; in ufs_prepare_nop_out()
418 utrd_header_t *hd; in ufs_check_resp() local
423 hd = (utrd_header_t *)utrd->header; in ufs_check_resp()
425 inv_dcache_range((uintptr_t)hd, UFS_DESC_SIZE); in ufs_check_resp()
436 assert(hd->ocs == OCS_SUCCESS); in ufs_check_resp()
446 utrd_header_t *hd; in dump_upiu() local
449 hd = (utrd_header_t *)utrd->header; in dump_upiu()
451 (unsigned int)(uintptr_t)utrd, hd->ruo, hd->rul, hd->ocs, in dump_upiu()