Lines Matching refs:attr
206 static int smpro_read_temp(struct device *dev, u32 attr, int channel, long *val)
212 switch (attr) {
231 static int smpro_read_in(struct device *dev, u32 attr, int channel, long *val)
237 switch (attr) {
250 static int smpro_read_curr(struct device *dev, u32 attr, int channel, long *val)
256 switch (attr) {
269 static int smpro_read_power(struct device *dev, u32 attr, int channel, long *val_pwr)
275 switch (attr) {
294 u32 attr, int channel, long *val)
298 return smpro_read_temp(dev, attr, channel, val);
300 return smpro_read_in(dev, attr, channel, val);
302 return smpro_read_power(dev, attr, channel, val);
304 return smpro_read_curr(dev, attr, channel, val);
311 u32 attr, int channel, const char **str)
315 switch (attr) {
325 switch (attr) {
335 switch (attr) {
345 switch (attr) {
361 u32 attr, int channel)
369 switch (attr) {