Home
last modified time | relevance | path

Searched refs:SF_PAGE_SIZE (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/uts/common/io/cxgbe/t4nex/
H A Dcudbg_flash_utils.c286 for (i = 0; i < size; i += SF_PAGE_SIZE) { in write_flash()
287 if ((size - i) < SF_PAGE_SIZE) in write_flash()
290 n = SF_PAGE_SIZE; in write_flash()
493 for (i = 0; i < size; i += SF_PAGE_SIZE) { in read_flash()
494 if ((size - i) < SF_PAGE_SIZE) in read_flash()
497 n = SF_PAGE_SIZE; in read_flash()
/illumos-gate/usr/src/uts/common/io/cxgbe/common/
H A Dt4_hw.c3560 if (addr >= adapter->params.sf_size || offset + n > SF_PAGE_SIZE) in t4_write_flash()
4178 u8 first_page[SF_PAGE_SIZE]; in t4_load_fw()
4237 memcpy(first_page, fw_data, SF_PAGE_SIZE); in t4_load_fw()
4239 ret = t4_write_flash(adap, fw_start, SF_PAGE_SIZE, first_page, 1); in t4_load_fw()
4244 for (size -= SF_PAGE_SIZE; size; size -= SF_PAGE_SIZE) { in t4_load_fw()
4245 addr += SF_PAGE_SIZE; in t4_load_fw()
4246 fw_data += SF_PAGE_SIZE; in t4_load_fw()
4247 ret = t4_write_flash(adap, addr, SF_PAGE_SIZE, fw_data, 1); in t4_load_fw()
11367 for (i = 0; i< size; i+= SF_PAGE_SIZE) { in t4_load_cfg()
11368 if ( (size - i) < SF_PAGE_SIZE) in t4_load_cfg()
[all …]
H A Dt4_hw.h62 SF_PAGE_SIZE = 256, /* serial flash page size */ enumerator