Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/spi/
Dspi-zynqmp-gqspi.c265 u32 config_reg; in zynqmp_qspi_init_hw() local
287 config_reg = zynqmp_gqspi_read(xqspi, GQSPI_CONFIG_OFST); in zynqmp_qspi_init_hw()
288 config_reg &= ~GQSPI_CFG_MODE_EN_MASK; in zynqmp_qspi_init_hw()
290 config_reg |= GQSPI_CFG_GEN_FIFO_START_MODE_MASK; in zynqmp_qspi_init_hw()
292 config_reg &= ~GQSPI_CFG_ENDIAN_MASK; in zynqmp_qspi_init_hw()
294 config_reg &= ~GQSPI_CFG_EN_POLL_TO_MASK; in zynqmp_qspi_init_hw()
296 config_reg |= GQSPI_CFG_WP_HOLD_MASK; in zynqmp_qspi_init_hw()
298 config_reg &= ~GQSPI_CFG_BAUD_RATE_DIV_MASK; in zynqmp_qspi_init_hw()
300 config_reg &= ~GQSPI_CFG_CLK_PHA_MASK; in zynqmp_qspi_init_hw()
302 config_reg &= ~GQSPI_CFG_CLK_POL_MASK; in zynqmp_qspi_init_hw()
[all …]
/linux-4.4.14/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-4.4.14/drivers/pinctrl/sh-pfc/
Dcore.c233 const struct pinmux_cfg_reg *config_reg = in sh_pfc_get_config_reg() local
235 unsigned int r_width = config_reg->reg_width; in sh_pfc_get_config_reg()
236 unsigned int f_width = config_reg->field_width; in sh_pfc_get_config_reg()
252 curr_width = config_reg->var_field_width[m]; in sh_pfc_get_config_reg()
256 if (config_reg->enum_ids[pos + n] == enum_id) { in sh_pfc_get_config_reg()
257 *crp = config_reg; in sh_pfc_get_config_reg()
/linux-4.4.14/drivers/input/misc/
Dmax77693-haptic.c108 unsigned int value, config_reg; in max77693_haptic_configure() local
117 config_reg = MAX77693_HAPTIC_REG_CONFIG2; in max77693_haptic_configure()
123 config_reg = MAX77843_HAP_REG_MCONFIG; in max77693_haptic_configure()
130 config_reg, value); in max77693_haptic_configure()
/linux-4.4.14/drivers/tty/serial/
Dsirfsoc_uart.c701 unsigned long config_reg = 0; in sirfsoc_uart_set_termios() local
718 config_reg |= SIRFUART_DATA_BIT_LEN_8; in sirfsoc_uart_set_termios()
722 config_reg |= SIRFUART_DATA_BIT_LEN_7; in sirfsoc_uart_set_termios()
726 config_reg |= SIRFUART_DATA_BIT_LEN_6; in sirfsoc_uart_set_termios()
730 config_reg |= SIRFUART_DATA_BIT_LEN_5; in sirfsoc_uart_set_termios()
734 config_reg |= SIRFUART_STOP_BIT_LEN_2; in sirfsoc_uart_set_termios()
760 config_reg |= SIRFUART_STICK_BIT_MARK; in sirfsoc_uart_set_termios()
762 config_reg |= SIRFUART_STICK_BIT_SPACE; in sirfsoc_uart_set_termios()
765 config_reg |= SIRFUART_STICK_BIT_ODD; in sirfsoc_uart_set_termios()
767 config_reg |= SIRFUART_STICK_BIT_EVEN; in sirfsoc_uart_set_termios()
[all …]
/linux-4.4.14/drivers/clk/qcom/
Dclk-pll.c116 regmap_read(pll->clkr.regmap, pll->config_reg, &config); in clk_pll_recalc_rate()
175 regmap_write(pll->clkr.regmap, pll->config_reg, f->ibits); in clk_pll_set_rate()
275 regmap_update_bits(regmap, pll->config_reg, mask, val); in clk_pll_configure()
Dclk-pll.h51 u32 config_reg; member
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,
Dmmcc-msm8974.c193 .config_reg = 0x0014,
220 .config_reg = 0x0050,
247 .config_reg = 0x4110,
262 .config_reg = 0x0090,
Dmmcc-apq8084.c228 .config_reg = 0x0014,
255 .config_reg = 0x0050,
282 .config_reg = 0x4110,
297 .config_reg = 0x0090,
313 .config_reg = 0x00b0,
Dlcc-msm8960.c38 .config_reg = 0x14,
Dgcc-msm8916.c273 .config_reg = 0x21014,
300 .config_reg = 0x20014,
327 .config_reg = 0x4a014,
354 .config_reg = 0x23014,
Dgcc-msm8974.c71 .config_reg = 0x0014,
134 .config_reg = 0x0054,
161 .config_reg = 0x1dd4,
Dgcc-msm8960.c39 .config_reg = 0x3174,
66 .config_reg = 0x3154,
93 .config_reg = 0x31d4,
Dgcc-apq8084.c115 .config_reg = 0x0014,
178 .config_reg = 0x0054,
205 .config_reg = 0x1dd4,
Dmmcc-msm8960.c120 .config_reg = 0x32c,
136 .config_reg = 0x348,
Dgcc-msm8660.c39 .config_reg = 0x3154,
/linux-4.4.14/drivers/usb/host/
Dxhci.h197 __le32 config_reg; member
1451 u32 config_reg; member
Dxhci.c768 xhci->s3.config_reg = readl(&xhci->op_regs->config_reg); in xhci_save_registers()
781 writel(xhci->s3.config_reg, &xhci->op_regs->config_reg); in xhci_restore_registers()
Dxhci-mem.c2391 val2 = readl(&xhci->op_regs->config_reg); in xhci_mem_init()
2395 writel(val, &xhci->op_regs->config_reg); in xhci_mem_init()
/linux-4.4.14/drivers/scsi/
Dqla1280.c3941 uint16_t config_reg, scsi_control; in qla1280_check_for_dead_scsi_bus() local
3946 config_reg = RD_REG_WORD(&reg->cfg_1); in qla1280_check_for_dead_scsi_bus()
3949 WRT_REG_WORD(&reg->cfg_1, config_reg); in qla1280_check_for_dead_scsi_bus()