Home
last modified time | relevance | path

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

/NextBSD/sys/dev/arcmsr/
HDarcmsr.c157 static void arcmsr_free_srb(struct CommandControlBlock *srb);
177 static void arcmsr_srb_complete(struct CommandControlBlock *srb, int stand_flag);
179 static void arcmsr_report_sense_info(struct CommandControlBlock *srb);
180 static void arcmsr_build_srb(struct CommandControlBlock *srb, bus_dma_segment_t *dm_segs, u_int32_t…
654 static void arcmsr_report_sense_info(struct CommandControlBlock *srb) in arcmsr_report_sense_info() argument
656 union ccb *pccb = srb->pccb; in arcmsr_report_sense_info()
662 memcpy(&pccb->csio.sense_data, srb->arcmsr_cdb.SenseData, in arcmsr_report_sense_info()
743 static void arcmsr_srb_complete(struct CommandControlBlock *srb, int stand_flag) in arcmsr_srb_complete() argument
745 struct AdapterControlBlock *acb = srb->acb; in arcmsr_srb_complete()
746 union ccb *pccb = srb->pccb; in arcmsr_srb_complete()
[all …]
/NextBSD/sys/dev/aac/
HDaac_cam.c260 struct aac_srb *srb; in aac_cam_action() local
403 srb = (struct aac_srb *)&fib->data[0]; in aac_cam_action()
408 srb->flags = AAC_SRB_FLAGS_DATA_IN; in aac_cam_action()
412 srb->flags = AAC_SRB_FLAGS_DATA_OUT; in aac_cam_action()
416 srb->flags = AAC_SRB_FLAGS_NO_DATA_XFER; in aac_cam_action()
419 srb->flags = AAC_SRB_FLAGS_UNSPECIFIED_DIRECTION; in aac_cam_action()
429 srb->function = AAC_SRB_FUNC_EXECUTE_SCSI; in aac_cam_action()
435 srb->cdb_len = csio->cdb_len; in aac_cam_action()
437 bcopy(csio->cdb_io.cdb_ptr, (u_int8_t *)&srb->cdb[0], in aac_cam_action()
438 srb->cdb_len); in aac_cam_action()
[all …]
/NextBSD/sys/dev/hptiop/
HDhptiop.c124 struct hpt_iop_srb *srb,
127 struct hpt_iop_srb *srb,
130 struct hpt_iop_srb *srb,
141 static void hptiop_free_srb(struct hpt_iop_hba *hba, struct hpt_iop_srb *srb);
332 struct hpt_iop_srb *srb; in hptiop_request_callback_itl() local
342 srb = hba->srb[index & ~(u_int32_t) in hptiop_request_callback_itl()
345 req = (struct hpt_iop_request_scsi_command *)srb; in hptiop_request_callback_itl()
351 srb = hba->srb[index & in hptiop_request_callback_itl()
353 req = (struct hpt_iop_request_scsi_command *)srb; in hptiop_request_callback_itl()
380 srb = (struct hpt_iop_srb *)(unsigned long)temp64; in hptiop_request_callback_itl()
[all …]
HDhptiop.h423 struct hpt_iop_srb* srb[HPT_SRB_MAX_QUEUE_SIZE]; member
449 …void (*post_req)(struct hpt_iop_hba *hba, struct hpt_iop_srb *srb, bus_dma_segment_t *segs, int ns…
/NextBSD/sys/dev/aacraid/
HDaacraid_cam.c857 struct aac_srb *srb; in aac_passthrough_command() local
898 srb = (struct aac_srb *)&fib->data[0]; in aac_passthrough_command()
899 srb->function = AAC_SRB_FUNC_EXECUTE_SCSI; in aac_passthrough_command()
901 srb->flags = AAC_SRB_FLAGS_UNSPECIFIED_DIRECTION; in aac_passthrough_command()
903 srb->flags = AAC_SRB_FLAGS_DATA_IN; in aac_passthrough_command()
905 srb->flags = AAC_SRB_FLAGS_DATA_OUT; in aac_passthrough_command()
907 srb->flags = AAC_SRB_FLAGS_NO_DATA_XFER; in aac_passthrough_command()
913 srb->cdb_len = ccb->csio.cdb_len; in aac_passthrough_command()
915 bcopy(ccb->csio.cdb_io.cdb_ptr, (u_int8_t *)&srb->cdb[0], in aac_passthrough_command()
916 srb->cdb_len); in aac_passthrough_command()
[all …]
/NextBSD/sys/arm/freescale/imx/
HDimx_i2c.c213 int retry, srb; in wait_for_busbusy() local
217 srb = i2c_read_reg(sc, I2C_STATUS_REG) & I2CSR_MBB; in wait_for_busbusy()
218 if ((srb && wantbusy) || (!srb && !wantbusy)) in wait_for_busbusy()