[go: nahoru, domu]

Searched defs:psg (Results 1 - 5 of 5) sorted by relevance

/drivers/scsi/aacraid/
H A Dcommctrl.c590 struct sgmap64* psg = (struct sgmap64*)&srbcmd->sg; local
631 psg->sg[i].addr[0] = cpu_to_le32(addr & 0xffffffff);
632 psg->sg[i].addr[1] = cpu_to_le32(addr>>32);
634 psg->sg[i].count = cpu_to_le32(upsg->sg[i].count);
684 psg->sg[i].addr[0] = cpu_to_le32(addr & 0xffffffff);
685 psg->sg[i].addr[1] = cpu_to_le32(addr>>32);
687 psg->sg[i].count = cpu_to_le32(usg->sg[i].count);
692 psg->count = cpu_to_le32(sg_indx+1);
696 struct sgmap* psg = &srbcmd->sg; local
734 psg
[all...]
H A Daachba.c136 static long aac_build_sg64(struct scsi_cmnd *scsicmd, struct sgmap64 *psg);
137 static long aac_build_sgraw(struct scsi_cmnd *scsicmd, struct sgmapraw *psg);
2909 static long aac_build_sg(struct scsi_cmnd *scsicmd, struct sgmap *psg) argument
2917 psg->count = 0;
2918 psg->sg[0].addr = 0;
2919 psg->sg[0].count = 0;
2928 psg->count = cpu_to_le32(nseg);
2931 psg->sg[i].addr = cpu_to_le32(sg_dma_address(sg));
2932 psg->sg[i].count = cpu_to_le32(sg_dma_len(sg));
2937 u32 temp = le32_to_cpu(psg
2952 aac_build_sg64(struct scsi_cmnd *scsicmd, struct sgmap64 *psg) argument
2998 aac_build_sgraw(struct scsi_cmnd *scsicmd, struct sgmapraw *psg) argument
[all...]
/drivers/target/
H A Dtarget_core_sbc.c1084 struct scatterlist *dsg, *psg = cmd->t_prot_sg; local
1091 paddr = kmap_atomic(sg_page(psg)) + psg->offset;
1095 if (offset >= psg->length) {
1097 psg = sg_next(psg);
1098 paddr = kmap_atomic(sg_page(psg)) + psg->offset;
1163 struct scatterlist *psg; local
1170 for_each_sg(cmd->t_prot_sg, psg, cm
1205 struct scatterlist *dsg, *psg = cmd->t_prot_sg; local
1260 struct scatterlist *dsg, *psg = sg; local
[all...]
/drivers/scsi/
H A Dhptiop.c857 static int hptiop_buildsgl(struct scsi_cmnd *scp, struct hpt_iopsg *psg) argument
875 psg[idx].pci_address = cpu_to_le64(sg_dma_address(sg)) |
877 psg[idx].size = cpu_to_le32(sg_dma_len(sg));
878 psg[idx].eot = (idx == HPT_SCP(scp)->sgcnt - 1) ?
/drivers/ata/
H A Dlibata-core.c1735 struct scatterlist *psg = NULL, sg; local
1741 psg = &sg;
1745 return ata_exec_internal_sg(dev, tf, cdb, dma_dir, psg, n_elem,

Completed in 78 milliseconds