Searched refs:ctrl_reg1 (Results 1 – 6 of 6) sorted by relevance
/drivers/iio/magnetometer/ |
D | mag3110.c | 55 u8 ctrl_reg1; member 71 if ((data->ctrl_reg1 & MAG3110_CTRL_AC) == 0) { in mag3110_request() 74 data->ctrl_reg1 | MAG3110_CTRL_TM); in mag3110_request() 165 int ret, i = data->ctrl_reg1 >> MAG3110_CTRL_DR_SHIFT; in mag3110_calculate_sleep() 178 data->ctrl_reg1 & ~MAG3110_CTRL_AC); in mag3110_standby() 214 data->ctrl_reg1); in mag3110_active() 334 i = data->ctrl_reg1 >> MAG3110_CTRL_DR_SHIFT; in mag3110_read_raw() 367 data->ctrl_reg1 &= 0xff & ~MAG3110_CTRL_DR_MASK in mag3110_write_raw() 369 data->ctrl_reg1 |= rate << MAG3110_CTRL_DR_SHIFT; in mag3110_write_raw() 372 data->ctrl_reg1 |= MAG3110_CTRL_AC; in mag3110_write_raw() [all …]
|
/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()
|
/drivers/iio/pressure/ |
D | mpl3115.c | 41 u8 ctrl_reg1; member 50 data->ctrl_reg1 | MPL3115_CTRL_OST); in mpl3115_request() 266 data->ctrl_reg1 = MPL3115_CTRL_OS_258MS; in mpl3115_probe() 268 data->ctrl_reg1); in mpl3115_probe() 290 data->ctrl_reg1 & ~MPL3115_CTRL_ACTIVE); in mpl3115_standby() 314 data->ctrl_reg1); in mpl3115_resume()
|
/drivers/clk/hisilicon/ |
D | clk-hi3559a.c | 29 const u32 ctrl_reg1; member 46 void __iomem *ctrl_reg1; member 385 val = readl_relaxed(clk->ctrl_reg1); in clk_pll_set_rate() 393 writel_relaxed(val, clk->ctrl_reg1); in clk_pll_set_rate() 415 val = readl_relaxed(clk->ctrl_reg1); in clk_pll_recalc_rate() 420 val = readl_relaxed(clk->ctrl_reg1); in clk_pll_recalc_rate() 425 val = readl_relaxed(clk->ctrl_reg1); in clk_pll_recalc_rate() 477 p_clk->ctrl_reg1 = base + clks[i].ctrl_reg1; in hisi_clk_register_pll()
|
/drivers/iio/accel/ |
D | mma8452.c | 108 u8 ctrl_reg1; member 290 return (data->ctrl_reg1 & MMA8452_CTRL_DR_MASK) >> in mma8452_get_odr_index() 577 data->ctrl_reg1 & ~MMA8452_CTRL_ACTIVE); in mma8452_standby() 583 data->ctrl_reg1); in mma8452_active() 727 data->ctrl_reg1 &= ~MMA8452_CTRL_DR_MASK; in mma8452_write_raw() 728 data->ctrl_reg1 |= i << MMA8452_CTRL_DR_SHIFT; in mma8452_write_raw() 733 data->ctrl_reg1); in mma8452_write_raw() 1676 data->ctrl_reg1 = MMA8452_CTRL_ACTIVE | in mma8452_probe() 1682 data->ctrl_reg1); in mma8452_probe()
|
/drivers/hwmon/ |
D | aspeed-pwm-tacho.c | 210 u32 ctrl_reg1; member 221 .ctrl_reg1 = ASPEED_PTCR_TYPEM_CTRL1, 230 .ctrl_reg1 = ASPEED_PTCR_TYPEN_CTRL1, 239 .ctrl_reg1 = ASPEED_PTCR_TYPEO_CTRL1, 451 regmap_update_bits(regmap, type_params[type].ctrl_reg1, in aspeed_set_tacho_type_values()
|