Searched refs:hw_sgl (Results 1 – 3 of 3) sorted by relevance
180 static void inc_hw_sgl_sge(struct hisi_acc_hw_sgl *hw_sgl) in inc_hw_sgl_sge() argument182 u16 var = le16_to_cpu(hw_sgl->entry_sum_in_sgl); in inc_hw_sgl_sge()185 hw_sgl->entry_sum_in_sgl = cpu_to_le16(var); in inc_hw_sgl_sge()188 static void update_hw_sgl_sum_sge(struct hisi_acc_hw_sgl *hw_sgl, u16 sum) in update_hw_sgl_sum_sge() argument190 hw_sgl->entry_sum_in_chain = cpu_to_le16(sum); in update_hw_sgl_sum_sge()193 static void clear_hw_sgl_sge(struct hisi_acc_hw_sgl *hw_sgl) in clear_hw_sgl_sge() argument195 struct acc_hw_sge *hw_sge = hw_sgl->sge_entries; in clear_hw_sgl_sge()196 u16 entry_sum = le16_to_cpu(hw_sgl->entry_sum_in_sgl); in clear_hw_sgl_sge()279 struct hisi_acc_hw_sgl *hw_sgl, enum dma_data_direction dir) in hisi_acc_sg_buf_unmap() argument281 if (!dev || !sgl || !hw_sgl) in hisi_acc_sg_buf_unmap()[all …]
156 static void sec_free_hw_sgl(struct sec_hw_sgl *hw_sgl, in sec_free_hw_sgl() argument162 sgl_current = hw_sgl; in sec_free_hw_sgl()
572 struct hisi_acc_hw_sgl *hw_sgl, enum dma_data_direction dir);