/linux/drivers/firmware/broadcom/ |
A D | bcm47xx_nvram.c | 74 size_t flash_size; in bcm47xx_nvram_find_and_copy() local 86 for (flash_size = FLASH_MIN; flash_size <= res_size; flash_size <<= 1) { in bcm47xx_nvram_find_and_copy() 88 offset = flash_size - nvram_sizes[i]; in bcm47xx_nvram_find_and_copy()
|
/linux/fs/jffs2/ |
A D | fs.c | 217 buf->f_blocks = c->flash_size >> PAGE_SHIFT; in jffs2_statfs() 494 static int calculate_inocache_hashsize(uint32_t flash_size) in calculate_inocache_hashsize() argument 503 int size_mb = flash_size / 1024 / 1024; in calculate_inocache_hashsize() 538 c->flash_size = c->mtd->size; in jffs2_do_fill_super() 540 blocks = c->flash_size / c->sector_size; in jffs2_do_fill_super() 545 if ((c->sector_size * blocks) != c->flash_size) { in jffs2_do_fill_super() 546 c->flash_size = c->sector_size * blocks; in jffs2_do_fill_super() 548 c->flash_size / 1024); in jffs2_do_fill_super() 551 if (c->flash_size < 5*c->sector_size) { in jffs2_do_fill_super() 553 c->flash_size / c->sector_size); in jffs2_do_fill_super() [all …]
|
A D | build.c | 322 size = c->flash_size / 50; /* 2% of flash size */ in jffs2_calc_trigger_levels() 350 c->nospc_dirty_size = c->sector_size + (c->flash_size / 100); in jffs2_calc_trigger_levels() 353 c->flash_size / 1024, c->sector_size / 1024, c->nr_blocks); in jffs2_calc_trigger_levels() 376 c->free_size = c->flash_size; in jffs2_do_mount_fs() 377 c->nr_blocks = c->flash_size / c->sector_size; in jffs2_do_mount_fs()
|
A D | jffs2_fs_sb.h | 67 uint32_t flash_size; member
|
A D | wbuf.c | 1260 c->flash_size = c->mtd->size; in jffs2_dataflash_setup() 1262 if ((c->flash_size % c->sector_size) != 0) { in jffs2_dataflash_setup() 1263 c->flash_size = (c->flash_size / c->sector_size) * c->sector_size; in jffs2_dataflash_setup() 1264 pr_warn("flash size adjusted to %dKiB\n", c->flash_size); in jffs2_dataflash_setup()
|
A D | debug.c | 42 + c->wasted_size + c->unchecked_size != c->flash_size)) { in __jffs2_dbg_acct_sanity_check_nolock() 46 c->wasted_size, c->unchecked_size, c->flash_size); in __jffs2_dbg_acct_sanity_check_nolock() 471 printk(JFFS2_DBG "flash_size: %#08x\n", c->flash_size); in __jffs2_dbg_dump_block_lists_nolock()
|
A D | nodelist.h | 298 return ((c->flash_size / c->sector_size) * sizeof (struct jffs2_eraseblock)) > (128 * 1024); in jffs2_blocks_use_vmalloc()
|
A D | nodemgmt.c | 164 c->flash_size); in jffs2_reserve_space()
|
/linux/drivers/net/ethernet/alacritech/ |
A D | slic.h | 319 __le16 flash_size; /* 02 Flash size */ member 379 __le16 flash_size; /* 14 Flash size (bytes / 4K) */ member
|
/linux/drivers/net/ethernet/intel/ice/ |
A D | ice_devlink.c | 625 nvm_size = hw->flash.flash_size; in ice_devlink_nvm_snapshot() 725 nvm_size = pf->hw.flash.flash_size; in ice_devlink_init_regions()
|
A D | ice_type.h | 447 u32 flash_size; /* Size of available flash in bytes */ member
|
A D | ice_nvm.c | 840 hw->flash.flash_size = max_size; in ice_discover_flash_size()
|
/linux/Documentation/misc-devices/ |
A D | c2port.rst | 58 dev_id flash_blocks_num flash_size subsystem/
|
/linux/drivers/net/ethernet/broadcom/bnx2x/ |
A D | bnx2x_ethtool.c | 1235 return bp->common.flash_size; in bnx2x_get_eeprom_len() 1407 if (offset + buf_size > bp->common.flash_size) { in bnx2x_nvram_read() 1410 offset, buf_size, bp->common.flash_size); in bnx2x_nvram_read() 1671 if (offset + buf_size > bp->common.flash_size) { in bnx2x_nvram_write1() 1674 offset, buf_size, bp->common.flash_size); in bnx2x_nvram_write1() 1730 if (offset + buf_size > bp->common.flash_size) { in bnx2x_nvram_write() 1733 offset, buf_size, bp->common.flash_size); in bnx2x_nvram_write()
|
/linux/drivers/mtd/spi-nor/ |
A D | core.h | 544 u8 erase_mask, u64 flash_size);
|
/linux/drivers/net/ethernet/qlogic/qed/ |
A D | qed_mcp.c | 2571 u32 flash_size; in qed_mcp_get_flash_size() local 2576 flash_size = qed_rd(p_hwfn, p_ptt, MCP_REG_NVM_CFG4); in qed_mcp_get_flash_size() 2577 flash_size = (flash_size & MCP_REG_NVM_CFG4_FLASH_SIZE) >> in qed_mcp_get_flash_size() 2579 flash_size = (1 << (flash_size + MCP_BYTES_PER_MBIT_SHIFT)); in qed_mcp_get_flash_size() 2581 *p_flash_size = flash_size; in qed_mcp_get_flash_size()
|
/linux/drivers/platform/chrome/ |
A D | cros_ec_sysfs.c | 233 resp->flash_size, resp->write_block_size, in flashinfo_show()
|
/linux/drivers/mtd/ubi/ |
A D | build.c | 625 ubi->flash_size = ubi->mtd->size; in io_init() 1002 mtd->index, mtd->name, ubi->flash_size >> 20); in ubi_attach_mtd_dev()
|
A D | ubi.h | 630 long long flash_size; member
|
/linux/drivers/scsi/ |
A D | myrb.h | 257 unsigned int flash_size; /* Bytes 32-35 */ member
|
/linux/include/linux/platform_data/ |
A D | cros_ec_commands.h | 1339 uint32_t flash_size; member 1391 uint32_t flash_size; member 1425 uint32_t flash_size; member
|
/linux/drivers/scsi/esas2r/ |
A D | atioctl.h | 1053 u32 flash_size; member
|
/linux/drivers/misc/c2port/ |
A D | core.c | 340 static DEVICE_ATTR(flash_size, 0444, c2port_show_flash_size, NULL);
|
/linux/include/linux/qed/ |
A D | qed_if.h | 646 u32 flash_size; member
|
/linux/drivers/scsi/qla4xxx/ |
A D | ql4_fw.h | 313 uint32_t flash_size; member
|