Lines Matching refs:snprintf
666 return snprintf(buf, PAGE_SIZE, "%d\n", ap_dev->device_type); in ap_hwtype_show()
676 return snprintf(buf, PAGE_SIZE, "%d\n", ap_dev->raw_hwtype); in ap_raw_hwtype_show()
685 return snprintf(buf, PAGE_SIZE, "%d\n", ap_dev->queue_depth); in ap_depth_show()
697 rc = snprintf(buf, PAGE_SIZE, "%d\n", ap_dev->total_request_count); in ap_request_count_show()
711 rc = snprintf(buf, PAGE_SIZE, "%d\n", ap_dev->requestq_count); in ap_requestq_count_show()
725 rc = snprintf(buf, PAGE_SIZE, "%d\n", ap_dev->pendingq_count); in ap_pendingq_count_show()
744 return snprintf(buf, PAGE_SIZE, "0x%08X\n", ap_dev->functions); in ap_functions_show()
1061 return snprintf(buf, PAGE_SIZE, "%d\n", ap_domain_index); in ap_domain_show()
1070 return snprintf(buf, PAGE_SIZE, in ap_control_domain_mask_show()
1077 return snprintf(buf, PAGE_SIZE, "%08x%08x\n", in ap_control_domain_mask_show()
1081 return snprintf(buf, PAGE_SIZE, "not supported\n"); in ap_control_domain_mask_show()
1090 return snprintf(buf, PAGE_SIZE, "%d\n", ap_config_time); in ap_config_time_show()
1095 return snprintf(buf, PAGE_SIZE, "%d\n", in ap_interrupts_show()
1121 return snprintf(buf, PAGE_SIZE, "%d\n", ap_poll_kthread ? 1 : 0); in ap_poll_thread_show()
1145 return snprintf(buf, PAGE_SIZE, "%llu\n", poll_timeout); in poll_timeout_show()
1203 return snprintf(buf, PAGE_SIZE, "%d\n", max_domain_id); in ap_max_domain_id_show()