Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/crypto/hisilicon/
Dsgl.c184 static void inc_hw_sgl_sge(struct hisi_acc_hw_sgl *hw_sgl) in inc_hw_sgl_sge() argument
186 u16 var = le16_to_cpu(hw_sgl->entry_sum_in_sgl); in inc_hw_sgl_sge()
189 hw_sgl->entry_sum_in_sgl = cpu_to_le16(var); in inc_hw_sgl_sge()
192 static void update_hw_sgl_sum_sge(struct hisi_acc_hw_sgl *hw_sgl, u16 sum) in update_hw_sgl_sum_sge() argument
194 hw_sgl->entry_sum_in_chain = cpu_to_le16(sum); in update_hw_sgl_sum_sge()
197 static void clear_hw_sgl_sge(struct hisi_acc_hw_sgl *hw_sgl) in clear_hw_sgl_sge() argument
199 struct acc_hw_sge *hw_sge = hw_sgl->sge_entries; in clear_hw_sgl_sge()
202 for (i = 0; i < le16_to_cpu(hw_sgl->entry_sum_in_sgl); i++) { in clear_hw_sgl_sge()
280 struct hisi_acc_hw_sgl *hw_sgl) in hisi_acc_sg_buf_unmap() argument
282 if (!dev || !sgl || !hw_sgl) in hisi_acc_sg_buf_unmap()
[all …]
/linux-5.19.10/drivers/scsi/
Dmyrs.c1724 struct myrs_sge *hw_sgl; in myrs_queuecommand() local
1729 hw_sgl = dma_pool_alloc(cs->sg_pool, GFP_ATOMIC, in myrs_queuecommand()
1731 if (WARN_ON(!hw_sgl)) { in myrs_queuecommand()
1746 cmd_blk->sgl = hw_sgl; in myrs_queuecommand()
1755 hw_sgl = hw_sge->sge; in myrs_queuecommand()
1758 if (WARN_ON(!hw_sgl)) { in myrs_queuecommand()
1764 hw_sgl->sge_addr = (u64)sg_dma_address(sgl); in myrs_queuecommand()
1765 hw_sgl->sge_count = (u64)sg_dma_len(sgl); in myrs_queuecommand()
1766 hw_sgl++; in myrs_queuecommand()
Dmyrb.c1571 struct myrb_sge *hw_sgl; in myrb_ldev_queuecommand() local
1575 hw_sgl = dma_pool_alloc(cb->sg_pool, GFP_ATOMIC, &hw_sgl_addr); in myrb_ldev_queuecommand()
1576 if (!hw_sgl) in myrb_ldev_queuecommand()
1579 cmd_blk->sgl = hw_sgl; in myrb_ldev_queuecommand()
1594 hw_sgl->sge_addr = (u32)sg_dma_address(sgl); in myrb_ldev_queuecommand()
1595 hw_sgl->sge_count = (u32)sg_dma_len(sgl); in myrb_ldev_queuecommand()
1596 hw_sgl++; in myrb_ldev_queuecommand()
/linux-5.19.10/include/linux/
Dhisi_acc_qm.h479 struct hisi_acc_hw_sgl *hw_sgl);
/linux-5.19.10/drivers/crypto/hisilicon/sec/
Dsec_algs.c156 static void sec_free_hw_sgl(struct sec_hw_sgl *hw_sgl, in sec_free_hw_sgl() argument
162 sgl_current = hw_sgl; in sec_free_hw_sgl()