/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns/ |
D | hns_dsaf_mac.h | 375 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);
|
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()
|
D | hns_ae_adapt.c | 476 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()
|
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() 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()
|
D | hnae.h | 489 u32 *auto_neg, u32 *rx_en, u32 *tx_en); 493 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() 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/ |
D | hclge_tm.c | 1342 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()
|
D | hclge_main.c | 9477 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/ |
D | t4vf_common.h | 396 bool tx_en); 398 bool tx_en);
|
D | t4vf_hw.c | 1395 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/ |
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
|
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/ |
D | hnae3.h | 494 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/ |
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;
|
/kernel/linux/linux-5.10/drivers/net/ethernet/cavium/thunder/ |
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()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4.h | 2031 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);
|
D | t4_hw.c | 8255 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/ |
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()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnx2x/ |
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() 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/ |
D | rk3066a.dtsi | 389 <1 RK_PC1 2 &pcfg_pull_none>, /* tx_en */
|
D | rk3188.dtsi | 337 rockchip,pins = <3 RK_PC0 2 &pcfg_pull_none>, /* tx_en */
|
D | rk3036.dtsi | 649 <2 RK_PB5 1 &pcfg_pull_default>, /* tx_en */
|
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/ |
D | bcm63xx_enet.c | 743 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/ |
D | 0038_linux_drivers_mxc.patch | 183871 + /* need a tx_en posedge to update gpctimer0 clk */
|