Searched refs:SF_PAGE_SIZE (Results 1 - 3 of 3) sorted by relevance
/freebsd-12-stable/sys/dev/cxgbe/cudbg/ |
H A D | cudbg_flash_utils.c | 274 /* this will write to the flash up to SF_PAGE_SIZE at a time */ 275 for (i = 0; i < size; i += SF_PAGE_SIZE) { 276 if ((size - i) < SF_PAGE_SIZE) 279 n = SF_PAGE_SIZE; 476 for (i = 0; i < size; i += SF_PAGE_SIZE) { 477 if ((size - i) < SF_PAGE_SIZE) 480 n = SF_PAGE_SIZE;
|
/freebsd-12-stable/sys/dev/cxgbe/common/ |
H A D | t4_hw.h | 80 SF_PAGE_SIZE = 256, /* serial flash page size */ enumerator in enum:__anon12678
|
H A D | t4_hw.c | 3239 u32 buf[SF_PAGE_SIZE / 4]; 3242 if (addr >= adapter->params.sf_size || offset + n > SF_PAGE_SIZE) 3572 u8 first_page[SF_PAGE_SIZE]; 3631 memcpy(first_page, fw_data, SF_PAGE_SIZE); 3633 ret = t4_write_flash(adap, fw_start, SF_PAGE_SIZE, first_page, 1); 3638 for (size -= SF_PAGE_SIZE; size; size -= SF_PAGE_SIZE) { 3639 addr += SF_PAGE_SIZE; 3640 fw_data += SF_PAGE_SIZE; 3641 ret = t4_write_flash(adap, addr, SF_PAGE_SIZE, fw_dat [all...] |
Completed in 68 milliseconds