Searched refs:sf_size (Results 1 – 4 of 4) sorted by relevance
844 if (addr + nwords * sizeof(u32) > adapter->params.sf_size || (addr & 3)) in t4_read_flash()882 if (addr >= adapter->params.sf_size || offset + n > SF_PAGE_SIZE) in t4_write_flash()1128 if (adapter->params.sf_size == 0x100000) in t4_flash_cfg_addr()1150 unsigned int sf_sec_size = adap->params.sf_size / adap->params.sf_nsec; in t4_load_fw()3926 adap->params.sf_size = supported_flash[ret].size_mb; in get_flash_params()3928 adap->params.sf_size / SF_SEC_SIZE; in get_flash_params()3941 adap->params.sf_size = 1 << info; in get_flash_params()3945 if (adap->params.sf_size < FLASH_MIN_SIZE) in get_flash_params()3947 adap->params.sf_size, FLASH_MIN_SIZE); in get_flash_params()
292 unsigned int sf_size; /* serial flash size in bytes */ member
521 if (addr + nwords * sizeof(uint32_t) > hw->params.sf_size || (addr & 3)) in csio_hw_read_flash()564 if (addr >= hw->params.sf_size || offset + n > SF_PAGE_SIZE) in csio_hw_write_flash()746 if ((!hw->params.sf_size) || (!hw->params.sf_nsec)) { in csio_hw_fw_dload()780 sf_sec_size = hw->params.sf_size / hw->params.sf_nsec; in csio_hw_fw_dload()850 hw->params.sf_size = 1 << info; in csio_hw_get_flash_params()
289 uint32_t sf_size; /* serial flash member