Searched refs:cam_ch (Results 1 - 11 of 11) sorted by relevance

/haiku-fatelf/src/add-ons/kernel/busses/scsi/usb/
H A Dfake_device.c29 if(ccbio->cam_ch.cam_flags & CAM_SCATTER_VALID){
53 ccbio->cam_ch.cam_status = CAM_REQ_CMP_ERR | CAM_AUTOSNS_VALID;
56 ccbio->cam_ch.cam_status = CAM_REQ_CMP_ERR;
73 if(ccbio->cam_ch.cam_flags & CAM_CDB_POINTER){
86 ccbio->cam_ch.cam_status = CAM_REQ_CMP;
90 ccbio->cam_ch.cam_status = CAM_REQ_INVALID;
H A Dproto_common.c85 ccbio->cam_ch.cam_status = CAM_REQ_CMP;
93 uint8 lun = ((ccbio->cam_ch.cam_target_lun) << CMD_LUN_SHIFT) & CMD_LUN;
104 ccbio->cam_ch.cam_status = CAM_IDE; //?????????
113 ccbio->cam_ch.cam_status = CAM_REQ_CMP_ERR;
117 ccbio->cam_ch.cam_status = CAM_IDE;
138 ccbio->cam_ch.cam_status = CAM_REQ_CMP;
142 ccbio->cam_ch.cam_status = CAM_REQ_CMP_ERR | CAM_AUTOSNS_VALID;
146 ccbio->cam_ch.cam_status = CAM_REQ_CMP;
147 // ccbio->cam_ch.cam_status = CAM_REQ_CMP_ERR /*| CAM_AUTOSNS_VALID*/;
157 ccbio->cam_ch
[all...]
H A Dusb_scsi.c505 int target_id = ccbio->cam_ch.cam_target_id;
506 uint8 target_lun = ccbio->cam_ch.cam_target_lun;
518 ccbio->cam_ch.cam_status = CAM_DEV_NOT_THERE;
528 ccbio->cam_ch.cam_status = CAM_REQ_INVALID;
548 uint8 target_lun = ccbio->cam_ch.cam_target_lun;
610 ccbio->cam_ch.cam_status = CAM_REQ_CMP;
614 ccbio->cam_ch.cam_status = CAM_REQ_INVALID;
625 bool b_cmd_ok = (ccbio->cam_ch.cam_status == CAM_REQ_CMP);
626 uint8 target_lun = ccbio->cam_ch.cam_target_lun;
637 ccbio->cam_ch
[all...]
H A Dsg_buffer.c34 if(ccbio->cam_ch.cam_flags & CAM_SCATTER_VALID) {
H A Dtracing.c230 usb_scsi_trace_CCB_HEADER(&ccbio->cam_ch);
H A Dproto_bulk.c333 .lun = ccbio->cam_ch.cam_target_lun & 0xf,
/haiku-fatelf/headers/os/device/
H A DCAM.h139 CCB_HEADER cam_ch; /* Header information fields */ member in struct:ccb_getdev
147 CCB_HEADER cam_ch; /* Header information fields */ member in struct:ccb_pathinq
168 CCB_HEADER cam_ch; /* Header information fields */ member in struct:ccb_relsim
174 CCB_HEADER cam_ch; /* Header information fields */ member in struct:ccb_scsiio
204 CCB_HEADER cam_ch; /* Header information fields */ member in struct:ccb_setasync
214 CCB_HEADER cam_ch; /* Header information fields */ member in struct:ccb_setdev
223 CCB_HEADER cam_ch; /* Header information fields */ member in struct:ccb_abort
230 CCB_HEADER cam_ch; /* Header information fields */ member in struct:ccb_resetbus
236 CCB_HEADER cam_ch; /* Header information fields */ member in struct:ccb_resetdev
242 CCB_HEADER cam_ch; /* Heade member in struct:ccb_termio
251 CCB_HEADER cam_ch; /* Header information fields */ member in struct:ccb_en_lun
261 CCB_HEADER cam_ch; /* Header information fields */ member in struct:ccb_enable_lun
274 CCB_HEADER cam_ch; /* Header information fields */ member in struct:ccb_immed_notify
288 CCB_HEADER cam_ch; /* Header information fields */ member in struct:ccb_notify_ack
297 CCB_HEADER cam_ch; /* Header information fields */ member in struct:ccb_accept_targ
332 CCB_HEADER cam_ch; /* Header information fields */ member in struct:ccb_eng_inq
341 CCB_HEADER cam_ch; /* Header information fields */ member in struct:ccb_eng_exec
[all...]
/haiku-fatelf/src/add-ons/kernel/busses/scsi/buslogic/
H A Dbuslogic.c405 ccb->cam_ch.cam_status = CAM_REQ_INVALID;
428 if(ccb->cam_ch.cam_flags & CAM_CDB_POINTER) {
439 bl_ccb->target_id = ccb->cam_ch.cam_target_id;
440 bl_ccb->lun_tag = ccb->cam_ch.cam_target_lun & 0x07;
453 if(ccb->cam_ch.cam_flags & CAM_SCATTER_VALID){
485 ccb->cam_ch.cam_status = CAM_REQ_INVALID;
516 ccb->cam_ch.cam_status = CAM_REQ_INVALID;
566 ccb->cam_ch.cam_status = CAM_SEL_TIMEOUT;
569 ccb->cam_ch.cam_status = CAM_DATA_RUN_ERR;
572 ccb->cam_ch
[all...]
/haiku-fatelf/src/add-ons/kernel/busses/scsi/53c8xx/
H A D53c8xx.c845 targ = s->targ + ccb->cam_ch.cam_target_id;
852 if(ccb->cam_ch.cam_flags & CAM_CDB_POINTER) {
861 msg[0] = 0xC0 | (ccb->cam_ch.cam_target_lun & 0x07);
872 targ->inbound = (ccb->cam_ch.cam_flags & CAM_DIR_IN) ? 1 : 0;
874 if(ccb->cam_ch.cam_flags & CAM_SCATTER_VALID){
893 !(ccb->cam_ch.cam_flags & CAM_DIS_AUTOSENSE) &&
898 command[1] = ccb->cam_ch.cam_target_lun << 5;
909 ccb->cam_ch.cam_status |= CAM_AUTOSENSE_FAIL;
911 ccb->cam_ch.cam_status |= CAM_AUTOSNS_VALID;
920 if(!(ccb->cam_ch
[all...]
/haiku-fatelf/src/add-ons/kernel/busses/scsi/usb/datafab/
H A Ddatafab.c558 if(usti->ccbio->cam_ch.cam_flags & CAM_SCATTER_VALID){
/haiku-fatelf/src/add-ons/kernel/busses/scsi/usb/freecom/
H A Dfreecom.c520 if(ccbio->cam_ch.cam_flags & CAM_CDB_POINTER){

Completed in 78 milliseconds