/openbmc/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);
|
/openbmc/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()
|
/openbmc/linux/drivers/net/wireless/realtek/rtw89/ |
H A D | mac.h | 1005 u32 *tx_en, enum rtw89_sch_tx_sel sel); 1007 u32 *tx_en, enum rtw89_sch_tx_sel sel); 1008 int rtw89_mac_resume_sch_tx(struct rtw89_dev *rtwdev, u8 mac_idx, u32 tx_en); 1009 int rtw89_mac_resume_sch_tx_v1(struct rtw89_dev *rtwdev, u8 mac_idx, u32 tx_en);
|
H A D | mac.c | 2728 u16 tx_en, u16 tx_en_mask) in rtw89_set_hw_sch_tx_en() argument 2740 tx_en, tx_en_mask); in rtw89_set_hw_sch_tx_en() 2743 val = (val & ~tx_en_mask) | (tx_en & tx_en_mask); in rtw89_set_hw_sch_tx_en() 2750 u32 tx_en, u32 tx_en_mask) in rtw89_set_hw_sch_tx_en_v1() argument 2761 val = (val & ~tx_en_mask) | (tx_en & tx_en_mask); in rtw89_set_hw_sch_tx_en_v1() 2768 u32 *tx_en, enum rtw89_sch_tx_sel sel) in rtw89_mac_stop_sch_tx() argument 2772 *tx_en = rtw89_read16(rtwdev, in rtw89_mac_stop_sch_tx() 2809 u32 *tx_en, enum rtw89_sch_tx_sel sel) in rtw89_mac_stop_sch_tx_v1() argument 2813 *tx_en = rtw89_read32(rtwdev, in rtw89_mac_stop_sch_tx_v1() 3039 u32 tx_en; in band1_enable() local [all …]
|
H A D | rtw8852a_rfk.c | 3516 u32 tx_en; in _tssi_pre_tx() local 3545 rtw89_chip_stop_sch_tx(rtwdev, phy, &tx_en, RTW89_SCH_TX_SEL_ALL); in _tssi_pre_tx() 3591 rtw89_chip_resume_sch_tx(rtwdev, phy, tx_en); in _tssi_pre_tx() 3614 u32 tx_en; in rtw8852a_iqk() local 3618 rtw89_chip_stop_sch_tx(rtwdev, phy_idx, &tx_en, RTW89_SCH_TX_SEL_ALL); in rtw8852a_iqk() 3627 rtw89_chip_resume_sch_tx(rtwdev, phy_idx, tx_en); in rtw8852a_iqk() 3634 u32 tx_en; in rtw8852a_rx_dck() local 3638 rtw89_chip_stop_sch_tx(rtwdev, phy_idx, &tx_en, RTW89_SCH_TX_SEL_ALL); in rtw8852a_rx_dck() 3643 rtw89_chip_resume_sch_tx(rtwdev, phy_idx, tx_en); in rtw8852a_rx_dck() 3649 u32 tx_en; in rtw8852a_dpk() local [all …]
|
H A D | rtw8852b_rfk.c | 3769 u32 tx_en; in rtw8852b_iqk() local 3772 rtw89_chip_stop_sch_tx(rtwdev, phy_idx, &tx_en, RTW89_SCH_TX_SEL_ALL); in rtw8852b_iqk() 3778 rtw89_chip_resume_sch_tx(rtwdev, phy_idx, tx_en); in rtw8852b_iqk() 3785 u32 tx_en; in rtw8852b_rx_dck() local 3788 rtw89_chip_stop_sch_tx(rtwdev, phy_idx, &tx_en, RTW89_SCH_TX_SEL_ALL); in rtw8852b_rx_dck() 3793 rtw89_chip_resume_sch_tx(rtwdev, phy_idx, tx_en); in rtw8852b_rx_dck() 3800 u32 tx_en; in rtw8852b_dpk() local 3810 rtw89_chip_resume_sch_tx(rtwdev, phy_idx, tx_en); in rtw8852b_dpk() 3822 u32 tx_en; in rtw8852b_tssi() local 3842 rtw89_chip_stop_sch_tx(rtwdev, phy, &tx_en, RTW89_SCH_TX_SEL_ALL); in rtw8852b_tssi() [all …]
|
H A D | rtw8851b_rfk.c | 3261 u32 tx_en; in rtw8851b_iqk() local 3264 rtw89_chip_stop_sch_tx(rtwdev, phy_idx, &tx_en, RTW89_SCH_TX_SEL_ALL); in rtw8851b_iqk() 3270 rtw89_chip_resume_sch_tx(rtwdev, phy_idx, tx_en); in rtw8851b_iqk() 3277 u32 tx_en; in rtw8851b_rx_dck() local 3280 rtw89_chip_stop_sch_tx(rtwdev, phy_idx, &tx_en, RTW89_SCH_TX_SEL_ALL); in rtw8851b_rx_dck() 3285 rtw89_chip_resume_sch_tx(rtwdev, phy_idx, tx_en); in rtw8851b_rx_dck() 3292 u32 tx_en; in rtw8851b_dpk() local 3295 rtw89_chip_stop_sch_tx(rtwdev, phy_idx, &tx_en, RTW89_SCH_TX_SEL_ALL); in rtw8851b_dpk() 3302 rtw89_chip_resume_sch_tx(rtwdev, phy_idx, tx_en); in rtw8851b_dpk()
|
H A D | rtw8852c_rfk.c | 4088 u32 tx_en; in rtw8852c_iqk() local 4092 rtw89_chip_stop_sch_tx(rtwdev, phy_idx, &tx_en, RTW89_SCH_TX_SEL_ALL); in rtw8852c_iqk() 4098 rtw89_chip_resume_sch_tx(rtwdev, phy_idx, tx_en); in rtw8852c_iqk() 4173 u32 tx_en; in rtw8852c_rx_dck_track() local 4200 rtw89_chip_stop_sch_tx(rtwdev, phy_idx, &tx_en, RTW89_SCH_TX_SEL_ALL); in rtw8852c_rx_dck_track() 4212 rtw89_chip_resume_sch_tx(rtwdev, phy_idx, tx_en); in rtw8852c_rx_dck_track() 4218 u32 tx_en; in rtw8852c_dpk() local 4222 rtw89_chip_stop_sch_tx(rtwdev, phy_idx, &tx_en, RTW89_SCH_TX_SEL_ALL); in rtw8852c_dpk() 4229 rtw89_chip_resume_sch_tx(rtwdev, phy_idx, tx_en); in rtw8852c_dpk()
|
H A D | core.h | 910 u32 tx_en; member 3086 u32 *tx_en, enum rtw89_sch_tx_sel sel); 3087 int (*resume_sch_tx)(struct rtw89_dev *rtwdev, u8 mac_idx, u32 tx_en); 5209 u32 *tx_en, enum rtw89_sch_tx_sel sel) in rtw89_chip_stop_sch_tx() argument 5213 return chip->ops->stop_sch_tx(rtwdev, mac_idx, tx_en, sel); in rtw89_chip_stop_sch_tx() 5217 int rtw89_chip_resume_sch_tx(struct rtw89_dev *rtwdev, u8 mac_idx, u32 tx_en) in rtw89_chip_resume_sch_tx() argument 5221 return chip->ops->resume_sch_tx(rtwdev, mac_idx, tx_en); in rtw89_chip_resume_sch_tx()
|
/openbmc/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 | 3131 bool rx_en, tx_en; in hclge_update_pause_advertising() local 3136 tx_en = false; in hclge_update_pause_advertising() 3140 tx_en = true; in hclge_update_pause_advertising() 3144 tx_en = true; in hclge_update_pause_advertising() 3148 tx_en = false; in hclge_update_pause_advertising() 10928 *tx_en = 0; in hclge_get_pauseparam() 10934 *tx_en = 0; in hclge_get_pauseparam() 10936 *tx_en = 1; in hclge_get_pauseparam() 10940 *tx_en = 1; in hclge_get_pauseparam() 10943 *tx_en = 0; in hclge_get_pauseparam() [all …]
|
/openbmc/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()
|
H A D | cpsw_priv.h | 150 u32 tx_en; member
|
/openbmc/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;
|
/openbmc/linux/drivers/net/ethernet/hisilicon/hns3/ |
H A D | hnae3.h | 619 u32 *auto_neg, u32 *rx_en, u32 *tx_en); 621 u32 auto_neg, u32 rx_en, u32 tx_en);
|
/openbmc/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()
|
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb4/ |
H 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);
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | rk3188.dtsi | 251 rockchip,pins = <RK_GPIO3 16 RK_FUNC_2 &pcfg_pull_none>, /* tx_en */
|
/openbmc/linux/drivers/net/ethernet/cavium/octeon/ |
H 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()
|
/openbmc/linux/drivers/net/ethernet/broadcom/bnx2x/ |
H 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 …]
|