Searched refs:sg_entries (Results 1 – 2 of 2) sorted by relevance
2614 static void ufshcd_sgl_to_prdt(struct ufs_hba *hba, struct ufshcd_lrb *lrbp, int sg_entries, in ufshcd_sgl_to_prdt() argument2621 if (sg_entries) { in ufshcd_sgl_to_prdt()2625 cpu_to_le16(sg_entries * ufshcd_sg_entry_size(hba)); in ufshcd_sgl_to_prdt()2627 lrbp->utr_descriptor_ptr->prd_table_length = cpu_to_le16(sg_entries); in ufshcd_sgl_to_prdt()2631 for_each_sg(sg_list, sg, sg_entries, i) { in ufshcd_sgl_to_prdt()
2813 int sg_entries = sg_nents(sg_dump_data); in iwl_fw_error_ini_dump() local2817 sg_pcopy_from_buffer(sg_dump_data, sg_entries, in iwl_fw_error_ini_dump()