Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/spi/
Dspi-zynqmp-gqspi.c267 u32 config_reg; in zynqmp_qspi_init_hw() local
289 config_reg = zynqmp_gqspi_read(xqspi, GQSPI_CONFIG_OFST); in zynqmp_qspi_init_hw()
290 config_reg &= ~GQSPI_CFG_MODE_EN_MASK; in zynqmp_qspi_init_hw()
292 config_reg |= GQSPI_CFG_GEN_FIFO_START_MODE_MASK; in zynqmp_qspi_init_hw()
294 config_reg &= ~GQSPI_CFG_ENDIAN_MASK; in zynqmp_qspi_init_hw()
296 config_reg &= ~GQSPI_CFG_EN_POLL_TO_MASK; in zynqmp_qspi_init_hw()
298 config_reg |= GQSPI_CFG_WP_HOLD_MASK; in zynqmp_qspi_init_hw()
300 config_reg &= ~GQSPI_CFG_BAUD_RATE_DIV_MASK; in zynqmp_qspi_init_hw()
302 config_reg &= ~GQSPI_CFG_CLK_PHA_MASK; in zynqmp_qspi_init_hw()
304 config_reg &= ~GQSPI_CFG_CLK_POL_MASK; in zynqmp_qspi_init_hw()
[all …]
/Linux-v4.19/drivers/iio/common/ms_sensors/
Dms_sensors_i2c.c255 u8 *config_reg) in ms_sensors_read_config_reg() argument
265 ret = i2c_master_recv(client, config_reg, 1); in ms_sensors_read_config_reg()
270 dev_dbg(&client->dev, "Config register :%x\n", *config_reg); in ms_sensors_read_config_reg()
289 u8 config_reg; in ms_sensors_write_resolution() local
292 ret = ms_sensors_read_config_reg(dev_data->client, &config_reg); in ms_sensors_write_resolution()
296 config_reg &= 0x7E; in ms_sensors_write_resolution()
297 config_reg |= ((i & 1) << 7) + ((i & 2) >> 1); in ms_sensors_write_resolution()
301 config_reg); in ms_sensors_write_resolution()
320 u8 config_reg; in ms_sensors_show_battery_low() local
323 ret = ms_sensors_read_config_reg(dev_data->client, &config_reg); in ms_sensors_show_battery_low()
[all …]
/Linux-v4.19/drivers/input/misc/
Dmax77693-haptic.c111 unsigned int value, config_reg; in max77693_haptic_configure() local
120 config_reg = MAX77693_HAPTIC_REG_CONFIG2; in max77693_haptic_configure()
126 config_reg = MAX77843_HAP_REG_MCONFIG; in max77693_haptic_configure()
133 config_reg, value); in max77693_haptic_configure()
/Linux-v4.19/drivers/pinctrl/sh-pfc/
Dcore.c251 const struct pinmux_cfg_reg *config_reg = in sh_pfc_get_config_reg() local
253 unsigned int r_width = config_reg->reg_width; in sh_pfc_get_config_reg()
254 unsigned int f_width = config_reg->field_width; in sh_pfc_get_config_reg()
270 curr_width = config_reg->var_field_width[m]; in sh_pfc_get_config_reg()
274 if (config_reg->enum_ids[pos + n] == enum_id) { in sh_pfc_get_config_reg()
275 *crp = config_reg; in sh_pfc_get_config_reg()
/Linux-v4.19/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 …]
/Linux-v4.19/drivers/clk/qcom/
Dclk-pll.c111 regmap_read(pll->clkr.regmap, pll->config_reg, &config); in clk_pll_recalc_rate()
170 regmap_write(pll->clkr.regmap, pll->config_reg, f->ibits); in clk_pll_set_rate()
250 regmap_update_bits(regmap, pll->config_reg, mask, val); in clk_pll_configure()
Dclk-pll.h51 u32 config_reg; member
Da53-pll.c63 pll->config_reg = 0x14; in qcom_a53pll_probe()
Dlcc-ipq806x.c38 .config_reg = 0x14,
Dgcc-ipq806x.c39 .config_reg = 0x30d4,
66 .config_reg = 0x3174,
93 .config_reg = 0x3154,
120 .config_reg = 0x31d4,
161 .config_reg = 0x31b4,
Dgcc-mdm9615.c52 .config_reg = 0x30d4,
90 .config_reg = 0x3154,
117 .config_reg = 0x31d4,
Dmmcc-msm8974.c191 .config_reg = 0x0014,
218 .config_reg = 0x0050,
245 .config_reg = 0x4110,
260 .config_reg = 0x0090,
Dmmcc-apq8084.c226 .config_reg = 0x0014,
253 .config_reg = 0x0050,
280 .config_reg = 0x4110,
295 .config_reg = 0x0090,
311 .config_reg = 0x00b0,
Dlcc-mdm9615.c40 .config_reg = 0x14,
Dlcc-msm8960.c38 .config_reg = 0x14,
Dgcc-msm8916.c271 .config_reg = 0x21014,
298 .config_reg = 0x20014,
325 .config_reg = 0x4a014,
352 .config_reg = 0x23014,
Dgcc-msm8974.c69 .config_reg = 0x0014,
132 .config_reg = 0x0054,
159 .config_reg = 0x1dd4,
Dgcc-apq8084.c113 .config_reg = 0x0014,
176 .config_reg = 0x0054,
203 .config_reg = 0x1dd4,
Dgcc-msm8960.c39 .config_reg = 0x3174,
66 .config_reg = 0x3154,
93 .config_reg = 0x31d4,
Dmmcc-msm8960.c120 .config_reg = 0x32c,
136 .config_reg = 0x348,
Dgcc-msm8660.c39 .config_reg = 0x3154,
/Linux-v4.19/drivers/usb/host/
Dxhci.h187 __le32 config_reg; member
1645 u32 config_reg; member
Dxhci.c807 xhci->s3.config_reg = readl(&xhci->op_regs->config_reg); in xhci_save_registers()
820 writel(xhci->s3.config_reg, &xhci->op_regs->config_reg); in xhci_restore_registers()
Dxhci-mem.c2400 val2 = readl(&xhci->op_regs->config_reg); in xhci_mem_init()
2404 writel(val, &xhci->op_regs->config_reg); in xhci_mem_init()
/Linux-v4.19/drivers/scsi/
Dqla1280.c3937 uint16_t config_reg, scsi_control; in qla1280_check_for_dead_scsi_bus() local
3942 config_reg = RD_REG_WORD(&reg->cfg_1); in qla1280_check_for_dead_scsi_bus()
3945 WRT_REG_WORD(&reg->cfg_1, config_reg); in qla1280_check_for_dead_scsi_bus()