Lines Matching refs:attr

13 static ssize_t clk_max_freq_mhz_show(struct device *dev, struct device_attribute *attr, char *buf)
30 static ssize_t clk_max_freq_mhz_store(struct device *dev, struct device_attribute *attr,
56 static ssize_t clk_cur_freq_mhz_show(struct device *dev, struct device_attribute *attr, char *buf)
75 &dev_attr_clk_max_freq_mhz.attr,
76 &dev_attr_clk_cur_freq_mhz.attr,
80 static ssize_t vrm_ver_show(struct device *dev, struct device_attribute *attr, char *buf)
112 &dev_attr_vrm_ver.attr,
116 static ssize_t uboot_ver_show(struct device *dev, struct device_attribute *attr,
125 struct device_attribute *attr, char *buf)
132 static ssize_t armcp_ver_show(struct device *dev, struct device_attribute *attr,
140 static ssize_t cpld_ver_show(struct device *dev, struct device_attribute *attr,
150 struct device_attribute *attr, char *buf)
157 static ssize_t cpucp_ver_show(struct device *dev, struct device_attribute *attr,
165 static ssize_t fuse_ver_show(struct device *dev, struct device_attribute *attr,
174 struct device_attribute *attr, char *buf)
182 struct device_attribute *attr, char *buf)
190 struct device_attribute *attr, char *buf)
198 struct device_attribute *attr, const char *buf,
226 struct device_attribute *attr,
249 struct device_attribute *attr, char *buf)
282 static ssize_t pci_addr_show(struct device *dev, struct device_attribute *attr,
294 static ssize_t status_show(struct device *dev, struct device_attribute *attr,
309 struct device_attribute *attr, char *buf)
317 struct device_attribute *attr, char *buf)
324 static ssize_t max_power_show(struct device *dev, struct device_attribute *attr,
341 struct device_attribute *attr, const char *buf, size_t count)
367 struct bin_attribute *attr, char *buf, loff_t offset,
398 struct device_attribute *attr, char *buf)
406 struct device_attribute *attr, char *buf)
413 static ssize_t parent_device_show(struct device *dev, struct device_attribute *attr, char *buf)
443 .attr = {.name = "eeprom", .mode = (0444)},
449 &dev_attr_armcp_kernel_ver.attr,
450 &dev_attr_armcp_ver.attr,
451 &dev_attr_cpld_ver.attr,
452 &dev_attr_cpucp_kernel_ver.attr,
453 &dev_attr_cpucp_ver.attr,
454 &dev_attr_device_type.attr,
455 &dev_attr_fuse_ver.attr,
456 &dev_attr_hard_reset.attr,
457 &dev_attr_hard_reset_cnt.attr,
458 &dev_attr_max_power.attr,
459 &dev_attr_pci_addr.attr,
460 &dev_attr_preboot_btl_ver.attr,
461 &dev_attr_status.attr,
462 &dev_attr_thermal_ver.attr,
463 &dev_attr_uboot_ver.attr,
464 &dev_attr_fw_os_ver.attr,
465 &dev_attr_security_enabled.attr,
466 &dev_attr_module_id.attr,
467 &dev_attr_parent_device.attr,
492 &dev_attr_soft_reset.attr,
493 &dev_attr_soft_reset_cnt.attr,