Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/drivers/spi/
Dspi-zynq-qspi.c183 u32 config_reg; in zynq_qspi_init_hw() local
189 config_reg = 0; in zynq_qspi_init_hw()
192 config_reg |= ZYNQ_QSPI_LCFG_TWO_MEM; in zynq_qspi_init_hw()
194 zynq_qspi_write(xqspi, ZYNQ_QSPI_LINEAR_CFG_OFFSET, config_reg); in zynq_qspi_init_hw()
202 config_reg = zynq_qspi_read(xqspi, ZYNQ_QSPI_CONFIG_OFFSET); in zynq_qspi_init_hw()
203 config_reg &= ~(ZYNQ_QSPI_CONFIG_MSTREN_MASK | in zynq_qspi_init_hw()
210 config_reg |= (ZYNQ_QSPI_CONFIG_MSTREN_MASK | in zynq_qspi_init_hw()
214 zynq_qspi_write(xqspi, ZYNQ_QSPI_CONFIG_OFFSET, config_reg); in zynq_qspi_init_hw()
294 u32 config_reg; in zynq_qspi_chipselect() local
298 config_reg = zynq_qspi_read(xqspi, ZYNQ_QSPI_LINEAR_CFG_OFFSET); in zynq_qspi_chipselect()
[all …]
Dspi-zynqmp-gqspi.c270 u32 config_reg; in zynqmp_qspi_init_hw() local
292 config_reg = zynqmp_gqspi_read(xqspi, GQSPI_CONFIG_OFST); in zynqmp_qspi_init_hw()
293 config_reg &= ~GQSPI_CFG_MODE_EN_MASK; in zynqmp_qspi_init_hw()
295 config_reg |= GQSPI_CFG_GEN_FIFO_START_MODE_MASK; in zynqmp_qspi_init_hw()
297 config_reg &= ~GQSPI_CFG_ENDIAN_MASK; in zynqmp_qspi_init_hw()
299 config_reg &= ~GQSPI_CFG_EN_POLL_TO_MASK; in zynqmp_qspi_init_hw()
301 config_reg |= GQSPI_CFG_WP_HOLD_MASK; in zynqmp_qspi_init_hw()
303 config_reg &= ~GQSPI_CFG_BAUD_RATE_DIV_MASK; in zynqmp_qspi_init_hw()
305 config_reg &= ~GQSPI_CFG_CLK_PHA_MASK; in zynqmp_qspi_init_hw()
307 config_reg &= ~GQSPI_CFG_CLK_POL_MASK; in zynqmp_qspi_init_hw()
[all …]
/kernel/linux/linux-5.10/drivers/iio/common/ms_sensors/
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 …]
/kernel/linux/linux-5.10/drivers/input/misc/
Dmax77693-haptic.c107 unsigned int value, config_reg; in max77693_haptic_configure() local
116 config_reg = MAX77693_HAPTIC_REG_CONFIG2; in max77693_haptic_configure()
122 config_reg = MAX77843_HAP_REG_MCONFIG; in max77693_haptic_configure()
129 config_reg, value); in max77693_haptic_configure()
/kernel/linux/linux-5.10/drivers/tty/serial/
Dsirfsoc_uart.c700 unsigned long config_reg = 0; in sirfsoc_uart_set_termios() local
717 config_reg |= SIRFUART_DATA_BIT_LEN_8; in sirfsoc_uart_set_termios()
721 config_reg |= SIRFUART_DATA_BIT_LEN_7; in sirfsoc_uart_set_termios()
725 config_reg |= SIRFUART_DATA_BIT_LEN_6; in sirfsoc_uart_set_termios()
729 config_reg |= SIRFUART_DATA_BIT_LEN_5; in sirfsoc_uart_set_termios()
733 config_reg |= SIRFUART_STOP_BIT_LEN_2; in sirfsoc_uart_set_termios()
759 config_reg |= SIRFUART_STICK_BIT_MARK; in sirfsoc_uart_set_termios()
761 config_reg |= SIRFUART_STICK_BIT_SPACE; in sirfsoc_uart_set_termios()
764 config_reg |= SIRFUART_STICK_BIT_ODD; in sirfsoc_uart_set_termios()
766 config_reg |= SIRFUART_STICK_BIT_EVEN; in sirfsoc_uart_set_termios()
[all …]
/kernel/linux/linux-5.10/drivers/clk/qcom/
Dclk-hfpll.h17 u32 config_reg; member
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()
Dclk-pll.h43 u32 config_reg; member
Dhfpll.c22 .config_reg = 0x14,
Da53-pll.c63 pll->config_reg = 0x14; in qcom_a53pll_probe()
Dgcc-msm8960.c32 .config_reg = 0x3174,
59 .config_reg = 0x3154,
87 .config_reg = 0x3204,
113 .config_reg = 0x3244,
127 .config_reg = 0x3304,
153 .config_reg = 0x3284,
179 .config_reg = 0x32c4,
205 .config_reg = 0x3304,
219 .config_reg = 0x3404,
244 .config_reg = 0x31d4,
Dgcc-ipq806x.c32 .config_reg = 0x30d4,
59 .config_reg = 0x3174,
86 .config_reg = 0x3154,
114 .config_reg = 0x3204,
140 .config_reg = 0x3244,
166 .config_reg = 0x3304,
191 .config_reg = 0x31d4,
232 .config_reg = 0x31b4,
Dclk-hfpll.c31 regmap_write(regmap, hd->config_reg, hd->config_val); in __clk_hfpll_init_once()
Dgcc-msm8939.c57 .config_reg = 0x21010,
88 .config_reg = 0x20010,
119 .config_reg = 0x4a010,
150 .config_reg = 0x23010,
181 .config_reg = 0x22010,
228 .config_reg = 0x24010,
274 .config_reg = 0x25010,
305 .config_reg = 0x37010,
Dgcc-mdm9615.c44 .config_reg = 0x30d4,
82 .config_reg = 0x3154,
109 .config_reg = 0x31d4,
Dlcc-ipq806x.c30 .config_reg = 0x14,
Dmmcc-msm8974.c183 .config_reg = 0x0014,
210 .config_reg = 0x0050,
237 .config_reg = 0x4110,
252 .config_reg = 0x0090,
Dmmcc-apq8084.c218 .config_reg = 0x0014,
245 .config_reg = 0x0050,
272 .config_reg = 0x4110,
287 .config_reg = 0x0090,
303 .config_reg = 0x00b0,
Dlcc-msm8960.c30 .config_reg = 0x14,
Dlcc-mdm9615.c32 .config_reg = 0x14,
Dgcc-msm8916.c263 .config_reg = 0x21010,
290 .config_reg = 0x20010,
317 .config_reg = 0x4a010,
344 .config_reg = 0x23010,
/kernel/linux/linux-5.10/drivers/pinctrl/renesas/
Dcore.c245 const struct pinmux_cfg_reg *config_reg = in sh_pfc_get_config_reg() local
247 unsigned int r_width = config_reg->reg_width; in sh_pfc_get_config_reg()
248 unsigned int f_width = config_reg->field_width; in sh_pfc_get_config_reg()
264 curr_width = config_reg->var_field_width[m]; in sh_pfc_get_config_reg()
268 if (config_reg->enum_ids[pos + n] == enum_id) { in sh_pfc_get_config_reg()
269 *crp = config_reg; in sh_pfc_get_config_reg()
/kernel/linux/linux-5.10/drivers/i2c/busses/
Di2c-mlxbf.c1364 u32 config_reg; in mlxbf_i2c_init_master() local
1401 config_reg = readl(gpio_res->io + MLXBF_I2C_GPIO_0_FUNC_EN_0); in mlxbf_i2c_init_master()
1402 config_reg = MLXBF_I2C_GPIO_SMBUS_GW_ASSERT_PINS(priv->bus, in mlxbf_i2c_init_master()
1403 config_reg); in mlxbf_i2c_init_master()
1404 writel(config_reg, gpio_res->io + MLXBF_I2C_GPIO_0_FUNC_EN_0); in mlxbf_i2c_init_master()
1406 config_reg = readl(gpio_res->io + MLXBF_I2C_GPIO_0_FORCE_OE_EN); in mlxbf_i2c_init_master()
1407 config_reg = MLXBF_I2C_GPIO_SMBUS_GW_RESET_PINS(priv->bus, in mlxbf_i2c_init_master()
1408 config_reg); in mlxbf_i2c_init_master()
1409 writel(config_reg, gpio_res->io + MLXBF_I2C_GPIO_0_FORCE_OE_EN); in mlxbf_i2c_init_master()
/kernel/linux/linux-5.10/drivers/net/phy/
Dphylink.c2317 uint16_t config_reg, int speed) in phylink_decode_c37_word() argument
2327 mii_lpa_mod_linkmode_x(state->lp_advertising, config_reg, fd_bit); in phylink_decode_c37_word()
2348 uint16_t config_reg) in phylink_decode_sgmii_word() argument
2350 if (!(config_reg & LPA_SGMII_LINK)) { in phylink_decode_sgmii_word()
2355 switch (config_reg & LPA_SGMII_SPD_MASK) { in phylink_decode_sgmii_word()
2369 if (config_reg & LPA_SGMII_FULL_DUPLEX) in phylink_decode_sgmii_word()
/kernel/linux/linux-5.10/drivers/net/dsa/
Dmt7530.c2417 u16 config_reg; in mt7531_sgmii_pcs_get_state_an() local
2424 config_reg = val >> 16; in mt7531_sgmii_pcs_get_state_an()
2426 switch (config_reg & LPA_SGMII_SPD_MASK) { in mt7531_sgmii_pcs_get_state_an()
2442 if (config_reg & LPA_SGMII_FULL_DUPLEX) in mt7531_sgmii_pcs_get_state_an()

12