| /Linux-v5.15/drivers/net/ethernet/hisilicon/hns/ | 
| 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);
 
 | 
| 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()  argument571 		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()
 
 | 
| D | hns_ae_adapt.c | 474 				  u32 *auto_neg, u32 *rx_en, u32 *tx_en)  in hns_ae_get_pauseparam()  argument481 	hns_mac_get_pauseparam(mac_cb, rx_en, tx_en);  in hns_ae_get_pauseparam()
 497 				 u32 autoneg, u32 rx_en, u32 tx_en)  in hns_ae_set_pauseparam()  argument
 515 	return hns_mac_set_pauseparam(mac_cb, rx_en, tx_en);  in hns_ae_set_pauseparam()
 
 | 
| 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()  argument253 	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()
 
 | 
| D | hnae.h | 485 			       u32 *auto_neg, u32 *rx_en, u32 *tx_en);487 			      u32 auto_neg, u32 rx_en, u32 tx_en);
 
 | 
| D | hns_dsaf_main.c | 1173 				   int mac_id, int tx_en, int rx_en)  in hns_dsaf_set_pfc_pause()  argument1176 		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-v5.15/drivers/net/ethernet/chelsio/cxgb4vf/ | 
| D | t4vf_common.h | 396 		   bool tx_en);398 		   bool tx_en);
 
 | 
| D | t4vf_hw.c | 1396 		   bool rx_en, bool tx_en)  in t4vf_enable_vi()  argument1406 				       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-v5.15/drivers/net/ethernet/hisilicon/hns3/hns3pf/ | 
| D | hclge_tm.c | 1440 	bool tx_en, rx_en;  in hclge_mac_pause_setup_hw()  local1444 		tx_en = false;  in hclge_mac_pause_setup_hw()
 1448 		tx_en = false;  in hclge_mac_pause_setup_hw()
 1452 		tx_en = true;  in hclge_mac_pause_setup_hw()
 1456 		tx_en = true;  in hclge_mac_pause_setup_hw()
 1460 		tx_en = false;  in hclge_mac_pause_setup_hw()
 1464 		tx_en = true;  in hclge_mac_pause_setup_hw()
 1468 	return hclge_mac_pause_en_cfg(hdev, tx_en, rx_en);  in hclge_mac_pause_setup_hw()
 
 | 
| D | hclge_main.c | 10862 static void hclge_set_flowctrl_adv(struct hclge_dev *hdev, u32 rx_en, u32 tx_en)  in hclge_set_flowctrl_adv()  argument10869 	phy_set_asym_pause(phydev, rx_en, tx_en);  in hclge_set_flowctrl_adv()
 10872 static int hclge_cfg_pauseparam(struct hclge_dev *hdev, u32 rx_en, u32 tx_en)  in hclge_cfg_pauseparam()  argument
 10879 	ret = hclge_mac_pause_en_cfg(hdev, tx_en, rx_en);  in hclge_cfg_pauseparam()
 10920 				 u32 *rx_en, u32 *tx_en)  in hclge_get_pauseparam()  argument
 10931 		*tx_en = 0;  in hclge_get_pauseparam()
 10937 		*tx_en = 0;  in hclge_get_pauseparam()
 10939 		*tx_en = 1;  in hclge_get_pauseparam()
 10943 		*tx_en = 1;  in hclge_get_pauseparam()
 10946 		*tx_en = 0;  in hclge_get_pauseparam()
 [all …]
 
 | 
| /Linux-v5.15/drivers/net/ethernet/ti/ | 
| D | cpsw_priv.c | 37 	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()
 
 | 
| D | cpsw_priv.h | 148 	u32	tx_en;  member
 | 
| /Linux-v5.15/arch/mips/include/asm/octeon/ | 
| D | cvmx-agl-defs.h | 301 		uint64_t tx_en:1;  member313 		uint64_t tx_en:1;
 326 		uint64_t tx_en:1;  member
 338 		uint64_t tx_en:1;
 
 | 
| /Linux-v5.15/drivers/net/ethernet/hisilicon/hns3/ | 
| D | hnae3.h | 568 			       u32 *auto_neg, u32 *rx_en, u32 *tx_en);570 			      u32 auto_neg, u32 rx_en, u32 tx_en);
 
 | 
| /Linux-v5.15/drivers/net/ethernet/cavium/thunder/ | 
| D | thunder_bgx.c | 509 	bool tx_en, rx_en;  in bgx_sgmii_change_link_state()  local512 	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-v5.15/drivers/net/ethernet/chelsio/cxgb4/ | 
| D | cxgb4.h | 2029 			unsigned int viid, bool rx_en, bool tx_en, bool dcb_en);2032 			bool rx_en, bool tx_en, bool dcb_en);
 2034 		 bool rx_en, bool tx_en);
 
 | 
| D | t4_hw.c | 8224 			unsigned int viid, bool rx_en, bool tx_en, bool dcb_en)  in t4_enable_vi_params()  argument8233 				     FW_VI_ENABLE_CMD_EEN_V(tx_en) |  in t4_enable_vi_params()
 8250 		 bool rx_en, bool tx_en)  in t4_enable_vi()  argument
 8252 	return t4_enable_vi_params(adap, mbox, viid, rx_en, tx_en, 0);  in t4_enable_vi()
 8272 			bool rx_en, bool tx_en, bool dcb_en)  in t4_enable_pi_params()  argument
 8275 				      rx_en, tx_en, dcb_en);  in t4_enable_pi_params()
 8279 			   rx_en && tx_en && pi->link_cfg.link_ok);  in t4_enable_pi_params()
 
 | 
| /Linux-v5.15/drivers/net/ethernet/cavium/octeon/ | 
| D | octeon_mgmt.c | 808 	prtx_cfg.s.tx_en = 0;  in octeon_mgmt_disable_link()830 	prtx_cfg.s.tx_en = 1;  in octeon_mgmt_enable_link()
 
 | 
| /Linux-v5.15/drivers/net/ethernet/broadcom/bnx2x/ | 
| D | bnx2x_link.c | 4471 					 u8 tx_en)  in bnx2x_sfp_e3_set_transmitter()  argument4482 	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 …]
 
 | 
| /Linux-v5.15/arch/arm/boot/dts/ | 
| D | rk3188.dtsi | 313 				rockchip,pins = <3 RK_PC0 2 &pcfg_pull_none>, /* tx_en */
 | 
| D | rk3066a.dtsi | 365 						<1 RK_PC1 2 &pcfg_pull_none>, /* tx_en */
 | 
| D | rk3036.dtsi | 760 						<2 RK_PB5 1 &pcfg_pull_default>, /* tx_en */
 | 
| /Linux-v5.15/drivers/net/ethernet/broadcom/ | 
| D | bcm63xx_enet.c | 764 static void bcm_enet_set_flow(struct bcm_enet_priv *priv, int rx_en, int tx_en)  in bcm_enet_set_flow()  argument781 	if (tx_en)  in bcm_enet_set_flow()
 
 |