Searched refs:reg_req_tx (Results 1 – 2 of 2) sorted by relevance
| /linux/drivers/net/ethernet/wangxun/libwx/ |
| H A D | wx_sriov.c | 315 u32 reg_cur_tx, reg_cur_rx, reg_req_tx, reg_req_rx; in wx_set_vf_rx_tx() local 321 reg_req_tx = reg_cur_tx | BIT(vf_bit); in wx_set_vf_rx_tx() 324 if (reg_cur_tx != reg_req_tx) in wx_set_vf_rx_tx() 325 wr32(wx, WX_TDM_VF_TE(index), reg_req_tx); in wx_set_vf_rx_tx() 329 reg_req_tx = BIT(vf_bit); in wx_set_vf_rx_tx() 332 if (reg_cur_tx & reg_req_tx) in wx_set_vf_rx_tx() 333 wr32(wx, WX_TDM_VFTE_CLR(index), reg_req_tx); in wx_set_vf_rx_tx()
|
| /linux/drivers/net/ethernet/intel/ixgbe/ |
| H A D | ixgbe_sriov.c | 839 u32 reg_cur_tx, reg_cur_rx, reg_req_tx, reg_req_rx; in ixgbe_set_vf_rx_tx() local 850 reg_req_tx = reg_cur_tx | 1 << vf_shift; in ixgbe_set_vf_rx_tx() 853 reg_req_tx = reg_cur_tx & ~(1 << vf_shift); in ixgbe_set_vf_rx_tx() 875 if (reg_cur_tx != reg_req_tx) in ixgbe_set_vf_rx_tx() 876 IXGBE_WRITE_REG(hw, IXGBE_VFTE(reg_offset), reg_req_tx); in ixgbe_set_vf_rx_tx()
|