Home
last modified time | relevance | path

Searched refs:sf1_write (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/drivers/net/ethernet/chelsio/cxgb3/
Dt3_hw.c827 static int sf1_write(struct adapter *adapter, unsigned int byte_cnt, int cont, in sf1_write() function
854 if ((ret = sf1_write(adapter, 1, 1, SF_RD_STATUS)) != 0 || in flash_wait_op()
889 if ((ret = sf1_write(adapter, 4, 1, addr)) != 0 || in t3_read_flash()
925 if ((ret = sf1_write(adapter, 1, 0, SF_WR_ENABLE)) != 0 || in t3_write_flash()
926 (ret = sf1_write(adapter, 4, 1, val)) != 0) in t3_write_flash()
934 ret = sf1_write(adapter, c, c != left, val); in t3_write_flash()
1103 if ((ret = sf1_write(adapter, 1, 0, SF_WR_ENABLE)) != 0 || in t3_flash_erase_sectors()
1104 (ret = sf1_write(adapter, 4, 0, in t3_flash_erase_sectors()
/Linux-v5.4/drivers/net/ethernet/chelsio/cxgb4/
Dt4_hw.c2991 static int sf1_write(struct adapter *adapter, unsigned int byte_cnt, int cont, in sf1_write() function
3018 if ((ret = sf1_write(adapter, 1, 1, 1, SF_RD_STATUS)) != 0 || in flash_wait_op()
3053 if ((ret = sf1_write(adapter, 4, 1, 0, addr)) != 0 || in t4_read_flash()
3091 if ((ret = sf1_write(adapter, 1, 0, 1, SF_WR_ENABLE)) != 0 || in t4_write_flash()
3092 (ret = sf1_write(adapter, 4, 1, 1, val)) != 0) in t4_write_flash()
3100 ret = sf1_write(adapter, c, c != left, 1, val); in t4_write_flash()
3591 if ((ret = sf1_write(adapter, 1, 0, 1, SF_WR_ENABLE)) != 0 || in t4_flash_erase_sectors()
3592 (ret = sf1_write(adapter, 4, 0, 1, in t4_flash_erase_sectors()
8959 ret = sf1_write(adap, 1, 1, 0, SF_RD_ID); in t4_get_flash_params()