Searched refs:si_idx (Results 1 – 2 of 2) sorted by relevance
| /Linux-v5.4/drivers/net/ethernet/freescale/enetc/ |
| D | enetc_pf.c | 59 static bool enetc_si_vlan_promisc_is_on(struct enetc_pf *pf, int si_idx) in enetc_si_vlan_promisc_is_on() argument 61 return pf->vlan_promisc_simap & BIT(si_idx); in enetc_si_vlan_promisc_is_on() 74 static void enetc_enable_si_vlan_promisc(struct enetc_pf *pf, int si_idx) in enetc_enable_si_vlan_promisc() argument 76 pf->vlan_promisc_simap |= BIT(si_idx); in enetc_enable_si_vlan_promisc() 80 static void enetc_disable_si_vlan_promisc(struct enetc_pf *pf, int si_idx) in enetc_disable_si_vlan_promisc() argument 82 pf->vlan_promisc_simap &= ~BIT(si_idx); in enetc_disable_si_vlan_promisc() 138 static void enetc_clear_mac_ht_flt(struct enetc_si *si, int si_idx, int type) in enetc_clear_mac_ht_flt() argument 143 enetc_port_wr(&si->hw, ENETC_PSIUMHFR0(si_idx, err), 0); in enetc_clear_mac_ht_flt() 144 enetc_port_wr(&si->hw, ENETC_PSIUMHFR1(si_idx), 0); in enetc_clear_mac_ht_flt() 146 enetc_port_wr(&si->hw, ENETC_PSIMMHFR0(si_idx, err), 0); in enetc_clear_mac_ht_flt() [all …]
|
| D | enetc_hw.h | 530 static inline void enetc_enable_rxvlan(struct enetc_hw *hw, int si_idx, in enetc_enable_rxvlan() argument 533 u32 val = enetc_rxbdr_rd(hw, si_idx, ENETC_RBMR); in enetc_enable_rxvlan() 536 enetc_rxbdr_wr(hw, si_idx, ENETC_RBMR, val); in enetc_enable_rxvlan() 539 static inline void enetc_enable_txvlan(struct enetc_hw *hw, int si_idx, in enetc_enable_txvlan() argument 542 u32 val = enetc_txbdr_rd(hw, si_idx, ENETC_TBMR); in enetc_enable_txvlan() 545 enetc_txbdr_wr(hw, si_idx, ENETC_TBMR, val); in enetc_enable_txvlan()
|