Lines Matching refs:device
28 static ssize_t ports_num_show(struct device *dev,
47 static ssize_t bitstream_id_show(struct device *dev,
65 static ssize_t bitstream_metadata_show(struct device *dev,
79 static ssize_t cache_size_show(struct device *dev,
94 static ssize_t fabric_version_show(struct device *dev,
109 static ssize_t socket_id_show(struct device *dev,
226 static int thermal_hwmon_read(struct device *dev, enum hwmon_sensor_types type,
281 static ssize_t temp1_max_policy_show(struct device *dev,
303 struct device *dev = kobj_to_dev(kobj);
318 struct device *hwmon;
324 * temp1_input -> FPGA device temperature
331 * create device specific sysfs interfaces, e.g. read temp1_max_policy
377 static int power_hwmon_read(struct device *dev, enum hwmon_sensor_types type,
411 static int power_hwmon_write(struct device *dev, enum hwmon_sensor_types type,
481 static ssize_t power1_xeon_limit_show(struct device *dev,
496 static ssize_t power1_fpga_limit_show(struct device *dev,
511 static ssize_t power1_ltr_show(struct device *dev,
539 struct device *hwmon;