Home
last modified time | relevance | path

Searched refs:psg (Results 1 – 8 of 8) sorted by relevance

/linux-6.3-rc2/drivers/scsi/mpt3sas/mpi/
A Dmpi2.h1097 #define MPI2_pSGE_GET_FLAGS(psg) MPI2_SGE_GET_FLAGS((psg)->FlagsLength) argument
1098 #define MPI2_pSGE_GET_LENGTH(psg) MPI2_SGE_LENGTH((psg)->FlagsLength) argument
1099 #define MPI2_pSGE_SET_FLAGS_LENGTH(psg, f, l) ((psg)->FlagsLength = \ argument
1103 #define MPI2_pSGE_SET_FLAGS(psg, f) ((psg)->FlagsLength |= \ argument
1105 #define MPI2_pSGE_SET_LENGTH(psg, l) ((psg)->FlagsLength |= \ argument
1248 #define MPI2_IEEE32_pSGE_GET_FLAGS(psg) \ argument
1250 #define MPI2_IEEE32_pSGE_GET_LENGTH(psg) \ argument
1251 MPI2_IEEE32_SGE_LENGTH((psg)->FlagsLength)
1252 #define MPI2_IEEE32_pSGE_SET_FLAGS_LENGTH(psg, f, l) ((psg)->FlagsLength = \ argument
1256 #define MPI2_IEEE32_pSGE_SET_FLAGS(psg, f) ((psg)->FlagsLength |= \ argument
[all …]
/linux-6.3-rc2/drivers/message/fusion/lsi/
A Dmpi.h591 #define MPI_pSGE_GET_FLAGS(psg) MPI_SGE_GET_FLAGS((psg)->FlagsLength) argument
592 #define MPI_pSGE_GET_LENGTH(psg) MPI_SGE_LENGTH((psg)->FlagsLength) argument
593 #define MPI_pSGE_SET_FLAGS_LENGTH(psg,f,l) (psg)->FlagsLength = MPI_SGE_SET_FLAGS_LENGTH(f,l) argument
595 #define MPI_pSGE_SET_FLAGS(psg,f) (psg)->FlagsLength |= MPI_SGE_SET_FLAGS(f) argument
596 #define MPI_pSGE_SET_LENGTH(psg,l) (psg)->FlagsLength |= MPI_SGE_LENGTH(l) argument
/linux-6.3-rc2/drivers/target/
A Dtarget_core_sbc.c1172 paddr = kmap_atomic(sg_page(psg)) + psg->offset; in sbc_dif_generate()
1175 for (j = 0; j < psg->length; in sbc_dif_generate()
1224 kunmap_atomic(paddr - psg->offset); in sbc_dif_generate()
1273 struct scatterlist *psg; in sbc_dif_copy_prot() local
1286 paddr = kmap_atomic(sg_page(psg)) + psg->offset; in sbc_dif_copy_prot()
1287 psg_len = min(left, psg->length); in sbc_dif_copy_prot()
1309 kunmap_atomic(paddr - psg->offset); in sbc_dif_copy_prot()
1328 for (; psg && sector < start + sectors; psg = sg_next(psg)) { in sbc_dif_verify()
1329 paddr = kmap_atomic(sg_page(psg)) + psg->offset; in sbc_dif_verify()
1332 for (i = psg_off; i < psg->length && in sbc_dif_verify()
[all …]
/linux-6.3-rc2/drivers/scsi/aacraid/
A Dcommctrl.c757 psg->sg[i].addr[1] = cpu_to_le32(addr>>32); in aac_send_raw_srb()
759 psg->sg[i].count = cpu_to_le32(sg_count[i]); in aac_send_raw_srb()
813 psg->sg[i].addr[1] = cpu_to_le32(addr>>32); in aac_send_raw_srb()
815 psg->sg[i].count = cpu_to_le32(sg_count[i]); in aac_send_raw_srb()
821 psg->count = cpu_to_le32(sg_indx+1); in aac_send_raw_srb()
823 psg->count = 0; in aac_send_raw_srb()
827 struct sgmap* psg = &srbcmd->sg; in aac_send_raw_srb() local
871 psg->sg[i].count = cpu_to_le32(sg_count[i]); in aac_send_raw_srb()
909 psg->sg[i].addr = cpu_to_le32(addr); in aac_send_raw_srb()
916 psg->count = cpu_to_le32(sg_indx+1); in aac_send_raw_srb()
[all …]
A Daachba.c3802 psg->count = 0; in aac_build_sg()
3803 psg->sg[0].addr = 0; in aac_build_sg()
3804 psg->sg[0].count = 0; in aac_build_sg()
3843 psg->count = 0; in aac_build_sg64()
3846 psg->sg[0].count = 0; in aac_build_sg64()
3885 psg->count = 0; in aac_build_sgraw()
3886 psg->sg[0].next = 0; in aac_build_sgraw()
3887 psg->sg[0].prev = 0; in aac_build_sgraw()
3890 psg->sg[0].count = 0; in aac_build_sgraw()
3891 psg->sg[0].flags = 0; in aac_build_sgraw()
[all …]
/linux-6.3-rc2/drivers/dma/
A Dat_xdmac.c1373 struct scatterlist *sg, *psg = NULL, *ppsg = NULL; in at_xdmac_prep_dma_memset_sg() local
1401 if (psg) in at_xdmac_prep_dma_memset_sg()
1403 (sg_dma_address(psg) + sg_dma_len(psg)); in at_xdmac_prep_dma_memset_sg()
1426 (sg_dma_len(ppsg) == sg_dma_len(psg))) { in at_xdmac_prep_dma_memset_sg()
1461 sg_dma_address(sg) < sg_dma_address(psg)) { in at_xdmac_prep_dma_memset_sg()
1489 sg_dma_len(psg) == sg_dma_len(sg)) { in at_xdmac_prep_dma_memset_sg()
1514 ppsg = psg; in at_xdmac_prep_dma_memset_sg()
1515 psg = sg; in at_xdmac_prep_dma_memset_sg()
/linux-6.3-rc2/drivers/scsi/
A Dhptiop.c846 static int hptiop_buildsgl(struct scsi_cmnd *scp, struct hpt_iopsg *psg) in hptiop_buildsgl() argument
864 psg[idx].pci_address = cpu_to_le64(sg_dma_address(sg)) | in hptiop_buildsgl()
866 psg[idx].size = cpu_to_le32(sg_dma_len(sg)); in hptiop_buildsgl()
867 psg[idx].eot = (idx == HPT_SCP(scp)->sgcnt - 1) ? in hptiop_buildsgl()
/linux-6.3-rc2/drivers/ata/
A Dlibata-core.c1654 struct scatterlist *psg = NULL, sg; in ata_exec_internal() local
1660 psg = &sg; in ata_exec_internal()
1664 return ata_exec_internal_sg(dev, tf, cdb, dma_dir, psg, n_elem, in ata_exec_internal()

Completed in 39 milliseconds