Lines Matching refs:TW_Device_Extension
108 static TW_Device_Extension *twa_device_extension_list[TW_MAX_SLOT];
124 static void twa_aen_queue_event(TW_Device_Extension *tw_dev, TW_Command_Apache_Header *header);
125 static int twa_aen_read_queue(TW_Device_Extension *tw_dev, int request_id);
127 static void twa_aen_sync_time(TW_Device_Extension *tw_dev, int request_id);
130 static int twa_fill_sense(TW_Device_Extension *tw_dev, int request_id, int copy_sense, int print_ho…
131 static void twa_free_request_id(TW_Device_Extension *tw_dev,int request_id);
132 static void twa_get_request_id(TW_Device_Extension *tw_dev, int *request_id);
133 static int twa_initconnection(TW_Device_Extension *tw_dev, int message_credits,
143 static void twa_load_sgl(TW_Device_Extension *tw_dev, TW_Command_Full *full_command_packet, int req…
144 static int twa_poll_response(TW_Device_Extension *tw_dev, int request_id, int seconds);
145 static int twa_poll_status_gone(TW_Device_Extension *tw_dev, u32 flag, int seconds);
146 static int twa_post_command_packet(TW_Device_Extension *tw_dev, int request_id, char internal);
147 static int twa_reset_device_extension(TW_Device_Extension *tw_dev);
148 static int twa_reset_sequence(TW_Device_Extension *tw_dev, int soft_reset);
149 static int twa_scsiop_execute_scsi(TW_Device_Extension *tw_dev, int request_id, char *cdb, int use_…
150 static void twa_scsiop_execute_scsi_complete(TW_Device_Extension *tw_dev, int request_id);
152 static void twa_unmap_scsi_data(TW_Device_Extension *tw_dev, int request_id);
161 TW_Device_Extension *tw_dev = (TW_Device_Extension *)host->hostdata; in twa_show_stats()
230 static int twa_aen_complete(TW_Device_Extension *tw_dev, int request_id) in twa_aen_complete()
284 static int twa_aen_drain_queue(TW_Device_Extension *tw_dev, int no_check_reset) in twa_aen_drain_queue()
375 static void twa_aen_queue_event(TW_Device_Extension *tw_dev, TW_Command_Apache_Header *header) in twa_aen_queue_event()
431 static int twa_aen_read_queue(TW_Device_Extension *tw_dev, int request_id) in twa_aen_read_queue()
479 static void twa_aen_sync_time(TW_Device_Extension *tw_dev, int request_id) in twa_aen_sync_time()
523 static int twa_allocate_memory(TW_Device_Extension *tw_dev, int size, int which) in twa_allocate_memory()
577 static int twa_check_srl(TW_Device_Extension *tw_dev, int *flashed) in twa_check_srl()
658 TW_Device_Extension *tw_dev = twa_device_extension_list[iminor(inode)]; in twa_chrdev_ioctl()
903 static int twa_decode_bits(TW_Device_Extension *tw_dev, u32 status_reg_value) in twa_decode_bits()
940 static int twa_empty_response_queue(TW_Device_Extension *tw_dev) in twa_empty_response_queue()
961 static int twa_empty_response_queue_large(TW_Device_Extension *tw_dev) in twa_empty_response_queue_large()
985 static int twa_fill_sense(TW_Device_Extension *tw_dev, int request_id, int copy_sense, int print_ho… in twa_fill_sense()
1031 static void twa_free_device_extension(TW_Device_Extension *tw_dev) in twa_free_device_extension()
1049 static void twa_free_request_id(TW_Device_Extension *tw_dev, int request_id) in twa_free_request_id()
1057 static void *twa_get_param(TW_Device_Extension *tw_dev, int request_id, int table_id, int parameter… in twa_get_param()
1100 static void twa_get_request_id(TW_Device_Extension *tw_dev, int *request_id) in twa_get_request_id()
1108 static int twa_initconnection(TW_Device_Extension *tw_dev, int message_credits, in twa_initconnection()
1172 static int twa_initialize_device_extension(TW_Device_Extension *tw_dev) in twa_initialize_device_extension()
1224 TW_Device_Extension *tw_dev = (TW_Device_Extension *)dev_instance; in twa_interrupt()
1379 static void twa_load_sgl(TW_Device_Extension *tw_dev, TW_Command_Full *full_command_packet, int req… in twa_load_sgl()
1418 static int twa_map_scsi_sg_data(TW_Device_Extension *tw_dev, int request_id) in twa_map_scsi_sg_data()
1438 static int twa_poll_response(TW_Device_Extension *tw_dev, int request_id, int seconds) in twa_poll_response()
1475 static int twa_poll_status(TW_Device_Extension *tw_dev, u32 flag, int seconds) in twa_poll_status()
1504 static int twa_poll_status_gone(TW_Device_Extension *tw_dev, u32 flag, int seconds) in twa_poll_status_gone()
1532 static int twa_post_command_packet(TW_Device_Extension *tw_dev, int request_id, char internal) in twa_post_command_packet()
1598 static int twa_reset_device_extension(TW_Device_Extension *tw_dev) in twa_reset_device_extension()
1650 static int twa_reset_sequence(TW_Device_Extension *tw_dev, int soft_reset) in twa_reset_sequence()
1717 TW_Device_Extension *tw_dev; in twa_scsi_biosparam()
1719 tw_dev = (TW_Device_Extension *)sdev->host->hostdata; in twa_scsi_biosparam()
1741 TW_Device_Extension *tw_dev = NULL; in twa_scsi_eh_reset()
1744 tw_dev = (TW_Device_Extension *)SCpnt->device->host->hostdata; in twa_scsi_eh_reset()
1771 TW_Device_Extension *tw_dev = (TW_Device_Extension *)SCpnt->device->host->hostdata; in twa_scsi_queue_lck()
1818 static int twa_scsiop_execute_scsi(TW_Device_Extension *tw_dev, int request_id, char *cdb, int use_… in DEF_SCSI_QCMD()
1936 static void twa_scsiop_execute_scsi_complete(TW_Device_Extension *tw_dev, int request_id) in twa_scsiop_execute_scsi_complete()
1952 static void __twa_shutdown(TW_Device_Extension *tw_dev) in __twa_shutdown()
1977 TW_Device_Extension *tw_dev = (TW_Device_Extension *)host->hostdata; in twa_shutdown()
1993 static void twa_unmap_scsi_data(TW_Device_Extension *tw_dev, int request_id) in twa_unmap_scsi_data()
2033 TW_Device_Extension *tw_dev; in twa_probe()
2055 host = scsi_host_alloc(&driver_template, sizeof(TW_Device_Extension)); in twa_probe()
2061 tw_dev = (TW_Device_Extension *)host->hostdata; in twa_probe()
2182 TW_Device_Extension *tw_dev = (TW_Device_Extension *)host->hostdata; in twa_remove()
2218 TW_Device_Extension *tw_dev = (TW_Device_Extension *)host->hostdata; in twa_suspend()
2248 TW_Device_Extension *tw_dev = (TW_Device_Extension *)host->hostdata; in twa_resume()