Home
last modified time | relevance | path

Searched refs:sg_used (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/drivers/dma/xilinx/
Dxilinx_dma.c602 dma_addr_t buf_addr, size_t sg_used, in xilinx_axidma_buf() argument
606 hw->buf_addr = lower_32_bits(buf_addr + sg_used + period_len); in xilinx_axidma_buf()
607 hw->buf_addr_msb = upper_32_bits(buf_addr + sg_used + in xilinx_axidma_buf()
610 hw->buf_addr = buf_addr + sg_used + period_len; in xilinx_axidma_buf()
616 dma_addr_t buf_addr, size_t sg_used) in xilinx_aximcdma_buf() argument
619 hw->buf_addr = lower_32_bits(buf_addr + sg_used); in xilinx_aximcdma_buf()
620 hw->buf_addr_msb = upper_32_bits(buf_addr + sg_used); in xilinx_aximcdma_buf()
622 hw->buf_addr = buf_addr + sg_used; in xilinx_aximcdma_buf()
2152 size_t sg_used; in xilinx_dma_prep_slave_sg() local
2168 sg_used = 0; in xilinx_dma_prep_slave_sg()
[all …]
/linux-6.1.9/drivers/crypto/ccp/
Dccp-ops.c87 wa->sg_used = 0; in ccp_init_sg_workarea()
114 wa->sg_used += nbytes; in ccp_update_sg_workarea()
116 if (wa->sg_used == sg_dma_len(wa->dma_sg)) { in ccp_update_sg_workarea()
129 } while (wa->sg_used > sg_combined_len); in ccp_update_sg_workarea()
131 wa->sg_used = 0; in ccp_update_sg_workarea()
312 scatterwalk_map_and_copy(dm_wa->address, sg_wa->sg, sg_wa->sg_used, in ccp_queue_buf()
318 nbytes = min(sg_dma_len(sg_wa->dma_sg) - sg_wa->sg_used, in ccp_queue_buf()
350 sg_src_len = sg_dma_len(src->sg_wa.dma_sg) - src->sg_wa.sg_used; in ccp_prepare_data()
354 sg_dst_len = sg_dma_len(dst->sg_wa.dma_sg) - dst->sg_wa.sg_used; in ccp_prepare_data()
385 op->src.u.dma.offset = src->sg_wa.sg_used; in ccp_prepare_data()
[all …]
Dccp-dev.h469 unsigned int sg_used; member
/linux-6.1.9/drivers/scsi/
Dhpsa.c2806 int sg_used, enum dma_data_direction data_direction) in hpsa_pci_unmap() argument
2810 for (i = 0; i < sg_used; i++) in hpsa_pci_unmap()
6499 BYTE sg_used = 0; in hpsa_big_passthru_ioctl() local
6530 buff_size[sg_used] = sz; in hpsa_big_passthru_ioctl()
6531 buff[sg_used] = kmalloc(sz, GFP_KERNEL); in hpsa_big_passthru_ioctl()
6532 if (buff[sg_used] == NULL) { in hpsa_big_passthru_ioctl()
6537 if (copy_from_user(buff[sg_used], data_ptr, sz)) { in hpsa_big_passthru_ioctl()
6542 memset(buff[sg_used], 0, sz); in hpsa_big_passthru_ioctl()
6545 sg_used++; in hpsa_big_passthru_ioctl()
6552 c->Header.SGList = (u8) sg_used; in hpsa_big_passthru_ioctl()
[all …]