Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/net/ethernet/chelsio/cxgb4/
A Dt4_hw.h81 SF_PAGE_SIZE = 256, /* serial flash page size */ enumerator
A Dt4_hw.c3629 u8 first_page[SF_PAGE_SIZE]; in t4_load_fw()
3685 for (size -= SF_PAGE_SIZE; size; size -= SF_PAGE_SIZE) { in t4_load_fw()
3686 addr += SF_PAGE_SIZE; in t4_load_fw()
3687 fw_data += SF_PAGE_SIZE; in t4_load_fw()
10196 n = SF_PAGE_SIZE; in t4_load_cfg()
10201 addr += SF_PAGE_SIZE; in t4_load_cfg()
10202 cfg_data += SF_PAGE_SIZE; in t4_load_cfg()
10663 for (size -= SF_PAGE_SIZE; size; size -= SF_PAGE_SIZE) { in t4_load_boot()
10664 addr += SF_PAGE_SIZE; in t4_load_boot()
10752 addr += SF_PAGE_SIZE; in t4_load_bootcfg()
[all …]
A Dcudbg_lib.c3586 for (i = 0; i < count; i += SF_PAGE_SIZE) { in cudbg_collect_flash()
3587 n = min_t(u32, count - i, SF_PAGE_SIZE); in cudbg_collect_flash()
/linux-6.3-rc2/drivers/scsi/csiostor/
A Dcsio_hw.c534 if (addr >= hw->params.sf_size || offset + n > SF_PAGE_SIZE) in csio_hw_write_flash()
674 uint8_t first_page[SF_PAGE_SIZE]; in csio_hw_fw_dload()
731 memcpy(first_page, fw_data, SF_PAGE_SIZE); in csio_hw_fw_dload()
733 ret = csio_hw_write_flash(hw, FLASH_FW_START, SF_PAGE_SIZE, first_page); in csio_hw_fw_dload()
741 for (size -= SF_PAGE_SIZE; size; size -= SF_PAGE_SIZE) { in csio_hw_fw_dload()
742 addr += SF_PAGE_SIZE; in csio_hw_fw_dload()
743 fw_data += SF_PAGE_SIZE; in csio_hw_fw_dload()
744 ret = csio_hw_write_flash(hw, addr, SF_PAGE_SIZE, fw_data); in csio_hw_fw_dload()

Completed in 48 milliseconds