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()
233 static ssize_t numa_node_show(struct device *dev, struct device_attribute *attr, in numa_node_show()
242 struct device_attribute *attr, char *buf) in dma_mask_bits_show()
251 struct device_attribute *attr, in consistent_dma_mask_bits_show()
258 static ssize_t msi_bus_show(struct device *dev, struct device_attribute *attr, in msi_bus_show()
269 static ssize_t msi_bus_store(struct device *dev, struct device_attribute *attr, in msi_bus_store()
339 struct device_attribute *attr, const char *buf, in dev_rescan_store()
355 static struct device_attribute dev_rescan_attr = __ATTR(rescan,
359 static ssize_t remove_store(struct device *dev, struct device_attribute *attr, in remove_store()
371 static struct device_attribute dev_remove_attr = __ATTR(remove,
376 struct device_attribute *attr, in dev_bus_rescan_store()
399 struct device_attribute *attr, in d3cold_allowed_store()
415 struct device_attribute *attr, char *buf) in d3cold_allowed_show()
425 struct device_attribute *attr, char *buf) in devspec_show()
439 struct device_attribute *attr, in sriov_totalvfs_show()
449 struct device_attribute *attr, in sriov_numvfs_show()
465 struct device_attribute *attr, in sriov_numvfs_store()
514 static struct device_attribute sriov_totalvfs_attr = __ATTR_RO(sriov_totalvfs);
515 static struct device_attribute sriov_numvfs_attr =
521 struct device_attribute *attr, in driver_override_store()
552 struct device_attribute *attr, char *buf) in driver_override_show()
614 static ssize_t boot_vga_show(struct device *dev, struct device_attribute *attr, in boot_vga_show()
627 static struct device_attribute vga_attr = __ATTR_RO(boot_vga);
1298 static ssize_t reset_store(struct device *dev, struct device_attribute *attr, in reset_store()
1318 static struct device_attribute reset_attr = __ATTR(reset, 0200, NULL, reset_store);