Lines Matching defs:tw_dev
255 static int tw_decode_bits(TW_Device_Extension *tw_dev, u32 status_reg_value, int print_host) in tw_decode_bits()
299 static int tw_poll_status(TW_Device_Extension *tw_dev, u32 flag, int seconds) in tw_poll_status()
328 static int tw_poll_status_gone(TW_Device_Extension *tw_dev, u32 flag, int seconds) in tw_poll_status_gone()
357 static int tw_post_command_packet(TW_Device_Extension *tw_dev, int request_id) in tw_post_command_packet()
401 static int tw_decode_sense(TW_Device_Extension *tw_dev, int request_id, int fill_sense) in tw_decode_sense()
446 static int tw_check_errors(TW_Device_Extension *tw_dev) in tw_check_errors()
461 static void tw_empty_response_que(TW_Device_Extension *tw_dev) in tw_empty_response_que()
474 static void tw_state_request_finish(TW_Device_Extension *tw_dev, int request_id) in tw_state_request_finish()
482 static void tw_state_request_start(TW_Device_Extension *tw_dev, int *request_id) in tw_state_request_start()
494 TW_Device_Extension *tw_dev = (TW_Device_Extension *)host->hostdata; in tw_show_stats() local
554 static int tw_aen_read_queue(TW_Device_Extension *tw_dev, int request_id) in tw_aen_read_queue()
620 static int tw_aen_complete(TW_Device_Extension *tw_dev, int request_id) in tw_aen_complete()
684 static int tw_aen_drain_queue(TW_Device_Extension *tw_dev) in tw_aen_drain_queue()
842 static int tw_allocate_memory(TW_Device_Extension *tw_dev, int size, int which) in tw_allocate_memory()
897 TW_Device_Extension *tw_dev = tw_device_extension_list[iminor(inode)]; in tw_chrdev_ioctl() local
1066 static void tw_free_device_extension(TW_Device_Extension *tw_dev) in tw_free_device_extension()
1079 static int tw_initconnection(TW_Device_Extension *tw_dev, int message_credits) in tw_initconnection()
1133 static int tw_setfeature(TW_Device_Extension *tw_dev, int parm, int param_size, in tw_setfeature()
1203 static int tw_reset_sequence(TW_Device_Extension *tw_dev) in tw_reset_sequence()
1251 static int tw_initialize_device_extension(TW_Device_Extension *tw_dev) in tw_initialize_device_extension()
1313 static int tw_reset_device_extension(TW_Device_Extension *tw_dev) in tw_reset_device_extension()
1372 TW_Device_Extension *tw_dev; in tw_scsi_biosparam() local
1398 TW_Device_Extension *tw_dev=NULL; in tw_scsi_eh_reset() local
1425 static int tw_scsiop_inquiry(TW_Device_Extension *tw_dev, int request_id) in tw_scsiop_inquiry()
1478 static void tw_transfer_internal(TW_Device_Extension *tw_dev, int request_id, in tw_transfer_internal()
1485 static int tw_scsiop_inquiry_complete(TW_Device_Extension *tw_dev, int request_id) in tw_scsiop_inquiry_complete()
1523 static int tw_scsiop_mode_sense(TW_Device_Extension *tw_dev, int request_id) in tw_scsiop_mode_sense()
1589 static int tw_scsiop_mode_sense_complete(TW_Device_Extension *tw_dev, int request_id) in tw_scsiop_mode_sense_complete()
1622 static int tw_scsiop_read_capacity(TW_Device_Extension *tw_dev, int request_id) in tw_scsiop_read_capacity()
1679 static int tw_scsiop_read_capacity_complete(TW_Device_Extension *tw_dev, int request_id) in tw_scsiop_read_capacity_complete()
1722 static int tw_scsiop_read_write(TW_Device_Extension *tw_dev, int request_id) in tw_scsiop_read_write()
1810 static int tw_scsiop_request_sense(TW_Device_Extension *tw_dev, int request_id) in tw_scsiop_request_sense()
1834 static int tw_scsiop_synchronize_cache(TW_Device_Extension *tw_dev, int request_id) in tw_scsiop_synchronize_cache()
1870 static int tw_scsiop_test_unit_ready(TW_Device_Extension *tw_dev, int request_id) in tw_scsiop_test_unit_ready()
1924 static int tw_scsiop_test_unit_ready_complete(TW_Device_Extension *tw_dev, int request_id) in tw_scsiop_test_unit_ready_complete()
1955 TW_Device_Extension *tw_dev = (TW_Device_Extension *)SCpnt->device->host->hostdata; in tw_scsi_queue_lck() local
2033 TW_Device_Extension *tw_dev = (TW_Device_Extension *)dev_instance; in DEF_SCSI_QCMD() local
2226 static void __tw_shutdown(TW_Device_Extension *tw_dev) in __tw_shutdown()
2251 TW_Device_Extension *tw_dev = (TW_Device_Extension *)host->hostdata; in tw_shutdown() local
2287 TW_Device_Extension *tw_dev; in tw_probe() local
2400 TW_Device_Extension *tw_dev = (TW_Device_Extension *)host->hostdata; in tw_remove() local