/linux/drivers/net/ethernet/hisilicon/hns/ |
H A D | hns_dsaf_mac.h | 371 void (*mac_pausefrm_cfg)(void *mac_drv, u32 rx_en, u32 tx_en); 374 int (*set_pause_enable)(void *mac_drv, u32 rx_en, u32 tx_en); 375 void (*get_pause_enable)(void *mac_drv, u32 *rx_en, u32 *tx_en); 438 void hns_mac_get_pauseparam(struct hns_mac_cb *mac_cb, u32 *rx_en, u32 *tx_en); 440 int hns_mac_set_pauseparam(struct hns_mac_cb *mac_cb, u32 rx_en, u32 tx_en);
|
H A D | hns_dsaf_mac.c | 595 void hns_mac_get_pauseparam(struct hns_mac_cb *mac_cb, u32 *rx_en, u32 *tx_en) in hns_mac_get_pauseparam() argument 600 mac_ctrl_drv->get_pause_enable(mac_ctrl_drv, rx_en, tx_en); in hns_mac_get_pauseparam() 603 *tx_en = 0; in hns_mac_get_pauseparam() 635 int hns_mac_set_pauseparam(struct hns_mac_cb *mac_cb, u32 rx_en, u32 tx_en) in hns_mac_set_pauseparam() argument 641 if (is_ver1 && (tx_en || rx_en)) { in hns_mac_set_pauseparam() 648 mac_ctrl_drv->mac_pausefrm_cfg(mac_ctrl_drv, rx_en, tx_en); in hns_mac_set_pauseparam()
|
H A D | hns_ae_adapt.c | 473 u32 *auto_neg, u32 *rx_en, u32 *tx_en) in hns_ae_get_pauseparam() argument 480 hns_mac_get_pauseparam(mac_cb, rx_en, tx_en); in hns_ae_get_pauseparam() 496 u32 autoneg, u32 rx_en, u32 tx_en) in hns_ae_set_pauseparam() argument 514 return hns_mac_set_pauseparam(mac_cb, rx_en, tx_en); in hns_ae_set_pauseparam()
|
H A D | hns_dsaf_xgmac.c | 248 static void hns_xgmac_pausefrm_cfg(void *mac_drv, u32 rx_en, u32 tx_en) in hns_xgmac_pausefrm_cfg() argument 253 dsaf_set_bit(origin, XGMAC_PAUSE_CTL_TX_B, !!tx_en); in hns_xgmac_pausefrm_cfg() 456 static void hns_xgmac_get_pausefrm_cfg(void *mac_drv, u32 *rx_en, u32 *tx_en) in hns_xgmac_get_pausefrm_cfg() argument 463 *tx_en = dsaf_get_bit(pause_ctrl, XGMAC_PAUSE_CTL_TX_B); in hns_xgmac_get_pausefrm_cfg()
|
H A D | hnae.h | 485 u32 *auto_neg, u32 *rx_en, u32 *tx_en); 487 u32 auto_neg, u32 rx_en, u32 tx_en);
|
/linux/drivers/net/ethernet/chelsio/cxgb4vf/ |
H A D | t4vf_common.h | 396 bool tx_en); 398 bool tx_en);
|
H A D | t4vf_hw.c | 1396 bool rx_en, bool tx_en) in t4vf_enable_vi() argument 1406 FW_VI_ENABLE_CMD_EEN_V(tx_en) | in t4vf_enable_vi() 1424 bool rx_en, bool tx_en) in t4vf_enable_pi() argument 1426 int ret = t4vf_enable_vi(adapter, pi->viid, rx_en, tx_en); in t4vf_enable_pi() 1431 rx_en && tx_en && pi->link_cfg.link_ok); in t4vf_enable_pi()
|
/linux/drivers/net/wireless/realtek/rtw89/ |
H A D | mac.h | 1199 u32 *tx_en, enum rtw89_sch_tx_sel sel); 1201 u32 *tx_en, enum rtw89_sch_tx_sel sel); 1203 u32 *tx_en, enum rtw89_sch_tx_sel sel); 1204 int rtw89_mac_resume_sch_tx(struct rtw89_dev *rtwdev, u8 mac_idx, u32 tx_en); 1205 int rtw89_mac_resume_sch_tx_v1(struct rtw89_dev *rtwdev, u8 mac_idx, u32 tx_en); 1206 int rtw89_mac_resume_sch_tx_v2(struct rtw89_dev *rtwdev, u8 mac_idx, u32 tx_en);
|
H A D | pci_be.c | 132 enum mac_ax_pcie_func_ctrl tx_en, in rtw89_pci_ctrl_trxdma_pcie_be() argument 140 if (tx_en == MAC_AX_PCIE_ENABLE) in rtw89_pci_ctrl_trxdma_pcie_be() 142 else if (tx_en == MAC_AX_PCIE_DISABLE) in rtw89_pci_ctrl_trxdma_pcie_be()
|
H A D | rtw8852a_rfk.c | 3540 u32 tx_en; in _tssi_pre_tx() local 3569 rtw89_chip_stop_sch_tx(rtwdev, phy, &tx_en, RTW89_SCH_TX_SEL_ALL); in _tssi_pre_tx() 3615 rtw89_chip_resume_sch_tx(rtwdev, phy, tx_en); in _tssi_pre_tx() 3640 u32 tx_en; in rtw8852a_iqk() local 3644 rtw89_chip_stop_sch_tx(rtwdev, phy_idx, &tx_en, RTW89_SCH_TX_SEL_ALL); in rtw8852a_iqk() 3653 rtw89_chip_resume_sch_tx(rtwdev, phy_idx, tx_en); in rtw8852a_iqk() 3660 u32 tx_en; in rtw8852a_rx_dck() local 3664 rtw89_chip_stop_sch_tx(rtwdev, phy_idx, &tx_en, RTW89_SCH_TX_SEL_ALL); in rtw8852a_rx_dck() 3669 rtw89_chip_resume_sch_tx(rtwdev, phy_idx, tx_en); in rtw8852a_rx_dck() 3676 u32 tx_en; in rtw8852a_dpk() local [all …]
|
H A D | rtw8852b_rfk.c | 3775 u32 tx_en; in rtw8852b_iqk() local 3778 rtw89_chip_stop_sch_tx(rtwdev, phy_idx, &tx_en, RTW89_SCH_TX_SEL_ALL); in rtw8852b_iqk() 3784 rtw89_chip_resume_sch_tx(rtwdev, phy_idx, tx_en); in rtw8852b_iqk() 3792 u32 tx_en; in rtw8852b_rx_dck() local 3795 rtw89_chip_stop_sch_tx(rtwdev, phy_idx, &tx_en, RTW89_SCH_TX_SEL_ALL); in rtw8852b_rx_dck() 3800 rtw89_chip_resume_sch_tx(rtwdev, phy_idx, tx_en); in rtw8852b_rx_dck() 3808 u32 tx_en; in rtw8852b_dpk() local 3811 rtw89_chip_stop_sch_tx(rtwdev, phy_idx, &tx_en, RTW89_SCH_TX_SEL_ALL); in rtw8852b_dpk() 3818 rtw89_chip_resume_sch_tx(rtwdev, phy_idx, tx_en); in rtw8852b_dpk() 3832 u32 tx_en; in rtw8852b_tssi() local [all …]
|
H A D | mac.c | 3003 u16 tx_en, u16 tx_en_mask) in rtw89_set_hw_sch_tx_en() argument 3015 tx_en, tx_en_mask); in rtw89_set_hw_sch_tx_en() 3018 val = (val & ~tx_en_mask) | (tx_en & tx_en_mask); in rtw89_set_hw_sch_tx_en() 3025 u32 tx_en, u32 tx_en_mask) in rtw89_set_hw_sch_tx_en_v1() argument 3036 val = (val & ~tx_en_mask) | (tx_en & tx_en_mask); in rtw89_set_hw_sch_tx_en_v1() 3043 u32 *tx_en, enum rtw89_sch_tx_sel sel) in rtw89_mac_stop_sch_tx() argument 3047 *tx_en = rtw89_read16(rtwdev, in rtw89_mac_stop_sch_tx() 3084 u32 *tx_en, enum rtw89_sch_tx_sel sel) in rtw89_mac_stop_sch_tx_v1() argument 3088 *tx_en = rtw89_read32(rtwdev, in rtw89_mac_stop_sch_tx_v1() 3124 int rtw89_mac_resume_sch_tx(struct rtw89_dev *rtwdev, u8 mac_idx, u32 tx_en) in rtw89_mac_resume_sch_tx() argument [all …]
|
H A D | mac_be.c | 1920 u32 tx_en, u32 tx_en_mask) in rtw89_set_hw_sch_tx_en_v2() argument 1931 val = (val & ~tx_en_mask) | (tx_en & tx_en_mask); in rtw89_set_hw_sch_tx_en_v2() 1938 u32 *tx_en, enum rtw89_sch_tx_sel sel) in rtw89_mac_stop_sch_tx_v2() argument 1942 *tx_en = rtw89_read32(rtwdev, in rtw89_mac_stop_sch_tx_v2() 1978 int rtw89_mac_resume_sch_tx_v2(struct rtw89_dev *rtwdev, u8 mac_idx, u32 tx_en) in rtw89_mac_resume_sch_tx_v2() argument 1982 ret = rtw89_set_hw_sch_tx_en_v2(rtwdev, mac_idx, tx_en, in rtw89_mac_resume_sch_tx_v2()
|
H A D | rtw8922a.c | 1946 enum rtw89_band band, u32 *tx_en, bool enter) in rtw8922a_hal_reset() argument 1949 rtw89_chip_stop_sch_tx(rtwdev, mac_idx, tx_en, RTW89_SCH_TX_SEL_ALL); in rtw8922a_hal_reset() 1962 rtw89_chip_resume_sch_tx(rtwdev, mac_idx, *tx_en); in rtw8922a_hal_reset() 1977 rtw8922a_hal_reset(rtwdev, phy_idx, mac_idx, chan->band_type, &p->tx_en, enter); in rtw8922a_set_channel_help() 2029 u32 tx_en; in rtw8922a_rfk_channel() local 2032 rtw89_chip_stop_sch_tx(rtwdev, phy_idx, &tx_en, RTW89_SCH_TX_SEL_ALL); in rtw8922a_rfk_channel() 2042 rtw89_chip_resume_sch_tx(rtwdev, phy_idx, tx_en); in rtw8922a_rfk_channel()
|
H A D | rtw8851b_rfk.c | 3263 u32 tx_en; in rtw8851b_iqk() local 3266 rtw89_chip_stop_sch_tx(rtwdev, phy_idx, &tx_en, RTW89_SCH_TX_SEL_ALL); in rtw8851b_iqk() 3272 rtw89_chip_resume_sch_tx(rtwdev, phy_idx, tx_en); in rtw8851b_iqk() 3280 u32 tx_en; in rtw8851b_rx_dck() local 3283 rtw89_chip_stop_sch_tx(rtwdev, phy_idx, &tx_en, RTW89_SCH_TX_SEL_ALL); in rtw8851b_rx_dck() 3288 rtw89_chip_resume_sch_tx(rtwdev, phy_idx, tx_en); in rtw8851b_rx_dck() 3296 u32 tx_en; in rtw8851b_dpk() local 3299 rtw89_chip_stop_sch_tx(rtwdev, phy_idx, &tx_en, RTW89_SCH_TX_SEL_ALL); in rtw8851b_dpk() 3306 rtw89_chip_resume_sch_tx(rtwdev, phy_idx, tx_en); in rtw8851b_dpk()
|
H A D | rtw8852bt.c | 512 rtw89_chip_stop_sch_tx(rtwdev, RTW89_MAC_0, &p->tx_en, RTW89_SCH_TX_SEL_ALL); in rtw8852bt_set_channel_help() 523 rtw89_chip_resume_sch_tx(rtwdev, RTW89_MAC_0, p->tx_en); in rtw8852bt_set_channel_help()
|
H A D | rtw8852b.c | 539 rtw89_chip_stop_sch_tx(rtwdev, RTW89_MAC_0, &p->tx_en, RTW89_SCH_TX_SEL_ALL); in rtw8852b_set_channel_help() 550 rtw89_chip_resume_sch_tx(rtwdev, RTW89_MAC_0, p->tx_en); in rtw8852b_set_channel_help()
|
H A D | rtw8852bt_rfk.c | 3850 u32 tx_en; in rtw8852bt_iqk() local 3853 rtw89_chip_stop_sch_tx(rtwdev, phy_idx, &tx_en, RTW89_SCH_TX_SEL_ALL); in rtw8852bt_iqk() 3859 rtw89_chip_resume_sch_tx(rtwdev, phy_idx, tx_en); in rtw8852bt_iqk() 3867 u32 tx_en; in rtw8852bt_rx_dck() local 3870 rtw89_chip_stop_sch_tx(rtwdev, phy_idx, &tx_en, RTW89_SCH_TX_SEL_ALL); in rtw8852bt_rx_dck() 3875 rtw89_chip_resume_sch_tx(rtwdev, phy_idx, tx_en); in rtw8852bt_rx_dck() 3903 u32 tx_en; in rtw8852bt_tssi() local 3925 rtw89_chip_stop_sch_tx(rtwdev, phy, &tx_en, RTW89_SCH_TX_SEL_ALL); in rtw8852bt_tssi() 3930 rtw89_chip_resume_sch_tx(rtwdev, phy, tx_en); in rtw8852bt_tssi()
|
H A D | rtw8852c_rfk.c | 4163 u32 tx_en; in rtw8852c_iqk() local 4167 rtw89_chip_stop_sch_tx(rtwdev, phy_idx, &tx_en, RTW89_SCH_TX_SEL_ALL); in rtw8852c_iqk() 4173 rtw89_chip_resume_sch_tx(rtwdev, phy_idx, tx_en); in rtw8852c_iqk() 4249 u32 tx_en; in rtw8852c_rx_dck_track() local 4276 rtw89_chip_stop_sch_tx(rtwdev, phy_idx, &tx_en, RTW89_SCH_TX_SEL_ALL); in rtw8852c_rx_dck_track() 4288 rtw89_chip_resume_sch_tx(rtwdev, phy_idx, tx_en); in rtw8852c_rx_dck_track() 4303 u32 tx_en; in rtw8852c_dpk() local 4307 rtw89_chip_stop_sch_tx(rtwdev, phy_idx, &tx_en, RTW89_SCH_TX_SEL_ALL); in rtw8852c_dpk() 4312 rtw89_chip_resume_sch_tx(rtwdev, phy_idx, tx_en); in rtw8852c_dpk()
|
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
H A D | hclge_tm.c | 1558 bool tx_en, rx_en; in hclge_mac_pause_setup_hw() local 1562 tx_en = false; in hclge_mac_pause_setup_hw() 1566 tx_en = false; in hclge_mac_pause_setup_hw() 1570 tx_en = true; in hclge_mac_pause_setup_hw() 1574 tx_en = true; in hclge_mac_pause_setup_hw() 1578 tx_en = false; in hclge_mac_pause_setup_hw() 1582 tx_en = true; in hclge_mac_pause_setup_hw() 1586 return hclge_mac_pause_en_cfg(hdev, tx_en, rx_en); in hclge_mac_pause_setup_hw()
|
H A D | hclge_main.c | 3187 bool rx_en, tx_en; in hclge_update_pause_advertising() local 3192 tx_en = false; in hclge_update_pause_advertising() 3196 tx_en = true; in hclge_update_pause_advertising() 3200 tx_en = true; in hclge_update_pause_advertising() 3204 tx_en = false; in hclge_update_pause_advertising() 3208 linkmode_set_pause(mac->advertising, tx_en, rx_en); in hclge_update_pause_advertising() 10941 static void hclge_set_flowctrl_adv(struct hclge_dev *hdev, u32 rx_en, u32 tx_en) in hclge_set_flowctrl_adv() argument 10948 phy_set_asym_pause(phydev, rx_en, tx_en); in hclge_set_flowctrl_adv() 10951 static int hclge_cfg_pauseparam(struct hclge_dev *hdev, u32 rx_en, u32 tx_en) in hclge_cfg_pauseparam() argument 10958 ret = hclge_mac_pause_en_cfg(hdev, tx_en, rx_en); in hclge_cfg_pauseparam() [all …]
|
/linux/drivers/net/ethernet/ti/ |
H A D | cpsw_priv.c | 38 writel_relaxed(0xFF, &cpsw->wr_regs->tx_en); in cpsw_intr_enable() 46 writel_relaxed(0, &cpsw->wr_regs->tx_en); in cpsw_intr_disable() 90 writel(0, &cpsw->wr_regs->tx_en); in cpsw_tx_interrupt() 156 writel(0xff, &cpsw->wr_regs->tx_en); in cpsw_tx_mq_poll() 170 writel(0xff, &cpsw->wr_regs->tx_en); in cpsw_tx_poll()
|
/linux/arch/mips/include/asm/octeon/ |
H A D | cvmx-agl-defs.h | 301 uint64_t tx_en:1; member 313 uint64_t tx_en:1; 326 uint64_t tx_en:1; member 338 uint64_t tx_en:1;
|
/linux/drivers/net/ethernet/hisilicon/hns3/ |
H A D | hnae3.h | 638 u32 *auto_neg, u32 *rx_en, u32 *tx_en); 640 u32 auto_neg, u32 rx_en, u32 tx_en);
|
/linux/drivers/net/ethernet/cavium/thunder/ |
H A D | thunder_bgx.c | 509 bool tx_en, rx_en; in bgx_sgmii_change_link_state() local 512 tx_en = cmr_cfg & CMR_PKT_TX_EN; in bgx_sgmii_change_link_state() 584 cmr_cfg |= (rx_en ? CMR_PKT_RX_EN : 0) | (tx_en ? CMR_PKT_TX_EN : 0); in bgx_sgmii_change_link_state()
|