Home
last modified time | relevance | path

Searched refs:ctrl_reg1 (Results 1 – 6 of 6) sorted by relevance

/linux-6.12.1/drivers/iio/magnetometer/
Dmag3110.c55 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 …]
/linux-6.12.1/drivers/input/misc/
Dkxtj9.c75 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()
446 tj9->ctrl_reg1 = tj9->pdata.res_12bit | tj9->pdata.g_range; in kxtj9_probe()
485 tj9->ctrl_reg1 |= DRDYE; in kxtj9_probe()
/linux-6.12.1/drivers/iio/pressure/
Dmpl3115.c41 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()
/linux-6.12.1/drivers/clk/hisilicon/
Dclk-hi3559a.c29 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()
475 p_clk->ctrl_reg1 = base + clks[i].ctrl_reg1; in hisi_clk_register_pll()
/linux-6.12.1/drivers/iio/accel/
Dmma8452.c108 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()
1670 data->ctrl_reg1 = MMA8452_CTRL_ACTIVE | in mma8452_probe()
1676 data->ctrl_reg1); in mma8452_probe()
/linux-6.12.1/drivers/hwmon/
Daspeed-pwm-tacho.c211 u32 ctrl_reg1; member
222 .ctrl_reg1 = ASPEED_PTCR_TYPEM_CTRL1,
231 .ctrl_reg1 = ASPEED_PTCR_TYPEN_CTRL1,
240 .ctrl_reg1 = ASPEED_PTCR_TYPEO_CTRL1,
452 regmap_update_bits(regmap, type_params[type].ctrl_reg1, in aspeed_set_tacho_type_values()