Searched refs:statusreg (Results 1 - 3 of 3) sorted by relevance

/linux-4.4.14/drivers/scsi/
H A DBusLogic.c354 union blogic_stat_reg statusreg; blogic_cmd() local
380 statusreg.all = blogic_rdstatus(adapter); blogic_cmd()
381 if (statusreg.sr.adapter_ready && !statusreg.sr.cmd_param_busy) blogic_cmd()
418 statusreg.all = blogic_rdstatus(adapter); blogic_cmd()
423 if (statusreg.sr.datain_ready) blogic_cmd()
425 if (statusreg.sr.cmd_param_busy) blogic_cmd()
441 statusreg.all = blogic_rdstatus(adapter); blogic_cmd()
442 if (statusreg.sr.cmd_invalid) { blogic_cmd()
449 blogic_notice("blogic_cmd(%02X) Status = %02X: " "(Modify I/O Address)\n", adapter, opcode, statusreg.all); blogic_cmd()
476 statusreg.all = blogic_rdstatus(adapter); blogic_cmd()
481 if (statusreg.sr.datain_ready) { blogic_cmd()
488 statusreg.sr.adapter_ready) blogic_cmd()
508 adapter, opcode, statusreg.all, replylen, blogic_cmd()
520 if (statusreg.sr.cmd_invalid) { blogic_cmd()
531 statusreg.all = blogic_rdstatus(adapter); blogic_cmd()
532 if (statusreg.sr.cmd_invalid || statusreg.sr.rsvd || blogic_cmd()
533 statusreg.sr.datain_ready || blogic_cmd()
534 statusreg.sr.cmd_param_busy || blogic_cmd()
535 !statusreg.sr.adapter_ready || blogic_cmd()
536 !statusreg.sr.init_reqd || blogic_cmd()
537 statusreg.sr.diag_active || blogic_cmd()
538 statusreg.sr.diag_failed) { blogic_cmd()
1125 union blogic_stat_reg statusreg; blogic_probe() local
1157 statusreg.all = blogic_rdstatus(adapter); blogic_probe()
1161 blogic_notice("BusLogic_Probe(0x%X): Status 0x%02X, Interrupt 0x%02X, " "Geometry 0x%02X\n", adapter, adapter->io_addr, statusreg.all, intreg.all, georeg.all); blogic_probe()
1162 if (statusreg.all == 0 || statusreg.sr.diag_active || blogic_probe()
1163 statusreg.sr.cmd_param_busy || statusreg.sr.rsvd || blogic_probe()
1164 statusreg.sr.cmd_invalid || intreg.ir.rsvd != 0) blogic_probe()
1201 union blogic_stat_reg statusreg; blogic_hwreset() local
1234 statusreg.all = blogic_rdstatus(adapter); blogic_hwreset()
1235 if (statusreg.sr.diag_active) blogic_hwreset()
1240 blogic_notice("BusLogic_HardwareReset(0x%X): Diagnostic Active, " "Status 0x%02X\n", adapter, adapter->io_addr, statusreg.all); blogic_hwreset()
1254 statusreg.all = blogic_rdstatus(adapter); blogic_hwreset()
1255 if (!statusreg.sr.diag_active) blogic_hwreset()
1260 blogic_notice("BusLogic_HardwareReset(0x%X): Diagnostic Completed, " "Status 0x%02X\n", adapter, adapter->io_addr, statusreg.all); blogic_hwreset()
1269 statusreg.all = blogic_rdstatus(adapter); blogic_hwreset()
1270 if (statusreg.sr.diag_failed || statusreg.sr.adapter_ready || blogic_hwreset()
1271 statusreg.sr.datain_ready) blogic_hwreset()
1276 blogic_notice("BusLogic_HardwareReset(0x%X): Host Adapter Ready, " "Status 0x%02X\n", adapter, adapter->io_addr, statusreg.all); blogic_hwreset()
1285 if (statusreg.sr.diag_failed || !statusreg.sr.adapter_ready) { blogic_hwreset()
1289 statusreg.all); blogic_hwreset()
1290 if (statusreg.sr.datain_ready) blogic_hwreset()
/linux-4.4.14/drivers/spi/
H A Dspi-zynqmp-gqspi.c403 u32 genfifoentry = 0x0, statusreg; zynqmp_qspi_chipselect() local
429 statusreg = zynqmp_gqspi_read(xqspi, GQSPI_ISR_OFST); zynqmp_qspi_chipselect()
431 if ((statusreg & GQSPI_ISR_GENFIFOEMPTY_MASK) && zynqmp_qspi_chipselect()
432 (statusreg & GQSPI_ISR_TXEMPTY_MASK)) zynqmp_qspi_chipselect()
/linux-4.4.14/drivers/net/wan/
H A Dcosa.c147 unsigned int datareg, statusreg; /* I/O ports */ member in struct:cosa_data
262 #define cosa_getstatus(cosa) (cosa_inb(cosa->statusreg))
263 #define cosa_putstatus(cosa, stat) (cosa_outb(stat, cosa->statusreg))
475 cosa->statusreg = is_8bit(cosa)?base+1:base+2; cosa_probe()

Completed in 388 milliseconds