Lines Matching refs:scnprintf

27 	return scnprintf(buf, PAGE_SIZE, "%i.%i\n", adapter->caia_major,  in caia_version_show()
37 return scnprintf(buf, PAGE_SIZE, "%i\n", adapter->psl_rev); in psl_revision_show()
46 return scnprintf(buf, PAGE_SIZE, "%i\n", adapter->base_image); in base_image_show()
56 return scnprintf(buf, PAGE_SIZE, "user\n"); in image_loaded_show()
57 return scnprintf(buf, PAGE_SIZE, "factory\n"); in image_loaded_show()
78 return scnprintf(buf, PAGE_SIZE, "%i\n", adapter->psl_timebase_synced); in psl_timebase_synced_show()
87 return scnprintf(buf, PAGE_SIZE, "%i\n", adapter->tunneled_ops_supported); in tunneled_ops_supported_show()
133 return scnprintf(buf, PAGE_SIZE, "none\n"); in load_image_on_perst_show()
136 return scnprintf(buf, PAGE_SIZE, "user\n"); in load_image_on_perst_show()
137 return scnprintf(buf, PAGE_SIZE, "factory\n"); in load_image_on_perst_show()
170 return scnprintf(buf, PAGE_SIZE, "%i\n", adapter->perst_same_image); in perst_reloads_same_image_show()
210 return scnprintf(buf, PAGE_SIZE, "%llu\n", afu->adapter->ps_size); in mmio_size_show_master()
219 return scnprintf(buf, PAGE_SIZE, "%llu\n", afu->native->pp_offset); in pp_mmio_off_show()
228 return scnprintf(buf, PAGE_SIZE, "%llu\n", afu->pp_size); in pp_mmio_len_show()
247 return scnprintf(buf, PAGE_SIZE, "%llu\n", afu->pp_size); in mmio_size_show()
248 return scnprintf(buf, PAGE_SIZE, "%llu\n", afu->adapter->ps_size); in mmio_size_show()
280 return scnprintf(buf, PAGE_SIZE, "%i\n", afu->pp_irqs); in irqs_min_show()
289 return scnprintf(buf, PAGE_SIZE, "%i\n", afu->irqs_max); in irqs_max_show()
327 p += scnprintf(p, end - p, "dedicated_process\n"); in modes_supported_show()
329 p += scnprintf(p, end - p, "afu_directed\n"); in modes_supported_show()
341 return scnprintf(buf, PAGE_SIZE, "work_element_descriptor\n"); in prefault_mode_show()
343 return scnprintf(buf, PAGE_SIZE, "all\n"); in prefault_mode_show()
345 return scnprintf(buf, PAGE_SIZE, "none\n"); in prefault_mode_show()
385 return scnprintf(buf, PAGE_SIZE, "dedicated_process\n"); in mode_show()
387 return scnprintf(buf, PAGE_SIZE, "afu_directed\n"); in mode_show()
388 return scnprintf(buf, PAGE_SIZE, "none\n"); in mode_show()
440 return scnprintf(buf, PAGE_SIZE, "%i\n", CXL_API_VERSION); in api_version_show()
447 return scnprintf(buf, PAGE_SIZE, "%i\n", CXL_API_VERSION_COMPATIBLE); in api_version_compatible_show()
525 return scnprintf(buf, PAGE_SIZE, "0x%.4x\n", cr->vendor); in vendor_show()
533 return scnprintf(buf, PAGE_SIZE, "0x%.4x\n", cr->device); in device_show()
541 return scnprintf(buf, PAGE_SIZE, "0x%.6x\n", cr->class); in class_show()