Home
last modified time | relevance | path

Searched refs:flash_size (Results 1 – 25 of 36) sorted by relevance

12

/linux/drivers/firmware/broadcom/
A Dbcm47xx_nvram.c74 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 Dfs.c217 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 Dbuild.c322 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 Djffs2_fs_sb.h67 uint32_t flash_size; member
A Dwbuf.c1260 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 Ddebug.c42 + 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 Dnodelist.h298 return ((c->flash_size / c->sector_size) * sizeof (struct jffs2_eraseblock)) > (128 * 1024); in jffs2_blocks_use_vmalloc()
A Dnodemgmt.c164 c->flash_size); in jffs2_reserve_space()
/linux/drivers/net/ethernet/alacritech/
A Dslic.h319 __le16 flash_size; /* 02 Flash size */ member
379 __le16 flash_size; /* 14 Flash size (bytes / 4K) */ member
/linux/drivers/net/ethernet/intel/ice/
A Dice_devlink.c625 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 Dice_type.h447 u32 flash_size; /* Size of available flash in bytes */ member
A Dice_nvm.c840 hw->flash.flash_size = max_size; in ice_discover_flash_size()
/linux/Documentation/misc-devices/
A Dc2port.rst58 dev_id flash_blocks_num flash_size subsystem/
/linux/drivers/net/ethernet/broadcom/bnx2x/
A Dbnx2x_ethtool.c1235 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 Dcore.h544 u8 erase_mask, u64 flash_size);
/linux/drivers/net/ethernet/qlogic/qed/
A Dqed_mcp.c2571 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 Dcros_ec_sysfs.c233 resp->flash_size, resp->write_block_size, in flashinfo_show()
/linux/drivers/mtd/ubi/
A Dbuild.c625 ubi->flash_size = ubi->mtd->size; in io_init()
1002 mtd->index, mtd->name, ubi->flash_size >> 20); in ubi_attach_mtd_dev()
A Dubi.h630 long long flash_size; member
/linux/drivers/scsi/
A Dmyrb.h257 unsigned int flash_size; /* Bytes 32-35 */ member
/linux/include/linux/platform_data/
A Dcros_ec_commands.h1339 uint32_t flash_size; member
1391 uint32_t flash_size; member
1425 uint32_t flash_size; member
/linux/drivers/scsi/esas2r/
A Datioctl.h1053 u32 flash_size; member
/linux/drivers/misc/c2port/
A Dcore.c340 static DEVICE_ATTR(flash_size, 0444, c2port_show_flash_size, NULL);
/linux/include/linux/qed/
A Dqed_if.h646 u32 flash_size; member
/linux/drivers/scsi/qla4xxx/
A Dql4_fw.h313 uint32_t flash_size; member

Completed in 128 milliseconds

12