Home
last modified time | relevance | path

Searched refs:reg_bits (Results 1 – 25 of 832) sorted by relevance

12345678910>>...34

/Linux-v5.10/drivers/clk/ux500/
Dclk-sysctrl.c28 u8 reg_bits[SYSCTRL_MAX_NUM_PARENTS]; member
41 clk->reg_bits[0]); in clk_sysctrl_prepare()
81 clk->reg_bits[index]); in clk_sysctrl_set_parent()
86 clk->reg_bits[old_index]); in clk_sysctrl_set_parent()
123 u8 *reg_bits, in clk_reg_sysctrl() argument
148 clk->reg_bits[0] = reg_bits[0]; in clk_reg_sysctrl()
154 clk->reg_bits[i] = reg_bits[i]; in clk_reg_sysctrl()
182 u8 reg_bits, in clk_reg_sysctrl_gate() argument
190 &reg_sel, &reg_mask, &reg_bits, 0, enable_delay_us, in clk_reg_sysctrl_gate()
199 u8 reg_bits, in clk_reg_sysctrl_gate_fixed_rate() argument
[all …]
Dclk.h67 u8 reg_bits,
76 u8 reg_bits,
87 u8 *reg_bits,
/Linux-v5.10/drivers/phy/lantiq/
Dphy-lantiq-rcu-usb2.c39 const struct ltq_rcu_usb2_bits *reg_bits; member
97 if (priv->reg_bits->have_ana_cfg) { in ltq_rcu_usb2_phy_init()
106 BIT(priv->reg_bits->hostmode), 0); in ltq_rcu_usb2_phy_init()
110 BIT(priv->reg_bits->slave_endianness), 0); in ltq_rcu_usb2_phy_init()
112 BIT(priv->reg_bits->host_endianness), in ltq_rcu_usb2_phy_init()
113 BIT(priv->reg_bits->host_endianness)); in ltq_rcu_usb2_phy_init()
157 priv->reg_bits = of_device_get_match_data(dev); in ltq_rcu_usb2_of_parse()
172 if (priv->reg_bits->have_ana_cfg) { in ltq_rcu_usb2_of_parse()
/Linux-v5.10/drivers/mfd/
Dsec-core.c176 .reg_bits = 8,
181 .reg_bits = 8,
190 .reg_bits = 8,
199 .reg_bits = 8,
208 .reg_bits = 8,
217 .reg_bits = 8,
226 .reg_bits = 8,
235 .reg_bits = 8,
244 .reg_bits = 8,
Dwm97xx-core.c94 .reg_bits = 16,
162 .reg_bits = 16,
233 .reg_bits = 16,
Dbcm590xx.c28 .reg_bits = 8,
35 .reg_bits = 8,
Dwm8994-regmap.c1238 .reg_bits = 16,
1253 .reg_bits = 16,
1268 .reg_bits = 16,
1283 .reg_bits = 16,
Dcs47l15-tables.c1244 .reg_bits = 32,
1260 .reg_bits = 32,
1275 .reg_bits = 32,
1290 .reg_bits = 32,
Dtwl-core.c298 .reg_bits = 8,
304 .reg_bits = 8,
319 .reg_bits = 8,
325 .reg_bits = 8,
361 .reg_bits = 8,
367 .reg_bits = 8,
373 .reg_bits = 8,
Dtps80031.c387 .reg_bits = 8,
394 .reg_bits = 8,
402 .reg_bits = 8,
409 .reg_bits = 8,
Dmax77843.c39 .reg_bits = 8,
45 .reg_bits = 8,
Dmax77693.c52 .reg_bits = 8,
110 .reg_bits = 8,
147 .reg_bits = 8,
Dcs47l35-tables.c1491 .reg_bits = 32,
1509 .reg_bits = 32,
1526 .reg_bits = 32,
1543 .reg_bits = 32,
Dsta2x11-mfd.c177 .reg_bits = 32,
198 .reg_bits = 32,
237 .reg_bits = 32,
276 .reg_bits = 32,
/Linux-v5.10/drivers/iio/light/
Das73211.c447 int reg_bits, freq_kHz = val / HZ_PER_KHZ; /* 1024, 2048, ... */ in _as73211_write_raw() local
455 reg_bits = ilog2(freq_kHz) - 10; in _as73211_write_raw()
456 if (!FIELD_FIT(AS73211_CREG3_CCLK_MASK, reg_bits)) in _as73211_write_raw()
460 data->creg3 |= FIELD_PREP(AS73211_CREG3_CCLK_MASK, reg_bits); in _as73211_write_raw()
470 unsigned int reg_bits; in _as73211_write_raw() local
476 reg_bits = AS73211_CREG1_GAIN_1 - ilog2(val); in _as73211_write_raw()
477 if (!FIELD_FIT(AS73211_CREG1_GAIN_MASK, reg_bits)) in _as73211_write_raw()
481 data->creg1 |= FIELD_PREP(AS73211_CREG1_GAIN_MASK, reg_bits); in _as73211_write_raw()
492 int reg_bits; in _as73211_write_raw() local
505 reg_bits = ilog2(time_ms); in _as73211_write_raw()
[all …]
/Linux-v5.10/drivers/iio/common/st_sensors/
Dst_sensors_i2c.c22 .reg_bits = 8,
27 .reg_bits = 8,
Dst_sensors_spi.c23 .reg_bits = 8,
28 .reg_bits = 8,
/Linux-v5.10/drivers/iio/pressure/
Dbmp280-regmap.c33 .reg_bits = 8,
76 .reg_bits = 8,
/Linux-v5.10/drivers/base/regmap/
Dregmap-w1.c193 if (config->reg_bits == 8 && config->val_bits == 8) in regmap_get_w1_bus()
196 if (config->reg_bits == 8 && config->val_bits == 16) in regmap_get_w1_bus()
199 if (config->reg_bits == 16 && config->val_bits == 16) in regmap_get_w1_bus()
Dregmap-i2c.c311 else if (config->val_bits == 8 && config->reg_bits == 8 && in regmap_get_i2c_bus()
315 else if (config->val_bits == 8 && config->reg_bits == 16 && in regmap_get_i2c_bus()
319 else if (config->val_bits == 16 && config->reg_bits == 8 && in regmap_get_i2c_bus()
330 else if (config->val_bits == 8 && config->reg_bits == 8 && in regmap_get_i2c_bus()
Dregmap-mmio.c29 static int regmap_mmio_regbits_check(size_t reg_bits) in regmap_mmio_regbits_check() argument
31 switch (reg_bits) { in regmap_mmio_regbits_check()
220 ret = regmap_mmio_regbits_check(config->reg_bits); in regmap_mmio_gen_context()
/Linux-v5.10/drivers/hwmon/
Dads7828.c93 .reg_bits = 8,
98 .reg_bits = 8,
/Linux-v5.10/sound/soc/codecs/
Dcs4271-spi.c19 config.reg_bits = 16; in cs4271_spi_probe()
Dcs4271-i2c.c20 config.reg_bits = 8; in cs4271_i2c_probe()
Dad193x-i2c.c30 config.reg_bits = 8; in ad193x_i2c_probe()

12345678910>>...34