Searched refs:sf1_write (Results 1 – 2 of 2) sorted by relevance
/linux-2.6.39/drivers/net/cxgb4/ |
D | t4_hw.c | 482 static int sf1_write(struct adapter *adapter, unsigned int byte_cnt, int cont, in sf1_write() function 511 if ((ret = sf1_write(adapter, 1, 1, 1, SF_RD_STATUS)) != 0 || in flash_wait_op() 546 if ((ret = sf1_write(adapter, 4, 1, 0, addr)) != 0 || in t4_read_flash() 584 if ((ret = sf1_write(adapter, 1, 0, 1, SF_WR_ENABLE)) != 0 || in t4_write_flash() 585 (ret = sf1_write(adapter, 4, 1, 1, val)) != 0) in t4_write_flash() 593 ret = sf1_write(adapter, c, c != left, 1, val); in t4_write_flash() 705 if ((ret = sf1_write(adapter, 1, 0, 1, SF_WR_ENABLE)) != 0 || in t4_flash_erase_sectors() 706 (ret = sf1_write(adapter, 4, 0, 1, in t4_flash_erase_sectors() 2736 ret = sf1_write(adap, 1, 1, 0, SF_RD_ID); in get_flash_params()
|
/linux-2.6.39/drivers/net/cxgb3/ |
D | t3_hw.c | 793 static int sf1_write(struct adapter *adapter, unsigned int byte_cnt, int cont, in sf1_write() function 820 if ((ret = sf1_write(adapter, 1, 1, SF_RD_STATUS)) != 0 || in flash_wait_op() 855 if ((ret = sf1_write(adapter, 4, 1, addr)) != 0 || in t3_read_flash() 891 if ((ret = sf1_write(adapter, 1, 0, SF_WR_ENABLE)) != 0 || in t3_write_flash() 892 (ret = sf1_write(adapter, 4, 1, val)) != 0) in t3_write_flash() 900 ret = sf1_write(adapter, c, c != left, val); in t3_write_flash() 1069 if ((ret = sf1_write(adapter, 1, 0, SF_WR_ENABLE)) != 0 || in t3_flash_erase_sectors() 1070 (ret = sf1_write(adapter, 4, 0, in t3_flash_erase_sectors()
|