Home
last modified time | relevance | path

Searched refs:IS_FILTER_ENABLED (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/net/ethernet/aquantia/atlantic/hw_atl/
H A Dhw_atl_a0.c752 #define IS_FILTER_ENABLED(_F_) ((packet_filter & (_F_)) ? 1U : 0U) macro
761 IS_FILTER_ENABLED(IFF_PROMISC)); in hw_atl_a0_hw_packet_filter_set()
763 IS_FILTER_ENABLED(IFF_MULTICAST), 0); in hw_atl_a0_hw_packet_filter_set()
764 hw_atl_rpfl2broadcast_en_set(self, IS_FILTER_ENABLED(IFF_BROADCAST)); in hw_atl_a0_hw_packet_filter_set()
766 cfg->is_mc_list_enabled = IS_FILTER_ENABLED(IFF_MULTICAST); in hw_atl_a0_hw_packet_filter_set()
777 #undef IS_FILTER_ENABLED
H A Dhw_atl_b0.c1030 #define IS_FILTER_ENABLED(_F_) ((packet_filter & (_F_)) ? 1U : 0U) macro
1040 l2_promisc = IS_FILTER_ENABLED(IFF_PROMISC) || in hw_atl_b0_hw_packet_filter_set()
1049 IS_FILTER_ENABLED(IFF_ALLMULTI) && in hw_atl_b0_hw_packet_filter_set()
1050 IS_FILTER_ENABLED(IFF_MULTICAST), 0); in hw_atl_b0_hw_packet_filter_set()
1053 IS_FILTER_ENABLED(IFF_ALLMULTI) && in hw_atl_b0_hw_packet_filter_set()
1054 IS_FILTER_ENABLED(IFF_MULTICAST)); in hw_atl_b0_hw_packet_filter_set()
1056 hw_atl_rpfl2broadcast_en_set(self, IS_FILTER_ENABLED(IFF_BROADCAST)); in hw_atl_b0_hw_packet_filter_set()
1068 #undef IS_FILTER_ENABLED
/openbmc/linux/drivers/net/ethernet/aquantia/atlantic/hw_atl2/
H A Dhw_atl2.c613 #define IS_FILTER_ENABLED(_F_) ((packet_filter & (_F_)) ? 1U : 0U) macro
618 hw_atl2_hw_new_rx_filter_promisc(self, IS_FILTER_ENABLED(IFF_PROMISC)); in hw_atl2_hw_packet_filter_set()
623 #undef IS_FILTER_ENABLED