Lines Matching defs:acb
156 #define DC395x_read8(acb,address) (u8)(inb(acb->io_port_base + (address))) argument
157 #define DC395x_read16(acb,address) (u16)(inw(acb->io_port_base + (address))) argument
158 #define DC395x_read32(acb,address) (u32)(inl(acb->io_port_base + (address))) argument
159 #define DC395x_write8(acb,address,value) outb((value), acb->io_port_base + (address)) argument
160 #define DC395x_write16(acb,address,value) outw((value), acb->io_port_base + (address)) argument
161 #define DC395x_write32(acb,address,value) outl((value), acb->io_port_base + (address)) argument
271 struct AdapterCtlBlk *acb; member
757 static struct ScsiReqBlk *srb_get_free(struct AdapterCtlBlk *acb) in srb_get_free()
771 static void srb_free_insert(struct AdapterCtlBlk *acb, struct ScsiReqBlk *srb) in srb_free_insert()
856 static void waiting_set_timer(struct AdapterCtlBlk *acb, unsigned long to) in waiting_set_timer()
873 static void waiting_process_next(struct AdapterCtlBlk *acb) in waiting_process_next()
942 struct AdapterCtlBlk *acb = (struct AdapterCtlBlk *)ptr; in waiting_timeout() local
952 static struct DeviceCtlBlk *find_dcb(struct AdapterCtlBlk *acb, u8 id, u8 lun) in find_dcb()
959 static void send_srb(struct AdapterCtlBlk *acb, struct ScsiReqBlk *srb) in send_srb()
1087 struct AdapterCtlBlk *acb = in dc395x_queue_command_lck() local
1167 struct AdapterCtlBlk *acb; in DEF_SCSI_QCMD() local
1191 static void dump_register_info(struct AdapterCtlBlk *acb, in dump_register_info()
1257 static inline void clear_fifo(struct AdapterCtlBlk *acb, char *txt) in clear_fifo()
1271 static void reset_dev_param(struct AdapterCtlBlk *acb) in reset_dev_param()
1301 struct AdapterCtlBlk *acb = in __dc395x_eh_bus_reset() local
1367 struct AdapterCtlBlk *acb = in dc395x_eh_abort() local
1403 static void build_sdtr(struct AdapterCtlBlk *acb, struct DeviceCtlBlk *dcb, in build_sdtr()
1431 static void build_wdtr(struct AdapterCtlBlk *acb, struct DeviceCtlBlk *dcb, in build_wdtr()
1492 static u8 start_scsi(struct AdapterCtlBlk* acb, struct DeviceCtlBlk* dcb, in start_scsi()
1681 static inline void enable_msgout_abort(struct AdapterCtlBlk *acb, in enable_msgout_abort()
1699 static void dc395x_handle_interrupt(struct AdapterCtlBlk *acb, in dc395x_handle_interrupt()
1805 struct AdapterCtlBlk *acb = dev_id; in dc395x_interrupt() local
1842 static void msgout_phase0(struct AdapterCtlBlk *acb, struct ScsiReqBlk *srb, in msgout_phase0()
1854 static void msgout_phase1(struct AdapterCtlBlk *acb, struct ScsiReqBlk *srb, in msgout_phase1()
1887 static void command_phase0(struct AdapterCtlBlk *acb, struct ScsiReqBlk *srb, in command_phase0()
1895 static void command_phase1(struct AdapterCtlBlk *acb, struct ScsiReqBlk *srb, in command_phase1()
2016 static void cleanup_after_transfer(struct AdapterCtlBlk *acb, in cleanup_after_transfer()
2042 static void data_out_phase0(struct AdapterCtlBlk *acb, struct ScsiReqBlk *srb, in data_out_phase0()
2175 static void data_out_phase1(struct AdapterCtlBlk *acb, struct ScsiReqBlk *srb, in data_out_phase1()
2185 static void data_in_phase0(struct AdapterCtlBlk *acb, struct ScsiReqBlk *srb, in data_in_phase0()
2398 static void data_in_phase1(struct AdapterCtlBlk *acb, struct ScsiReqBlk *srb, in data_in_phase1()
2407 static void data_io_transfer(struct AdapterCtlBlk *acb, in data_io_transfer()
2583 static void status_phase0(struct AdapterCtlBlk *acb, struct ScsiReqBlk *srb, in status_phase0()
2597 static void status_phase1(struct AdapterCtlBlk *acb, struct ScsiReqBlk *srb, in status_phase1()
2623 static inline void msgin_reject(struct AdapterCtlBlk *acb, in msgin_reject()
2637 static struct ScsiReqBlk *msgin_qtag(struct AdapterCtlBlk *acb, in msgin_qtag()
2690 static inline void reprogram_regs(struct AdapterCtlBlk *acb, in reprogram_regs()
2701 static void msgin_set_async(struct AdapterCtlBlk *acb, struct ScsiReqBlk *srb) in msgin_set_async()
2724 static void msgin_set_sync(struct AdapterCtlBlk *acb, struct ScsiReqBlk *srb) in msgin_set_sync()
2797 static inline void msgin_set_nowide(struct AdapterCtlBlk *acb, in msgin_set_nowide()
2816 static void msgin_set_wide(struct AdapterCtlBlk *acb, struct ScsiReqBlk *srb) in msgin_set_wide()
2868 static void msgin_phase0(struct AdapterCtlBlk *acb, struct ScsiReqBlk *srb, in msgin_phase0()
2979 static void msgin_phase1(struct AdapterCtlBlk *acb, struct ScsiReqBlk *srb, in msgin_phase1()
2995 static void nop0(struct AdapterCtlBlk *acb, struct ScsiReqBlk *srb, in nop0()
3001 static void nop1(struct AdapterCtlBlk *acb, struct ScsiReqBlk *srb, in nop1()
3007 static void set_xfer_rate(struct AdapterCtlBlk *acb, struct DeviceCtlBlk *dcb) in set_xfer_rate()
3030 static void disconnect(struct AdapterCtlBlk *acb) in disconnect()
3126 static void reselect(struct AdapterCtlBlk *acb) in reselect()
3262 static void add_dev(struct AdapterCtlBlk *acb, struct DeviceCtlBlk *dcb, in add_dev()
3273 static void pci_unmap_srb(struct AdapterCtlBlk *acb, struct ScsiReqBlk *srb) in pci_unmap_srb()
3294 static void pci_unmap_srb_sense(struct AdapterCtlBlk *acb, in pci_unmap_srb_sense()
3317 static void srb_done(struct AdapterCtlBlk *acb, struct DeviceCtlBlk *dcb, in srb_done()
3524 static void doing_srb_done(struct AdapterCtlBlk *acb, u8 did_flag, in doing_srb_done()
3595 static void reset_scsi_bus(struct AdapterCtlBlk *acb) in reset_scsi_bus()
3606 static void set_basic_config(struct AdapterCtlBlk *acb) in set_basic_config()
3642 static void scsi_reset_detect(struct AdapterCtlBlk *acb) in scsi_reset_detect()
3677 static void request_sense(struct AdapterCtlBlk *acb, struct DeviceCtlBlk *dcb, in request_sense()
3733 static struct DeviceCtlBlk *device_alloc(struct AdapterCtlBlk *acb, in device_alloc()
3802 static void adapter_add_device(struct AdapterCtlBlk *acb, in adapter_add_device()
3830 static void adapter_remove_device(struct AdapterCtlBlk *acb, in adapter_remove_device()
3865 static void adapter_remove_and_free_device(struct AdapterCtlBlk *acb, in adapter_remove_and_free_device()
3886 static void adapter_remove_and_free_all_devices(struct AdapterCtlBlk* acb) in adapter_remove_and_free_all_devices()
3907 struct AdapterCtlBlk *acb = (struct AdapterCtlBlk *)scsi_device->host->hostdata; in dc395x_slave_alloc() local
3927 struct AdapterCtlBlk *acb = (struct AdapterCtlBlk *)scsi_device->host->hostdata; in dc395x_slave_destroy() local
4252 static void adapter_sg_tables_free(struct AdapterCtlBlk *acb) in adapter_sg_tables_free()
4265 static int adapter_sg_tables_alloc(struct AdapterCtlBlk *acb) in adapter_sg_tables_alloc()
4311 static void adapter_print_config(struct AdapterCtlBlk *acb) in adapter_print_config()
4355 static void adapter_init_params(struct AdapterCtlBlk *acb) in adapter_init_params()
4419 struct AdapterCtlBlk *acb = (struct AdapterCtlBlk *)host->hostdata; in adapter_init_scsi_host() local
4453 static void adapter_init_chip(struct AdapterCtlBlk *acb) in adapter_init_chip()
4506 static int adapter_init(struct AdapterCtlBlk *acb, unsigned long io_port, in adapter_init()
4568 static void adapter_uninit_chip(struct AdapterCtlBlk *acb) in adapter_uninit_chip()
4591 static void adapter_uninit(struct AdapterCtlBlk *acb) in adapter_uninit()
4622 struct AdapterCtlBlk *acb = (struct AdapterCtlBlk *)host->hostdata; in dc395x_show_info() local
4780 struct AdapterCtlBlk *acb = NULL; in dc395x_init_one() local
4847 struct AdapterCtlBlk *acb = (struct AdapterCtlBlk *)(scsi_host->hostdata); in dc395x_remove_one() local