Lines Matching defs:channel
310 static u8 tmp51x_get_reg(enum hwmon_sensor_types type, u32 attr, int channel)
316 return TMP51X_TEMP_INPUT[channel];
320 return TMP51X_TEMP_CRIT[channel];
322 return TMP51X_TEMP_CRIT_HYST[channel];
341 return TMP51X_CURR_INPUT[channel];
369 int channel)
375 return TMP51X_TEMP_CRIT_ALARM[channel];
408 u32 attr, int channel, long *val)
415 reg = tmp51x_get_reg(type, attr, channel);
420 pos = tmp51x_get_status_pos(type, attr, channel);
430 u32 attr, int channel, long val)
434 reg = tmp51x_get_reg(type, attr, channel);
443 int channel)
449 if (channel >= data->max_channels)
458 if (channel == 0)