Home
last modified time | relevance | path

Searched refs:ufshcd_sg_entry_size (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/include/ufs/
H A Dufshcd.h1128 static inline size_t ufshcd_sg_entry_size(const struct ufs_hba *hba) in ufshcd_sg_entry_size() function
1139 static inline size_t ufshcd_sg_entry_size(const struct ufs_hba *hba) in ufshcd_sg_entry_size() function
1150 return sizeof(struct utp_transfer_cmd_desc) + SG_ALL * ufshcd_sg_entry_size(hba); in ufshcd_get_ucd_size()
/openbmc/linux/drivers/ufs/core/
H A Dufshcd.c555 prdt_length /= ufshcd_sg_entry_size(hba); in ufshcd_print_tr()
564 ufshcd_sg_entry_size(hba) * prdt_length); in ufshcd_print_tr()
2473 cpu_to_le16(sg_entries * ufshcd_sg_entry_size(hba)); in ufshcd_sgl_to_prdt()
2494 prd = (void *)prd + ufshcd_sg_entry_size(hba); in ufshcd_sgl_to_prdt()