Searched refs:save_val (Results 1 – 3 of 3) sorted by relevance
/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_ethtool.c | 2347 u32 offset, mask, save_val, val; in bnx2x_test_registers() local 2354 save_val = REG_RD(bp, offset); in bnx2x_test_registers() 2361 REG_WR(bp, offset, save_val); in bnx2x_test_registers()
|
/drivers/net/ethernet/broadcom/ |
D | bnx2.c | 5687 u32 offset, rw_mask, ro_mask, save_val, val; in bnx2_test_registers() local 5697 save_val = readl(bp->regview + offset); in bnx2_test_registers() 5706 if ((val & ro_mask) != (save_val & ro_mask)) { in bnx2_test_registers() 5717 if ((val & ro_mask) != (save_val & ro_mask)) { in bnx2_test_registers() 5721 writel(save_val, bp->regview + offset); in bnx2_test_registers() 5725 writel(save_val, bp->regview + offset); in bnx2_test_registers()
|
D | tg3.c | 13135 u32 offset, read_mask, write_mask, val, save_val, read_val; in tg3_test_registers() local 13307 save_val = tr32(offset); in tg3_test_registers() 13310 read_val = save_val & read_mask; in tg3_test_registers() 13339 tw32(offset, save_val); in tg3_test_registers() 13348 tw32(offset, save_val); in tg3_test_registers()
|