Home
last modified time | relevance | path

Searched refs:rx_en (Results 1 – 19 of 19) sorted by relevance

/linux-6.6.21/drivers/net/ethernet/hisilicon/hns/
Dhns_dsaf_mac.h371 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);
Dhns_ae_adapt.c473 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()
484 hns_dsaf_get_rx_mac_pause_en(dsaf_dev, mac_cb->mac_id, rx_en); in hns_ae_get_pauseparam()
496 u32 autoneg, u32 rx_en, u32 tx_en) in hns_ae_set_pauseparam() argument
509 mac_cb->mac_id, rx_en); in hns_ae_set_pauseparam()
512 rx_en = 0; in hns_ae_set_pauseparam()
514 return hns_mac_set_pauseparam(mac_cb, rx_en, tx_en); in hns_ae_set_pauseparam()
Dhns_dsaf_mac.c595 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()
602 *rx_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()
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
254 dsaf_set_bit(origin, XGMAC_PAUSE_CTL_RX_B, !!rx_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
462 *rx_en = dsaf_get_bit(pause_ctrl, XGMAC_PAUSE_CTL_RX_B); in hns_xgmac_get_pausefrm_cfg()
Dhnae.h485 u32 *auto_neg, u32 *rx_en, u32 *tx_en);
487 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()
1183 DSAF_PFC_PAUSE_RX_EN_B, !!rx_en); in hns_dsaf_set_pfc_pause()
/linux-6.6.21/drivers/net/ethernet/chelsio/cxgb4vf/
Dt4vf_common.h395 int t4vf_enable_vi(struct adapter *adapter, unsigned int viid, bool rx_en,
397 int t4vf_enable_pi(struct adapter *adapter, struct port_info *pi, bool rx_en,
Dt4vf_hw.c1396 bool rx_en, bool tx_en) in t4vf_enable_vi() argument
1405 cmd.ien_to_len16 = cpu_to_be32(FW_VI_ENABLE_CMD_IEN_V(rx_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.6.21/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_tm.c1558 bool tx_en, rx_en; in hclge_mac_pause_setup_hw() local
1563 rx_en = false; in hclge_mac_pause_setup_hw()
1567 rx_en = true; in hclge_mac_pause_setup_hw()
1571 rx_en = false; in hclge_mac_pause_setup_hw()
1575 rx_en = true; in hclge_mac_pause_setup_hw()
1579 rx_en = false; in hclge_mac_pause_setup_hw()
1583 rx_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()
Dhclge_main.c3106 bool rx_en, tx_en; in hclge_update_pause_advertising() local
3110 rx_en = true; in hclge_update_pause_advertising()
3114 rx_en = false; in hclge_update_pause_advertising()
3118 rx_en = true; in hclge_update_pause_advertising()
3122 rx_en = false; in hclge_update_pause_advertising()
3127 linkmode_set_pause(mac->advertising, tx_en, rx_en); in hclge_update_pause_advertising()
10827 static void hclge_set_flowctrl_adv(struct hclge_dev *hdev, u32 rx_en, u32 tx_en) in hclge_set_flowctrl_adv() argument
10834 phy_set_asym_pause(phydev, rx_en, tx_en); in hclge_set_flowctrl_adv()
10837 static int hclge_cfg_pauseparam(struct hclge_dev *hdev, u32 rx_en, u32 tx_en) in hclge_cfg_pauseparam() argument
10844 ret = hclge_mac_pause_en_cfg(hdev, tx_en, rx_en); in hclge_cfg_pauseparam()
[all …]
/linux-6.6.21/drivers/net/ethernet/ti/
Dcpsw_priv.c39 writel_relaxed(0xFF, &cpsw->wr_regs->rx_en); in cpsw_intr_enable()
47 writel_relaxed(0, &cpsw->wr_regs->rx_en); in cpsw_intr_disable()
106 writel(0, &cpsw->wr_regs->rx_en); in cpsw_rx_interrupt()
206 writel(0xff, &cpsw->wr_regs->rx_en); in cpsw_rx_mq_poll()
220 writel(0xff, &cpsw->wr_regs->rx_en); in cpsw_rx_poll()
Dcpsw_priv.h149 u32 rx_en; member
/linux-6.6.21/arch/mips/include/asm/octeon/
Dcvmx-agl-defs.h302 uint64_t rx_en:1; member
312 uint64_t rx_en:1;
327 uint64_t rx_en:1; member
337 uint64_t rx_en:1;
/linux-6.6.21/drivers/net/ethernet/hisilicon/hns3/
Dhnae3.h619 u32 *auto_neg, u32 *rx_en, u32 *tx_en);
621 u32 auto_neg, u32 rx_en, u32 tx_en);
/linux-6.6.21/drivers/net/ethernet/cavium/thunder/
Dthunder_bgx.c509 bool tx_en, rx_en; in bgx_sgmii_change_link_state() local
513 rx_en = cmr_cfg & CMR_PKT_RX_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.6.21/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4.h2027 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);
Dt4_hw.c8226 unsigned int viid, bool rx_en, bool tx_en, bool dcb_en) in t4_enable_vi_params() argument
8234 c.ien_to_len16 = cpu_to_be32(FW_VI_ENABLE_CMD_IEN_V(rx_en) | in t4_enable_vi_params()
8252 bool rx_en, bool tx_en) in t4_enable_vi() argument
8254 return t4_enable_vi_params(adap, mbox, viid, rx_en, tx_en, 0); in t4_enable_vi()
8274 bool rx_en, bool tx_en, bool dcb_en) in t4_enable_pi_params() argument
8277 rx_en, tx_en, dcb_en); in t4_enable_pi_params()
8281 rx_en && tx_en && pi->link_cfg.link_ok); in t4_enable_pi_params()
/linux-6.6.21/drivers/net/ethernet/cavium/octeon/
Docteon_mgmt.c806 prtx_cfg.s.rx_en = 0; in octeon_mgmt_disable_link()
828 prtx_cfg.s.rx_en = 1; in octeon_mgmt_enable_link()
/linux-6.6.21/drivers/net/ethernet/broadcom/
Dbcm63xx_enet.c764 static void bcm_enet_set_flow(struct bcm_enet_priv *priv, int rx_en, int tx_en) in bcm_enet_set_flow() argument
770 if (rx_en) in bcm_enet_set_flow()