Home
last modified time | relevance | path

Searched refs:psge (Results 1 – 6 of 6) sorted by relevance

/drivers/message/fusion/
Dmptscsih.c238 char *psge; in mptscsih_AddSGE() local
260 psge = (char *) &pReq->SGL; in mptscsih_AddSGE()
302 mptscsih_add_sge(psge, sgflags | thisxfer, v2); in mptscsih_AddSGE()
305 psge += (sizeof(u32) + sizeof(dma_addr_t)); in mptscsih_AddSGE()
323 mptscsih_add_sge(psge, sgflags | thisxfer, v2); in mptscsih_AddSGE()
370 u32 *ptmp = (u32 *) (psge - (sizeof(u32) + sizeof(dma_addr_t))); in mptscsih_AddSGE()
425 chainSge = (char *) psge; in mptscsih_AddSGE()
427 ioc->name, psge, req_idx)); in mptscsih_AddSGE()
431 psge = (char *) (ioc->ChainBuffer + chain_dma_off); in mptscsih_AddSGE()
436 ioc->name, psge, chain_idx)); in mptscsih_AddSGE()
Dmptctl.c1763 char *psge; in mptctl_do_mpt_command() local
2110 psge = (char *) (((int *) mf) + karg.dataSgeOffset); in mptctl_do_mpt_command()
2144 mpt_add_sge(psge, flagsLength, dma_addr_out); in mptctl_do_mpt_command()
2145 psge += (sizeof(u32) + sizeof(dma_addr_t)); in mptctl_do_mpt_command()
2178 mpt_add_sge(psge, flagsLength, dma_addr_in); in mptctl_do_mpt_command()
2184 mpt_add_sge(psge, flagsLength, (dma_addr_t) -1); in mptctl_do_mpt_command()
Dmptsas.c1266 char *psge; in mptsas_smp_handler() local
1316 psge = (char *) in mptsas_smp_handler()
1330 mpt_add_sge(psge, flagsLength, dma_addr_out); in mptsas_smp_handler()
1331 psge += (sizeof(u32) + sizeof(dma_addr_t)); in mptsas_smp_handler()
1340 mpt_add_sge(psge, flagsLength, dma_addr_in); in mptsas_smp_handler()
Dmptbase.c1176 char *psge; in mpt_host_page_alloc() local
1217 psge = (char *)&ioc_init->HostPageBufferSGE; in mpt_host_page_alloc()
1228 mpt_add_sge(psge, flags_length, ioc->HostPageBuffer_dma); in mpt_host_page_alloc()
/drivers/scsi/arcmsr/
Darcmsr_hba.c890 int8_t *psge = (int8_t *)&arcmsr_cdb->u; in arcmsr_build_ccb() local
922 struct SG32ENTRY *pdma_sg = (struct SG32ENTRY *)psge; in arcmsr_build_ccb()
926 psge += sizeof (struct SG32ENTRY); in arcmsr_build_ccb()
929 struct SG64ENTRY *pdma_sg = (struct SG64ENTRY *)psge; in arcmsr_build_ccb()
934 psge += sizeof (struct SG64ENTRY); in arcmsr_build_ccb()
/drivers/scsi/
Ddc395x.c1937 struct SGentry *psge = srb->segment_x + idx; in sg_verify_length() local
1938 for (; idx < srb->sg_count; psge++, idx++) in sg_verify_length()
1939 len += psge->length; in sg_verify_length()
1956 struct SGentry *psge = srb->segment_x + srb->sg_index; in sg_update_list() local
1969 if (xferred >= psge->length) { in sg_update_list()
1971 xferred -= psge->length; in sg_update_list()
1974 psge->length -= xferred; in sg_update_list()
1975 psge->address += xferred; in sg_update_list()
1984 psge++; in sg_update_list()