Home
last modified time | relevance | path

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

/freebsd-11-stable/sys/dev/mps/mpi/
HDmpi2.h996 #define MPI2_pSGE_GET_FLAGS(psg) MPI2_SGE_GET_FLAGS((psg)->FlagsLength) argument
997 #define MPI2_pSGE_GET_LENGTH(psg) MPI2_SGE_LENGTH((psg)->FlagsLength) argument
998 #define MPI2_pSGE_SET_FLAGS_LENGTH(psg,f,l) (psg)->FlagsLength = MPI2_SGE_SET_FLAGS_LENGTH(f,l) argument
1001 #define MPI2_pSGE_SET_FLAGS(psg,f) (psg)->FlagsLength |= MPI2_SGE_SET_FLAGS(f) argument
1002 #define MPI2_pSGE_SET_LENGTH(psg,l) (psg)->FlagsLength |= MPI2_SGE_LENGTH(l) argument
1110 #define MPI2_IEEE32_pSGE_GET_FLAGS(psg) MPI2_IEEE32_SGE_GET_FLAGS((psg)->FlagsLength) argument
1111 #define MPI2_IEEE32_pSGE_GET_LENGTH(psg) MPI2_IEEE32_SGE_LENGTH((psg)->FlagsLength) argument
1112 #define MPI2_IEEE32_pSGE_SET_FLAGS_LENGTH(psg,f,l) (psg)->FlagsLength = MPI2_IEEE32_SGE_SET_FLAGS_… argument
1115 #define MPI2_IEEE32_pSGE_SET_FLAGS(psg,f) (psg)->FlagsLength |= MPI2_IEEE32_SGE_SET_FLAGS(f) argument
1116 #define MPI2_IEEE32_pSGE_SET_LENGTH(psg,l) (psg)->FlagsLength |= MPI2_IEEE32_SGE_LENGTH(l) argument
/freebsd-11-stable/sys/dev/mpr/mpi/
HDmpi2.h1167 #define MPI2_pSGE_GET_FLAGS(psg) MPI2_SGE_GET_FLAGS((psg)->FlagsLength) argument
1168 #define MPI2_pSGE_GET_LENGTH(psg) MPI2_SGE_LENGTH((psg)->FlagsLength) argument
1169 #define MPI2_pSGE_SET_FLAGS_LENGTH(psg,f,l) (psg)->FlagsLength = MPI2_SGE_SET_FLAGS_LENGTH(f,l) argument
1172 #define MPI2_pSGE_SET_FLAGS(psg,f) (psg)->FlagsLength |= MPI2_SGE_SET_FLAGS(f) argument
1173 #define MPI2_pSGE_SET_LENGTH(psg,l) (psg)->FlagsLength |= MPI2_SGE_LENGTH(l) argument
1319 #define MPI2_IEEE32_pSGE_GET_FLAGS(psg) MPI2_IEEE32_SGE_GET_FLAGS((psg)->FlagsLength) argument
1320 #define MPI2_IEEE32_pSGE_GET_LENGTH(psg) MPI2_IEEE32_SGE_LENGTH((psg)->FlagsLength) argument
1321 #define MPI2_IEEE32_pSGE_SET_FLAGS_LENGTH(psg,f,l) (psg)->FlagsLength = MPI2_IEEE32_SGE_SET_FLAGS_… argument
1324 #define MPI2_IEEE32_pSGE_SET_FLAGS(psg,f) (psg)->FlagsLength |= MPI2_IEEE32_SGE_SET_FLAGS(f) argument
1325 #define MPI2_IEEE32_pSGE_SET_LENGTH(psg,l) (psg)->FlagsLength |= MPI2_IEEE32_SGE_LENGTH(l) argument
/freebsd-11-stable/sys/dev/mpt/mpilib/
HDmpi.h618 #define MPI_pSGE_GET_FLAGS(psg) MPI_SGE_GET_FLAGS((psg)->FlagsLength) argument
619 #define MPI_pSGE_GET_LENGTH(psg) MPI_SGE_LENGTH((psg)->FlagsLength) argument
620 #define MPI_pSGE_SET_FLAGS_LENGTH(psg,f,l) (psg)->FlagsLength = MPI_SGE_SET_FLAGS_LENGTH(f,l) argument
622 #define MPI_pSGE_SET_FLAGS(psg,f) (psg)->FlagsLength |= MPI_SGE_SET_FLAGS(f) argument
623 #define MPI_pSGE_SET_LENGTH(psg,l) (psg)->FlagsLength |= MPI_SGE_LENGTH(l) argument
/freebsd-11-stable/sys/dev/hptrr/
HDosm.h139 #define os_kmap_sgptr(psg) (psg->addr._logical) argument
141 #define os_set_sgptr(psg, ptr) (psg)->addr._logical = (ptr) argument
HDhptrr_osm_bsd.c505 PSG psg = pCmd->psg; in hpt_io_dmamap_callback() local
516 for (idx = 0; idx < nsegs; idx++, psg++) { in hpt_io_dmamap_callback()
517 psg->addr.bus = segs[idx].ds_addr; in hpt_io_dmamap_callback()
518 psg->size = segs[idx].ds_len; in hpt_io_dmamap_callback()
519 psg->eot = 0; in hpt_io_dmamap_callback()
521 psg[-1].eot = 1; in hpt_io_dmamap_callback()
715 pCmd->psg = ext->psg; in hpt_scsi_io()
HDhim.h413 PSG psg; member
416 int (*buildsgl)(struct _COMMAND *cmd, PSG psg, int logical);
HDos_bsd.h160 SG psg[os_max_sg_descriptors]; member
/freebsd-11-stable/sys/dev/hpt27xx/
HDosm.h174 #define os_kmap_sgptr(psg) (psg->addr._logical) argument
176 #define os_set_sgptr(psg, ptr) (psg)->addr._logical = (ptr) argument
HDhpt27xx_osm_bsd.c533 PSG psg = pCmd->psg; in hpt_io_dmamap_callback() local
544 for (idx = 0; idx < nsegs; idx++, psg++) { in hpt_io_dmamap_callback()
545 psg->addr.bus = segs[idx].ds_addr; in hpt_io_dmamap_callback()
546 psg->size = segs[idx].ds_len; in hpt_io_dmamap_callback()
547 psg->eot = 0; in hpt_io_dmamap_callback()
549 psg[-1].eot = 1; in hpt_io_dmamap_callback()
819 pCmd->psg = ext->psg; in hpt_scsi_io()
829 pCmd->psg[idx].addr.bus = sgList[idx].ds_addr; in hpt_scsi_io()
830 pCmd->psg[idx].size = sgList[idx].ds_len; in hpt_scsi_io()
831 pCmd->psg[idx].eot = (idx==ccb->csio.sglist_cnt-1)? 1 : 0; in hpt_scsi_io()
HDhim.h471 PSG psg; member
474 int (*buildsgl)(struct _COMMAND *cmd, PSG psg, int logical);
HDos_bsd.h159 SG psg[os_max_sg_descriptors]; member
/freebsd-11-stable/sys/dev/hptnr/
HDosm.h172 #define os_kmap_sgptr(psg) (psg->addr._logical) argument
174 #define os_set_sgptr(psg, ptr) (psg)->addr._logical = (ptr) argument
HDhptnr_osm_bsd.c540 PSG psg = pCmd->psg; in hpt_io_dmamap_callback() local
551 for (idx = 0; idx < nsegs; idx++, psg++) { in hpt_io_dmamap_callback()
552 psg->addr.bus = segs[idx].ds_addr; in hpt_io_dmamap_callback()
553 psg->size = segs[idx].ds_len; in hpt_io_dmamap_callback()
554 psg->eot = 0; in hpt_io_dmamap_callback()
556 psg[-1].eot = 1; in hpt_io_dmamap_callback()
736 pCmd->psg = ext->psg; in hpt_scsi_io()
1065 pCmd->psg = ext->psg; in hpt_scsi_io()
HDhim.h458 PSG psg; member
461 int (*buildsgl)(struct _COMMAND *cmd, PSG psg, int logical);
HDos_bsd.h159 SG psg[os_max_sg_descriptors]; member
/freebsd-11-stable/sys/dev/hptiop/
HDhptiop.c2420 struct hpt_iopsg *psg = req.sg_list; in hptiop_post_req_itl() local
2421 for (idx = 0; idx < nsegs; idx++, psg++) { in hptiop_post_req_itl()
2422 psg->pci_address = (u_int64_t)segs[idx].ds_addr; in hptiop_post_req_itl()
2423 psg->size = segs[idx].ds_len; in hptiop_post_req_itl()
2424 psg->eot = 0; in hptiop_post_req_itl()
2426 psg[-1].eot = 1; in hptiop_post_req_itl()
2460 struct hpt_iopsg *psg = req->sg_list; in hptiop_post_req_itl() local
2461 for (idx = 0; idx < nsegs; idx++, psg++) { in hptiop_post_req_itl()
2462 psg->pci_address = in hptiop_post_req_itl()
2464 psg->size = segs[idx].ds_len; in hptiop_post_req_itl()
[all …]
/freebsd-11-stable/sys/dev/hptmv/
HDentry.c2274 memset((void *)pmap->psg, 0, sizeof(pmap->psg)); in hpt_action()
2630 FPSCAT_GATH psg = pCmd->pSgTable; in hpt_io_dmamap_callback() local
2642 for (idx = 0; idx < nsegs; idx++, psg++) { in hpt_io_dmamap_callback()
2643 psg->dSgAddress = (ULONG_PTR)(UCHAR *)segs[idx].ds_addr; in hpt_io_dmamap_callback()
2644 psg->wSgSize = segs[idx].ds_len; in hpt_io_dmamap_callback()
2645 psg->wSgFlag = (idx == nsegs-1)? SG_FLAG_EOT: 0; in hpt_io_dmamap_callback()
2792 pCmd->pSgTable = pmap->psg; in OsSendCommand()
HDosbsd.h146 SCAT_GATH psg[MAX_SG_DESCRIPTORS]; member
/freebsd-11-stable/sys/dev/trm/
HDtrm.c433 PSEG psg; in trm_ExecuteSRB() local
439 psg = pSRB->pSRBSGL; in trm_ExecuteSRB()
441 psg->address = dm_segs->ds_addr; in trm_ExecuteSRB()
442 psg->length = (u_long)dm_segs->ds_len; in trm_ExecuteSRB()
444 psg++; in trm_ExecuteSRB()