Lines Matching +defs:val +defs:x
39 #define LM95234_REG_TEMPH(x) ((x) + 0x10) argument
40 #define LM95234_REG_TEMPL(x) ((x) + 0x20) argument
41 #define LM95234_REG_UTEMPH(x) ((x) + 0x19) /* Remote only */ argument
42 #define LM95234_REG_UTEMPL(x) ((x) + 0x29) argument
45 #define LM95234_REG_OFFSET(x) ((x) + 0x31) /* Remote only */ argument
46 #define LM95234_REG_TCRIT1(x) ((x) + 0x40) argument
47 #define LM95234_REG_TCRIT2(x) ((x) + 0x49) /* Remote channel 1,2 */ argument
92 static int lm95234_hyst_get(struct regmap *regmap, int reg, long *val) in lm95234_hyst_get()
105 static ssize_t lm95234_hyst_set(struct lm95234_data *data, long val) in lm95234_hyst_set()
132 static int lm95234_temp_write(struct device *dev, u32 attr, int channel, long val) in lm95234_temp_write()
174 static int lm95234_temp_read(struct device *dev, u32 attr, int channel, long *val) in lm95234_temp_read()
245 static int lm95234_chip_write(struct device *dev, u32 attr, long val) in lm95234_chip_write()
259 static int lm95234_chip_read(struct device *dev, u32 attr, long *val) in lm95234_chip_read()
280 u32 attr, int channel, long val) in lm95234_write()
293 u32 attr, int channel, long *val) in lm95234_read()
430 int mfg_id, chip_id, val; in lm95234_detect() local
486 u32 val, model; in lm95234_init_client() local