Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/scsi/mpt2sas/mpi/
Dmpi2.h974 #define MPI2_pSGE_GET_FLAGS(psg) MPI2_SGE_GET_FLAGS((psg)->FlagsLength) argument
975 #define MPI2_pSGE_GET_LENGTH(psg) MPI2_SGE_LENGTH((psg)->FlagsLength) argument
976 #define MPI2_pSGE_SET_FLAGS_LENGTH(psg,f,l) (psg)->FlagsLength = MPI2_SGE_SET_FLAGS_LENGTH(f,l) argument
979 #define MPI2_pSGE_SET_FLAGS(psg,f) (psg)->FlagsLength |= MPI2_SGE_SET_FLAGS(f) argument
980 #define MPI2_pSGE_SET_LENGTH(psg,l) (psg)->FlagsLength |= MPI2_SGE_LENGTH(l) argument
1094 #define MPI2_IEEE32_pSGE_GET_FLAGS(psg) MPI2_IEEE32_SGE_GET_FLAGS((psg)->FlagsLength) argument
1095 #define MPI2_IEEE32_pSGE_GET_LENGTH(psg) MPI2_IEEE32_SGE_LENGTH((psg)->FlagsLength) argument
1096 #define MPI2_IEEE32_pSGE_SET_FLAGS_LENGTH(psg,f,l) (psg)->FlagsLength = MPI2_IEEE32_SGE_SET_FLAGS_… argument
1099 #define MPI2_IEEE32_pSGE_SET_FLAGS(psg,f) (psg)->FlagsLength |= MPI2_IEEE32_SGE_SET_FLAGS(f) argument
1100 #define MPI2_IEEE32_pSGE_SET_LENGTH(psg,l) (psg)->FlagsLength |= MPI2_IEEE32_SGE_LENGTH(l) argument
/linux-3.4.99/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
/linux-3.4.99/drivers/scsi/aacraid/
Dcommctrl.c587 struct sgmap64* psg = (struct sgmap64*)&srbcmd->sg; in aac_send_raw_srb() local
628 psg->sg[i].addr[0] = cpu_to_le32(addr & 0xffffffff); in aac_send_raw_srb()
629 psg->sg[i].addr[1] = cpu_to_le32(addr>>32); in aac_send_raw_srb()
631 psg->sg[i].count = cpu_to_le32(upsg->sg[i].count); in aac_send_raw_srb()
681 psg->sg[i].addr[0] = cpu_to_le32(addr & 0xffffffff); in aac_send_raw_srb()
682 psg->sg[i].addr[1] = cpu_to_le32(addr>>32); in aac_send_raw_srb()
684 psg->sg[i].count = cpu_to_le32(usg->sg[i].count); in aac_send_raw_srb()
689 psg->count = cpu_to_le32(sg_indx+1); in aac_send_raw_srb()
693 struct sgmap* psg = &srbcmd->sg; in aac_send_raw_srb() local
731 psg->sg[i].addr = cpu_to_le32(addr & 0xffffffff); in aac_send_raw_srb()
[all …]
Daachba.c136 static unsigned long aac_build_sg64(struct scsi_cmnd* scsicmd, struct sgmap64* psg);
137 static unsigned long aac_build_sgraw(struct scsi_cmnd* scsicmd, struct sgmapraw* psg);
2822 static unsigned long aac_build_sg(struct scsi_cmnd* scsicmd, struct sgmap* psg) in aac_build_sg() argument
2830 psg->count = 0; in aac_build_sg()
2831 psg->sg[0].addr = 0; in aac_build_sg()
2832 psg->sg[0].count = 0; in aac_build_sg()
2840 psg->count = cpu_to_le32(nseg); in aac_build_sg()
2843 psg->sg[i].addr = cpu_to_le32(sg_dma_address(sg)); in aac_build_sg()
2844 psg->sg[i].count = cpu_to_le32(sg_dma_len(sg)); in aac_build_sg()
2849 u32 temp = le32_to_cpu(psg->sg[i-1].count) - in aac_build_sg()
[all …]
/linux-3.4.99/drivers/media/video/gspca/
Dt613.c1185 u16 psg, nsg; in sd_setgain() local
1187 psg = sd->red_gain + sd->blue_gain + sd->green_gain; in sd_setgain()
1189 sd->red_gain = sd->red_gain * nsg / psg; in sd_setgain()
1194 sd->blue_gain = sd->blue_gain * nsg / psg; in sd_setgain()
1199 sd->green_gain = sd->green_gain * nsg / psg; in sd_setgain()
/linux-3.4.99/drivers/scsi/
Dhptiop.c677 static int hptiop_buildsgl(struct scsi_cmnd *scp, struct hpt_iopsg *psg) in hptiop_buildsgl() argument
695 psg[idx].pci_address = cpu_to_le64(sg_dma_address(sg)); in hptiop_buildsgl()
696 psg[idx].size = cpu_to_le32(sg_dma_len(sg)); in hptiop_buildsgl()
697 psg[idx].eot = (idx == HPT_SCP(scp)->sgcnt - 1) ? in hptiop_buildsgl()
/linux-3.4.99/drivers/ata/
Dlibata-core.c1731 struct scatterlist *psg = NULL, sg; in ata_exec_internal() local
1737 psg = &sg; in ata_exec_internal()
1741 return ata_exec_internal_sg(dev, tf, cdb, dma_dir, psg, n_elem, in ata_exec_internal()