Searched refs:SF_PAGE_SIZE (Results 1 - 4 of 4) sorted by relevance

/linux-master/drivers/net/ethernet/chelsio/cxgb4/
H A Dt4_hw.h81 SF_PAGE_SIZE = 256, /* serial flash page size */ enumerator in enum:__anon9
H A Dt4_hw.c3054 if (addr >= adapter->params.sf_size || offset + n > SF_PAGE_SIZE)
3629 u8 first_page[SF_PAGE_SIZE];
3678 memcpy(first_page, fw_data, SF_PAGE_SIZE);
3680 ret = t4_write_flash(adap, fw_start, SF_PAGE_SIZE, first_page, true);
3685 for (size -= SF_PAGE_SIZE; size; size -= SF_PAGE_SIZE) {
3686 addr += SF_PAGE_SIZE;
3687 fw_data += SF_PAGE_SIZE;
3688 ret = t4_write_flash(adap, addr, SF_PAGE_SIZE, fw_data, true);
10193 /* this will write to the flash up to SF_PAGE_SIZE a
[all...]
H A Dcudbg_lib.c3586 for (i = 0; i < count; i += SF_PAGE_SIZE) {
3587 n = min_t(u32, count - i, SF_PAGE_SIZE);
/linux-master/drivers/scsi/csiostor/
H A Dcsio_hw.c534 if (addr >= hw->params.sf_size || offset + n > SF_PAGE_SIZE)
674 uint8_t first_page[SF_PAGE_SIZE];
731 memcpy(first_page, fw_data, SF_PAGE_SIZE);
733 ret = csio_hw_write_flash(hw, FLASH_FW_START, SF_PAGE_SIZE, first_page);
741 for (size -= SF_PAGE_SIZE; size; size -= SF_PAGE_SIZE) {
742 addr += SF_PAGE_SIZE;
743 fw_data += SF_PAGE_SIZE;
744 ret = csio_hw_write_flash(hw, addr, SF_PAGE_SIZE, fw_data);

Completed in 160 milliseconds