Searched refs:ctrl_reg1 (Results 1 – 5 of 5) sorted by relevance
/Linux-v5.10/drivers/iio/magnetometer/ |
D | mag3110.c | 55 u8 ctrl_reg1; member 65 if ((data->ctrl_reg1 & MAG3110_CTRL_AC) == 0) { in mag3110_request() 68 data->ctrl_reg1 | MAG3110_CTRL_TM); in mag3110_request() 159 int ret, i = data->ctrl_reg1 >> MAG3110_CTRL_DR_SHIFT; in mag3110_calculate_sleep() 172 data->ctrl_reg1 & ~MAG3110_CTRL_AC); in mag3110_standby() 208 data->ctrl_reg1); in mag3110_active() 326 i = data->ctrl_reg1 >> MAG3110_CTRL_DR_SHIFT; in mag3110_read_raw() 359 data->ctrl_reg1 &= 0xff & ~MAG3110_CTRL_DR_MASK in mag3110_write_raw() 361 data->ctrl_reg1 |= rate << MAG3110_CTRL_DR_SHIFT; in mag3110_write_raw() 364 data->ctrl_reg1 |= MAG3110_CTRL_AC; in mag3110_write_raw() [all …]
|
/Linux-v5.10/drivers/input/misc/ |
D | kxtj9.c | 75 u8 ctrl_reg1; member 156 tj9->ctrl_reg1 &= 0xe7; in kxtj9_update_g_range() 157 tj9->ctrl_reg1 |= new_g_range; in kxtj9_update_g_range() 182 err = i2c_smbus_write_byte_data(tj9->client, CTRL_REG1, tj9->ctrl_reg1); in kxtj9_update_odr() 201 tj9->ctrl_reg1 &= PC1_OFF; in kxtj9_device_power_off() 202 err = i2c_smbus_write_byte_data(tj9->client, CTRL_REG1, tj9->ctrl_reg1); in kxtj9_device_power_off() 236 tj9->ctrl_reg1 |= PC1_ON; in kxtj9_enable() 237 err = i2c_smbus_write_byte_data(tj9->client, CTRL_REG1, tj9->ctrl_reg1); in kxtj9_enable() 436 tj9->ctrl_reg1 = tj9->pdata.res_12bit | tj9->pdata.g_range; in kxtj9_probe() 475 tj9->ctrl_reg1 |= DRDYE; in kxtj9_probe()
|
/Linux-v5.10/drivers/iio/pressure/ |
D | mpl3115.c | 41 u8 ctrl_reg1; member 50 data->ctrl_reg1 | MPL3115_CTRL_OST); in mpl3115_request() 253 data->ctrl_reg1 = MPL3115_CTRL_OS_258MS; in mpl3115_probe() 255 data->ctrl_reg1); in mpl3115_probe() 277 data->ctrl_reg1 & ~MPL3115_CTRL_ACTIVE); in mpl3115_standby() 304 data->ctrl_reg1); in mpl3115_resume()
|
/Linux-v5.10/drivers/iio/accel/ |
D | mma8452.c | 107 u8 ctrl_reg1; member 289 return (data->ctrl_reg1 & MMA8452_CTRL_DR_MASK) >> in mma8452_get_odr_index() 576 data->ctrl_reg1 & ~MMA8452_CTRL_ACTIVE); in mma8452_standby() 582 data->ctrl_reg1); in mma8452_active() 726 data->ctrl_reg1 &= ~MMA8452_CTRL_DR_MASK; in mma8452_write_raw() 727 data->ctrl_reg1 |= i << MMA8452_CTRL_DR_SHIFT; in mma8452_write_raw() 732 data->ctrl_reg1); in mma8452_write_raw() 1644 data->ctrl_reg1 = MMA8452_CTRL_ACTIVE | in mma8452_probe() 1650 data->ctrl_reg1); in mma8452_probe()
|
/Linux-v5.10/drivers/hwmon/ |
D | aspeed-pwm-tacho.c | 208 u32 ctrl_reg1; member 219 .ctrl_reg1 = ASPEED_PTCR_TYPEM_CTRL1, 228 .ctrl_reg1 = ASPEED_PTCR_TYPEN_CTRL1, 237 .ctrl_reg1 = ASPEED_PTCR_TYPEO_CTRL1, 449 regmap_update_bits(regmap, type_params[type].ctrl_reg1, in aspeed_set_tacho_type_values()
|