Home
last modified time | relevance | path

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

/linux/drivers/scsi/mpt3sas/mpi/
H A Dmpi2.h1104 #define MPI2_pSGE_GET_FLAGS(psg) MPI2_SGE_GET_FLAGS((psg)->FlagsLength) argument
1105 #define MPI2_pSGE_GET_LENGTH(psg) MPI2_SGE_LENGTH((psg)->FlagsLength) argument
1106 #define MPI2_pSGE_SET_FLAGS_LENGTH(psg, f, l) ((psg)->FlagsLength = \ argument
1110 #define MPI2_pSGE_SET_FLAGS(psg, f) ((psg)->FlagsLength |= \ argument
1112 #define MPI2_pSGE_SET_LENGTH(psg, l) ((psg)->FlagsLength |= \ argument
1255 #define MPI2_IEEE32_pSGE_GET_FLAGS(psg) \ argument
1256 MPI2_IEEE32_SGE_GET_FLAGS((psg)->FlagsLength)
1257 #define MPI2_IEEE32_pSGE_GET_LENGTH(psg) \ argument
1258 MPI2_IEEE32_SGE_LENGTH((psg)->FlagsLength)
1259 #define MPI2_IEEE32_pSGE_SET_FLAGS_LENGTH(psg, f, l) ((psg)->FlagsLength = \ argument
[all …]
/linux/drivers/message/fusion/lsi/
H 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/drivers/scsi/aacraid/
H A Dcommctrl.c711 struct sgmap64* psg = (struct sgmap64*)&srbcmd->sg; in aac_send_raw_srb() local
756 psg->sg[i].addr[0] = cpu_to_le32(addr & 0xffffffff); in aac_send_raw_srb()
757 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()
812 psg->sg[i].addr[0] = cpu_to_le32(addr & 0xffffffff); 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
[all …]
H A Daachba.c217 static long aac_build_sg64(struct scsi_cmnd *scsicmd, struct sgmap64 *psg);
218 static long aac_build_sgraw(struct scsi_cmnd *scsicmd, struct sgmapraw *psg);
3792 static long aac_build_sg(struct scsi_cmnd *scsicmd, struct sgmap *psg) in aac_build_sg() argument
3800 psg->count = 0; in aac_build_sg()
3801 psg->sg[0].addr = 0; in aac_build_sg()
3802 psg->sg[0].count = 0; in aac_build_sg()
3808 psg->count = cpu_to_le32(nseg); in aac_build_sg()
3811 psg->sg[i].addr = cpu_to_le32(sg_dma_address(sg)); in aac_build_sg()
3812 psg->sg[i].count = cpu_to_le32(sg_dma_len(sg)); in aac_build_sg()
3817 u32 temp = le32_to_cpu(psg->sg[i-1].count) - in aac_build_sg()
[all …]