Searched refs:SF_PAGE_SIZE (Results 1 – 4 of 4) sorted by relevance
/drivers/net/ethernet/chelsio/cxgb4/ |
D | t4_hw.c | 823 if (addr >= adapter->params.sf_size || offset + n > SF_PAGE_SIZE) in t4_write_flash() 1034 for (i = 0; i < size; i += SF_PAGE_SIZE) { in t4_load_cfg() 1035 if ((size - i) < SF_PAGE_SIZE) in t4_load_cfg() 1038 n = SF_PAGE_SIZE; in t4_load_cfg() 1043 addr += SF_PAGE_SIZE; in t4_load_cfg() 1044 cfg_data += SF_PAGE_SIZE; in t4_load_cfg() 1067 u8 first_page[SF_PAGE_SIZE]; in t4_load_fw() 1113 memcpy(first_page, fw_data, SF_PAGE_SIZE); in t4_load_fw() 1115 ret = t4_write_flash(adap, fw_img_start, SF_PAGE_SIZE, first_page); in t4_load_fw() 1120 for (size -= SF_PAGE_SIZE; size; size -= SF_PAGE_SIZE) { in t4_load_fw() [all …]
|
D | t4_hw.h | 59 SF_PAGE_SIZE = 256, /* serial flash page size */ enumerator
|
/drivers/scsi/csiostor/ |
D | csio_hw.c | 564 if (addr >= hw->params.sf_size || offset + n > SF_PAGE_SIZE) in csio_hw_write_flash() 741 uint8_t first_page[SF_PAGE_SIZE]; in csio_hw_fw_dload() 798 memcpy(first_page, fw_data, SF_PAGE_SIZE); in csio_hw_fw_dload() 800 ret = csio_hw_write_flash(hw, FW_IMG_START, SF_PAGE_SIZE, first_page); in csio_hw_fw_dload() 808 for (size -= SF_PAGE_SIZE; size; size -= SF_PAGE_SIZE) { in csio_hw_fw_dload() 809 addr += SF_PAGE_SIZE; in csio_hw_fw_dload() 810 fw_data += SF_PAGE_SIZE; in csio_hw_fw_dload() 811 ret = csio_hw_write_flash(hw, addr, SF_PAGE_SIZE, fw_data); in csio_hw_fw_dload()
|
D | csio_hw.h | 197 SF_PAGE_SIZE = 256, /* serial flash page size */ enumerator
|