Searched refs:sg_used (Results 1 – 4 of 4) sorted by relevance
/linux-6.6.21/drivers/dma/xilinx/ |
D | xilinx_dma.c | 609 dma_addr_t buf_addr, size_t sg_used, in xilinx_axidma_buf() argument 613 hw->buf_addr = lower_32_bits(buf_addr + sg_used + period_len); in xilinx_axidma_buf() 614 hw->buf_addr_msb = upper_32_bits(buf_addr + sg_used + in xilinx_axidma_buf() 617 hw->buf_addr = buf_addr + sg_used + period_len; in xilinx_axidma_buf() 623 dma_addr_t buf_addr, size_t sg_used) in xilinx_aximcdma_buf() argument 626 hw->buf_addr = lower_32_bits(buf_addr + sg_used); in xilinx_aximcdma_buf() 627 hw->buf_addr_msb = upper_32_bits(buf_addr + sg_used); in xilinx_aximcdma_buf() 629 hw->buf_addr = buf_addr + sg_used; in xilinx_aximcdma_buf() 2188 size_t sg_used; in xilinx_dma_prep_slave_sg() local 2204 sg_used = 0; in xilinx_dma_prep_slave_sg() [all …]
|
/linux-6.6.21/drivers/crypto/ccp/ |
D | ccp-ops.c | 87 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() 315 scatterwalk_map_and_copy(dm_wa->address, sg_wa->sg, sg_wa->sg_used, in ccp_queue_buf() 321 nbytes = min(sg_dma_len(sg_wa->dma_sg) - sg_wa->sg_used, in ccp_queue_buf() 353 sg_src_len = sg_dma_len(src->sg_wa.dma_sg) - src->sg_wa.sg_used; in ccp_prepare_data() 357 sg_dst_len = sg_dma_len(dst->sg_wa.dma_sg) - dst->sg_wa.sg_used; in ccp_prepare_data() 388 op->src.u.dma.offset = src->sg_wa.sg_used; in ccp_prepare_data() [all …]
|
D | ccp-dev.h | 469 unsigned int sg_used; member
|
/linux-6.6.21/drivers/scsi/ |
D | hpsa.c | 2806 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 …]
|