Lines Matching refs:device_attribute

37 field##_show(struct device *dev, struct device_attribute *attr, char *buf)				\
55 struct device_attribute *attr, in broken_parity_status_show()
63 struct device_attribute *attr, in broken_parity_status_store()
79 struct device_attribute *attr, char *buf) in pci_dev_show_local_cpu()
93 struct device_attribute *attr, char *buf) in local_cpus_show()
100 struct device_attribute *attr, char *buf) in local_cpulist_show()
110 struct device_attribute *attr, char *buf) in cpuaffinity_show()
119 struct device_attribute *attr, char *buf) in cpulistaffinity_show()
128 static ssize_t resource_show(struct device *dev, struct device_attribute *attr, in resource_show()
155 struct device_attribute *attr, char *buf) in max_link_speed_show()
164 struct device_attribute *attr, char *buf) in max_link_width_show()
173 struct device_attribute *attr, char *buf) in current_link_speed_show()
209 struct device_attribute *attr, char *buf) in current_link_width_show()
225 struct device_attribute *attr, in secondary_bus_number_show()
241 struct device_attribute *attr, in subordinate_bus_number_show()
257 struct device_attribute *attr, in ari_enabled_show()
266 static ssize_t modalias_show(struct device *dev, struct device_attribute *attr, in modalias_show()
279 static ssize_t enable_store(struct device *dev, struct device_attribute *attr, in enable_store()
307 static ssize_t enable_show(struct device *dev, struct device_attribute *attr, in enable_show()
319 struct device_attribute *attr, const char *buf, in numa_node_store()
346 static ssize_t numa_node_show(struct device *dev, struct device_attribute *attr, in numa_node_show()
355 struct device_attribute *attr, char *buf) in dma_mask_bits_show()
364 struct device_attribute *attr, in consistent_dma_mask_bits_show()
371 static ssize_t msi_bus_show(struct device *dev, struct device_attribute *attr, in msi_bus_show()
382 static ssize_t msi_bus_store(struct device *dev, struct device_attribute *attr, in msi_bus_store()
452 struct device_attribute *attr, const char *buf, in dev_rescan_store()
468 static struct device_attribute dev_rescan_attr = __ATTR(rescan,
472 static ssize_t remove_store(struct device *dev, struct device_attribute *attr, in remove_store()
484 static struct device_attribute dev_remove_attr = __ATTR_IGNORE_LOCKDEP(remove,
489 struct device_attribute *attr, in dev_bus_rescan_store()
512 struct device_attribute *attr, in d3cold_allowed_store()
533 struct device_attribute *attr, char *buf) in d3cold_allowed_show()
543 struct device_attribute *attr, char *buf) in devspec_show()
557 struct device_attribute *attr, in sriov_totalvfs_show()
567 struct device_attribute *attr, in sriov_numvfs_show()
583 struct device_attribute *attr, in sriov_numvfs_store()
641 struct device_attribute *attr, in sriov_offset_show()
650 struct device_attribute *attr, in sriov_stride_show()
659 struct device_attribute *attr, in sriov_vf_device_show()
668 struct device_attribute *attr, in sriov_drivers_autoprobe_show()
677 struct device_attribute *attr, in sriov_drivers_autoprobe_store()
691 static struct device_attribute sriov_totalvfs_attr = __ATTR_RO(sriov_totalvfs);
692 static struct device_attribute sriov_numvfs_attr =
695 static struct device_attribute sriov_offset_attr = __ATTR_RO(sriov_offset);
696 static struct device_attribute sriov_stride_attr = __ATTR_RO(sriov_stride);
697 static struct device_attribute sriov_vf_device_attr = __ATTR_RO(sriov_vf_device);
698 static struct device_attribute sriov_drivers_autoprobe_attr =
704 struct device_attribute *attr, in driver_override_store()
738 struct device_attribute *attr, char *buf) in driver_override_show()
811 static ssize_t boot_vga_show(struct device *dev, struct device_attribute *attr, in boot_vga_show()
824 static struct device_attribute vga_attr = __ATTR_RO(boot_vga);
1446 static ssize_t reset_store(struct device *dev, struct device_attribute *attr, in reset_store()
1468 static struct device_attribute reset_attr = __ATTR(reset, 0200, NULL, reset_store);