/openbmc/u-boot/board/freescale/mpc8315erdb/ |
H A D | sdram.c | 49 im->sysconf.ddrcdr = CONFIG_SYS_DDRCDR_VALUE; in fixed_sdram() 57 im->ddr.csbnds[0].csbnds = (msize - 1) >> 24; in fixed_sdram() 61 im->ddr.cs_config[1] = 0; in fixed_sdram() 64 im->ddr.timing_cfg_3 = CONFIG_SYS_DDR_TIMING_3; in fixed_sdram() 69 if (im->pmc.pmccr1 & PMCCR1_POWER_OFF) in fixed_sdram() 72 im->ddr.sdram_cfg = CONFIG_SYS_DDR_SDRAM_CFG; in fixed_sdram() 75 im->ddr.sdram_mode = CONFIG_SYS_DDR_MODE; in fixed_sdram() 76 im->ddr.sdram_mode2 = CONFIG_SYS_DDR_MODE2; in fixed_sdram() 82 im->ddr.sdram_cfg |= SDRAM_CFG_MEM_EN; in fixed_sdram() 99 if ((im->sysconf.immrbar & IMMRBAR_BASE_ADDR) != (u32)im) in dram_init() [all …]
|
/openbmc/u-boot/board/freescale/mpc8313erdb/ |
H A D | sdram.c | 52 im->sysconf.ddrcdr = CONFIG_SYS_DDRCDR_VALUE; in fixed_sdram() 63 im->ddr.csbnds[0].csbnds = in fixed_sdram() 70 im->ddr.cs_config[1] = 0; in fixed_sdram() 79 if (im->pmc.pmccr1 & PMCCR1_POWER_OFF) in fixed_sdram() 83 im->ddr.sdram_cfg = CONFIG_SYS_SDRAM_CFG; in fixed_sdram() 85 im->ddr.sdram_cfg2 = CONFIG_SYS_SDRAM_CFG2; in fixed_sdram() 86 im->ddr.sdram_mode = CONFIG_SYS_DDR_MODE; in fixed_sdram() 93 im->ddr.sdram_cfg |= SDRAM_CFG_MEM_EN; in fixed_sdram() 102 volatile fsl_lbc_t *lbc = &im->im_lbc; in dram_init() 105 if ((im->sysconf.immrbar & IMMRBAR_BASE_ADDR) != (u32)im) in dram_init() [all …]
|
/openbmc/u-boot/board/freescale/mpc8308rdb/ |
H A D | sdram.c | 31 immap_t *im = (immap_t *)CONFIG_SYS_IMMR; in fixed_sdram() local 35 out_be32(&im->sysconf.ddrlaw[0].bar, in fixed_sdram() 38 out_be32(&im->sysconf.ddrcdr, CONFIG_SYS_DDRCDR_VALUE); in fixed_sdram() 40 out_be32(&im->ddr.csbnds[0].csbnds, (msize - 1) >> 24); in fixed_sdram() 44 out_be32(&im->ddr.cs_config[1], 0); in fixed_sdram() 52 out_be32(&im->ddr.sdram_cfg, CONFIG_SYS_DDR_SDRAM_CFG); in fixed_sdram() 54 out_be32(&im->ddr.sdram_mode, CONFIG_SYS_DDR_MODE); in fixed_sdram() 55 out_be32(&im->ddr.sdram_mode2, CONFIG_SYS_DDR_MODE2); in fixed_sdram() 61 setbits_be32(&im->ddr.sdram_cfg, SDRAM_CFG_MEM_EN); in fixed_sdram() 69 immap_t *im = (immap_t *)CONFIG_SYS_IMMR; in dram_init() local [all …]
|
/openbmc/u-boot/board/mpc8308_p1m/ |
H A D | sdram.c | 27 immap_t *im = (immap_t *)CONFIG_SYS_IMMR; in fixed_sdram() local 31 out_be32(&im->sysconf.ddrlaw[0].bar, in fixed_sdram() 34 out_be32(&im->sysconf.ddrcdr, CONFIG_SYS_DDRCDR_VALUE); in fixed_sdram() 36 out_be32(&im->ddr.csbnds[0].csbnds, (msize - 1) >> 24); in fixed_sdram() 40 out_be32(&im->ddr.cs_config[1], 0); in fixed_sdram() 48 out_be32(&im->ddr.sdram_cfg, CONFIG_SYS_DDR_SDRAM_CFG); in fixed_sdram() 50 out_be32(&im->ddr.sdram_mode, CONFIG_SYS_DDR_MODE); in fixed_sdram() 51 out_be32(&im->ddr.sdram_mode2, CONFIG_SYS_DDR_MODE2); in fixed_sdram() 57 setbits_be32(&im->ddr.sdram_cfg, SDRAM_CFG_MEM_EN); in fixed_sdram() 65 immap_t *im = (immap_t *)CONFIG_SYS_IMMR; in dram_init() local [all …]
|
/openbmc/u-boot/board/gdsys/mpc8308/ |
H A D | sdram.c | 32 immap_t *im = (immap_t *)CONFIG_SYS_IMMR; in fixed_sdram() local 36 out_be32(&im->sysconf.ddrlaw[0].bar, in fixed_sdram() 39 out_be32(&im->sysconf.ddrcdr, CONFIG_SYS_DDRCDR_VALUE); in fixed_sdram() 41 out_be32(&im->ddr.csbnds[0].csbnds, (msize - 1) >> 24); in fixed_sdram() 45 out_be32(&im->ddr.cs_config[1], 0); in fixed_sdram() 53 out_be32(&im->ddr.sdram_cfg, CONFIG_SYS_DDR_SDRAM_CFG); in fixed_sdram() 55 out_be32(&im->ddr.sdram_mode, CONFIG_SYS_DDR_MODE); in fixed_sdram() 56 out_be32(&im->ddr.sdram_mode2, CONFIG_SYS_DDR_MODE2); in fixed_sdram() 62 setbits_be32(&im->ddr.sdram_cfg, SDRAM_CFG_MEM_EN); in fixed_sdram() 70 immap_t *im = (immap_t *)CONFIG_SYS_IMMR; in dram_init() local [all …]
|
/openbmc/linux/net/sched/ |
H A D | em_ipt.c | 54 mtpar.match = im->match; in check_match() 160 im = kzalloc(sizeof(*im) + mdata_len, GFP_KERNEL); in em_ipt_change() 161 if (!im) { in em_ipt_change() 166 im->match = match; in em_ipt_change() 168 im->nfproto = nfproto; in em_ipt_change() 180 kfree(im); in em_ipt_change() 189 if (!im) in em_ipt_destroy() 195 .match = im->match, in em_ipt_destroy() 202 kfree(im); in em_ipt_destroy() 240 acpar.match = im->match; in em_ipt_match() [all …]
|
/openbmc/u-boot/board/freescale/mpc8349emds/ |
H A D | mpc8349emds.c | 55 if ((im->sysconf.immrbar & IMMRBAR_BASE_ADDR) != (u32)im) in dram_init() 107 im->ddr.sdram_cfg = CONFIG_SYS_DDR_SDRAM_CFG; in fixed_sdram() 109 im->ddr.sdram_mode = CONFIG_SYS_DDR_MODE; in fixed_sdram() 110 im->ddr.sdram_mode2 = CONFIG_SYS_DDR_MODE2; in fixed_sdram() 118 im->ddr.csbnds[2].csbnds = in fixed_sdram() 125 im->ddr.cs_config[0] = 0; in fixed_sdram() 126 im->ddr.cs_config[1] = 0; in fixed_sdram() 127 im->ddr.cs_config[3] = 0; in fixed_sdram() 132 im->ddr.sdram_cfg = in fixed_sdram() 142 im->ddr.sdram_mode = CONFIG_SYS_DDR_MODE; in fixed_sdram() [all …]
|
/openbmc/u-boot/board/freescale/mpc8349itx/ |
H A D | mpc8349itx.c | 35 im->sysconf.ddrlaw[0].ar = in fixed_sdram() 42 im->ddr.csbnds[0].csbnds = in fixed_sdram() 49 im->ddr.cs_config[1] = 0; in fixed_sdram() 50 im->ddr.cs_config[2] = 0; in fixed_sdram() 51 im->ddr.cs_config[3] = 0; in fixed_sdram() 59 im->ddr.timing_cfg_1 = CONFIG_SYS_DDR_TIMING_1; in fixed_sdram() 62 im->ddr.sdram_mode = in fixed_sdram() 64 im->ddr.sdram_interval = in fixed_sdram() 71 im->ddr.sdram_cfg |= SDRAM_CFG_MEM_EN; in fixed_sdram() 125 volatile ddr83xx_t *ddr = &im->ddr; in dram_init() [all …]
|
/openbmc/u-boot/drivers/gpio/ |
H A D | mpc83xx_gpio.c | 53 immap_t *im = (immap_t *)CONFIG_SYS_IMMR; in gpio_direction_input() local 65 clrbits_be32(&im->gpio[ctrlr].dir, line_mask); in gpio_direction_input() 73 immap_t *im = (immap_t *)CONFIG_SYS_IMMR; in gpio_direction_output() local 93 setbits_be32(&im->gpio[ctrlr].dir, line_mask); in gpio_direction_output() 101 immap_t *im = (immap_t *)CONFIG_SYS_IMMR; in gpio_get_value() local 120 immap_t *im = (immap_t *)CONFIG_SYS_IMMR; in gpio_set_value() local 151 immap_t *im = (immap_t *)CONFIG_SYS_IMMR; in mpc83xx_gpio_init_f() local 158 out_be32(&im->gpio[0].imr, 0); in mpc83xx_gpio_init_f() 159 out_be32(&im->gpio[0].icr, 0); in mpc83xx_gpio_init_f() 167 out_be32(&im->gpio[1].imr, 0); in mpc83xx_gpio_init_f() [all …]
|
/openbmc/u-boot/board/freescale/mpc832xemds/ |
H A D | mpc832xemds.c | 97 if ((im->sysconf.immrbar & IMMRBAR_BASE_ADDR) != (u32) im) in dram_init() 128 im->sysconf.ddrlaw[0].ar = in fixed_sdram() 136 im->ddr.timing_cfg_0 = CONFIG_SYS_DDR_TIMING_0; in fixed_sdram() 137 im->ddr.timing_cfg_1 = CONFIG_SYS_DDR_TIMING_1; in fixed_sdram() 138 im->ddr.timing_cfg_2 = CONFIG_SYS_DDR_TIMING_2; in fixed_sdram() 139 im->ddr.timing_cfg_3 = CONFIG_SYS_DDR_TIMING_3; in fixed_sdram() 140 im->ddr.sdram_cfg = CONFIG_SYS_DDR_SDRAM_CFG; in fixed_sdram() 141 im->ddr.sdram_cfg2 = CONFIG_SYS_DDR_SDRAM_CFG2; in fixed_sdram() 142 im->ddr.sdram_mode = CONFIG_SYS_DDR_MODE; in fixed_sdram() 143 im->ddr.sdram_mode2 = CONFIG_SYS_DDR_MODE2; in fixed_sdram() [all …]
|
/openbmc/u-boot/board/ve8313/ |
H A D | ve8313.c | 40 out_be32(&im->sysconf.ddrlaw[0].bar, in fixed_sdram() 43 out_be32(&im->sysconf.ddrcdr, CONFIG_SYS_DDRCDR_VALUE); in fixed_sdram() 54 out_be32(&im->ddr.csbnds[0].csbnds, in fixed_sdram() 61 out_be32(&im->ddr.cs_config[1], 0); in fixed_sdram() 69 out_be32(&im->ddr.sdram_cfg, CONFIG_SYS_SDRAM_CFG); in fixed_sdram() 71 out_be32(&im->ddr.sdram_cfg2, CONFIG_SYS_SDRAM_CFG2); in fixed_sdram() 72 out_be32(&im->ddr.sdram_mode, CONFIG_SYS_DDR_MODE); in fixed_sdram() 73 out_be32(&im->ddr.sdram_mode2, CONFIG_SYS_DDR_MODE_2); in fixed_sdram() 79 setbits_be32(&im->ddr.sdram_cfg, SDRAM_CFG_MEM_EN); in fixed_sdram() 93 volatile fsl_lbc_t *lbc = &im->im_lbc; in dram_init() [all …]
|
/openbmc/u-boot/arch/powerpc/cpu/mpc83xx/ |
H A D | cpu_init.c | 48 void cpu_init_f (volatile immap_t * im) in cpu_init_f() argument 219 __raw_writel(~(RSR_RES), &im->reset.rsr); in cpu_init_f() 235 __raw_readl(&im->im_lbc.lcrr); in cpu_init_f() 239 setbits_be32(&im->sysconf.spcr, SPCR_TBEN); in cpu_init_f() 246 &im->sysconf.sicrh); in cpu_init_f() 255 __raw_writel(CONFIG_SYS_GPR1, &im->sysconf.gpr1); in cpu_init_f() 261 __raw_writel(CONFIG_SYS_OBIR, &im->sysconf.obir); in cpu_init_f() 308 im->gpio[0].dat = CONFIG_SYS_GPIO1_DAT; in cpu_init_f() 309 im->gpio[0].dir = CONFIG_SYS_GPIO1_DIR; in cpu_init_f() 312 im->gpio[1].dat = CONFIG_SYS_GPIO2_DAT; in cpu_init_f() [all …]
|
H A D | spl_minimal.c | 18 void cpu_init_f (volatile immap_t * im) in cpu_init_f() argument 29 im->arbiter.acr = (im->arbiter.acr & ~ACR_PIPE_DEP) | in cpu_init_f() 35 im->arbiter.acr = (im->arbiter.acr & ~(ACR_RPTCNT)) | in cpu_init_f() 41 im->sysconf.spcr = (im->sysconf.spcr & ~SPCR_OPT) | in cpu_init_f() 46 im->sysconf.spcr |= SPCR_TBEN; in cpu_init_f() 50 im->sysconf.ddrcdr = CONFIG_SYS_DDRCDR; in cpu_init_f() 54 im->sysconf.obir = CONFIG_SYS_OBIR; in cpu_init_f() 72 im->sysconf.lblaw[0].bar = CONFIG_SYS_NAND_LBLAWBAR_PRELIM; in cpu_init_f() 73 im->sysconf.lblaw[0].ar = CONFIG_SYS_NAND_LBLAWAR_PRELIM; in cpu_init_f()
|
/openbmc/u-boot/board/ids/ids8313/ |
H A D | ids8313.c | 53 immap_t *im = (immap_t *)CONFIG_SYS_IMMR; in fixed_sdram() local 59 out_be32(&im->sysconf.ddrlaw[0].bar, in fixed_sdram() 72 out_be32(&im->ddr.cs_config[0], config); in fixed_sdram() 75 out_be32(&im->ddr.cs_config[1], 0); in fixed_sdram() 76 out_be32(&im->ddr.cs_config[2], 0); in fixed_sdram() 77 out_be32(&im->ddr.cs_config[3], 0); in fixed_sdram() 84 out_be32(&im->ddr.sdram_cfg, CONFIG_SYS_SDRAM_CFG); in fixed_sdram() 87 out_be32(&im->ddr.sdram_mode, CONFIG_SYS_DDR_MODE); in fixed_sdram() 123 immap_t *im = (immap_t *)CONFIG_SYS_IMMR; in dram_init() local 124 fsl_lbc_t *lbc = &im->im_lbc; in dram_init() [all …]
|
/openbmc/u-boot/board/freescale/mpc837xerdb/ |
H A D | mpc837xerdb.c | 66 immap_t *im = (immap_t *) CONFIG_SYS_IMMR; in dram_init() local 69 if ((im->sysconf.immrbar & IMMRBAR_BASE_ADDR) != (u32) im) in dram_init() 94 immap_t *im = (immap_t *) CONFIG_SYS_IMMR; in fixed_sdram() local 101 im->sysconf.ddrcdr = CONFIG_SYS_DDRCDR_VALUE; in fixed_sdram() 111 im->ddr.timing_cfg_0 = CONFIG_SYS_DDR_TIMING_0; in fixed_sdram() 112 im->ddr.timing_cfg_1 = CONFIG_SYS_DDR_TIMING_1; in fixed_sdram() 113 im->ddr.timing_cfg_2 = CONFIG_SYS_DDR_TIMING_2; in fixed_sdram() 115 im->ddr.sdram_cfg = CONFIG_SYS_DDR_SDRAM_CFG; in fixed_sdram() 117 im->ddr.sdram_mode = CONFIG_SYS_DDR_MODE; in fixed_sdram() 118 im->ddr.sdram_mode2 = CONFIG_SYS_DDR_MODE2; in fixed_sdram() [all …]
|
/openbmc/u-boot/board/sbc8349/ |
H A D | sbc8349.c | 41 volatile immap_t *im = (immap_t *)CONFIG_SYS_IMMR; in dram_init() local 44 if ((im->sysconf.immrbar & IMMRBAR_BASE_ADDR) != (u32)im) in dram_init() 92 im->ddr.csbnds[2].csbnds = in fixed_sdram() 99 im->ddr.cs_config[0] = 0; in fixed_sdram() 100 im->ddr.cs_config[1] = 0; in fixed_sdram() 101 im->ddr.cs_config[3] = 0; in fixed_sdram() 103 im->ddr.timing_cfg_1 = CONFIG_SYS_DDR_TIMING_1; in fixed_sdram() 104 im->ddr.timing_cfg_2 = CONFIG_SYS_DDR_TIMING_2; in fixed_sdram() 106 im->ddr.sdram_cfg = in fixed_sdram() 116 im->ddr.sdram_mode = CONFIG_SYS_DDR_MODE; in fixed_sdram() [all …]
|
/openbmc/u-boot/board/freescale/mpc837xemds/ |
H A D | mpc837xemds.c | 89 u32 rcwh = in_be32(&im->reset.rcwh); in board_eth_init() 188 u32 rcwh = in_be32(&im->reset.rcwh); in ft_tsec_fixup() 225 if ((im->sysconf.immrbar & IMMRBAR_BASE_ADDR) != (u32) im) in dram_init() 261 im->sysconf.ddrcdr = CONFIG_SYS_DDRCDR_VALUE; in fixed_sdram() 271 im->ddr.timing_cfg_0 = CONFIG_SYS_DDR_TIMING_0; in fixed_sdram() 272 im->ddr.timing_cfg_1 = CONFIG_SYS_DDR_TIMING_1; in fixed_sdram() 273 im->ddr.timing_cfg_2 = CONFIG_SYS_DDR_TIMING_2; in fixed_sdram() 275 im->ddr.sdram_cfg = CONFIG_SYS_DDR_SDRAM_CFG; in fixed_sdram() 277 im->ddr.sdram_mode = CONFIG_SYS_DDR_MODE; in fixed_sdram() 278 im->ddr.sdram_mode2 = CONFIG_SYS_DDR_MODE2; in fixed_sdram() [all …]
|
/openbmc/u-boot/board/freescale/mpc8323erdb/ |
H A D | mpc8323erdb.c | 78 if ((im->sysconf.immrbar & IMMRBAR_BASE_ADDR) != (u32) im) in dram_init() 109 im->sysconf.ddrlaw[0].ar = in fixed_sdram() 114 im->ddr.timing_cfg_0 = CONFIG_SYS_DDR_TIMING_0; in fixed_sdram() 115 im->ddr.timing_cfg_1 = CONFIG_SYS_DDR_TIMING_1; in fixed_sdram() 116 im->ddr.timing_cfg_2 = CONFIG_SYS_DDR_TIMING_2; in fixed_sdram() 117 im->ddr.timing_cfg_3 = CONFIG_SYS_DDR_TIMING_3; in fixed_sdram() 118 im->ddr.sdram_cfg = CONFIG_SYS_DDR_SDRAM_CFG; in fixed_sdram() 119 im->ddr.sdram_cfg2 = CONFIG_SYS_DDR_SDRAM_CFG2; in fixed_sdram() 120 im->ddr.sdram_mode = CONFIG_SYS_DDR_MODE; in fixed_sdram() 121 im->ddr.sdram_mode2 = CONFIG_SYS_DDR_MODE2; in fixed_sdram() [all …]
|
/openbmc/linux/net/ipv4/ |
H A D | igmp.c | 840 struct ip_mc_list *im = from_timer(im, t, timer); in igmp_timer_expire() local 1058 im->gsquery = im->gsquery && mark; in igmp_heard_query() 1202 im->tomb = im->sources = NULL; in igmpv3_add_delrec() 1452 im = kzalloc(sizeof(*im), gfp); in ____ip_mc_inc_group() 1453 if (!im) in ____ip_mc_inc_group() 2731 im = rcu_dereference(im->next_hash)) { in ip_check_mc_rcu() 2798 im = rcu_dereference(im->next_rcu); in igmp_mc_get_next() 2816 if (im) in igmp_mc_get_idx() 2877 im->multiaddr, im->users, in igmp_mc_seq_show() 2920 state->im = im; in igmp_mcf_get_first() [all …]
|
/openbmc/u-boot/board/keymile/km83xx/ |
H A D | km83xx.c | 291 immap_t *im = (immap_t *)CONFIG_SYS_IMMR; in fixed_sdram() local 296 out_be32(&im->sysconf.ddrlaw[0].ar, (LAWAR_EN | 0x1e)); in fixed_sdram() 303 out_be32(&im->ddr.sdram_cfg, CONFIG_SYS_DDR_SDRAM_CFG); in fixed_sdram() 305 out_be32(&im->ddr.sdram_mode, CONFIG_SYS_DDR_MODE); in fixed_sdram() 306 out_be32(&im->ddr.sdram_mode2, CONFIG_SYS_DDR_MODE2); in fixed_sdram() 310 setbits_be32(&im->ddr.sdram_cfg, SDRAM_CFG_MEM_EN); in fixed_sdram() 323 out_be32(&im->sysconf.ddrlaw[0].ar, in fixed_sdram() 325 out_be32(&im->ddr.csbnds[0].csbnds, in fixed_sdram() 334 immap_t *im = (immap_t *)CONFIG_SYS_IMMR; in dram_init() local 337 if ((in_be32(&im->sysconf.immrbar) & IMMRBAR_BASE_ADDR) != (u32)im) in dram_init() [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/libwmf/libwmf/ |
H A D | libwmf-0.2.8.4-useafterfree.patch | 7 --- libwmf-0.2.8.4/src/extra/gd/gd_clip.c.CVE-2009-1364-im-clip-list 2009-04-24 04:06:44.000000000 … 9 @@ -70,6 +70,7 @@ void gdClipSetAdd(gdImagePtr im,gdClipRe 10 { more = gdRealloc (im->clip->list,(im->clip->max + 8) * sizeof (gdClipRectangle)); 12 im->clip->max += 8; 13 + im->clip->list = more; 15 im->clip->list[im->clip->count] = (*rect); 16 im->clip->count++;
|
/openbmc/u-boot/drivers/clk/ |
H A D | mpc83xx_clk.h | 275 static inline u32 get_spmr(immap_t *im) in get_spmr() argument 277 u32 res = in_be32(&im->clk.spmr); in get_spmr() 288 static inline u32 get_sccr(immap_t *im) in get_sccr() argument 290 u32 res = in_be32(&im->clk.sccr); in get_sccr() 301 static inline u32 get_lcrr(immap_t *im) in get_lcrr() argument 303 u32 res = in_be32(&im->im_lbc.lcrr); in get_lcrr() 314 static inline u32 get_pci_sync_in(immap_t *im) in get_pci_sync_in() argument 328 static inline u32 get_csb_clk(immap_t *im) in get_csb_clk() argument 348 return (get_spmr(im) & mask) >> shift; in spmr_field() 363 return (get_sccr(im) & mask) >> shift; in sccr_field() [all …]
|
/openbmc/linux/kernel/bpf/ |
H A D | trampoline.c | 260 kfree_rcu(im, rcu); in bpf_tramp_image_free() 296 if (im->ip_after_call) in __bpf_tramp_image_put_rcu_tasks() 359 im = kzalloc(sizeof(*im), GFP_KERNEL); in bpf_tramp_image_alloc() 360 if (!im) in bpf_tramp_image_alloc() 377 ksym = &im->ksym; in bpf_tramp_image_alloc() 381 return im; in bpf_tramp_image_alloc() 388 kfree(im); in bpf_tramp_image_alloc() 413 if (IS_ERR(im)) { in bpf_trampoline_update() 414 err = PTR_ERR(im); in bpf_trampoline_update() 441 err = arch_prepare_bpf_trampoline(im, im->image, im->image + PAGE_SIZE, in bpf_trampoline_update() [all …]
|
/openbmc/u-boot/board/tqc/tqm834x/ |
H A D | tqm834x.c | 58 if ((im->sysconf.immrbar & IMMRBAR_BASE_ADDR) != (u32)im) in board_early_init_r() 75 im->sysconf.ddrlaw[0].bar = CONFIG_SYS_DDR_BASE; in dram_init() 93 im->ddr.sdram_cfg = (SDRAM_CFG_MEM_EN | in dram_init() 322 im->ddr.csbnds[cs].csbnds = 0x00000000; in set_cs_bounds() 324 im->ddr.csbnds[cs].csbnds = in set_cs_bounds() 339 im->ddr.cs_config[cs] = config; in set_cs_config() 353 im->ddr.timing_cfg_1 = in set_ddr_config() 363 im->ddr.timing_cfg_2 = in set_ddr_config() 369 im->ddr.sdram_cfg = in set_ddr_config() 375 im->ddr.sdram_mode = in set_ddr_config() [all …]
|
/openbmc/phosphor-ipmi-flash/bmc/version-handler/test/ |
H A D | version_read_unittest.cpp | 27 createMockVersionConfigs(blobNames, &im, &tm)); in SetUp() 32 std::unordered_map<std::string, ImageHandlerMock*> im; member in ipmi_flash::VersionReadBlobTest 47 EXPECT_CALL(*im.at("blob0"), open(_, std::ios::in)).WillOnce(Return(true)); in TEST_F() 48 EXPECT_CALL(*im.at("blob0"), read(0, Ge(vector1.size()))) in TEST_F() 50 EXPECT_CALL(*im.at("blob0"), close()).Times(1); in TEST_F() 71 EXPECT_CALL(*im.at("blob0"), read(0, Ge(vector1.size()))) in TEST_F() 73 EXPECT_CALL(*im.at("blob0"), close()).Times(1); in TEST_F() 82 EXPECT_CALL(*im.at("blob0"), read(0, Ge(vector2.size()))) in TEST_F() 84 EXPECT_CALL(*im.at("blob0"), close()).Times(1); in TEST_F() 132 EXPECT_CALL(*im.at("blob0"), read(_, _)).WillOnce(Return(std::nullopt)); in TEST_F() [all …]
|