Lines Matching refs:TW_Device_Extension

80 static TW_Device_Extension *twl_device_extension_list[TW_MAX_SLOT];
96 static int twl_reset_device_extension(TW_Device_Extension *tw_dev, int ioctl_reset);
107 TW_Device_Extension *tw_dev = (TW_Device_Extension *)shost->hostdata; in twl_sysfs_aen_read()
138 TW_Device_Extension *tw_dev = (TW_Device_Extension *)shost->hostdata; in twl_sysfs_compat_info()
167 TW_Device_Extension *tw_dev = (TW_Device_Extension *)host->hostdata; in twl_show_stats()
237 static void twl_aen_queue_event(TW_Device_Extension *tw_dev, TW_Command_Apache_Header *header) in twl_aen_queue_event()
286 static int twl_post_command_packet(TW_Device_Extension *tw_dev, int request_id) in twl_post_command_packet()
307 static int twl_map_scsi_sg_data(TW_Device_Extension *tw_dev, int request_id) in twl_map_scsi_sg_data()
327 static int twl_scsiop_execute_scsi(TW_Device_Extension *tw_dev, int request_id, char *cdb, int use_… in twl_scsiop_execute_scsi()
410 static int twl_aen_read_queue(TW_Device_Extension *tw_dev, int request_id) in twl_aen_read_queue()
444 static void twl_aen_sync_time(TW_Device_Extension *tw_dev, int request_id) in twl_aen_sync_time()
488 static void twl_get_request_id(TW_Device_Extension *tw_dev, int *request_id) in twl_get_request_id()
496 static void twl_free_request_id(TW_Device_Extension *tw_dev, int request_id) in twl_free_request_id()
504 static int twl_aen_complete(TW_Device_Extension *tw_dev, int request_id) in twl_aen_complete()
558 static int twl_poll_response(TW_Device_Extension *tw_dev, int request_id, int seconds) in twl_poll_response()
593 static int twl_aen_drain_queue(TW_Device_Extension *tw_dev, int no_check_reset) in twl_aen_drain_queue()
679 static int twl_allocate_memory(TW_Device_Extension *tw_dev, int size, int which) in twl_allocate_memory()
716 static void twl_load_sgl(TW_Device_Extension *tw_dev, TW_Command_Full *full_command_packet, int req… in twl_load_sgl()
763 TW_Device_Extension *tw_dev = twl_device_extension_list[iminor(inode)]; in twl_chrdev_ioctl()
897 static int twl_fill_sense(TW_Device_Extension *tw_dev, int i, int request_id, int copy_sense, int p… in twl_fill_sense()
939 static void twl_free_device_extension(TW_Device_Extension *tw_dev) in twl_free_device_extension()
964 static void *twl_get_param(TW_Device_Extension *tw_dev, int request_id, int table_id, int parameter… in twl_get_param()
1007 static int twl_initconnection(TW_Device_Extension *tw_dev, int message_credits, in twl_initconnection()
1071 static int twl_initialize_device_extension(TW_Device_Extension *tw_dev) in twl_initialize_device_extension()
1120 static void twl_unmap_scsi_data(TW_Device_Extension *tw_dev, int request_id) in twl_unmap_scsi_data()
1129 static int twl_handle_attention_interrupt(TW_Device_Extension *tw_dev) in twl_handle_attention_interrupt()
1169 TW_Device_Extension *tw_dev = (TW_Device_Extension *)dev_instance; in twl_interrupt()
1285 static int twl_poll_register(TW_Device_Extension *tw_dev, void *reg, u32 value, u32 result, int sec… in twl_poll_register()
1306 static int twl_reset_sequence(TW_Device_Extension *tw_dev, int soft_reset) in twl_reset_sequence()
1397 static int twl_reset_device_extension(TW_Device_Extension *tw_dev, int ioctl_reset) in twl_reset_device_extension()
1455 TW_Device_Extension *tw_dev; in twl_scsi_biosparam()
1457 tw_dev = (TW_Device_Extension *)sdev->host->hostdata; in twl_scsi_biosparam()
1477 TW_Device_Extension *tw_dev = NULL; in twl_scsi_eh_reset()
1480 tw_dev = (TW_Device_Extension *)SCpnt->device->host->hostdata; in twl_scsi_eh_reset()
1507 TW_Device_Extension *tw_dev = (TW_Device_Extension *)SCpnt->device->host->hostdata; in twl_scsi_queue_lck()
1542 static void __twl_shutdown(TW_Device_Extension *tw_dev) in DEF_SCSI_QCMD()
1567 TW_Device_Extension *tw_dev; in twl_shutdown()
1572 tw_dev = (TW_Device_Extension *)host->hostdata; in twl_shutdown()
1610 TW_Device_Extension *tw_dev; in twl_probe()
1632 host = scsi_host_alloc(&driver_template, sizeof(TW_Device_Extension)); in twl_probe()
1760 TW_Device_Extension *tw_dev; in twl_remove()
1765 tw_dev = (TW_Device_Extension *)host->hostdata; in twl_remove()
1808 TW_Device_Extension *tw_dev = (TW_Device_Extension *)host->hostdata; in twl_suspend()
1838 TW_Device_Extension *tw_dev = (TW_Device_Extension *)host->hostdata; in twl_resume()