/linux-6.3-rc2/drivers/net/ethernet/hisilicon/hns/ |
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); 439 void hns_mac_get_pauseparam(struct hns_mac_cb *mac_cb, u32 *rx_en, u32 *tx_en); 441 int hns_mac_set_pauseparam(struct hns_mac_cb *mac_cb, u32 rx_en, u32 tx_en);
|
A D | hns_dsaf_mac.c | 566 void hns_mac_get_pauseparam(struct hns_mac_cb *mac_cb, u32 *rx_en, u32 *tx_en) in hns_mac_get_pauseparam() argument 571 mac_ctrl_drv->get_pause_enable(mac_ctrl_drv, rx_en, tx_en); in hns_mac_get_pauseparam() 574 *tx_en = 0; in hns_mac_get_pauseparam() 606 int hns_mac_set_pauseparam(struct hns_mac_cb *mac_cb, u32 rx_en, u32 tx_en) in hns_mac_set_pauseparam() argument 612 if (is_ver1 && (tx_en || rx_en)) { in hns_mac_set_pauseparam() 619 mac_ctrl_drv->mac_pausefrm_cfg(mac_ctrl_drv, rx_en, tx_en); in hns_mac_set_pauseparam()
|
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()
|
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()
|
A D | hnae.h | 485 u32 *auto_neg, u32 *rx_en, u32 *tx_en); 487 u32 auto_neg, u32 rx_en, u32 tx_en);
|
A D | hns_dsaf_main.c | 1173 int mac_id, int tx_en, int rx_en) in hns_dsaf_set_pfc_pause() argument 1176 if (!tx_en || !rx_en) in hns_dsaf_set_pfc_pause() 1185 DSAF_PFC_PAUSE_TX_EN_B, !!tx_en); in hns_dsaf_set_pfc_pause()
|
/linux-6.3-rc2/drivers/net/ethernet/chelsio/cxgb4vf/ |
A D | t4vf_common.h | 396 bool tx_en); 398 bool tx_en);
|
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-6.3-rc2/drivers/net/wireless/realtek/rtw89/ |
A D | mac.h | 956 u32 *tx_en, enum rtw89_sch_tx_sel sel); 958 u32 *tx_en, enum rtw89_sch_tx_sel sel); 959 int rtw89_mac_resume_sch_tx(struct rtw89_dev *rtwdev, u8 mac_idx, u32 tx_en); 960 int rtw89_mac_resume_sch_tx_v1(struct rtw89_dev *rtwdev, u8 mac_idx, u32 tx_en);
|
A D | mac.c | 2647 h2creg->tx_en = tx_en_u16; in rtw89_hw_sch_tx_en_h2c() 2662 u16 tx_en, u16 tx_en_mask) in rtw89_set_hw_sch_tx_en() argument 2674 tx_en, tx_en_mask); in rtw89_set_hw_sch_tx_en() 2677 val = (val & ~tx_en_mask) | (tx_en & tx_en_mask); in rtw89_set_hw_sch_tx_en() 2684 u32 tx_en, u32 tx_en_mask) in rtw89_set_hw_sch_tx_en_v1() argument 2695 val = (val & ~tx_en_mask) | (tx_en & tx_en_mask); in rtw89_set_hw_sch_tx_en_v1() 2702 u32 *tx_en, enum rtw89_sch_tx_sel sel) in rtw89_mac_stop_sch_tx() argument 2706 *tx_en = rtw89_read16(rtwdev, in rtw89_mac_stop_sch_tx() 2743 u32 *tx_en, enum rtw89_sch_tx_sel sel) in rtw89_mac_stop_sch_tx_v1() argument 2747 *tx_en = rtw89_read32(rtwdev, in rtw89_mac_stop_sch_tx_v1() [all …]
|
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() 3791 u32 tx_en; in rtw8852b_rx_dck() local 3794 rtw89_chip_stop_sch_tx(rtwdev, phy_idx, &tx_en, RTW89_SCH_TX_SEL_ALL); in rtw8852b_rx_dck() 3799 rtw89_chip_resume_sch_tx(rtwdev, phy_idx, tx_en); in rtw8852b_rx_dck() 3806 u32 tx_en; in rtw8852b_dpk() local 3816 rtw89_chip_resume_sch_tx(rtwdev, phy_idx, tx_en); in rtw8852b_dpk() 3828 u32 tx_en; in rtw8852b_tssi() local 3848 rtw89_chip_stop_sch_tx(rtwdev, phy, &tx_en, RTW89_SCH_TX_SEL_ALL); in rtw8852b_tssi() [all …]
|
A D | rtw8852a_rfk.c | 3543 u32 tx_en; in _tssi_pre_tx() local 3572 rtw89_chip_stop_sch_tx(rtwdev, phy, &tx_en, RTW89_SCH_TX_SEL_ALL); in _tssi_pre_tx() 3618 rtw89_chip_resume_sch_tx(rtwdev, phy, tx_en); in _tssi_pre_tx() 3641 u32 tx_en; in rtw8852a_iqk() local 3645 rtw89_chip_stop_sch_tx(rtwdev, phy_idx, &tx_en, RTW89_SCH_TX_SEL_ALL); in rtw8852a_iqk() 3654 rtw89_chip_resume_sch_tx(rtwdev, phy_idx, tx_en); in rtw8852a_iqk() 3666 u32 tx_en; in rtw8852a_rx_dck() local 3670 rtw89_chip_stop_sch_tx(rtwdev, phy_idx, &tx_en, RTW89_SCH_TX_SEL_ALL); in rtw8852a_rx_dck() 3675 rtw89_chip_resume_sch_tx(rtwdev, phy_idx, tx_en); in rtw8852a_rx_dck() 3681 u32 tx_en; in rtw8852a_dpk() local [all …]
|
A D | rtw8852c_rfk.c | 4093 u32 tx_en; in rtw8852c_iqk() local 4097 rtw89_chip_stop_sch_tx(rtwdev, phy_idx, &tx_en, RTW89_SCH_TX_SEL_ALL); in rtw8852c_iqk() 4103 rtw89_chip_resume_sch_tx(rtwdev, phy_idx, tx_en); in rtw8852c_iqk() 4178 u32 tx_en; in rtw8852c_rx_dck_track() local 4205 rtw89_chip_stop_sch_tx(rtwdev, phy_idx, &tx_en, RTW89_SCH_TX_SEL_ALL); in rtw8852c_rx_dck_track() 4217 rtw89_chip_resume_sch_tx(rtwdev, phy_idx, tx_en); in rtw8852c_rx_dck_track() 4223 u32 tx_en; in rtw8852c_dpk() local 4227 rtw89_chip_stop_sch_tx(rtwdev, phy_idx, &tx_en, RTW89_SCH_TX_SEL_ALL); in rtw8852c_dpk() 4234 rtw89_chip_resume_sch_tx(rtwdev, phy_idx, tx_en); in rtw8852c_dpk()
|
A D | core.h | 683 u32 tx_en; member 2581 u32 *tx_en, enum rtw89_sch_tx_sel sel); 2582 int (*resume_sch_tx)(struct rtw89_dev *rtwdev, u8 mac_idx, u32 tx_en); 4536 u32 *tx_en, enum rtw89_sch_tx_sel sel) in rtw89_chip_stop_sch_tx() argument 4540 return chip->ops->stop_sch_tx(rtwdev, mac_idx, tx_en, sel); in rtw89_chip_stop_sch_tx() 4544 int rtw89_chip_resume_sch_tx(struct rtw89_dev *rtwdev, u8 mac_idx, u32 tx_en) in rtw89_chip_resume_sch_tx() argument 4548 return chip->ops->resume_sch_tx(rtwdev, mac_idx, tx_en); in rtw89_chip_resume_sch_tx()
|
/linux-6.3-rc2/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
A D | hclge_tm.c | 1553 bool tx_en, rx_en; in hclge_mac_pause_setup_hw() local 1557 tx_en = false; in hclge_mac_pause_setup_hw() 1561 tx_en = false; in hclge_mac_pause_setup_hw() 1565 tx_en = true; in hclge_mac_pause_setup_hw() 1569 tx_en = true; in hclge_mac_pause_setup_hw() 1573 tx_en = false; in hclge_mac_pause_setup_hw() 1577 tx_en = true; in hclge_mac_pause_setup_hw() 1581 return hclge_mac_pause_en_cfg(hdev, tx_en, rx_en); in hclge_mac_pause_setup_hw()
|
A D | hclge_main.c | 3198 bool rx_en, tx_en; in hclge_update_pause_advertising() local 3203 tx_en = false; in hclge_update_pause_advertising() 3207 tx_en = true; in hclge_update_pause_advertising() 3211 tx_en = true; in hclge_update_pause_advertising() 3215 tx_en = false; in hclge_update_pause_advertising() 10960 *tx_en = 0; in hclge_get_pauseparam() 10966 *tx_en = 0; in hclge_get_pauseparam() 10968 *tx_en = 1; in hclge_get_pauseparam() 10972 *tx_en = 1; in hclge_get_pauseparam() 10975 *tx_en = 0; in hclge_get_pauseparam() [all …]
|
/linux-6.3-rc2/drivers/net/ethernet/ti/ |
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()
|
A D | cpsw_priv.h | 149 u32 tx_en; member
|
/linux-6.3-rc2/arch/mips/include/asm/octeon/ |
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-6.3-rc2/drivers/net/ethernet/hisilicon/hns3/ |
A D | hnae3.h | 605 u32 *auto_neg, u32 *rx_en, u32 *tx_en); 607 u32 auto_neg, u32 rx_en, u32 tx_en);
|
/linux-6.3-rc2/drivers/net/ethernet/cavium/thunder/ |
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()
|
/linux-6.3-rc2/drivers/net/ethernet/chelsio/cxgb4/ |
A D | cxgb4.h | 2027 unsigned int viid, bool rx_en, bool tx_en, bool dcb_en); 2030 bool rx_en, bool tx_en, bool dcb_en); 2032 bool rx_en, bool tx_en);
|
/linux-6.3-rc2/drivers/net/ethernet/cavium/octeon/ |
A D | octeon_mgmt.c | 805 prtx_cfg.s.tx_en = 0; in octeon_mgmt_disable_link() 827 prtx_cfg.s.tx_en = 1; in octeon_mgmt_enable_link()
|
/linux-6.3-rc2/drivers/net/ethernet/broadcom/bnx2x/ |
A D | bnx2x_link.c | 4471 u8 tx_en) in bnx2x_sfp_e3_set_transmitter() argument 4482 DP(NETIF_MSG_LINK, "Setting WC TX to %d\n", tx_en); in bnx2x_sfp_e3_set_transmitter() 4485 bnx2x_set_cfg_pin(bp, cfg_pin, tx_en ^ 1); in bnx2x_sfp_e3_set_transmitter() 4487 bnx2x_set_cfg_pin(bp, cfg_pin + 3, tx_en ^ 1); in bnx2x_sfp_e3_set_transmitter() 7786 u8 tx_en) in bnx2x_sfp_e1e2_set_transmitter() argument 7799 "mode = %x\n", tx_en, port, tx_en_mode); in bnx2x_sfp_e1e2_set_transmitter() 7808 if (tx_en) in bnx2x_sfp_e1e2_set_transmitter() 7825 if (tx_en) in bnx2x_sfp_e1e2_set_transmitter() 7843 u8 tx_en) in bnx2x_sfp_set_transmitter() argument 7848 bnx2x_sfp_e3_set_transmitter(params, phy, tx_en); in bnx2x_sfp_set_transmitter() [all …]
|
/linux-6.3-rc2/arch/arm/boot/dts/ |
A D | rk3188.dtsi | 314 rockchip,pins = <3 RK_PC0 2 &pcfg_pull_none>, /* tx_en */
|