Searched refs:ctrl_reg1 (Results 1 – 6 of 6) sorted by relevance
/linux/drivers/iio/magnetometer/ |
A 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() 178 data->ctrl_reg1 & ~MAG3110_CTRL_AC); in mag3110_standby() 214 data->ctrl_reg1); in mag3110_active() 332 i = data->ctrl_reg1 >> MAG3110_CTRL_DR_SHIFT; in mag3110_read_raw() 365 data->ctrl_reg1 &= 0xff & ~MAG3110_CTRL_DR_MASK in mag3110_write_raw() 370 data->ctrl_reg1 |= MAG3110_CTRL_AC; in mag3110_write_raw() 373 data->ctrl_reg1); in mag3110_write_raw() 527 data->ctrl_reg1 |= MAG3110_CTRL_AC; in mag3110_probe() [all …]
|
/linux/drivers/input/misc/ |
A 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/drivers/iio/pressure/ |
A D | mpl3115.c | 41 u8 ctrl_reg1; member 50 data->ctrl_reg1 | MPL3115_CTRL_OST); in mpl3115_request() 260 data->ctrl_reg1 = MPL3115_CTRL_OS_258MS; in mpl3115_probe() 262 data->ctrl_reg1); in mpl3115_probe() 284 data->ctrl_reg1 & ~MPL3115_CTRL_ACTIVE); in mpl3115_standby() 311 data->ctrl_reg1); in mpl3115_resume()
|
/linux/drivers/clk/hisilicon/ |
A 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()
|
/linux/drivers/iio/accel/ |
A D | mma8452.c | 107 u8 ctrl_reg1; member 287 return (data->ctrl_reg1 & MMA8452_CTRL_DR_MASK) >> in mma8452_get_odr_index() 574 data->ctrl_reg1 & ~MMA8452_CTRL_ACTIVE); in mma8452_standby() 580 data->ctrl_reg1); in mma8452_active() 724 data->ctrl_reg1 &= ~MMA8452_CTRL_DR_MASK; in mma8452_write_raw() 725 data->ctrl_reg1 |= i << MMA8452_CTRL_DR_SHIFT; in mma8452_write_raw() 730 data->ctrl_reg1); in mma8452_write_raw() 1641 data->ctrl_reg1 = MMA8452_CTRL_ACTIVE | in mma8452_probe() 1647 data->ctrl_reg1); in mma8452_probe()
|
/linux/drivers/hwmon/ |
A 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()
|
Completed in 736 milliseconds