Lines Matching refs:DeviceCtlBlk

214 	struct DeviceCtlBlk *dcb;
253 struct DeviceCtlBlk { struct
287 struct DeviceCtlBlk *dcb_run_robin; argument
288 struct DeviceCtlBlk *active_dcb;
312 struct DeviceCtlBlk *children[DC395x_MAX_SCSI_ID][32];
364 static u8 start_scsi(struct AdapterCtlBlk *acb, struct DeviceCtlBlk *dcb,
368 static void build_srb(struct scsi_cmnd *cmd, struct DeviceCtlBlk *dcb,
376 static void srb_done(struct AdapterCtlBlk *acb, struct DeviceCtlBlk *dcb,
378 static void request_sense(struct AdapterCtlBlk *acb, struct DeviceCtlBlk *dcb,
381 struct DeviceCtlBlk *dcb);
691 static struct DeviceCtlBlk *dcb_get_next(struct list_head *head, in dcb_get_next()
692 struct DeviceCtlBlk *pos) in dcb_get_next()
695 struct DeviceCtlBlk* next = NULL; in dcb_get_next()
696 struct DeviceCtlBlk* i; in dcb_get_next()
720 static void free_tag(struct DeviceCtlBlk *dcb, struct ScsiReqBlk *srb) in free_tag()
757 struct DeviceCtlBlk *start = NULL; in waiting_process_next()
758 struct DeviceCtlBlk *pos; in waiting_process_next()
759 struct DeviceCtlBlk *dcb; in waiting_process_next()
834 static struct DeviceCtlBlk *find_dcb(struct AdapterCtlBlk *acb, u8 id, u8 lun) in find_dcb()
843 struct DeviceCtlBlk *dcb = srb->dcb; in send_srb()
862 static void build_srb(struct scsi_cmnd *cmd, struct DeviceCtlBlk *dcb, in build_srb()
965 struct DeviceCtlBlk *dcb; in dc395x_queue_command_lck()
1040 struct DeviceCtlBlk *dcb, struct ScsiReqBlk *srb) in DEF_SCSI_QCMD()
1121 struct DeviceCtlBlk *dcb; in reset_dev_param()
1217 struct DeviceCtlBlk *dcb; in dc395x_eh_abort()
1251 static void build_sdtr(struct AdapterCtlBlk *acb, struct DeviceCtlBlk *dcb, in build_sdtr()
1275 static void build_wdtr(struct AdapterCtlBlk *acb, struct DeviceCtlBlk *dcb, in build_wdtr()
1332 static u8 start_scsi(struct AdapterCtlBlk* acb, struct DeviceCtlBlk* dcb, in start_scsi()
1542 struct DeviceCtlBlk *dcb; in dc395x_handle_interrupt()
1739 struct DeviceCtlBlk *dcb; in command_phase1()
1882 struct DeviceCtlBlk *dcb = srb->dcb; in data_out_phase0()
2247 struct DeviceCtlBlk *dcb = srb->dcb; in data_io_transfer()
2474 struct DeviceCtlBlk *dcb, u8 tag) in msgin_qtag()
2527 struct DeviceCtlBlk *dcb) in reprogram_regs()
2539 struct DeviceCtlBlk *dcb = srb->dcb; in msgin_set_async()
2562 struct DeviceCtlBlk *dcb = srb->dcb; in msgin_set_sync()
2636 struct DeviceCtlBlk *dcb = srb->dcb; in msgin_set_nowide()
2654 struct DeviceCtlBlk *dcb = srb->dcb; in msgin_set_wide()
2707 struct DeviceCtlBlk *dcb = acb->active_dcb; in msgin_phase0()
2843 static void set_xfer_rate(struct AdapterCtlBlk *acb, struct DeviceCtlBlk *dcb) in set_xfer_rate()
2845 struct DeviceCtlBlk *i; in set_xfer_rate()
2868 struct DeviceCtlBlk *dcb = acb->active_dcb; in disconnect()
2964 struct DeviceCtlBlk *dcb = acb->active_dcb; in reselect()
3075 static void disc_tagq_set(struct DeviceCtlBlk *dcb, struct ScsiInqData *ptr) in disc_tagq_set()
3096 static void add_dev(struct AdapterCtlBlk *acb, struct DeviceCtlBlk *dcb, in add_dev()
3150 static void srb_done(struct AdapterCtlBlk *acb, struct DeviceCtlBlk *dcb, in srb_done()
3343 struct DeviceCtlBlk *dcb; in doing_srb_done()
3487 static void request_sense(struct AdapterCtlBlk *acb, struct DeviceCtlBlk *dcb, in request_sense()
3543 static struct DeviceCtlBlk *device_alloc(struct AdapterCtlBlk *acb, in device_alloc()
3548 struct DeviceCtlBlk *dcb; in device_alloc()
3550 dcb = kmalloc(sizeof(struct DeviceCtlBlk), GFP_ATOMIC); in device_alloc()
3588 struct DeviceCtlBlk *p = NULL, *iter; in device_alloc()
3622 struct DeviceCtlBlk *dcb) in adapter_add_device()
3650 struct DeviceCtlBlk *dcb) in adapter_remove_device()
3652 struct DeviceCtlBlk *i; in adapter_remove_device()
3653 struct DeviceCtlBlk *tmp; in adapter_remove_device()
3685 struct DeviceCtlBlk *dcb) in adapter_remove_and_free_device()
3707 struct DeviceCtlBlk *dcb; in adapter_remove_and_free_all_devices()
3708 struct DeviceCtlBlk *tmp; in adapter_remove_and_free_all_devices()
3727 struct DeviceCtlBlk *dcb; in dc395x_slave_alloc()
3747 struct DeviceCtlBlk *dcb = find_dcb(acb, scsi_device->id, scsi_device->lun); in dc395x_slave_destroy()
4367 sizeof(struct DeviceCtlBlk), sizeof(struct ScsiReqBlk)); in adapter_init()
4444 struct DeviceCtlBlk *dcb; in dc395x_show_info()