Lines Matching refs:device_attribute

40 field##_show(struct device *dev, struct device_attribute *attr, char *buf)				\
57 struct device_attribute *attr, in broken_parity_status_show()
65 struct device_attribute *attr, in broken_parity_status_store()
81 struct device_attribute *attr, char *buf) in pci_dev_show_local_cpu()
95 struct device_attribute *attr, char *buf) in local_cpus_show()
102 struct device_attribute *attr, char *buf) in local_cpulist_show()
112 struct device_attribute *attr, char *buf) in cpuaffinity_show()
121 struct device_attribute *attr, char *buf) in cpulistaffinity_show()
130 static ssize_t resource_show(struct device *dev, struct device_attribute *attr, in resource_show()
156 static ssize_t modalias_show(struct device *dev, struct device_attribute *attr, in modalias_show()
169 static ssize_t enable_store(struct device *dev, struct device_attribute *attr, in enable_store()
194 static ssize_t enable_show(struct device *dev, struct device_attribute *attr, in enable_show()
206 struct device_attribute *attr, const char *buf, in numa_node_store()
230 static ssize_t numa_node_show(struct device *dev, struct device_attribute *attr, in numa_node_show()
239 struct device_attribute *attr, char *buf) in dma_mask_bits_show()
248 struct device_attribute *attr, in consistent_dma_mask_bits_show()
255 static ssize_t msi_bus_show(struct device *dev, struct device_attribute *attr, in msi_bus_show()
266 static ssize_t msi_bus_store(struct device *dev, struct device_attribute *attr, in msi_bus_store()
336 struct device_attribute *attr, const char *buf, in dev_rescan_store()
352 static struct device_attribute dev_rescan_attr = __ATTR(rescan,
356 static ssize_t remove_store(struct device *dev, struct device_attribute *attr, in remove_store()
368 static struct device_attribute dev_remove_attr = __ATTR(remove,
373 struct device_attribute *attr, in dev_bus_rescan_store()
396 struct device_attribute *attr, in d3cold_allowed_store()
412 struct device_attribute *attr, char *buf) in d3cold_allowed_show()
422 struct device_attribute *attr, char *buf) in devspec_show()
436 struct device_attribute *attr, in sriov_totalvfs_show()
446 struct device_attribute *attr, in sriov_numvfs_show()
462 struct device_attribute *attr, in sriov_numvfs_store()
511 static struct device_attribute sriov_totalvfs_attr = __ATTR_RO(sriov_totalvfs);
512 static struct device_attribute sriov_numvfs_attr =
518 struct device_attribute *attr, in driver_override_store()
549 struct device_attribute *attr, char *buf) in driver_override_show()
611 static ssize_t boot_vga_show(struct device *dev, struct device_attribute *attr, in boot_vga_show()
624 static struct device_attribute vga_attr = __ATTR_RO(boot_vga);
1295 static ssize_t reset_store(struct device *dev, struct device_attribute *attr, in reset_store()
1315 static struct device_attribute reset_attr = __ATTR(reset, 0200, NULL, reset_store);