Lines Matching refs:scnprintf

489 		return scnprintf(buf, PAGE_SIZE, "%llu\n", req_cnt);  in request_count_show()
491 return scnprintf(buf, PAGE_SIZE, "-\n"); in request_count_show()
519 return scnprintf(buf, PAGE_SIZE, "%d\n", reqq_cnt); in requestq_count_show()
534 return scnprintf(buf, PAGE_SIZE, "%d\n", penq_cnt); in pendingq_count_show()
549 rc = scnprintf(buf, PAGE_SIZE, "Reset in progress.\n"); in reset_show()
553 rc = scnprintf(buf, PAGE_SIZE, "Reset Timer armed.\n"); in reset_show()
556 rc = scnprintf(buf, PAGE_SIZE, "No Reset Timer set.\n"); in reset_show()
590 rc = scnprintf(buf, PAGE_SIZE, "Enable Interrupt pending.\n"); in interrupt_show()
592 rc = scnprintf(buf, PAGE_SIZE, "Interrupts enabled.\n"); in interrupt_show()
594 rc = scnprintf(buf, PAGE_SIZE, "Interrupts disabled.\n"); in interrupt_show()
608 rc = scnprintf(buf, PAGE_SIZE, "%d\n", aq->config ? 1 : 0); in config_show()
626 rc = scnprintf(buf, PAGE_SIZE, "UNINITIATED\n"); in states_show()
629 rc = scnprintf(buf, PAGE_SIZE, "OPERATING"); in states_show()
632 rc = scnprintf(buf, PAGE_SIZE, "SHUTDOWN"); in states_show()
635 rc = scnprintf(buf, PAGE_SIZE, "ERROR"); in states_show()
638 rc = scnprintf(buf, PAGE_SIZE, "UNKNOWN"); in states_show()
644 rc += scnprintf(buf + rc, PAGE_SIZE - rc, in states_show()
648 rc += scnprintf(buf + rc, PAGE_SIZE - rc, in states_show()
652 rc += scnprintf(buf + rc, PAGE_SIZE - rc, in states_show()
656 rc += scnprintf(buf + rc, PAGE_SIZE - rc, in states_show()
660 rc += scnprintf(buf + rc, PAGE_SIZE - rc, in states_show()
664 rc += scnprintf(buf + rc, PAGE_SIZE - rc, in states_show()
668 rc += scnprintf(buf + rc, PAGE_SIZE - rc, in states_show()
690 return scnprintf(buf, PAGE_SIZE, "NORMAL\n"); in last_err_rc_show()
692 return scnprintf(buf, PAGE_SIZE, "Q_NOT_AVAIL\n"); in last_err_rc_show()
694 return scnprintf(buf, PAGE_SIZE, "RESET_IN_PROGRESS\n"); in last_err_rc_show()
696 return scnprintf(buf, PAGE_SIZE, "DECONFIGURED\n"); in last_err_rc_show()
698 return scnprintf(buf, PAGE_SIZE, "CHECKSTOPPED\n"); in last_err_rc_show()
700 return scnprintf(buf, PAGE_SIZE, "BUSY\n"); in last_err_rc_show()
702 return scnprintf(buf, PAGE_SIZE, "INVALID_ADDRESS\n"); in last_err_rc_show()
704 return scnprintf(buf, PAGE_SIZE, "OTHERWISE_CHANGED\n"); in last_err_rc_show()
706 return scnprintf(buf, PAGE_SIZE, "Q_FULL/NO_PENDING_REPLY\n"); in last_err_rc_show()
708 return scnprintf(buf, PAGE_SIZE, "INDEX_TOO_BIG\n"); in last_err_rc_show()
710 return scnprintf(buf, PAGE_SIZE, "NO_FIRST_PART\n"); in last_err_rc_show()
712 return scnprintf(buf, PAGE_SIZE, "MESSAGE_TOO_BIG\n"); in last_err_rc_show()
714 return scnprintf(buf, PAGE_SIZE, "REQ_FAC_NOT_INST\n"); in last_err_rc_show()
716 return scnprintf(buf, PAGE_SIZE, "response code %d\n", rc); in last_err_rc_show()