Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/net/ethernet/chelsio/cxgb3/
Dt3_hw.c762 static int sf1_write(struct adapter *adapter, unsigned int byte_cnt, int cont, in sf1_write() function
789 if ((ret = sf1_write(adapter, 1, 1, SF_RD_STATUS)) != 0 || in flash_wait_op()
824 if ((ret = sf1_write(adapter, 4, 1, addr)) != 0 || in t3_read_flash()
860 if ((ret = sf1_write(adapter, 1, 0, SF_WR_ENABLE)) != 0 || in t3_write_flash()
861 (ret = sf1_write(adapter, 4, 1, val)) != 0) in t3_write_flash()
869 ret = sf1_write(adapter, c, c != left, val); in t3_write_flash()
1038 if ((ret = sf1_write(adapter, 1, 0, SF_WR_ENABLE)) != 0 || in t3_flash_erase_sectors()
1039 (ret = sf1_write(adapter, 4, 0, in t3_flash_erase_sectors()
/Linux-v6.6/drivers/net/ethernet/chelsio/cxgb4/
Dt4_hw.c2956 static int sf1_write(struct adapter *adapter, unsigned int byte_cnt, int cont, in sf1_write() function
2983 if ((ret = sf1_write(adapter, 1, 1, 1, SF_RD_STATUS)) != 0 || in flash_wait_op()
3018 if ((ret = sf1_write(adapter, 4, 1, 0, addr)) != 0 || in t4_read_flash()
3059 if ((ret = sf1_write(adapter, 1, 0, 1, SF_WR_ENABLE)) != 0 || in t4_write_flash()
3060 (ret = sf1_write(adapter, 4, 1, 1, val)) != 0) in t4_write_flash()
3072 ret = sf1_write(adapter, c, c != left, 1, val); in t4_write_flash()
3564 if ((ret = sf1_write(adapter, 1, 0, 1, SF_WR_ENABLE)) != 0 || in t4_flash_erase_sectors()
3565 (ret = sf1_write(adapter, 4, 0, 1, in t4_flash_erase_sectors()
8972 ret = sf1_write(adap, 1, 1, 0, SF_RD_ID); in t4_get_flash_params()