Home
last modified time | relevance | path

Searched refs:msize (Results 1 – 25 of 66) sorted by relevance

123

/openbmc/linux/lib/crypto/mpi/
H A Dmpi-pow.c42 msize = mod->nlimbs; in mpi_powm()
43 size = 2 * msize; in mpi_powm()
49 if (!msize) in mpi_powm()
90 mpihelp_divrem(bp + msize, 0, bp, bsize, mp, msize); in mpi_powm()
91 bsize = msize; in mpi_powm()
207 xsize = msize; in mpi_powm()
234 msize); in mpi_powm()
235 xsize = msize; in mpi_powm()
275 mpihelp_divrem(rp + msize, 0, rp, rsize, mp, msize); in mpi_powm()
276 rsize = msize; in mpi_powm()
[all …]
/openbmc/u-boot/board/ids/ids8313/
H A Dids8313.c54 u32 msize = CONFIG_SYS_DDR_SIZE << 20; in fixed_sdram() local
57 u32 msize_log2 = __ilog2(msize); in fixed_sdram()
99 msize = get_ram_size(CONFIG_SYS_DDR_BASE, msize); in fixed_sdram()
102 return msize; in fixed_sdram()
107 u32 msize = CONFIG_SYS_DDR_SIZE << 20; in setup_sdram() local
114 msize = fixed_sdram(CONFIG_SYS_DDR_CONFIG); in setup_sdram()
116 msize = size_02; in setup_sdram()
118 return msize; in setup_sdram()
125 u32 msize = 0; in dram_init() local
130 msize = setup_sdram(); in dram_init()
[all …]
/openbmc/openpower-debug-collector/dump/tools/common/include/
H A Dgendumpheader58 msize=`expr $x / 2`
59 msize=`expr $SIZE_8 - $msize`
64 add_null $msize
81 msize=`expr $x / 2`
82 msize=`expr $SIZE_8 - $msize`
83 add_null $msize
134 msize=$(( SIZE_4 - msize ))
182 msize=$(( SIZE_4 - msize ))
183 add_null "$msize"
202 msize=$(( SIZE_8 - msize ))
[all …]
/openbmc/u-boot/board/freescale/mpc8308rdb/
H A Dsdram.c32 u32 msize = CONFIG_SYS_DDR_SIZE * 1024 * 1024; in fixed_sdram() local
33 u32 msize_log2 = __ilog2(msize); in fixed_sdram()
40 out_be32(&im->ddr.csbnds[0].csbnds, (msize - 1) >> 24); in fixed_sdram()
64 return get_ram_size(CONFIG_SYS_DDR_SDRAM_BASE, msize); in fixed_sdram()
70 u32 msize; in dram_init() local
76 msize = fixed_sdram(); in dram_init()
79 gd->ram_size = msize; in dram_init()
/openbmc/u-boot/board/mpc8308_p1m/
H A Dsdram.c28 u32 msize = CONFIG_SYS_DDR_SIZE * 1024 * 1024; in fixed_sdram() local
29 u32 msize_log2 = __ilog2(msize); in fixed_sdram()
36 out_be32(&im->ddr.csbnds[0].csbnds, (msize - 1) >> 24); in fixed_sdram()
60 return get_ram_size(CONFIG_SYS_DDR_SDRAM_BASE, msize); in fixed_sdram()
66 u32 msize; in dram_init() local
72 msize = fixed_sdram(); in dram_init()
75 gd->ram_size = msize; in dram_init()
/openbmc/u-boot/board/gdsys/mpc8308/
H A Dsdram.c33 u32 msize = CONFIG_SYS_DDR_SIZE * 1024 * 1024; in fixed_sdram() local
34 u32 msize_log2 = __ilog2(msize); in fixed_sdram()
41 out_be32(&im->ddr.csbnds[0].csbnds, (msize - 1) >> 24); in fixed_sdram()
65 return get_ram_size(CONFIG_SYS_DDR_SDRAM_BASE, msize); in fixed_sdram()
71 u32 msize; in dram_init() local
77 msize = fixed_sdram(); in dram_init()
80 gd->ram_size = msize; in dram_init()
/openbmc/u-boot/board/keymile/km83xx/
H A Dkm83xx.c292 u32 msize = 0; in fixed_sdram() local
312 msize = CONFIG_SYS_DDR_SIZE << 20; in fixed_sdram()
314 msize = get_ram_size(CONFIG_SYS_DDR_BASE, msize); in fixed_sdram()
316 msize /= (1024 * 1024); in fixed_sdram()
317 if (CONFIG_SYS_DDR_SIZE != msize) { in fixed_sdram()
326 (((msize / 16) - 1) & 0xff)); in fixed_sdram()
329 return msize; in fixed_sdram()
335 u32 msize = 0; in dram_init() local
342 msize = fixed_sdram(); in dram_init()
348 ddr_enable_ecc(msize * 1024 * 1024); in dram_init()
[all …]
/openbmc/u-boot/board/freescale/mpc8315erdb/
H A Dsdram.c44 u32 msize = CONFIG_SYS_DDR_SIZE * 1024 * 1024; in fixed_sdram() local
45 u32 msize_log2 = __ilog2(msize); in fixed_sdram()
57 im->ddr.csbnds[0].csbnds = (msize - 1) >> 24; in fixed_sdram()
85 return msize; in fixed_sdram()
97 u32 msize; in dram_init() local
103 msize = fixed_sdram(); in dram_init()
109 gd->ram_size = msize; in dram_init()
/openbmc/u-boot/board/sbc8349/
H A Dsbc8349.c42 u32 msize = 0; in dram_init() local
50 msize = spd_sdram(); in dram_init()
52 msize = fixed_sdram(); in dram_init()
63 ddr_enable_ecc(msize * 1024 * 1024); in dram_init()
66 gd->ram_size = msize * 1024 * 1024; in dram_init()
78 u32 msize = CONFIG_SYS_DDR_SIZE; in fixed_sdram() local
79 u32 ddr_size = msize << 20; /* DDR size in bytes */ in fixed_sdram()
80 u32 ddr_size_log2 = __ilog2(msize); in fixed_sdram()
123 return msize; in fixed_sdram()
/openbmc/u-boot/board/freescale/mpc832xemds/
H A Dmpc832xemds.c95 u32 msize = 0; in dram_init() local
103 msize = fixed_sdram(); in dram_init()
106 gd->ram_size = msize * 1024 * 1024; in dram_init()
117 u32 msize = 0; in fixed_sdram() local
121 msize = CONFIG_SYS_DDR_SIZE; in fixed_sdram()
122 for (ddr_size = msize << 20, ddr_size_log2 = 0; in fixed_sdram()
150 return msize; in fixed_sdram()
/openbmc/u-boot/board/freescale/mpc8313erdb/
H A Dsdram.c44 u32 msize = CONFIG_SYS_DDR_SIZE * 1024 * 1024; in fixed_sdram() local
48 u32 msize_log2 = __ilog2(msize); in fixed_sdram()
65 (((CONFIG_SYS_DDR_SDRAM_BASE + msize - 1) >> CSBNDS_EA_SHIFT) & in fixed_sdram()
96 return msize; in fixed_sdram()
103 u32 msize; in dram_init() local
109 msize = fixed_sdram(); in dram_init()
122 gd->ram_size = msize; in dram_init()
/openbmc/u-boot/board/ve8313/
H A Dve8313.c34 u32 msize = CONFIG_SYS_DDR_SIZE * 1024 * 1024; in fixed_sdram() local
38 u32 msize_log2 = __ilog2(msize); in fixed_sdram()
56 (((CONFIG_SYS_DDR_SDRAM_BASE + msize - 1) >> CSBNDS_EA_SHIFT) & in fixed_sdram()
83 msize = get_ram_size (CONFIG_SYS_DDR_BASE, msize); in fixed_sdram()
87 return msize; in fixed_sdram()
94 u32 msize; in dram_init() local
100 msize = fixed_sdram(); in dram_init()
108 gd->ram_size = msize; in dram_init()
/openbmc/ipmitool/lib/
H A Dipmi_gendev.c209 uint8_t msize; in ipmi_gendev_read_file() local
232 msize = eeprom_info.page_size; in ipmi_gendev_read_file()
236 msize = GENDEV_MAX_SIZE; in ipmi_gendev_read_file()
253 counter+= msize in ipmi_gendev_read_file()
280 msize in ipmi_gendev_read_file()
306 if (numWrite != msize) in ipmi_gendev_read_file()
402 uint8_t msize; in ipmi_gendev_write_file() local
425 msize = eeprom_info.page_size; in ipmi_gendev_write_file()
429 msize = GENDEV_MAX_SIZE; in ipmi_gendev_write_file()
446 counter+= msize in ipmi_gendev_write_file()
[all …]
/openbmc/phosphor-debug-collector/tools/dreport.d/ibm.d/
H A Dgendumpheader49 msize=`expr $x / 2`
50 msize=`expr $SIZE_8 - $msize`
55 add_null $msize
70 msize=`expr $x / 2`
71 msize=`expr $SIZE_8 - $msize`
72 add_null $msize
/openbmc/u-boot/board/freescale/mpc8349emds/
H A Dmpc8349emds.c53 phys_size_t msize = 0; in dram_init() local
62 msize = spd_sdram() * 1024 * 1024; in dram_init()
64 ddr_enable_ecc(msize); in dram_init()
67 msize = fsl_ddr_sdram(); in dram_init()
70 msize = fixed_sdram() * 1024 * 1024; in dram_init()
78 gd->ram_size = msize; in dram_init()
90 u32 msize = CONFIG_SYS_DDR_SIZE; in fixed_sdram() local
91 u32 ddr_size = msize << 20; /* DDR size in bytes */ in fixed_sdram()
150 return msize; in fixed_sdram()
/openbmc/u-boot/board/esd/vme8349/
H A Dvme8349.c35 u32 msize = 0; in dram_init() local
43 msize = spd_sdram(); in dram_init()
49 ddr_enable_ecc(msize * 1024 * 1024); in dram_init()
53 msize = get_ram_size(0, msize); in dram_init()
56 gd->ram_size = msize * 1024 * 1024; in dram_init()
/openbmc/u-boot/board/freescale/mpc8323erdb/
H A Dmpc8323erdb.c76 u32 msize = 0; in dram_init() local
84 msize = fixed_sdram(); in dram_init()
87 gd->ram_size = msize * 1024 * 1024; in dram_init()
98 u32 msize = 0; in fixed_sdram() local
102 msize = CONFIG_SYS_DDR_SIZE; in fixed_sdram()
103 for (ddr_size = msize << 20, ddr_size_log2 = 0; in fixed_sdram()
128 return msize; in fixed_sdram()
/openbmc/u-boot/board/freescale/mpc837xerdb/
H A Dmpc837xerdb.c67 u32 msize = 0; in dram_init() local
73 msize = spd_sdram(); in dram_init()
75 msize = fixed_sdram(); in dram_init()
80 ddr_enable_ecc(msize * 1024 * 1024); in dram_init()
83 gd->ram_size = msize * 1024 * 1024; in dram_init()
95 u32 msize = CONFIG_SYS_DDR_SIZE * 1024 * 1024; in fixed_sdram() local
96 u32 msize_log2 = __ilog2(msize); in fixed_sdram()
/openbmc/u-boot/board/freescale/mpc837xemds/
H A Dmpc837xemds.c223 u32 msize = 0; in dram_init() local
229 msize = spd_sdram(); in dram_init()
231 msize = fixed_sdram(); in dram_init()
236 ddr_enable_ecc(msize * 1024 * 1024); in dram_init()
240 gd->ram_size = msize * 1024 * 1024; in dram_init()
252 u32 msize = CONFIG_SYS_DDR_SIZE * 1024 * 1024; in fixed_sdram() local
253 u32 msize_log2 = __ilog2(msize); in fixed_sdram()
/openbmc/u-boot/board/freescale/mpc8349itx/
H A Dmpc8349itx.c123 u32 msize = 0; in dram_init() local
134 msize = spd_sdram(); in dram_init()
136 msize = fixed_sdram(); in dram_init()
144 ddr_enable_ecc(msize * 1048576); in dram_init()
148 gd->ram_size = msize * 1024 * 1024; in dram_init()
/openbmc/linux/drivers/mtd/devices/
H A Dpmc551.c640 static int msize = 0; variable
643 module_param(msize, int, 0);
644 MODULE_PARM_DESC(msize, "memory size in MiB [1 - 1024]");
659 if (msize) { in init_pmc551()
660 msize = (1 << (ffs(msize) - 1)) << 20; in init_pmc551()
661 if (msize > (1 << 30)) { in init_pmc551()
663 msize); in init_pmc551()
710 if (msize) { in init_pmc551()
711 length = msize; in init_pmc551()
715 msize = length; in init_pmc551()
[all …]
/openbmc/linux/tools/testing/selftests/ipc/
H A Dmsgque.c15 int msize; member
68 msgque->messages[i].msize, IPC_NOWAIT) != 0) { in restore_queue()
97 if (ret != msgque->messages[cnt].msize) { in check_and_destroy_queue()
99 msgque->messages[cnt].msize); in check_and_destroy_queue()
168 msgque->messages[i].msize = ret; in dump_queue()
/openbmc/linux/drivers/gpu/drm/radeon/
H A Dradeon_dp_auxch.c68 int msize; in radeon_dp_aux_transfer_native() local
87 msize = 0; in radeon_dp_aux_transfer_native()
90 msize = msg->size - 1; in radeon_dp_aux_transfer_native()
132 byte = msize; in radeon_dp_aux_transfer_native()
/openbmc/linux/net/9p/
H A Dclient.c71 if (clnt->msize != DEFAULT_MSIZE) in p9_show_client_options()
144 clnt->msize = DEFAULT_MSIZE; in parse_opts()
175 clnt->msize = option; in parse_opts()
914 int msize; in p9_client_version() local
922 c->msize, "9P2000.L"); in p9_client_version()
926 c->msize, "9P2000.u"); in p9_client_version()
930 c->msize, "9P2000"); in p9_client_version()
960 if (msize < 4096) { in p9_client_version()
966 if (msize < c->msize) in p9_client_version()
967 c->msize = msize; in p9_client_version()
[all …]
/openbmc/linux/arch/powerpc/kernel/
H A Dfadump.c418 while (msize) { in add_boot_mem_regions()
419 if (msize > max_size) in add_boot_mem_regions()
422 rsize = msize; in add_boot_mem_regions()
428 msize -= rsize; in add_boot_mem_regions()
1128 u64 mbase, msize; in fadump_create_elfcore_headers() local
1132 if (!msize) in fadump_create_elfcore_headers()
1156 phdr->p_filesz = msize; in fadump_create_elfcore_headers()
1157 phdr->p_memsz = msize; in fadump_create_elfcore_headers()
1720 u64 i, mstart, mend, msize; in fadump_reserve_crash_area() local
1723 msize = mend - mstart; in fadump_reserve_crash_area()
[all …]

123