Searched refs:config_reg (Results 1 – 5 of 5) sorted by relevance
249 struct pinmux_cfg_reg *config_reg; in get_config_reg() local255 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()
122 uint8_t config_reg = tca642x_regs[gpio_bank].configuration_reg; in tca642x_set_dir() local124 return tca642x_reg_write(chip, config_reg, reg_bit, data); in tca642x_set_dir()147 uint8_t config_reg; in tca642x_set_inital_state() local152 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()
67 u32 config_reg; in fpga_write_fn() local88 config_reg = readl(®->cfg); in fpga_write_fn()98 writel(config_reg, ®->cfg); in fpga_write_fn()
643 u32 config_reg = 0; in get_sdram_config_reg() local645 config_reg |= (cs0_device->type + 4) << EMIF_REG_SDRAM_TYPE_SHIFT; in get_sdram_config_reg()646 config_reg |= EMIF_INTERLEAVING_POLICY_MAX_INTERLEAVING << in get_sdram_config_reg()649 config_reg |= cs0_device->io_width << EMIF_REG_NARROW_MODE_SHIFT; in get_sdram_config_reg()651 config_reg |= RL << EMIF_REG_CL_SHIFT; in get_sdram_config_reg()653 config_reg |= addressing->row_sz[cs0_device->io_width] << in get_sdram_config_reg()656 config_reg |= addressing->num_banks << EMIF_REG_IBANK_SHIFT; in get_sdram_config_reg()658 config_reg |= (cs1_device ? EBANK_CS1_EN : EBANK_CS1_DIS) << in get_sdram_config_reg()661 config_reg |= addressing->col_sz[cs0_device->io_width] << in get_sdram_config_reg()664 return config_reg; in get_sdram_config_reg()
195 const struct pinmux_cfg_reg *config_reg = in sh_pfc_get_config_reg() local197 unsigned int r_width = config_reg->reg_width; in sh_pfc_get_config_reg()198 unsigned int f_width = config_reg->field_width; in sh_pfc_get_config_reg()214 curr_width = config_reg->var_field_width[m]; in sh_pfc_get_config_reg()218 if (config_reg->enum_ids[pos + n] == enum_id) { in sh_pfc_get_config_reg()219 *crp = config_reg; in sh_pfc_get_config_reg()