Home
last modified time | relevance | path

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

/drivers/message/fusion/lsi/
Dmpi.h590 #define MPI_pSGE_GET_FLAGS(psg) MPI_SGE_GET_FLAGS((psg)->FlagsLength) argument
591 #define MPI_pSGE_GET_LENGTH(psg) MPI_SGE_LENGTH((psg)->FlagsLength) argument
592 #define MPI_pSGE_SET_FLAGS_LENGTH(psg,f,l) (psg)->FlagsLength = MPI_SGE_SET_FLAGS_LENGTH(f,l) argument
594 #define MPI_pSGE_SET_FLAGS(psg,f) (psg)->FlagsLength |= MPI_SGE_SET_FLAGS(f) argument
595 #define MPI_pSGE_SET_LENGTH(psg,l) (psg)->FlagsLength |= MPI_SGE_LENGTH(l) argument
/drivers/scsi/aacraid/
Dcommctrl.c585 struct sgmap64* psg = (struct sgmap64*)&srbcmd->sg; in aac_send_raw_srb() local
626 psg->sg[i].addr[0] = cpu_to_le32(addr & 0xffffffff); in aac_send_raw_srb()
627 psg->sg[i].addr[1] = cpu_to_le32(addr>>32); in aac_send_raw_srb()
629 psg->sg[i].count = cpu_to_le32(upsg->sg[i].count); in aac_send_raw_srb()
678 psg->sg[i].addr[0] = cpu_to_le32(addr & 0xffffffff); in aac_send_raw_srb()
679 psg->sg[i].addr[1] = cpu_to_le32(addr>>32); in aac_send_raw_srb()
681 psg->sg[i].count = cpu_to_le32(usg->sg[i].count); in aac_send_raw_srb()
686 psg->count = cpu_to_le32(sg_indx+1); in aac_send_raw_srb()
690 struct sgmap* psg = &srbcmd->sg; in aac_send_raw_srb() local
728 psg->sg[i].addr = cpu_to_le32(addr & 0xffffffff); in aac_send_raw_srb()
[all …]
Daachba.c134 static unsigned long aac_build_sg64(struct scsi_cmnd* scsicmd, struct sgmap64* psg);
135 static unsigned long aac_build_sgraw(struct scsi_cmnd* scsicmd, struct sgmapraw* psg);
2699 static unsigned long aac_build_sg(struct scsi_cmnd* scsicmd, struct sgmap* psg) in aac_build_sg() argument
2707 psg->count = 0; in aac_build_sg()
2708 psg->sg[0].addr = 0; in aac_build_sg()
2709 psg->sg[0].count = 0; in aac_build_sg()
2717 psg->count = cpu_to_le32(nseg); in aac_build_sg()
2720 psg->sg[i].addr = cpu_to_le32(sg_dma_address(sg)); in aac_build_sg()
2721 psg->sg[i].count = cpu_to_le32(sg_dma_len(sg)); in aac_build_sg()
2726 u32 temp = le32_to_cpu(psg->sg[i-1].count) - in aac_build_sg()
[all …]
/drivers/scsi/
Dhptiop.c663 static int hptiop_buildsgl(struct scsi_cmnd *scp, struct hpt_iopsg *psg) in hptiop_buildsgl() argument
681 psg[idx].pci_address = cpu_to_le64(sg_dma_address(sg)); in hptiop_buildsgl()
682 psg[idx].size = cpu_to_le32(sg_dma_len(sg)); in hptiop_buildsgl()
683 psg[idx].eot = (idx == HPT_SCP(scp)->sgcnt - 1) ? in hptiop_buildsgl()
/drivers/ata/
Dlibata-core.c1944 struct scatterlist *psg = NULL, sg; in ata_exec_internal() local
1950 psg = &sg; in ata_exec_internal()
1954 return ata_exec_internal_sg(dev, tf, cdb, dma_dir, psg, n_elem, in ata_exec_internal()