Lines Matching refs:TW_Device_Extension
77 static TW_Device_Extension *twl_device_extension_list[TW_MAX_SLOT];
93 static int twl_reset_device_extension(TW_Device_Extension *tw_dev, int ioctl_reset);
104 TW_Device_Extension *tw_dev = (TW_Device_Extension *)shost->hostdata; in twl_sysfs_aen_read()
135 TW_Device_Extension *tw_dev = (TW_Device_Extension *)shost->hostdata; in twl_sysfs_compat_info()
164 TW_Device_Extension *tw_dev = (TW_Device_Extension *)host->hostdata; in twl_show_stats()
223 static void twl_aen_queue_event(TW_Device_Extension *tw_dev, TW_Command_Apache_Header *header) in twl_aen_queue_event()
271 static int twl_post_command_packet(TW_Device_Extension *tw_dev, int request_id) in twl_post_command_packet()
292 static int twl_scsiop_execute_scsi(TW_Device_Extension *tw_dev, int request_id, in twl_scsiop_execute_scsi()
374 static int twl_aen_read_queue(TW_Device_Extension *tw_dev, int request_id) in twl_aen_read_queue()
408 static void twl_aen_sync_time(TW_Device_Extension *tw_dev, int request_id) in twl_aen_sync_time()
450 static void twl_get_request_id(TW_Device_Extension *tw_dev, int *request_id) in twl_get_request_id()
458 static void twl_free_request_id(TW_Device_Extension *tw_dev, int request_id) in twl_free_request_id()
466 static int twl_aen_complete(TW_Device_Extension *tw_dev, int request_id) in twl_aen_complete()
520 static int twl_poll_response(TW_Device_Extension *tw_dev, int request_id, int seconds) in twl_poll_response()
555 static int twl_aen_drain_queue(TW_Device_Extension *tw_dev, int no_check_reset) in twl_aen_drain_queue()
641 static int twl_allocate_memory(TW_Device_Extension *tw_dev, int size, int which) in twl_allocate_memory()
678 static void twl_load_sgl(TW_Device_Extension *tw_dev, TW_Command_Full *full_command_packet, int req… in twl_load_sgl()
725 TW_Device_Extension *tw_dev = twl_device_extension_list[iminor(inode)]; in twl_chrdev_ioctl()
859 static int twl_fill_sense(TW_Device_Extension *tw_dev, int i, int request_id, int copy_sense, int p… in twl_fill_sense()
900 static void twl_free_device_extension(TW_Device_Extension *tw_dev) in twl_free_device_extension()
925 static void *twl_get_param(TW_Device_Extension *tw_dev, int request_id, int table_id, int parameter… in twl_get_param()
968 static int twl_initconnection(TW_Device_Extension *tw_dev, int message_credits, in twl_initconnection()
1032 static int twl_initialize_device_extension(TW_Device_Extension *tw_dev) in twl_initialize_device_extension()
1081 static int twl_handle_attention_interrupt(TW_Device_Extension *tw_dev) in twl_handle_attention_interrupt()
1121 TW_Device_Extension *tw_dev = (TW_Device_Extension *)dev_instance; in twl_interrupt()
1237 static int twl_poll_register(TW_Device_Extension *tw_dev, void *reg, u32 value, u32 result, int sec… in twl_poll_register()
1258 static int twl_reset_sequence(TW_Device_Extension *tw_dev, int soft_reset) in twl_reset_sequence()
1349 static int twl_reset_device_extension(TW_Device_Extension *tw_dev, int ioctl_reset) in twl_reset_device_extension()
1428 TW_Device_Extension *tw_dev = NULL; in twl_scsi_eh_reset()
1431 tw_dev = (TW_Device_Extension *)SCpnt->device->host->hostdata; in twl_scsi_eh_reset()
1459 TW_Device_Extension *tw_dev = (TW_Device_Extension *)SCpnt->device->host->hostdata; in twl_scsi_queue_lck()
1488 static void __twl_shutdown(TW_Device_Extension *tw_dev) in DEF_SCSI_QCMD()
1513 TW_Device_Extension *tw_dev; in twl_shutdown()
1518 tw_dev = (TW_Device_Extension *)host->hostdata; in twl_shutdown()
1556 TW_Device_Extension *tw_dev; in twl_probe()
1576 host = scsi_host_alloc(&driver_template, sizeof(TW_Device_Extension)); in twl_probe()
1707 TW_Device_Extension *tw_dev; in twl_remove()
1712 tw_dev = (TW_Device_Extension *)host->hostdata; in twl_remove()
1754 TW_Device_Extension *tw_dev = (TW_Device_Extension *)host->hostdata; in twl_suspend()
1781 TW_Device_Extension *tw_dev = (TW_Device_Extension *)host->hostdata; in twl_resume()