Home
last modified time | relevance | path

Searched refs:size_mb (Results 1 – 12 of 12) sorted by relevance

/OK3568_Linux_fs/u-boot/board/gateworks/gw_ventana/
H A Dgw_ventana_spl.c428 static void spl_dram_init(int width, int size_mb, int board_model) in spl_dram_init() argument
465 if (width == 16 && size_mb == 128) { in spl_dram_init()
472 } else if (width == 16 && size_mb == 256) { in spl_dram_init()
480 } else if (width == 16 && size_mb == 512) { in spl_dram_init()
487 } else if (width == 32 && size_mb == 256) { in spl_dram_init()
495 } else if (width == 32 && size_mb == 512) { in spl_dram_init()
502 } else if (width == 32 && size_mb == 1024) { in spl_dram_init()
509 } else if (width == 32 && size_mb == 2048) { in spl_dram_init()
514 } else if (width == 64 && size_mb == 512) { in spl_dram_init()
517 } else if (width == 64 && size_mb == 1024) { in spl_dram_init()
[all …]
/OK3568_Linux_fs/u-boot/arch/arm/mach-rockchip/
H A Dsdram.c25 size_t size_mb = 0; in rockchip_sdram_size() local
94 size_mb += chipsize_mb; in rockchip_sdram_size()
108 if (size_mb > (SDRAM_MAX_SIZE >> 20)) in rockchip_sdram_size()
109 size_mb = (SDRAM_MAX_SIZE >> 20); in rockchip_sdram_size()
111 return (size_t)size_mb << 20; in rockchip_sdram_size()
/OK3568_Linux_fs/kernel/drivers/edac/
H A Di5400_edac.c1170 int size_mb; in i5400_init_dimms() local
1192 size_mb = pvt->dimm_info[slot][channel].megabytes; in i5400_init_dimms()
1196 size_mb / 1000, size_mb % 1000); in i5400_init_dimms()
1198 dimm->nr_pages = size_mb << 8; in i5400_init_dimms()
H A Dedac_mc_sysfs.c250 DEVICE_ATTR_LEGACY(size_mb, S_IRUGO, csrow_size_show, NULL);
845 static DEVICE_ATTR(size_mb, S_IRUGO, mci_size_mb_show, NULL);
/OK3568_Linux_fs/kernel/drivers/staging/media/allegro-dvt/
H A Dallegro-core.c1273 unsigned int size_mb = SIZE_MACROBLOCK; in allegro_h264_write_sps() local
1297 DIV_ROUND_UP(channel->width, size_mb) - 1; in allegro_h264_write_sps()
1299 DIV_ROUND_UP(channel->height, size_mb) - 1; in allegro_h264_write_sps()
1304 (channel->width % size_mb) || (channel->height % size_mb); in allegro_h264_write_sps()
1307 sps->crop_right = (round_up(channel->width, size_mb) - channel->width) / crop_unit_x; in allegro_h264_write_sps()
1309 sps->crop_bottom = (round_up(channel->height, size_mb) - channel->height) / crop_unit_y; in allegro_h264_write_sps()
/OK3568_Linux_fs/kernel/fs/jffs2/
H A Dfs.c502 int size_mb = flash_size / 1024 / 1024; in calculate_inocache_hashsize() local
503 int hashsize = (size_mb * 2) & ~0x3f; in calculate_inocache_hashsize()
/OK3568_Linux_fs/kernel/drivers/scsi/csiostor/
H A Dcsio_init.c114 unsigned int idx, unsigned int size_mb) in csio_add_debugfs_mem() argument
118 size_mb << 20); in csio_add_debugfs_mem()
H A Dcsio_hw.c769 u32 size_mb; in csio_hw_get_flash_params() member
790 hw->params.sf_size = supported_flash[part].size_mb; in csio_hw_get_flash_params()
/OK3568_Linux_fs/kernel/Documentation/ABI/testing/
H A Dsysfs-devices-edac25 What: /sys/devices/system/edac/mc/mc*/size_mb
/OK3568_Linux_fs/kernel/Documentation/admin-guide/
H A Dras.rst463 │   │   ├── size_mb
484 │   │   ├── size_mb
606 - ``size_mb`` - Total memory managed by this csrow attribute file
/OK3568_Linux_fs/kernel/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_debugfs.c3397 unsigned int idx, unsigned int size_mb) in add_debugfs_mem() argument
3401 size_mb << 20); in add_debugfs_mem()
H A Dt4_hw.c8978 u32 size_mb; member
9012 adap->params.sf_size = supported_flash[part].size_mb; in t4_get_flash_params()