Lines Matching refs:device

17 static ssize_t caia_version_show(struct device *device,  in caia_version_show()  argument
21 struct cxl *adapter = to_cxl_adapter(device); in caia_version_show()
27 static ssize_t psl_revision_show(struct device *device, in psl_revision_show() argument
31 struct cxl *adapter = to_cxl_adapter(device); in psl_revision_show()
36 static ssize_t base_image_show(struct device *device, in base_image_show() argument
40 struct cxl *adapter = to_cxl_adapter(device); in base_image_show()
45 static ssize_t image_loaded_show(struct device *device, in image_loaded_show() argument
49 struct cxl *adapter = to_cxl_adapter(device); in image_loaded_show()
56 static ssize_t psl_timebase_synced_show(struct device *device, in psl_timebase_synced_show() argument
60 struct cxl *adapter = to_cxl_adapter(device); in psl_timebase_synced_show()
77 static ssize_t tunneled_ops_supported_show(struct device *device, in tunneled_ops_supported_show() argument
81 struct cxl *adapter = to_cxl_adapter(device); in tunneled_ops_supported_show()
86 static ssize_t reset_adapter_store(struct device *device, in reset_adapter_store() argument
90 struct cxl *adapter = to_cxl_adapter(device); in reset_adapter_store()
122 static ssize_t load_image_on_perst_show(struct device *device, in load_image_on_perst_show() argument
126 struct cxl *adapter = to_cxl_adapter(device); in load_image_on_perst_show()
136 static ssize_t load_image_on_perst_store(struct device *device, in load_image_on_perst_store() argument
140 struct cxl *adapter = to_cxl_adapter(device); in load_image_on_perst_store()
160 static ssize_t perst_reloads_same_image_show(struct device *device, in perst_reloads_same_image_show() argument
164 struct cxl *adapter = to_cxl_adapter(device); in perst_reloads_same_image_show()
169 static ssize_t perst_reloads_same_image_store(struct device *device, in perst_reloads_same_image_store() argument
173 struct cxl *adapter = to_cxl_adapter(device); in perst_reloads_same_image_store()
200 static ssize_t mmio_size_show_master(struct device *device, in mmio_size_show_master() argument
204 struct cxl_afu *afu = to_afu_chardev_m(device); in mmio_size_show_master()
209 static ssize_t pp_mmio_off_show(struct device *device, in pp_mmio_off_show() argument
213 struct cxl_afu *afu = to_afu_chardev_m(device); in pp_mmio_off_show()
218 static ssize_t pp_mmio_len_show(struct device *device, in pp_mmio_len_show() argument
222 struct cxl_afu *afu = to_afu_chardev_m(device); in pp_mmio_len_show()
236 static ssize_t mmio_size_show(struct device *device, in mmio_size_show() argument
240 struct cxl_afu *afu = to_cxl_afu(device); in mmio_size_show()
247 static ssize_t reset_store_afu(struct device *device, in reset_store_afu() argument
251 struct cxl_afu *afu = to_cxl_afu(device); in reset_store_afu()
270 static ssize_t irqs_min_show(struct device *device, in irqs_min_show() argument
274 struct cxl_afu *afu = to_cxl_afu(device); in irqs_min_show()
279 static ssize_t irqs_max_show(struct device *device, in irqs_max_show() argument
283 struct cxl_afu *afu = to_cxl_afu(device); in irqs_max_show()
288 static ssize_t irqs_max_store(struct device *device, in irqs_max_store() argument
292 struct cxl_afu *afu = to_cxl_afu(device); in irqs_max_store()
316 static ssize_t modes_supported_show(struct device *device, in modes_supported_show() argument
319 struct cxl_afu *afu = to_cxl_afu(device); in modes_supported_show()
329 static ssize_t prefault_mode_show(struct device *device, in prefault_mode_show() argument
333 struct cxl_afu *afu = to_cxl_afu(device); in prefault_mode_show()
345 static ssize_t prefault_mode_store(struct device *device, in prefault_mode_store() argument
349 struct cxl_afu *afu = to_cxl_afu(device); in prefault_mode_store()
363 dev_err(device, "Cannot prefault with radix enabled\n"); in prefault_mode_store()
374 static ssize_t mode_show(struct device *device, in mode_show() argument
378 struct cxl_afu *afu = to_cxl_afu(device); in mode_show()
387 static ssize_t mode_store(struct device *device, struct device_attribute *attr, in mode_store() argument
390 struct cxl_afu *afu = to_cxl_afu(device); in mode_store()
432 static ssize_t api_version_show(struct device *device, in api_version_show() argument
439 static ssize_t api_version_compatible_show(struct device *device, in api_version_compatible_show() argument
509 u16 device; member
529 return scnprintf(buf, PAGE_SIZE, "0x%.4x\n", cr->device); in device_show()
563 __ATTR_RO(device);
599 rc = cxl_ops->afu_cr_read16(afu, cr_idx, PCI_DEVICE_ID, &cr->device); in cxl_sysfs_afu_new_cr()