Home
last modified time | relevance | path

Searched refs:rar (Results 1 – 6 of 6) sorted by relevance

/linux-6.12.1/drivers/soc/fsl/dpio/
Dqbman-portal.c1438 #define RAR_IDX(rar) ((rar) & 0x7) argument
1439 #define RAR_VB(rar) ((rar) & 0x80) argument
1440 #define RAR_SUCCESS(rar) ((rar) & 0x100) argument
1457 u32 rar; in qbman_swp_release_direct() local
1462 rar = qbman_read_register(s, QBMAN_CINH_SWP_RAR); in qbman_swp_release_direct()
1463 if (!RAR_SUCCESS(rar)) in qbman_swp_release_direct()
1467 p = qbman_get_cmd(s, QBMAN_CENA_SWP_RCR(RAR_IDX(rar))); in qbman_swp_release_direct()
1479 p->verb = d->verb | RAR_VB(rar) | num_buffers; in qbman_swp_release_direct()
1499 u32 rar; in qbman_swp_release_mem_back() local
1504 rar = qbman_read_register(s, QBMAN_CINH_SWP_RAR); in qbman_swp_release_mem_back()
[all …]
/linux-6.12.1/drivers/net/ethernet/intel/ixgbe/
Dixgbe_82598.c784 static int ixgbe_set_vmdq_82598(struct ixgbe_hw *hw, u32 rar, u32 vmdq) in ixgbe_set_vmdq_82598() argument
790 if (rar >= rar_entries) { in ixgbe_set_vmdq_82598()
791 hw_dbg(hw, "RAR index %d is out of range.\n", rar); in ixgbe_set_vmdq_82598()
795 rar_high = IXGBE_READ_REG(hw, IXGBE_RAH(rar)); in ixgbe_set_vmdq_82598()
798 IXGBE_WRITE_REG(hw, IXGBE_RAH(rar), rar_high); in ixgbe_set_vmdq_82598()
808 static int ixgbe_clear_vmdq_82598(struct ixgbe_hw *hw, u32 rar, u32 vmdq) in ixgbe_clear_vmdq_82598() argument
815 if (rar >= rar_entries) { in ixgbe_clear_vmdq_82598()
816 hw_dbg(hw, "RAR index %d is out of range.\n", rar); in ixgbe_clear_vmdq_82598()
820 rar_high = IXGBE_READ_REG(hw, IXGBE_RAH(rar)); in ixgbe_clear_vmdq_82598()
823 IXGBE_WRITE_REG(hw, IXGBE_RAH(rar), rar_high); in ixgbe_clear_vmdq_82598()
Dixgbe_common.c2945 int ixgbe_clear_vmdq_generic(struct ixgbe_hw *hw, u32 rar, u32 vmdq) in ixgbe_clear_vmdq_generic() argument
2951 if (rar >= rar_entries) { in ixgbe_clear_vmdq_generic()
2952 hw_dbg(hw, "RAR index %d is out of range.\n", rar); in ixgbe_clear_vmdq_generic()
2956 mpsar_lo = IXGBE_READ_REG(hw, IXGBE_MPSAR_LO(rar)); in ixgbe_clear_vmdq_generic()
2957 mpsar_hi = IXGBE_READ_REG(hw, IXGBE_MPSAR_HI(rar)); in ixgbe_clear_vmdq_generic()
2967 IXGBE_WRITE_REG(hw, IXGBE_MPSAR_LO(rar), 0); in ixgbe_clear_vmdq_generic()
2971 IXGBE_WRITE_REG(hw, IXGBE_MPSAR_HI(rar), 0); in ixgbe_clear_vmdq_generic()
2976 IXGBE_WRITE_REG(hw, IXGBE_MPSAR_LO(rar), mpsar_lo); in ixgbe_clear_vmdq_generic()
2979 IXGBE_WRITE_REG(hw, IXGBE_MPSAR_HI(rar), mpsar_hi); in ixgbe_clear_vmdq_generic()
2984 rar != 0 && rar != hw->mac.san_mac_rar_index) in ixgbe_clear_vmdq_generic()
[all …]
Dixgbe_common.h66 int ixgbe_set_vmdq_generic(struct ixgbe_hw *hw, u32 rar, u32 vmdq);
68 int ixgbe_clear_vmdq_generic(struct ixgbe_hw *hw, u32 rar, u32 vmdq);
/linux-6.12.1/drivers/net/ethernet/wangxun/libwx/
Dwx_hw.c692 static int wx_clear_vmdq(struct wx *wx, u32 rar, u32 __maybe_unused vmdq) in wx_clear_vmdq() argument
698 if (rar >= rar_entries) { in wx_clear_vmdq()
699 wx_err(wx, "RAR index %d is out of range.\n", rar); in wx_clear_vmdq()
703 wr32(wx, WX_PSR_MAC_SWC_IDX, rar); in wx_clear_vmdq()
711 if (mpsar_lo == 0 && mpsar_hi == 0 && rar != 0) in wx_clear_vmdq()
712 wx_clear_rar(wx, rar); in wx_clear_vmdq()
/linux-6.12.1/drivers/perf/
Dxgene_pmu.c533 XGENE_PMU_EVENT_ATTR(rar-hazard, 0x10),