Lines Matching refs:status
71 /* We have a SCSI status */
85 /* We have an FC status */
854 u64 reg, status;
884 status = readq_be(&fc_port_regs[FC_STATUS / 8]);
885 if (status & SISL_STATUS_SHUTDOWN_COMPLETE)
1119 * @delay_us: Number of microseconds to delay between reading port status.
1120 * @nretry: Number of cycles to retry reading port status.
1131 u64 status;
1137 status = readq_be(&fc_regs[FC_MTIP_STATUS / 8]);
1138 if (status == U64_MAX)
1140 } while ((status & FC_MTIP_STATUS_MASK) != FC_MTIP_STATUS_ONLINE &&
1143 return ((status & FC_MTIP_STATUS_MASK) == FC_MTIP_STATUS_ONLINE);
1149 * @delay_us: Number of microseconds to delay between reading port status.
1150 * @nretry: Number of cycles to retry reading port status.
1160 u64 status;
1166 status = readq_be(&fc_regs[FC_MTIP_STATUS / 8]);
1167 if (status == U64_MAX)
1169 } while ((status & FC_MTIP_STATUS_MASK) != FC_MTIP_STATUS_OFFLINE &&
1172 return ((status & FC_MTIP_STATUS_MASK) == FC_MTIP_STATUS_OFFLINE);
1561 /* FYI, it is 'okay' to clear AFU status before FC_ERROR */
1572 if (unlikely(info->status != 1ULL << bit)) {
1850 * the primary hardware queue. Note that while this status is reflected
2270 * The command status is optionally passed back to the caller when the caller
2548 * cxlflash_show_port_status() - queries and presents the current port status
2549 * @port: Desired port for status reporting.
2551 * @buf: Buffer of length PAGE_SIZE to report back port status in ASCII.
2561 u64 status;
2573 status = readq_be(&fc_port_regs[FC_MTIP_STATUS / 8]);
2574 status &= FC_MTIP_STATUS_MASK;
2576 if (status == FC_MTIP_STATUS_ONLINE)
2578 else if (status == FC_MTIP_STATUS_OFFLINE)
2587 * port0_show() - queries and presents the current status of port 0
2590 * @buf: Buffer of length PAGE_SIZE to report back port status in ASCII.
2604 * port1_show() - queries and presents the current status of port 1
2607 * @buf: Buffer of length PAGE_SIZE to report back port status in ASCII.
2621 * port2_show() - queries and presents the current status of port 2
2624 * @buf: Buffer of length PAGE_SIZE to report back port status in ASCII.
2638 * port3_show() - queries and presents the current status of port 3
2641 * @buf: Buffer of length PAGE_SIZE to report back port status in ASCII.
2747 * @port: Desired port for status reporting.
2749 * @buf: Buffer of length PAGE_SIZE to report back port status in ASCII.
2783 * @buf: Buffer of length PAGE_SIZE to report back port status in ASCII.
2800 * @buf: Buffer of length PAGE_SIZE to report back port status in ASCII.
2817 * @buf: Buffer of length PAGE_SIZE to report back port status in ASCII.
2834 * @buf: Buffer of length PAGE_SIZE to report back port status in ASCII.