Lines Matching defs:attr
81 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in axi_fan_control_show() local
93 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in axi_fan_control_store() local
150 static int axi_fan_control_read_temp(struct device *dev, u32 attr, long *val) in axi_fan_control_read_temp()
171 static int axi_fan_control_read_fan(struct device *dev, u32 attr, long *val) in axi_fan_control_read_fan()
189 static int axi_fan_control_read_pwm(struct device *dev, u32 attr, long *val) in axi_fan_control_read_pwm()
202 static int axi_fan_control_write_pwm(struct device *dev, u32 attr, long val) in axi_fan_control_write_pwm()
216 u32 attr, int channel, const char **str) in axi_fan_control_read_labels()
232 u32 attr, int channel, long *val) in axi_fan_control_read()
248 u32 attr, int channel, long val) in axi_fan_control_write()
258 static umode_t axi_fan_control_fan_is_visible(const u32 attr) in axi_fan_control_fan_is_visible()
270 static umode_t axi_fan_control_pwm_is_visible(const u32 attr) in axi_fan_control_pwm_is_visible()
280 static umode_t axi_fan_control_temp_is_visible(const u32 attr) in axi_fan_control_temp_is_visible()
293 u32 attr, int channel) in axi_fan_control_is_visible()