Lines Matching refs:attr
118 int (*get_temp)(struct drivetemp_data *st, u32 attr, long *val);
206 static int drivetemp_get_smarttemp(struct drivetemp_data *st, u32 attr,
231 u8 *attr = buf + i * 12;
232 int id = attr[2];
238 temp_raw = attr[7];
242 temp_raw = attr[7];
256 static int drivetemp_get_scttemp(struct drivetemp_data *st, u32 attr, long *val)
264 switch (attr) {
449 u32 attr, int channel, long *val)
457 switch (attr) {
462 err = st->get_temp(st, attr, val);
486 u32 attr, int channel)
492 switch (attr) {