Home
last modified time | relevance | path

Searched refs:config_reg (Results 1 – 25 of 32) sorted by relevance

12

/linux/drivers/iio/common/ms_sensors/
H A Dms_sensors_i2c.c254 u8 *config_reg) in ms_sensors_read_config_reg() argument
264 ret = i2c_master_recv(client, config_reg, 1); in ms_sensors_read_config_reg()
269 dev_dbg(&client->dev, "Config register :%x\n", *config_reg); in ms_sensors_read_config_reg()
288 u8 config_reg; in ms_sensors_write_resolution() local
291 ret = ms_sensors_read_config_reg(dev_data->client, &config_reg); in ms_sensors_write_resolution()
295 config_reg &= 0x7E; in ms_sensors_write_resolution()
296 config_reg |= ((i & 1) << 7) + ((i & 2) >> 1); in ms_sensors_write_resolution()
300 config_reg); in ms_sensors_write_resolution()
319 u8 config_reg; in ms_sensors_show_battery_low() local
322 ret = ms_sensors_read_config_reg(dev_data->client, &config_reg); in ms_sensors_show_battery_low()
[all …]
/linux/drivers/clk/qcom/
H A Dhfpll.c23 .config_reg = 0x14,
41 .config_reg = 0x14,
58 .config_reg = 0x14,
75 .config_reg = 0x14,
H A Dclk-pll.c103 regmap_read(pll->clkr.regmap, pll->config_reg, &config); in clk_pll_recalc_rate()
162 regmap_write(pll->clkr.regmap, pll->config_reg, f->ibits); in clk_pll_set_rate()
242 regmap_update_bits(regmap, pll->config_reg, mask, val); in clk_pll_configure()
H A Dclk-hfpll.h17 u32 config_reg; member
H A Dclk-pll.h43 u32 config_reg; member
H A Dgcc-ipq806x.c36 .config_reg = 0x30d4,
65 .config_reg = 0x3174,
94 .config_reg = 0x3154,
124 .config_reg = 0x3204,
150 .config_reg = 0x3244,
176 .config_reg = 0x3304,
201 .config_reg = 0x31d4,
246 .config_reg = 0x31b4,
265 .config_reg = 0x3194,
H A Da53-pll.c113 pll->config_reg = 0x14; in qcom_a53pll_probe()
H A Dgcc-msm8960.c33 .config_reg = 0x3174,
64 .config_reg = 0x3154,
96 .config_reg = 0x3204,
124 .config_reg = 0x3244,
138 .config_reg = 0x3304,
166 .config_reg = 0x3284,
194 .config_reg = 0x32c4,
222 .config_reg = 0x3304,
236 .config_reg = 0x3404,
263 .config_reg = 0x31d4,
H A Dgcc-msm8939.c56 .config_reg = 0x21010,
87 .config_reg = 0x20010,
118 .config_reg = 0x4a010,
149 .config_reg = 0x23010,
180 .config_reg = 0x22010,
227 .config_reg = 0x24010,
273 .config_reg = 0x25010,
304 .config_reg = 0x37010,
H A Dclk-hfpll.c31 regmap_write(regmap, hd->config_reg, hd->config_val); in __clk_hfpll_init_once()
H A Dlcc-ipq806x.c30 .config_reg = 0x14,
H A Dgcc-mdm9615.c51 .config_reg = 0x30d4,
93 .config_reg = 0x3154,
122 .config_reg = 0x31d4,
H A Dmmcc-apq8084.c47 .config_reg = 0x0014,
78 .config_reg = 0x0050,
109 .config_reg = 0x4110,
126 .config_reg = 0x0090,
144 .config_reg = 0x00b0,
H A Dlcc-msm8960.c33 .config_reg = 0x14,
H A Dmmcc-msm8974.c48 .config_reg = 0x0014,
79 .config_reg = 0x0050,
110 .config_reg = 0x4110,
127 .config_reg = 0x0090,
H A Dgcc-msm8976.c59 .config_reg = 0x21014,
92 .config_reg = 0x4a014,
128 .config_reg = 0x22010,
176 .config_reg = 0x24018,
208 .config_reg = 0x37014,
H A Dgcc-msm8916.c48 .config_reg = 0x21010,
79 .config_reg = 0x20010,
110 .config_reg = 0x4a010,
141 .config_reg = 0x23010,
H A Dgcc-msm8974.c39 .config_reg = 0x0014,
70 .config_reg = 0x1dd4,
159 .config_reg = 0x0054,
H A Dgcc-apq8084.c42 .config_reg = 0x0014,
73 .config_reg = 0x0054,
104 .config_reg = 0x1dd4,
/linux/drivers/hwmon/
H A Dmax6620.c99 static const u8 config_reg[] = { variable
171 ret = i2c_smbus_read_byte_data(client, config_reg[i]); in max6620_update_device()
449 reg = i2c_smbus_read_byte_data(client, config_reg[i]); in max6620_init_client()
456 err = i2c_smbus_write_byte_data(client, config_reg[i], data->fancfg[i]); in max6620_init_client()
/linux/drivers/pinctrl/renesas/
H A Dcore.c252 const struct pinmux_cfg_reg *config_reg = in sh_pfc_get_config_reg() local
254 unsigned int r_width = config_reg->reg_width; in sh_pfc_get_config_reg()
255 unsigned int f_width = config_reg->field_width; in sh_pfc_get_config_reg()
271 curr_width = abs(config_reg->var_field_width[m]); in sh_pfc_get_config_reg()
272 if (config_reg->var_field_width[m] < 0) in sh_pfc_get_config_reg()
278 if (config_reg->enum_ids[pos + n] == enum_id) { in sh_pfc_get_config_reg()
279 *crp = config_reg; in sh_pfc_get_config_reg()
/linux/drivers/net/phy/
H A Dphylink.c3866 uint16_t config_reg, int speed) in phylink_decode_c37_word() argument
3875 mii_lpa_mod_linkmode_x(state->lp_advertising, config_reg, fd_bit); in phylink_decode_c37_word()
3890 uint16_t config_reg) in phylink_decode_sgmii_word() argument
3892 if (!(config_reg & LPA_SGMII_LINK)) { in phylink_decode_sgmii_word()
3897 switch (config_reg & LPA_SGMII_SPD_MASK) { in phylink_decode_sgmii_word()
3911 if (config_reg & LPA_SGMII_FULL_DUPLEX) in phylink_decode_sgmii_word()
/linux/drivers/usb/cdns3/
H A Dcdnsp-mem.c1223 val = readl(&pdev->op_regs->config_reg); in cdnsp_mem_init()
1225 writel(val, &pdev->op_regs->config_reg); in cdnsp_mem_init()
H A Dcdnsp-gadget.h126 __le32 config_reg; member
/linux/drivers/usb/host/
H A Dxhci.h110 __le32 config_reg; member
1417 u32 config_reg; member

12