Home
last modified time | relevance | path

Searched refs:status_reg_value (Results 1 – 2 of 2) sorted by relevance

/linux-5.19.10/drivers/scsi/
D3w-xxxx.c240 static int tw_check_bits(u32 status_reg_value) in tw_check_bits() argument
242 if ((status_reg_value & TW_STATUS_EXPECTED_BITS) != TW_STATUS_EXPECTED_BITS) { in tw_check_bits()
243 dprintk(KERN_WARNING "3w-xxxx: tw_check_bits(): No expected bits (0x%x).\n", status_reg_value); in tw_check_bits()
246 if ((status_reg_value & TW_STATUS_UNEXPECTED_BITS) != 0) { in tw_check_bits()
247 …printk(KERN_WARNING "3w-xxxx: tw_check_bits(): Found unexpected bits (0x%x).\n", status_reg_value); in tw_check_bits()
255 static int tw_decode_bits(TW_Device_Extension *tw_dev, u32 status_reg_value, int print_host) in tw_decode_bits() argument
266 if (status_reg_value & TW_STATUS_PCI_PARITY_ERROR) { in tw_decode_bits()
271 if (status_reg_value & TW_STATUS_PCI_ABORT) { in tw_decode_bits()
277 if (status_reg_value & TW_STATUS_QUEUE_ERROR) { in tw_decode_bits()
282 if (status_reg_value & TW_STATUS_SBUF_WRITE_ERROR) { in tw_decode_bits()
[all …]
D3w-9xxx.c558 static int twa_check_bits(u32 status_reg_value) in twa_check_bits() argument
562 if ((status_reg_value & TW_STATUS_EXPECTED_BITS) != TW_STATUS_EXPECTED_BITS) in twa_check_bits()
564 if ((status_reg_value & TW_STATUS_UNEXPECTED_BITS) != 0) in twa_check_bits()
908 static int twa_decode_bits(TW_Device_Extension *tw_dev, u32 status_reg_value) in twa_decode_bits() argument
913 if (status_reg_value & TW_STATUS_PCI_PARITY_ERROR) { in twa_decode_bits()
918 if (status_reg_value & TW_STATUS_PCI_ABORT) { in twa_decode_bits()
924 if (status_reg_value & TW_STATUS_QUEUE_ERROR) { in twa_decode_bits()
932 if (status_reg_value & TW_STATUS_MICROCONTROLLER_ERROR) { in twa_decode_bits()
947 u32 status_reg_value; in twa_empty_response_queue() local
950 status_reg_value = readl(TW_STATUS_REG_ADDR(tw_dev)); in twa_empty_response_queue()
[all …]