Home
last modified time | relevance | path

Searched refs:tx_en (Results 1 – 24 of 24) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns/
Dhns_dsaf_mac.h375 void (*mac_pausefrm_cfg)(void *mac_drv, u32 rx_en, u32 tx_en);
378 int (*set_pause_enable)(void *mac_drv, u32 rx_en, u32 tx_en);
379 void (*get_pause_enable)(void *mac_drv, u32 *rx_en, u32 *tx_en);
442 void hns_mac_get_pauseparam(struct hns_mac_cb *mac_cb, u32 *rx_en, u32 *tx_en);
444 int hns_mac_set_pauseparam(struct hns_mac_cb *mac_cb, u32 rx_en, u32 tx_en);
Dhns_dsaf_mac.c566 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()
Dhns_ae_adapt.c476 u32 *auto_neg, u32 *rx_en, u32 *tx_en) in hns_ae_get_pauseparam() argument
483 hns_mac_get_pauseparam(mac_cb, rx_en, tx_en); in hns_ae_get_pauseparam()
517 u32 autoneg, u32 rx_en, u32 tx_en) in hns_ae_set_pauseparam() argument
535 return hns_mac_set_pauseparam(mac_cb, rx_en, tx_en); in hns_ae_set_pauseparam()
Dhns_dsaf_xgmac.c248 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()
469 static void hns_xgmac_get_pausefrm_cfg(void *mac_drv, u32 *rx_en, u32 *tx_en) in hns_xgmac_get_pausefrm_cfg() argument
476 *tx_en = dsaf_get_bit(pause_ctrl, XGMAC_PAUSE_CTL_TX_B); in hns_xgmac_get_pausefrm_cfg()
Dhnae.h489 u32 *auto_neg, u32 *rx_en, u32 *tx_en);
493 u32 auto_neg, u32 rx_en, u32 tx_en);
Dhns_dsaf_main.c1173 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()
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_tm.c1342 bool tx_en, rx_en; in hclge_mac_pause_setup_hw() local
1346 tx_en = false; in hclge_mac_pause_setup_hw()
1350 tx_en = false; in hclge_mac_pause_setup_hw()
1354 tx_en = true; in hclge_mac_pause_setup_hw()
1358 tx_en = true; in hclge_mac_pause_setup_hw()
1362 tx_en = false; in hclge_mac_pause_setup_hw()
1366 tx_en = true; in hclge_mac_pause_setup_hw()
1370 return hclge_mac_pause_en_cfg(hdev, tx_en, rx_en); in hclge_mac_pause_setup_hw()
Dhclge_main.c9477 static void hclge_set_flowctrl_adv(struct hclge_dev *hdev, u32 rx_en, u32 tx_en) in hclge_set_flowctrl_adv() argument
9484 phy_set_asym_pause(phydev, rx_en, tx_en); in hclge_set_flowctrl_adv()
9487 static int hclge_cfg_pauseparam(struct hclge_dev *hdev, u32 rx_en, u32 tx_en) in hclge_cfg_pauseparam() argument
9494 ret = hclge_mac_pause_en_cfg(hdev, tx_en, rx_en); in hclge_cfg_pauseparam()
9535 u32 *rx_en, u32 *tx_en) in hclge_get_pauseparam() argument
9545 *tx_en = 0; in hclge_get_pauseparam()
9551 *tx_en = 0; in hclge_get_pauseparam()
9553 *tx_en = 1; in hclge_get_pauseparam()
9557 *tx_en = 1; in hclge_get_pauseparam()
9560 *tx_en = 0; in hclge_get_pauseparam()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4vf/
Dt4vf_common.h396 bool tx_en);
398 bool tx_en);
Dt4vf_hw.c1395 bool rx_en, bool tx_en) in t4vf_enable_vi() argument
1405 FW_VI_ENABLE_CMD_EEN_V(tx_en) | in t4vf_enable_vi()
1423 bool rx_en, bool tx_en) in t4vf_enable_pi() argument
1425 int ret = t4vf_enable_vi(adapter, pi->viid, rx_en, tx_en); in t4vf_enable_pi()
1430 rx_en && tx_en && pi->link_cfg.link_ok); in t4vf_enable_pi()
/kernel/linux/linux-5.10/drivers/net/ethernet/ti/
Dcpsw_priv.c37 writel_relaxed(0xFF, &cpsw->wr_regs->tx_en); in cpsw_intr_enable()
45 writel_relaxed(0, &cpsw->wr_regs->tx_en); in cpsw_intr_disable()
89 writel(0, &cpsw->wr_regs->tx_en); in cpsw_tx_interrupt()
155 writel(0xff, &cpsw->wr_regs->tx_en); in cpsw_tx_mq_poll()
169 writel(0xff, &cpsw->wr_regs->tx_en); in cpsw_tx_poll()
Dcpsw_priv.h148 u32 tx_en; member
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/
Dhnae3.h494 u32 *auto_neg, u32 *rx_en, u32 *tx_en);
496 u32 auto_neg, u32 rx_en, u32 tx_en);
/kernel/linux/linux-5.10/arch/mips/include/asm/octeon/
Dcvmx-agl-defs.h301 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;
/kernel/linux/linux-5.10/drivers/net/ethernet/cavium/thunder/
Dthunder_bgx.c509 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()
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4.h2031 unsigned int viid, bool rx_en, bool tx_en, bool dcb_en);
2034 bool rx_en, bool tx_en, bool dcb_en);
2036 bool rx_en, bool tx_en);
Dt4_hw.c8255 unsigned int viid, bool rx_en, bool tx_en, bool dcb_en) in t4_enable_vi_params() argument
8264 FW_VI_ENABLE_CMD_EEN_V(tx_en) | in t4_enable_vi_params()
8281 bool rx_en, bool tx_en) in t4_enable_vi() argument
8283 return t4_enable_vi_params(adap, mbox, viid, rx_en, tx_en, 0); in t4_enable_vi()
8303 bool rx_en, bool tx_en, bool dcb_en) in t4_enable_pi_params() argument
8306 rx_en, tx_en, dcb_en); in t4_enable_pi_params()
8310 rx_en && tx_en && pi->link_cfg.link_ok); in t4_enable_pi_params()
/kernel/linux/linux-5.10/drivers/net/ethernet/cavium/octeon/
Docteon_mgmt.c808 prtx_cfg.s.tx_en = 0; in octeon_mgmt_disable_link()
830 prtx_cfg.s.tx_en = 1; in octeon_mgmt_enable_link()
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_link.c4471 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()
7784 u8 tx_en) in bnx2x_sfp_e1e2_set_transmitter() argument
7797 "mode = %x\n", tx_en, port, tx_en_mode); in bnx2x_sfp_e1e2_set_transmitter()
7806 if (tx_en) in bnx2x_sfp_e1e2_set_transmitter()
7823 if (tx_en) in bnx2x_sfp_e1e2_set_transmitter()
7841 u8 tx_en) in bnx2x_sfp_set_transmitter() argument
7844 DP(NETIF_MSG_LINK, "Setting SFP+ transmitter to %d\n", tx_en); in bnx2x_sfp_set_transmitter()
[all …]
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Drk3066a.dtsi389 <1 RK_PC1 2 &pcfg_pull_none>, /* tx_en */
Drk3188.dtsi337 rockchip,pins = <3 RK_PC0 2 &pcfg_pull_none>, /* tx_en */
Drk3036.dtsi649 <2 RK_PB5 1 &pcfg_pull_default>, /* tx_en */
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/
Dbcm63xx_enet.c743 static void bcm_enet_set_flow(struct bcm_enet_priv *priv, int rx_en, int tx_en) in bcm_enet_set_flow() argument
760 if (tx_en) in bcm_enet_set_flow()
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0038_linux_drivers_mxc.patch183871 + /* need a tx_en posedge to update gpctimer0 clk */