Lines Matching refs:scnprintf
471 return scnprintf(buf, PAGE_SIZE, "%llu\n", req_cnt); in request_count_show()
473 return scnprintf(buf, PAGE_SIZE, "-\n"); in request_count_show()
501 return scnprintf(buf, PAGE_SIZE, "%d\n", reqq_cnt); in requestq_count_show()
516 return scnprintf(buf, PAGE_SIZE, "%d\n", penq_cnt); in pendingq_count_show()
531 rc = scnprintf(buf, PAGE_SIZE, "Reset in progress.\n"); in reset_show()
535 rc = scnprintf(buf, PAGE_SIZE, "Reset Timer armed.\n"); in reset_show()
538 rc = scnprintf(buf, PAGE_SIZE, "No Reset Timer set.\n"); in reset_show()
572 rc = scnprintf(buf, PAGE_SIZE, "Enable Interrupt pending.\n"); in interrupt_show()
574 rc = scnprintf(buf, PAGE_SIZE, "Interrupts enabled.\n"); in interrupt_show()
576 rc = scnprintf(buf, PAGE_SIZE, "Interrupts disabled.\n"); in interrupt_show()
590 rc = scnprintf(buf, PAGE_SIZE, "%d\n", aq->config ? 1 : 0); in config_show()
608 rc = scnprintf(buf, PAGE_SIZE, "UNINITIATED\n"); in states_show()
611 rc = scnprintf(buf, PAGE_SIZE, "OPERATING"); in states_show()
614 rc = scnprintf(buf, PAGE_SIZE, "SHUTDOWN"); in states_show()
617 rc = scnprintf(buf, PAGE_SIZE, "ERROR"); in states_show()
620 rc = scnprintf(buf, PAGE_SIZE, "UNKNOWN"); in states_show()
626 rc += scnprintf(buf + rc, PAGE_SIZE - rc, in states_show()
630 rc += scnprintf(buf + rc, PAGE_SIZE - rc, in states_show()
634 rc += scnprintf(buf + rc, PAGE_SIZE - rc, in states_show()
638 rc += scnprintf(buf + rc, PAGE_SIZE - rc, in states_show()
642 rc += scnprintf(buf + rc, PAGE_SIZE - rc, in states_show()
646 rc += scnprintf(buf + rc, PAGE_SIZE - rc, in states_show()
650 rc += scnprintf(buf + rc, PAGE_SIZE - rc, in states_show()
672 return scnprintf(buf, PAGE_SIZE, "NORMAL\n"); in last_err_rc_show()
674 return scnprintf(buf, PAGE_SIZE, "Q_NOT_AVAIL\n"); in last_err_rc_show()
676 return scnprintf(buf, PAGE_SIZE, "RESET_IN_PROGRESS\n"); in last_err_rc_show()
678 return scnprintf(buf, PAGE_SIZE, "DECONFIGURED\n"); in last_err_rc_show()
680 return scnprintf(buf, PAGE_SIZE, "CHECKSTOPPED\n"); in last_err_rc_show()
682 return scnprintf(buf, PAGE_SIZE, "BUSY\n"); in last_err_rc_show()
684 return scnprintf(buf, PAGE_SIZE, "INVALID_ADDRESS\n"); in last_err_rc_show()
686 return scnprintf(buf, PAGE_SIZE, "OTHERWISE_CHANGED\n"); in last_err_rc_show()
688 return scnprintf(buf, PAGE_SIZE, "Q_FULL/NO_PENDING_REPLY\n"); in last_err_rc_show()
690 return scnprintf(buf, PAGE_SIZE, "INDEX_TOO_BIG\n"); in last_err_rc_show()
692 return scnprintf(buf, PAGE_SIZE, "NO_FIRST_PART\n"); in last_err_rc_show()
694 return scnprintf(buf, PAGE_SIZE, "MESSAGE_TOO_BIG\n"); in last_err_rc_show()
696 return scnprintf(buf, PAGE_SIZE, "REQ_FAC_NOT_INST\n"); in last_err_rc_show()
698 return scnprintf(buf, PAGE_SIZE, "response code %d\n", rc); in last_err_rc_show()