Lines Matching refs:en

34 void bcmasp_enable_tx_irq(struct bcmasp_intf *intf, int en)  in bcmasp_enable_tx_irq()  argument
38 if (en) in bcmasp_enable_tx_irq()
45 void bcmasp_enable_rx_irq(struct bcmasp_intf *intf, int en) in bcmasp_enable_rx_irq() argument
49 if (en) in bcmasp_enable_rx_irq()
754 static void bcmasp_en_mda_filter(struct bcmasp_intf *intf, bool en, in bcmasp_en_mda_filter() argument
759 if (priv->mda_filters[i].en == en) in bcmasp_en_mda_filter()
762 priv->mda_filters[i].en = en; in bcmasp_en_mda_filter()
766 (en << ASP_RX_FILTER_MDA_CFG_EN_SHIFT) | in bcmasp_en_mda_filter()
801 void bcmasp_set_promisc(struct bcmasp_intf *intf, bool en) in bcmasp_set_promisc() argument
809 bcmasp_en_mda_filter(intf, en, i); in bcmasp_set_promisc()
812 void bcmasp_set_allmulti(struct bcmasp_intf *intf, bool en) in bcmasp_set_allmulti() argument
819 bcmasp_en_mda_filter(intf, en, i); in bcmasp_set_allmulti()
822 void bcmasp_set_broad(struct bcmasp_intf *intf, bool en) in bcmasp_set_broad() argument
829 bcmasp_en_mda_filter(intf, en, i); in bcmasp_set_broad()
833 bool en) in bcmasp_set_oaddr() argument
839 bcmasp_en_mda_filter(intf, en, i); in bcmasp_set_oaddr()
852 if (priv->mda_filters[i].en && in bcmasp_disable_all_filters()
897 if (!priv->mda_filters[i].en || in bcmasp_set_en_mda_filter()
911 if (priv->mda_filters[i].en) in bcmasp_set_en_mda_filter()
932 priv->mda_filters[i].en = 0; in bcmasp_core_init_filters()
1011 void bcmasp_core_clock_set_intf(struct bcmasp_intf *intf, bool en) in bcmasp_core_clock_set_intf() argument
1025 if (en) { in bcmasp_core_clock_set_intf()
1092 static void bcmasp_enable_wol_shared(struct bcmasp_intf *intf, bool en) in bcmasp_enable_wol_shared() argument
1097 if (en) { in bcmasp_enable_wol_shared()
1148 static void bcmasp_enable_wol_per_intf(struct bcmasp_intf *intf, bool en) in bcmasp_enable_wol_per_intf() argument
1152 if (en ^ intf->wol_irq_enabled) in bcmasp_enable_wol_per_intf()
1153 irq_set_irq_wake(intf->wol_irq, en); in bcmasp_enable_wol_per_intf()
1155 intf->wol_irq_enabled = en; in bcmasp_enable_wol_per_intf()
1156 device_set_wakeup_enable(dev, en); in bcmasp_enable_wol_per_intf()