Searched refs:tw_dev (Results 1 – 4 of 4) sorted by relevance
/linux-6.1.9/drivers/scsi/ |
D | 3w-9xxx.c | 121 static void twa_aen_queue_event(TW_Device_Extension *tw_dev, TW_Command_Apache_Header *header); 122 static int twa_aen_read_queue(TW_Device_Extension *tw_dev, int request_id); 124 static void twa_aen_sync_time(TW_Device_Extension *tw_dev, int request_id); 127 static int twa_fill_sense(TW_Device_Extension *tw_dev, int request_id, int copy_sense, int print_ho… 128 static void twa_free_request_id(TW_Device_Extension *tw_dev,int request_id); 129 static void twa_get_request_id(TW_Device_Extension *tw_dev, int *request_id); 130 static int twa_initconnection(TW_Device_Extension *tw_dev, int message_credits, 140 static void twa_load_sgl(TW_Device_Extension *tw_dev, TW_Command_Full *full_command_packet, int req… 141 static int twa_poll_response(TW_Device_Extension *tw_dev, int request_id, int seconds); 142 static int twa_poll_status_gone(TW_Device_Extension *tw_dev, u32 flag, int seconds); [all …]
|
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-sas.c | 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() local 111 spin_lock_irqsave(tw_dev->host->host_lock, flags); in twl_sysfs_aen_read() 112 …ret = memory_read_from_buffer(outbuf, count, &offset, tw_dev->event_queue[0], sizeof(TW_Event) * T… in twl_sysfs_aen_read() 113 spin_unlock_irqrestore(tw_dev->host->host_lock, flags); in twl_sysfs_aen_read() 135 TW_Device_Extension *tw_dev = (TW_Device_Extension *)shost->hostdata; in twl_sysfs_compat_info() local 142 spin_lock_irqsave(tw_dev->host->host_lock, flags); in twl_sysfs_compat_info() 143 …ret = memory_read_from_buffer(outbuf, count, &offset, &tw_dev->tw_compat_info, sizeof(TW_Compatibi… in twl_sysfs_compat_info() 144 spin_unlock_irqrestore(tw_dev->host->host_lock, flags); in twl_sysfs_compat_info() 164 TW_Device_Extension *tw_dev = (TW_Device_Extension *)host->hostdata; in twl_show_stats() local [all …]
|
D | 3w-sas.h | 198 (writel(~0, TWL_HIMASK_REG_ADDR(tw_dev))) 200 (writel(~TWL_HISTATUS_VALID_INTERRUPT, TWL_HIMASK_REG_ADDR(tw_dev))) 202 (writel(~0, TWL_HOBDBC_REG_ADDR(tw_dev))) 204 (writel(TWL_ISSUE_SOFT_RESET, TWL_HIBDB_REG_ADDR(tw_dev)))
|