Searched refs:show_bit (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/hwmon/
H A Demc1403.c60 static ssize_t show_bit(struct device *dev, show_bit() function
184 show_bit, NULL, 0x36, 0x01);
186 show_bit, NULL, 0x35, 0x01);
188 show_bit, NULL, 0x37, 0x01);
201 static SENSOR_DEVICE_ATTR_2(temp2_fault, S_IRUGO, show_bit, NULL, 0x1b, 0x02);
203 show_bit, NULL, 0x36, 0x02);
205 show_bit, NULL, 0x35, 0x02);
207 show_bit, NULL, 0x37, 0x02);
219 static SENSOR_DEVICE_ATTR_2(temp3_fault, S_IRUGO, show_bit, NULL, 0x1b, 0x04);
221 show_bit, NULL, 0x36, 0x04);
223 show_bit, NULL, 0x35, 0x04);
225 show_bit, NULL, 0x37, 0x04);
237 static SENSOR_DEVICE_ATTR_2(temp4_fault, S_IRUGO, show_bit, NULL, 0x1b, 0x08);
239 show_bit, NULL, 0x36, 0x08);
241 show_bit, NULL, 0x35, 0x08);
243 show_bit, NULL, 0x37, 0x08);
249 show_bit, store_bit, 0x03, 0x40);
331 SENSOR_ATTR_2(temp1_min_alarm, S_IRUGO, show_bit, NULL, 0x02, 0x20),
332 SENSOR_ATTR_2(temp1_max_alarm, S_IRUGO, show_bit, NULL, 0x02, 0x40),
333 SENSOR_ATTR_2(temp1_crit_alarm, S_IRUGO, show_bit, NULL, 0x02, 0x01),
335 SENSOR_ATTR_2(temp2_fault, S_IRUGO, show_bit, NULL, 0x02, 0x04),
336 SENSOR_ATTR_2(temp2_min_alarm, S_IRUGO, show_bit, NULL, 0x02, 0x08),
337 SENSOR_ATTR_2(temp2_max_alarm, S_IRUGO, show_bit, NULL, 0x02, 0x10),
338 SENSOR_ATTR_2(temp2_crit_alarm, S_IRUGO, show_bit, NULL, 0x02, 0x02),

Completed in 46 milliseconds