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

/linux-master/drivers/soc/fsl/dpio/
H A Dqbman-portal.c1438 #define RAR_IDX(rar) ((rar) & 0x7)
1439 #define RAR_VB(rar) ((rar) & 0x80)
1440 #define RAR_SUCCESS(rar) ((rar) & 0x100)
1457 u32 rar; local
1462 rar = qbman_read_register(s, QBMAN_CINH_SWP_RAR);
1463 if (!RAR_SUCCESS(rar))
1467 p = qbman_get_cmd(s, QBMAN_CENA_SWP_RCR(RAR_IDX(rar)));
1499 u32 rar; local
[all...]
/linux-master/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_82598.c781 * @rar: receive address register index to associate with a VMDq index
784 static int ixgbe_set_vmdq_82598(struct ixgbe_hw *hw, u32 rar, u32 vmdq) argument
789 /* Make sure we are using a valid rar index range */
790 if (rar >= rar_entries) {
791 hw_dbg(hw, "RAR index %d is out of range.\n", rar);
795 rar_high = IXGBE_READ_REG(hw, IXGBE_RAH(rar));
798 IXGBE_WRITE_REG(hw, IXGBE_RAH(rar), rar_high);
805 * @rar: receive address register index to associate with a VMDq index
808 static int ixgbe_clear_vmdq_82598(struct ixgbe_hw *hw, u32 rar, u32 vmdq) argument
814 /* Make sure we are using a valid rar inde
[all...]
H A 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);
H A Dixgbe_common.c1832 /* Make sure we are using a valid rar index range */
1884 /* Make sure we are using a valid rar index range */
2942 * @rar: receive address register index to disassociate
2943 * @vmdq: VMDq pool index to remove from the rar
2945 int ixgbe_clear_vmdq_generic(struct ixgbe_hw *hw, u32 rar, u32 vmdq) argument
2950 /* Make sure we are using a valid rar index range */
2951 if (rar >= rar_entries) {
2952 hw_dbg(hw, "RAR index %d is out of range.\n", rar);
2956 mpsar_lo = IXGBE_READ_REG(hw, IXGBE_MPSAR_LO(rar));
2957 mpsar_hi = IXGBE_READ_REG(hw, IXGBE_MPSAR_HI(rar));
2996 ixgbe_set_vmdq_generic(struct ixgbe_hw *hw, u32 rar, u32 vmdq) argument
3031 u32 rar = hw->mac.san_mac_rar_index; local
[all...]
/linux-master/drivers/net/ethernet/wangxun/libwx/
H A Dwx_hw.c610 /* Make sure we are using a valid rar index range */
661 /* Make sure we are using a valid rar index range */
689 * @rar: receive address register index to disassociate
690 * @vmdq: VMDq pool index to remove from the rar
692 static int wx_clear_vmdq(struct wx *wx, u32 rar, u32 __maybe_unused vmdq) argument
697 /* Make sure we are using a valid rar index range */
698 if (rar >= rar_entries) {
699 wx_err(wx, "RAR index %d is out of range.\n", rar);
703 wr32(wx, WX_PSR_MAC_SWC_IDX, rar);
710 /* was that the last pool using this rar
[all...]
/linux-master/drivers/perf/
H A Dxgene_pmu.c542 XGENE_PMU_EVENT_ATTR(rar-hazard, 0x10),

Completed in 206 milliseconds