Lines Matching +full:5 +full:vs
111 struct regulator *vs; member
122 static const u8 lm75_sample_set_masks[] = { 0 << 5, 1 << 5, 2 << 5, 3 << 5 };
124 #define LM75_SAMPLE_CLEAR_MASK (3 << 5)
132 .clr_mask = 1 << 5, /* not one-shot mode */
146 .set_mask = 3 << 5, /* 12-bit mode*/
154 .clr_mask = 3 << 5,
155 .set_mask = 2 << 5, /* 11-bit mode */
163 .clr_mask = 3 << 5,
164 .set_mask = 2 << 5, /* 11-bit mode */
172 .clr_mask = 3 << 5,
173 .set_mask = 2 << 5, /* 11-bit mode */
185 .set_mask = 3 << 5, /* 12-bit mode*/
235 .set_mask = 3 << 5, /* 12-bit mode */
245 .set_mask = 3 << 5, /* 12-bit mode */
254 .set_mask = 3 << 5, /* 12-bit mode */
263 .set_mask = 3 << 5, /* 12-bit mode */
281 .set_mask = 3 << 5, /* 12-bit mode */
290 .set_mask = 3 << 5, /* 12-bit mode */
299 .set_mask = 3 << 5, /* 12-bit mode */
308 .clr_mask = 1 << 7 | 3 << 5,
317 .clr_mask = 1 << 5, /*not one-shot mode*/
322 .clr_mask = 1 << 5 | 1 << 6 | 1 << 7,
421 *val = (regval >> 5) & 0x1; in lm75_read()
617 regulator_disable(lm75->vs); in lm75_disable_regulator()
646 data->vs = devm_regulator_get(dev, "vs"); in lm75_probe()
647 if (IS_ERR(data->vs)) in lm75_probe()
648 return PTR_ERR(data->vs); in lm75_probe()
665 err = regulator_enable(data->vs); in lm75_probe()
928 || i2c_smbus_read_byte_data(new_client, 5) != 0xff in lm75_detect()
938 || i2c_smbus_read_byte_data(new_client, 5) != hyst in lm75_detect()
944 || i2c_smbus_read_byte_data(new_client, 5) != os in lm75_detect()