Lines Matching defs:device
6 static inline struct ocxl_afu *to_afu(struct device *device)
8 struct ocxl_file_info *info = container_of(device, struct ocxl_file_info, dev);
13 static ssize_t global_mmio_size_show(struct device *device,
17 struct ocxl_afu *afu = to_afu(device);
23 static ssize_t pp_mmio_size_show(struct device *device,
27 struct ocxl_afu *afu = to_afu(device);
33 static ssize_t afu_version_show(struct device *device,
37 struct ocxl_afu *afu = to_afu(device);
44 static ssize_t contexts_show(struct device *device,
48 struct ocxl_afu *afu = to_afu(device);
54 static ssize_t reload_on_reset_show(struct device *device,
58 struct ocxl_afu *afu = to_afu(device);
69 static ssize_t reload_on_reset_store(struct device *device,
73 struct ocxl_afu *afu = to_afu(device);