/linux/drivers/iio/common/ms_sensors/ |
H A D | ms_sensors_i2c.c | 254 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 D | hfpll.c | 23 .config_reg = 0x14, 41 .config_reg = 0x14, 58 .config_reg = 0x14, 75 .config_reg = 0x14,
|
H A D | clk-pll.c | 103 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 D | clk-hfpll.h | 17 u32 config_reg; member
|
H A D | clk-pll.h | 43 u32 config_reg; member
|
H A D | gcc-ipq806x.c | 36 .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 D | a53-pll.c | 113 pll->config_reg = 0x14; in qcom_a53pll_probe()
|
H A D | gcc-msm8960.c | 33 .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 D | gcc-msm8939.c | 56 .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 D | clk-hfpll.c | 31 regmap_write(regmap, hd->config_reg, hd->config_val); in __clk_hfpll_init_once()
|
H A D | lcc-ipq806x.c | 30 .config_reg = 0x14,
|
H A D | gcc-mdm9615.c | 51 .config_reg = 0x30d4, 93 .config_reg = 0x3154, 122 .config_reg = 0x31d4,
|
H A D | mmcc-apq8084.c | 47 .config_reg = 0x0014, 78 .config_reg = 0x0050, 109 .config_reg = 0x4110, 126 .config_reg = 0x0090, 144 .config_reg = 0x00b0,
|
H A D | lcc-msm8960.c | 33 .config_reg = 0x14,
|
H A D | mmcc-msm8974.c | 48 .config_reg = 0x0014, 79 .config_reg = 0x0050, 110 .config_reg = 0x4110, 127 .config_reg = 0x0090,
|
H A D | gcc-msm8976.c | 59 .config_reg = 0x21014, 92 .config_reg = 0x4a014, 128 .config_reg = 0x22010, 176 .config_reg = 0x24018, 208 .config_reg = 0x37014,
|
H A D | gcc-msm8916.c | 48 .config_reg = 0x21010, 79 .config_reg = 0x20010, 110 .config_reg = 0x4a010, 141 .config_reg = 0x23010,
|
H A D | gcc-msm8974.c | 39 .config_reg = 0x0014, 70 .config_reg = 0x1dd4, 159 .config_reg = 0x0054,
|
H A D | gcc-apq8084.c | 42 .config_reg = 0x0014, 73 .config_reg = 0x0054, 104 .config_reg = 0x1dd4,
|
/linux/drivers/hwmon/ |
H A D | max6620.c | 99 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 D | core.c | 252 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 D | phylink.c | 3866 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 D | cdnsp-mem.c | 1223 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 D | cdnsp-gadget.h | 126 __le32 config_reg; member
|
/linux/drivers/usb/host/ |
H A D | xhci.h | 110 __le32 config_reg; member 1417 u32 config_reg; member
|