/Linux-v5.4/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_ae_adapt.c | 478 u32 *auto_neg, u32 *rx_en, u32 *tx_en) in hns_ae_get_pauseparam() argument 485 hns_mac_get_pauseparam(mac_cb, rx_en, tx_en); in hns_ae_get_pauseparam() 489 hns_dsaf_get_rx_mac_pause_en(dsaf_dev, mac_cb->mac_id, rx_en); in hns_ae_get_pauseparam() 519 u32 autoneg, u32 rx_en, u32 tx_en) in hns_ae_set_pauseparam() argument 532 mac_cb->mac_id, rx_en); in hns_ae_set_pauseparam() 535 rx_en = 0; in hns_ae_set_pauseparam() 537 return hns_mac_set_pauseparam(mac_cb, rx_en, tx_en); in hns_ae_set_pauseparam()
|
D | hns_dsaf_mac.c | 565 void hns_mac_get_pauseparam(struct hns_mac_cb *mac_cb, u32 *rx_en, u32 *tx_en) in hns_mac_get_pauseparam() argument 570 mac_ctrl_drv->get_pause_enable(mac_ctrl_drv, rx_en, tx_en); in hns_mac_get_pauseparam() 572 *rx_en = 0; in hns_mac_get_pauseparam() 605 int hns_mac_set_pauseparam(struct hns_mac_cb *mac_cb, u32 rx_en, u32 tx_en) in hns_mac_set_pauseparam() argument 611 if (is_ver1 && (tx_en || rx_en)) { in hns_mac_set_pauseparam() 618 mac_ctrl_drv->mac_pausefrm_cfg(mac_ctrl_drv, rx_en, tx_en); in hns_mac_set_pauseparam()
|
D | hns_dsaf_xgmac.c | 247 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_RX_B, !!rx_en); in hns_xgmac_pausefrm_cfg() 468 static void hns_xgmac_get_pausefrm_cfg(void *mac_drv, u32 *rx_en, u32 *tx_en) in hns_xgmac_get_pausefrm_cfg() argument 474 *rx_en = dsaf_get_bit(pause_ctrl, XGMAC_PAUSE_CTL_RX_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 | 1168 int mac_id, int tx_en, int rx_en) in hns_dsaf_set_pfc_pause() argument 1171 if (!tx_en || !rx_en) in hns_dsaf_set_pfc_pause() 1178 DSAF_PFC_PAUSE_RX_EN_B, !!rx_en); in hns_dsaf_set_pfc_pause()
|
/Linux-v5.4/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
D | hclge_tm.c | 1282 bool tx_en, rx_en; in hclge_mac_pause_setup_hw() local 1287 rx_en = false; in hclge_mac_pause_setup_hw() 1291 rx_en = true; in hclge_mac_pause_setup_hw() 1295 rx_en = false; in hclge_mac_pause_setup_hw() 1299 rx_en = true; in hclge_mac_pause_setup_hw() 1303 rx_en = false; in hclge_mac_pause_setup_hw() 1307 rx_en = true; in hclge_mac_pause_setup_hw() 1310 return hclge_mac_pause_en_cfg(hdev, tx_en, rx_en); in hclge_mac_pause_setup_hw()
|
D | hclge_main.c | 8601 static void hclge_set_flowctrl_adv(struct hclge_dev *hdev, u32 rx_en, u32 tx_en) in hclge_set_flowctrl_adv() argument 8608 phy_set_asym_pause(phydev, rx_en, tx_en); in hclge_set_flowctrl_adv() 8611 static int hclge_cfg_pauseparam(struct hclge_dev *hdev, u32 rx_en, u32 tx_en) in hclge_cfg_pauseparam() argument 8618 ret = hclge_mac_pause_en_cfg(hdev, tx_en, rx_en); in hclge_cfg_pauseparam() 8659 u32 *rx_en, u32 *tx_en) in hclge_get_pauseparam() argument 8668 *rx_en = 0; in hclge_get_pauseparam() 8674 *rx_en = 1; in hclge_get_pauseparam() 8678 *rx_en = 0; in hclge_get_pauseparam() 8680 *rx_en = 1; in hclge_get_pauseparam() 8683 *rx_en = 0; in hclge_get_pauseparam() [all …]
|
/Linux-v5.4/drivers/net/ethernet/chelsio/cxgb4vf/ |
D | t4vf_common.h | 394 int t4vf_enable_vi(struct adapter *adapter, unsigned int viid, bool rx_en, 396 int t4vf_enable_pi(struct adapter *adapter, struct port_info *pi, bool rx_en,
|
D | t4vf_hw.c | 1397 bool rx_en, bool tx_en) in t4vf_enable_vi() argument 1406 cmd.ien_to_len16 = cpu_to_be32(FW_VI_ENABLE_CMD_IEN_V(rx_en) | in t4vf_enable_vi() 1425 bool rx_en, bool tx_en) in t4vf_enable_pi() argument 1427 int ret = t4vf_enable_vi(adapter, pi->viid, rx_en, tx_en); in t4vf_enable_pi() 1432 rx_en && tx_en && pi->link_cfg.link_ok); in t4vf_enable_pi()
|
/Linux-v5.4/drivers/net/ethernet/hisilicon/hns3/ |
D | hnae3.h | 405 u32 *auto_neg, u32 *rx_en, u32 *tx_en); 407 u32 auto_neg, u32 rx_en, u32 tx_en);
|
/Linux-v5.4/arch/mips/include/asm/octeon/ |
D | cvmx-agl-defs.h | 302 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-v5.4/drivers/net/ethernet/ti/ |
D | cpsw_priv.h | 141 u32 rx_en; member
|
D | cpsw.c | 338 writel_relaxed(0xFF, &cpsw->wr_regs->rx_en); in cpsw_intr_enable() 347 writel_relaxed(0, &cpsw->wr_regs->rx_en); in cpsw_intr_disable() 894 writel(0, &cpsw->wr_regs->rx_en); in cpsw_rx_interrupt() 981 writel(0xff, &cpsw->wr_regs->rx_en); in cpsw_rx_mq_poll() 995 writel(0xff, &cpsw->wr_regs->rx_en); in cpsw_rx_poll()
|
/Linux-v5.4/drivers/net/ethernet/cavium/thunder/ |
D | thunder_bgx.c | 500 bool tx_en, rx_en; in bgx_sgmii_change_link_state() local 504 rx_en = cmr_cfg & CMR_PKT_RX_EN; in bgx_sgmii_change_link_state() 575 cmr_cfg |= (rx_en ? CMR_PKT_RX_EN : 0) | (tx_en ? CMR_PKT_TX_EN : 0); in bgx_sgmii_change_link_state()
|
/Linux-v5.4/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4.h | 1818 unsigned int viid, bool rx_en, bool tx_en, bool dcb_en); 1821 bool rx_en, bool tx_en, bool dcb_en); 1823 bool rx_en, bool tx_en);
|
D | t4_hw.c | 8217 unsigned int viid, bool rx_en, bool tx_en, bool dcb_en) in t4_enable_vi_params() argument 8225 c.ien_to_len16 = cpu_to_be32(FW_VI_ENABLE_CMD_IEN_V(rx_en) | in t4_enable_vi_params() 8243 bool rx_en, bool tx_en) in t4_enable_vi() argument 8245 return t4_enable_vi_params(adap, mbox, viid, rx_en, tx_en, 0); in t4_enable_vi() 8265 bool rx_en, bool tx_en, bool dcb_en) in t4_enable_pi_params() argument 8268 rx_en, tx_en, dcb_en); in t4_enable_pi_params() 8272 rx_en && tx_en && pi->link_cfg.link_ok); in t4_enable_pi_params()
|
/Linux-v5.4/drivers/net/ethernet/cavium/octeon/ |
D | octeon_mgmt.c | 807 prtx_cfg.s.rx_en = 0; in octeon_mgmt_disable_link() 829 prtx_cfg.s.rx_en = 1; in octeon_mgmt_enable_link()
|
/Linux-v5.4/drivers/net/ethernet/broadcom/ |
D | bcm63xx_enet.c | 744 static void bcm_enet_set_flow(struct bcm_enet_priv *priv, int rx_en, int tx_en) in bcm_enet_set_flow() argument 750 if (rx_en) in bcm_enet_set_flow()
|