Searched refs:tw_dev (Results 1 – 4 of 4) sorted by relevance
/linux-2.6.39/drivers/scsi/ |
D | 3w-xxxx.c | 235 static int tw_reset_device_extension(TW_Device_Extension *tw_dev); 255 static int tw_decode_bits(TW_Device_Extension *tw_dev, u32 status_reg_value, int print_host) in tw_decode_bits() argument 262 sprintf(host, " scsi%d:", tw_dev->host->host_no); in tw_decode_bits() 268 outl(TW_CONTROL_CLEAR_PARITY_ERROR, TW_CONTROL_REG_ADDR(tw_dev)); in tw_decode_bits() 273 outl(TW_CONTROL_CLEAR_PCI_ABORT, TW_CONTROL_REG_ADDR(tw_dev)); in tw_decode_bits() 274 pci_write_config_word(tw_dev->tw_pci_dev, PCI_STATUS, TW_PCI_CLEAR_PCI_ABORT); in tw_decode_bits() 279 outl(TW_CONTROL_CLEAR_QUEUE_ERROR, TW_CONTROL_REG_ADDR(tw_dev)); in tw_decode_bits() 284 outl(TW_CONTROL_CLEAR_SBUF_WRITE_ERROR, TW_CONTROL_REG_ADDR(tw_dev)); in tw_decode_bits() 288 if (tw_dev->reset_print == 0) { in tw_decode_bits() 290 tw_dev->reset_print = 1; in tw_decode_bits() [all …]
|
D | 3w-9xxx.c | 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); [all …]
|
D | 3w-sas.c | 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() local 114 spin_lock_irqsave(tw_dev->host->host_lock, flags); in twl_sysfs_aen_read() 115 …ret = memory_read_from_buffer(outbuf, count, &offset, tw_dev->event_queue[0], sizeof(TW_Event) * T… in twl_sysfs_aen_read() 116 spin_unlock_irqrestore(tw_dev->host->host_lock, flags); in twl_sysfs_aen_read() 138 TW_Device_Extension *tw_dev = (TW_Device_Extension *)shost->hostdata; in twl_sysfs_compat_info() local 145 spin_lock_irqsave(tw_dev->host->host_lock, flags); in twl_sysfs_compat_info() 146 …ret = memory_read_from_buffer(outbuf, count, &offset, &tw_dev->tw_compat_info, sizeof(TW_Compatibi… in twl_sysfs_compat_info() 147 spin_unlock_irqrestore(tw_dev->host->host_lock, flags); in twl_sysfs_compat_info() 167 TW_Device_Extension *tw_dev = (TW_Device_Extension *)host->hostdata; in twl_show_stats() local [all …]
|
D | 3w-sas.h | 192 #define TWL_MASK_INTERRUPTS(x) (writel(~0, TWL_HIMASK_REG_ADDR(tw_dev))) 193 #define TWL_UNMASK_INTERRUPTS(x) (writel(~TWL_HISTATUS_VALID_INTERRUPT, TWL_HIMASK_REG_ADDR(tw_dev)… 194 #define TWL_CLEAR_DB_INTERRUPT(x) (writel(~0, TWL_HOBDBC_REG_ADDR(tw_dev))) 195 #define TWL_SOFT_RESET(x) (writel(TWL_ISSUE_SOFT_RESET, TWL_HIBDB_REG_ADDR(tw_dev)))
|