/linux-4.4.14/drivers/spi/ |
D | spi-zynqmp-gqspi.c | 265 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/ |
D | ms_sensors_i2c.c | 255 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/ |
D | core.c | 233 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/ |
D | max77693-haptic.c | 108 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/ |
D | sirfsoc_uart.c | 701 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/ |
D | clk-pll.c | 116 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()
|
D | clk-pll.h | 51 u32 config_reg; member
|
D | lcc-ipq806x.c | 38 .config_reg = 0x14,
|
D | gcc-ipq806x.c | 39 .config_reg = 0x30d4, 66 .config_reg = 0x3174, 93 .config_reg = 0x3154, 120 .config_reg = 0x31d4, 161 .config_reg = 0x31b4,
|
D | mmcc-msm8974.c | 193 .config_reg = 0x0014, 220 .config_reg = 0x0050, 247 .config_reg = 0x4110, 262 .config_reg = 0x0090,
|
D | mmcc-apq8084.c | 228 .config_reg = 0x0014, 255 .config_reg = 0x0050, 282 .config_reg = 0x4110, 297 .config_reg = 0x0090, 313 .config_reg = 0x00b0,
|
D | lcc-msm8960.c | 38 .config_reg = 0x14,
|
D | gcc-msm8916.c | 273 .config_reg = 0x21014, 300 .config_reg = 0x20014, 327 .config_reg = 0x4a014, 354 .config_reg = 0x23014,
|
D | gcc-msm8974.c | 71 .config_reg = 0x0014, 134 .config_reg = 0x0054, 161 .config_reg = 0x1dd4,
|
D | gcc-msm8960.c | 39 .config_reg = 0x3174, 66 .config_reg = 0x3154, 93 .config_reg = 0x31d4,
|
D | gcc-apq8084.c | 115 .config_reg = 0x0014, 178 .config_reg = 0x0054, 205 .config_reg = 0x1dd4,
|
D | mmcc-msm8960.c | 120 .config_reg = 0x32c, 136 .config_reg = 0x348,
|
D | gcc-msm8660.c | 39 .config_reg = 0x3154,
|
/linux-4.4.14/drivers/usb/host/ |
D | xhci.h | 197 __le32 config_reg; member 1451 u32 config_reg; member
|
D | xhci.c | 768 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()
|
D | xhci-mem.c | 2391 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/ |
D | qla1280.c | 3941 uint16_t config_reg, scsi_control; in qla1280_check_for_dead_scsi_bus() local 3946 config_reg = RD_REG_WORD(®->cfg_1); in qla1280_check_for_dead_scsi_bus() 3949 WRT_REG_WORD(®->cfg_1, config_reg); in qla1280_check_for_dead_scsi_bus()
|