Lines Matching refs:src_in
1060 struct sec_hw_sgl *src_in, dma_addr_t *hw_sgl_dma, in sec_cipher_to_hw_sgl() argument
1063 struct sec_hw_sge *curr_hw_sge = src_in->sge_entries; in sec_cipher_to_hw_sgl()
1085 src_in->entry_sum_in_sgl = cpu_to_le16(sge_var); in sec_cipher_to_hw_sgl()
1086 src_in->entry_sum_in_chain = cpu_to_le16(SEC_SGE_NR_NUM); in sec_cipher_to_hw_sgl()
1087 src_in->entry_length_in_sgl = cpu_to_le16(SEC_SGE_NR_NUM); in sec_cipher_to_hw_sgl()
1088 *hw_sgl_dma = dma_map_single(dev, src_in, sizeof(struct sec_hw_sgl), dma_dir); in sec_cipher_to_hw_sgl()
1098 dma_addr_t src_in, int dma_dir) in sec_cipher_put_hw_sgl() argument
1100 dma_unmap_single(dev, src_in, sizeof(struct sec_hw_sgl), dma_dir); in sec_cipher_put_hw_sgl()
1107 struct sec_hw_sgl *src_in = &req->buf.data_buf.in; in sec_cipher_map_sgl() local
1112 ret = sec_cipher_to_hw_sgl(dev, src, src_in, &req->buf.in_dma, in sec_cipher_map_sgl()
1118 ret = sec_cipher_to_hw_sgl(dev, src, src_in, &req->buf.in_dma, DMA_TO_DEVICE); in sec_cipher_map_sgl()