Lines Matching refs:device
27 static ssize_t ports_num_show(struct device *dev,
46 static ssize_t bitstream_id_show(struct device *dev,
64 static ssize_t bitstream_metadata_show(struct device *dev,
78 static ssize_t cache_size_show(struct device *dev,
93 static ssize_t fabric_version_show(struct device *dev,
108 static ssize_t socket_id_show(struct device *dev,
225 static int thermal_hwmon_read(struct device *dev, enum hwmon_sensor_types type,
280 static ssize_t temp1_max_policy_show(struct device *dev,
302 struct device *dev = kobj_to_dev(kobj);
317 struct device *hwmon;
323 * temp1_input -> FPGA device temperature
330 * create device specific sysfs interfaces, e.g. read temp1_max_policy
376 static int power_hwmon_read(struct device *dev, enum hwmon_sensor_types type,
410 static int power_hwmon_write(struct device *dev, enum hwmon_sensor_types type,
480 static ssize_t power1_xeon_limit_show(struct device *dev,
495 static ssize_t power1_fpga_limit_show(struct device *dev,
510 static ssize_t power1_ltr_show(struct device *dev,
538 struct device *hwmon;