Searched refs:reg_info (Results 1 - 14 of 14) sorted by relevance

/linux-4.1.27/drivers/clk/mmp/
H A Dclk-mix.c29 unsigned int div_mask = (1 << mix->reg_info.width_div) - 1; _get_maxdiv()
137 struct mmp_clk_mix_reg_info *ri = &mix->reg_info; _set_rate()
293 struct mmp_clk_mix_reg_info *ri = &mix->reg_info; mmp_clk_mix_get_parent()
311 width = mix->reg_info.width_mux; mmp_clk_mix_get_parent()
312 shift = mix->reg_info.shift_mux; mmp_clk_mix_get_parent()
323 struct mmp_clk_mix_reg_info *ri = &mix->reg_info; mmp_clk_mix_recalc_rate()
341 width = mix->reg_info.width_div; mmp_clk_mix_recalc_rate()
342 shift = mix->reg_info.shift_div; mmp_clk_mix_recalc_rate()
468 memcpy(&mix->reg_info, &config->reg_info, sizeof(config->reg_info)); mmp_clk_register_mix()
500 if (config->reg_info.bit_fc >= 32) mmp_clk_register_mix()
502 else if (config->reg_info.reg_clk_sel) mmp_clk_register_mix()
H A Dclk-of-mmp2.c189 .reg_info = DEFINE_MIX_REG_INFO(4, 10, 2, 8, 32),
202 .reg_info = DEFINE_MIX_REG_INFO(4, 17, 2, 6, 32),
205 .reg_info = DEFINE_MIX_REG_INFO(4, 16, 2, 6, 32),
245 sdh_mix_config.reg_info.reg_clk_ctrl = pxa_unit->apmu_base + APMU_SDH0; mmp2_axi_periph_clk_init()
251 ccic0_mix_config.reg_info.reg_clk_ctrl = pxa_unit->apmu_base + APMU_CCIC0; mmp2_axi_periph_clk_init()
258 ccic1_mix_config.reg_info.reg_clk_ctrl = pxa_unit->apmu_base + APMU_CCIC1; mmp2_axi_periph_clk_init()
H A Dclk.h74 struct mmp_clk_mix_reg_info reg_info; member in struct:mmp_clk_mix_config
85 struct mmp_clk_mix_reg_info reg_info; member in struct:mmp_clk_mix
/linux-4.1.27/drivers/regulator/
H A Drc5t583-regulator.c51 struct rc5t583_regulator_info *reg_info; member in struct:rc5t583_regulator
61 return DIV_ROUND_UP(curr_uV, reg->reg_info->enable_uv_per_us); rc5t583_regulator_enable_time()
144 reg->reg_info = ri; rc5t583_regulator_probe()
H A Das3711-regulator.c28 struct as3711_regulator_info *reg_info; member in struct:as3711_regulator
249 reg->reg_info = ri; as3711_regulator_probe()
/linux-4.1.27/arch/arc/kernel/
H A Dunwind.c58 } reg_info[] = { variable in typeref:struct:__anon144
65 #define REG_INVALID(r) (reg_info[r].width == 0)
148 struct unwind_item regs[ARRAY_SIZE(reg_info)];
155 static const struct cfa badCFA = { ARRAY_SIZE(reg_info), 1 };
882 #define FRAME_REG(r, t) (((t *)frame)[reg_info[r].offs]) arc_unwind()
1083 if (ptr > end || retAddrReg >= ARRAY_SIZE(reg_info) arc_unwind()
1085 || reg_info[retAddrReg].width != arc_unwind()
1160 || state.cfa.reg >= ARRAY_SIZE(reg_info) arc_unwind()
1161 || reg_info[state.cfa.reg].width != sizeof(unsigned long) arc_unwind()
1219 if (state.regs[i].value >= ARRAY_SIZE(reg_info) arc_unwind()
1221 || reg_info[i].width > arc_unwind()
1222 reg_info[state.regs[i].value].width) arc_unwind()
1224 switch (reg_info[state.regs[i].value].width) { arc_unwind()
1258 if (reg_info[i].width != sizeof(UNW_SP(frame)) arc_unwind()
1265 switch (reg_info[i].width) { arc_unwind()
1285 if (reg_info[i].width != sizeof(unsigned long)) arc_unwind()
1300 switch (reg_info[i].width) { arc_unwind()
/linux-4.1.27/drivers/scsi/aic7xxx/aicasm/
H A Daicasm_symbol.h76 struct reg_info { struct
133 struct reg_info *rinfo;
H A Daicasm_gram.y1485 (struct reg_info *)malloc(sizeof(struct reg_info));
1491 sizeof(struct reg_info));
/linux-4.1.27/arch/ia64/kernel/
H A Dpalinfo.c150 static void bitregister_process(struct seq_file *m, u64 *reg_info, int max) bitregister_process() argument
153 u64 value = reg_info[0]; bitregister_process()
159 if (i != 0 && (i%64) == 0) value = *++reg_info; bitregister_process()
421 u64 reg_info[2]; register_info() local
434 if (ia64_pal_register_info(info, &reg_info[0], &reg_info[1]) != 0) register_info()
437 bitregister_process(m, reg_info, 128); register_info()
/linux-4.1.27/drivers/memory/
H A Dtegra20-mc.c135 const struct reg_info { tegra20_mc_decode() struct
/linux-4.1.27/drivers/rtc/
H A Drtc-ds1685.c1278 const struct ds1685_rtc_ctrl_regs *reg_info = ds1685_rtc_sysfs_ctrl_regs_show() local
1282 if (!reg_info) ds1685_rtc_sysfs_ctrl_regs_show()
1287 tmp = rtc->read(rtc, reg_info->reg) & reg_info->bit; ds1685_rtc_sysfs_ctrl_regs_show()
1309 const struct ds1685_rtc_ctrl_regs *reg_info = ds1685_rtc_sysfs_ctrl_regs_store() local
1321 if (!reg_info) ds1685_rtc_sysfs_ctrl_regs_store()
1324 reg = reg_info->reg; ds1685_rtc_sysfs_ctrl_regs_store()
1325 bit = reg_info->bit; ds1685_rtc_sysfs_ctrl_regs_store()
/linux-4.1.27/sound/soc/samsung/
H A Di2s.c1167 const struct samsung_i2s_variant_regs *reg_info = i2s->variant_regs; i2s_register_clock_provider() local
1192 i2s->addr + I2SMOD, reg_info->rclksrc_off, i2s_register_clock_provider()
1208 i2s->addr + I2SMOD, reg_info->cdclkcon_off, i2s_register_clock_provider()
/linux-4.1.27/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_ethtool.c759 const struct reg_addr *reg_info) bnx2x_is_reg_in_chip()
762 return IS_E1_REG(reg_info->chips); bnx2x_is_reg_in_chip()
764 return IS_E1H_REG(reg_info->chips); bnx2x_is_reg_in_chip()
766 return IS_E2_REG(reg_info->chips); bnx2x_is_reg_in_chip()
768 return IS_E3A0_REG(reg_info->chips); bnx2x_is_reg_in_chip()
770 return IS_E3B0_REG(reg_info->chips); bnx2x_is_reg_in_chip()
758 bnx2x_is_reg_in_chip(struct bnx2x *bp, const struct reg_addr *reg_info) bnx2x_is_reg_in_chip() argument
/linux-4.1.27/drivers/net/wireless/ath/ath6kl/
H A Ddebug.c145 const char *reg_info; member in struct:ath6kl_diag_reg_info
969 "%s\n", diag_reg[i].reg_info); ath6kl_regdump_open()

Completed in 363 milliseconds