| 448 | } |
| 449 | |
| 450 | STATIC s32 txgbe_check_for_bit_pf(struct txgbe_hw *hw, u32 mask, s32 index) |
| 451 | { |
| 452 | u32 mbvficr = rd32(hw, TXGBE_MBVFICR(index)); |
| 453 | s32 ret_val = TXGBE_ERR_MBX; |
| 454 | |
| 455 | if (mbvficr & mask) { |
| 456 | ret_val = 0; |
| 457 | wr32(hw, TXGBE_MBVFICR(index), mask); |
| 458 | } |
| 459 | |
| 460 | return ret_val; |
| 461 | } |
| 462 | |
| 463 | /** |
| 464 | * txgbe_check_for_msg_pf - checks to see if the VF has sent mail |
no test coverage detected