| /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()
|
| /drivers/net/ethernet/intel/ixgbe/devlink/ |
| A D | region.c | 18 *nvm_size = hw->flash.flash_size; in ixgbe_devlink_parse_region() 240 nvm_size = adapter->hw.flash.flash_size; in ixgbe_devlink_init_regions()
|
| /drivers/net/ethernet/alacritech/ |
| A D | slic.h | 317 __le16 flash_size; /* 02 Flash size */ member 377 __le16 flash_size; /* 14 Flash size (bytes / 4K) */ member
|
| /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()
|
| A D | bnx2x.h | 963 int flash_size; member
|
| A D | bnx2x_vfpf.c | 376 bp->common.flash_size = 0; in bnx2x_vfpf_acquire()
|
| /drivers/net/ethernet/qlogic/qed/ |
| A D | qed_mcp.c | 2627 u32 flash_size; in qed_mcp_get_flash_size() local 2632 flash_size = qed_rd(p_hwfn, p_ptt, MCP_REG_NVM_CFG4); in qed_mcp_get_flash_size() 2633 flash_size = (flash_size & MCP_REG_NVM_CFG4_FLASH_SIZE) >> in qed_mcp_get_flash_size() 2635 flash_size = (1 << (flash_size + MCP_BYTES_PER_MBIT_SHIFT)); in qed_mcp_get_flash_size() 2637 *p_flash_size = flash_size; in qed_mcp_get_flash_size()
|
| /drivers/net/ethernet/intel/ice/devlink/ |
| A D | devlink.c | 1846 nvm_size = hw->flash.flash_size; in ice_devlink_nvm_snapshot() 1933 nvm_size = hw->flash.flash_size; in ice_devlink_nvm_read() 2046 nvm_size = pf->hw.flash.flash_size; in ice_devlink_init_regions()
|
| /drivers/mtd/spi-nor/ |
| A D | core.h | 662 u8 erase_mask, u64 flash_size);
|
| A D | core.c | 2356 u8 erase_mask, u64 flash_size) in spi_nor_init_uniform_erase_map() argument 2359 map->uniform_region.size = flash_size; in spi_nor_init_uniform_erase_map()
|
| /drivers/scsi/ |
| A D | myrb.h | 257 unsigned int flash_size; /* Bytes 32-35 */ member
|
| /drivers/platform/chrome/ |
| A D | cros_ec_sysfs.c | 226 resp->flash_size, resp->write_block_size, in flashinfo_show()
|
| /drivers/mtd/ubi/ |
| A D | build.c | 629 ubi->flash_size = ubi->mtd->size; in io_init() 1034 mtd->index, mtd->name, ubi->flash_size >> 20); in ubi_attach_mtd_dev()
|
| A D | ubi.h | 628 long long flash_size; member
|
| /drivers/net/ethernet/intel/ixgbe/ |
| A D | ixgbe_type_e610.h | 1024 u32 flash_size; /* Available flash size in bytes */ member
|
| A D | ixgbe_e610.c | 2568 hw->flash.flash_size = max_size; in ixgbe_discover_flash_size()
|
| /drivers/net/ethernet/intel/ice/ |
| A D | ice_type.h | 525 u32 flash_size; /* Size of available flash in bytes */ member
|
| A D | ice_nvm.c | 889 hw->flash.flash_size = max_size; in ice_discover_flash_size()
|
| /drivers/misc/c2port/ |
| A D | core.c | 340 static DEVICE_ATTR(flash_size, 0444, c2port_show_flash_size, NULL);
|
| /drivers/scsi/esas2r/ |
| A D | atioctl.h | 1054 u32 flash_size; member
|
| /drivers/scsi/qla4xxx/ |
| A D | ql4_fw.h | 313 uint32_t flash_size; member
|
| /drivers/scsi/qla2xxx/ |
| A D | qla_fw.h | 1622 __le32 flash_size; member
|
| /drivers/net/ethernet/qlogic/qlcnic/ |
| A D | qlcnic.h | 280 u32 flash_size; member
|
| /drivers/scsi/megaraid/ |
| A D | megaraid_sas.h | 1053 __le16 flash_size; member
|
| /drivers/net/ethernet/broadcom/ |
| A D | bnx2.c | 4393 bp->flash_size = val; in bnx2_init_nvram() 4395 bp->flash_size = bp->flash_info->total_size; in bnx2_init_nvram() 7199 return (int) bp->flash_size; in bnx2_get_eeprom_len()
|