Lines Matching refs:snprintf
1029 return snprintf(buf, PAGE_SIZE, "%d\n", ap_dev->device_type); in ap_hwtype_show()
1039 return snprintf(buf, PAGE_SIZE, "%d\n", ap_dev->raw_hwtype); in ap_raw_hwtype_show()
1048 return snprintf(buf, PAGE_SIZE, "%d\n", ap_dev->queue_depth); in ap_depth_show()
1060 rc = snprintf(buf, PAGE_SIZE, "%d\n", ap_dev->total_request_count); in ap_request_count_show()
1074 rc = snprintf(buf, PAGE_SIZE, "%d\n", ap_dev->requestq_count); in ap_requestq_count_show()
1088 rc = snprintf(buf, PAGE_SIZE, "%d\n", ap_dev->pendingq_count); in ap_pendingq_count_show()
1105 rc = snprintf(buf, PAGE_SIZE, "Reset in progress.\n"); in ap_reset_show()
1109 rc = snprintf(buf, PAGE_SIZE, "Reset Timer armed.\n"); in ap_reset_show()
1112 rc = snprintf(buf, PAGE_SIZE, "No Reset Timer set.\n"); in ap_reset_show()
1128 rc = snprintf(buf, PAGE_SIZE, "Enable Interrupt pending.\n"); in ap_interrupt_show()
1130 rc = snprintf(buf, PAGE_SIZE, "Interrupts enabled.\n"); in ap_interrupt_show()
1132 rc = snprintf(buf, PAGE_SIZE, "Interrupts disabled.\n"); in ap_interrupt_show()
1151 return snprintf(buf, PAGE_SIZE, "0x%08X\n", ap_dev->functions); in ap_functions_show()
1424 return snprintf(buf, PAGE_SIZE, "%d\n", ap_domain_index); in ap_domain_show()
1432 return snprintf(buf, PAGE_SIZE, "not supported\n"); in ap_control_domain_mask_show()
1435 return snprintf(buf, PAGE_SIZE, "%08x%08x\n", in ap_control_domain_mask_show()
1439 return snprintf(buf, PAGE_SIZE, in ap_control_domain_mask_show()
1452 return snprintf(buf, PAGE_SIZE, "%d\n", ap_config_time); in ap_config_time_show()
1457 return snprintf(buf, PAGE_SIZE, "%d\n", in ap_interrupts_show()
1479 return snprintf(buf, PAGE_SIZE, "%d\n", ap_poll_kthread ? 1 : 0); in ap_poll_thread_show()
1502 return snprintf(buf, PAGE_SIZE, "%llu\n", poll_timeout); in poll_timeout_show()
1537 return snprintf(buf, PAGE_SIZE, "%d\n", max_domain_id); in ap_max_domain_id_show()