Lines Matching refs:attr
118 int (*get_temp)(struct drivetemp_data *st, u32 attr, long *val);
207 static int drivetemp_get_smarttemp(struct drivetemp_data *st, u32 attr,
232 u8 *attr = buf + i * 12;
233 int id = attr[2];
239 temp_raw = attr[7];
243 temp_raw = attr[7];
257 static int drivetemp_get_scttemp(struct drivetemp_data *st, u32 attr, long *val)
265 switch (attr) {
450 u32 attr, int channel, long *val)
458 switch (attr) {
463 err = st->get_temp(st, attr, val);
487 u32 attr, int channel)
493 switch (attr) {