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()
206 struct device_attribute *attr, char *buf) in current_link_width_show()
222 struct device_attribute *attr, in secondary_bus_number_show()
238 struct device_attribute *attr, in subordinate_bus_number_show()
254 struct device_attribute *attr, in ari_enabled_show()
263 static ssize_t modalias_show(struct device *dev, struct device_attribute *attr, in modalias_show()
276 static ssize_t enable_store(struct device *dev, struct device_attribute *attr, in enable_store()
304 static ssize_t enable_show(struct device *dev, struct device_attribute *attr, in enable_show()
316 struct device_attribute *attr, const char *buf, in numa_node_store()
343 static ssize_t numa_node_show(struct device *dev, struct device_attribute *attr, in numa_node_show()
352 struct device_attribute *attr, char *buf) in dma_mask_bits_show()
361 struct device_attribute *attr, in consistent_dma_mask_bits_show()
368 static ssize_t msi_bus_show(struct device *dev, struct device_attribute *attr, in msi_bus_show()
379 static ssize_t msi_bus_store(struct device *dev, struct device_attribute *attr, in msi_bus_store()
449 struct device_attribute *attr, const char *buf, in dev_rescan_store()
465 static struct device_attribute dev_rescan_attr = __ATTR(rescan,
469 static ssize_t remove_store(struct device *dev, struct device_attribute *attr, in remove_store()
481 static struct device_attribute dev_remove_attr = __ATTR(remove,
486 struct device_attribute *attr, in dev_bus_rescan_store()
509 struct device_attribute *attr, in d3cold_allowed_store()
530 struct device_attribute *attr, char *buf) in d3cold_allowed_show()
540 struct device_attribute *attr, char *buf) in devspec_show()
554 struct device_attribute *attr, in sriov_totalvfs_show()
564 struct device_attribute *attr, in sriov_numvfs_show()
580 struct device_attribute *attr, in sriov_numvfs_store()
638 struct device_attribute *attr, in sriov_offset_show()
647 struct device_attribute *attr, in sriov_stride_show()
656 struct device_attribute *attr, in sriov_vf_device_show()
665 struct device_attribute *attr, in sriov_drivers_autoprobe_show()
674 struct device_attribute *attr, in sriov_drivers_autoprobe_store()
688 static struct device_attribute sriov_totalvfs_attr = __ATTR_RO(sriov_totalvfs);
689 static struct device_attribute sriov_numvfs_attr =
692 static struct device_attribute sriov_offset_attr = __ATTR_RO(sriov_offset);
693 static struct device_attribute sriov_stride_attr = __ATTR_RO(sriov_stride);
694 static struct device_attribute sriov_vf_device_attr = __ATTR_RO(sriov_vf_device);
695 static struct device_attribute sriov_drivers_autoprobe_attr =
701 struct device_attribute *attr, in driver_override_store()
735 struct device_attribute *attr, char *buf) in driver_override_show()
808 static ssize_t boot_vga_show(struct device *dev, struct device_attribute *attr, in boot_vga_show()
821 static struct device_attribute vga_attr = __ATTR_RO(boot_vga);
1438 static ssize_t reset_store(struct device *dev, struct device_attribute *attr, in reset_store()
1460 static struct device_attribute reset_attr = __ATTR(reset, 0200, NULL, reset_store);