Searched refs:config_reg (Results 1 – 5 of 5) sorted by relevance
| /rk3399_rockchip-uboot/board/theadorable/ |
| H A D | fpga.c | 68 u32 config_reg; in fpga_write_fn() local 89 config_reg = readl(®->cfg); in fpga_write_fn() 99 writel(config_reg, ®->cfg); in fpga_write_fn()
|
| /rk3399_rockchip-uboot/drivers/gpio/ |
| H A D | tca642x.c | 122 uint8_t config_reg = tca642x_regs[gpio_bank].configuration_reg; in tca642x_set_dir() local 124 return tca642x_reg_write(chip, config_reg, reg_bit, data); in tca642x_set_dir() 147 uint8_t config_reg; in tca642x_set_inital_state() local 152 config_reg = tca642x_regs[i].configuration_reg; in tca642x_set_inital_state() 153 ret = tca642x_reg_write(chip, config_reg, 0xff, in tca642x_set_inital_state()
|
| H A D | sh_pfc.c | 249 struct pinmux_cfg_reg *config_reg; in get_config_reg() local 255 config_reg = gpioc->cfg_regs + k; in get_config_reg() 257 r_width = config_reg->reg_width; in get_config_reg() 258 f_width = config_reg->field_width; in get_config_reg() 269 curr_width = config_reg->var_field_width[m]; in get_config_reg() 273 if (config_reg->enum_ids[pos + n] == enum_id) { in get_config_reg() 274 *crp = config_reg; in get_config_reg() 277 *cntp = &config_reg->cnt[m]; in get_config_reg()
|
| /rk3399_rockchip-uboot/arch/arm/mach-omap2/ |
| H A D | emif-common.c | 557 u32 config_reg = 0; in get_sdram_config_reg() local 559 config_reg |= (cs0_device->type + 4) << EMIF_REG_SDRAM_TYPE_SHIFT; in get_sdram_config_reg() 560 config_reg |= EMIF_INTERLEAVING_POLICY_MAX_INTERLEAVING << in get_sdram_config_reg() 563 config_reg |= cs0_device->io_width << EMIF_REG_NARROW_MODE_SHIFT; in get_sdram_config_reg() 565 config_reg |= RL << EMIF_REG_CL_SHIFT; in get_sdram_config_reg() 567 config_reg |= addressing->row_sz[cs0_device->io_width] << in get_sdram_config_reg() 570 config_reg |= addressing->num_banks << EMIF_REG_IBANK_SHIFT; in get_sdram_config_reg() 572 config_reg |= (cs1_device ? EBANK_CS1_EN : EBANK_CS1_DIS) << in get_sdram_config_reg() 575 config_reg |= addressing->col_sz[cs0_device->io_width] << in get_sdram_config_reg() 578 return config_reg; in get_sdram_config_reg()
|
| /rk3399_rockchip-uboot/drivers/power/regulator/ |
| H A D | rk8xx.c | 94 u8 config_reg; member 550 if (info->config_reg == NA) in _buck_set_ramp_delay() 682 return pmic_clrsetbits(pmic, info->config_reg, ramp_mask, ramp_value); in _buck_set_ramp_delay()
|