rx_en 302 arch/mips/include/asm/octeon/cvmx-agl-defs.h uint64_t rx_en:1; rx_en 312 arch/mips/include/asm/octeon/cvmx-agl-defs.h uint64_t rx_en:1; rx_en 327 arch/mips/include/asm/octeon/cvmx-agl-defs.h uint64_t rx_en:1; rx_en 337 arch/mips/include/asm/octeon/cvmx-agl-defs.h uint64_t rx_en:1; rx_en 744 drivers/net/ethernet/broadcom/bcm63xx_enet.c static void bcm_enet_set_flow(struct bcm_enet_priv *priv, int rx_en, int tx_en) rx_en 750 drivers/net/ethernet/broadcom/bcm63xx_enet.c if (rx_en) rx_en 807 drivers/net/ethernet/cavium/octeon/octeon_mgmt.c prtx_cfg.s.rx_en = 0; rx_en 829 drivers/net/ethernet/cavium/octeon/octeon_mgmt.c prtx_cfg.s.rx_en = 1; rx_en 509 drivers/net/ethernet/cavium/thunder/thunder_bgx.c bool tx_en, rx_en; rx_en 513 drivers/net/ethernet/cavium/thunder/thunder_bgx.c rx_en = cmr_cfg & CMR_PKT_RX_EN; rx_en 584 drivers/net/ethernet/cavium/thunder/thunder_bgx.c cmr_cfg |= (rx_en ? CMR_PKT_RX_EN : 0) | (tx_en ? CMR_PKT_TX_EN : 0); rx_en 1819 drivers/net/ethernet/chelsio/cxgb4/cxgb4.h unsigned int viid, bool rx_en, bool tx_en, bool dcb_en); rx_en 1822 drivers/net/ethernet/chelsio/cxgb4/cxgb4.h bool rx_en, bool tx_en, bool dcb_en); rx_en 1824 drivers/net/ethernet/chelsio/cxgb4/cxgb4.h bool rx_en, bool tx_en); rx_en 8218 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c unsigned int viid, bool rx_en, bool tx_en, bool dcb_en) rx_en 8226 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c c.ien_to_len16 = cpu_to_be32(FW_VI_ENABLE_CMD_IEN_V(rx_en) | rx_en 8244 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c bool rx_en, bool tx_en) rx_en 8246 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c return t4_enable_vi_params(adap, mbox, viid, rx_en, tx_en, 0); rx_en 8266 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c bool rx_en, bool tx_en, bool dcb_en) rx_en 8269 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c rx_en, tx_en, dcb_en); rx_en 8273 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c rx_en && tx_en && pi->link_cfg.link_ok); rx_en 395 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_common.h int t4vf_enable_vi(struct adapter *adapter, unsigned int viid, bool rx_en, rx_en 397 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_common.h int t4vf_enable_pi(struct adapter *adapter, struct port_info *pi, bool rx_en, rx_en 1397 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c bool rx_en, bool tx_en) rx_en 1406 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c cmd.ien_to_len16 = cpu_to_be32(FW_VI_ENABLE_CMD_IEN_V(rx_en) | rx_en 1425 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c bool rx_en, bool tx_en) rx_en 1427 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c int ret = t4vf_enable_vi(adapter, pi->viid, rx_en, tx_en); rx_en 1432 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c rx_en && tx_en && pi->link_cfg.link_ok); rx_en 489 drivers/net/ethernet/hisilicon/hns/hnae.h u32 *auto_neg, u32 *rx_en, u32 *tx_en); rx_en 493 drivers/net/ethernet/hisilicon/hns/hnae.h u32 auto_neg, u32 rx_en, u32 tx_en); rx_en 478 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c u32 *auto_neg, u32 *rx_en, u32 *tx_en) rx_en 485 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c hns_mac_get_pauseparam(mac_cb, rx_en, tx_en); rx_en 489 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c hns_dsaf_get_rx_mac_pause_en(dsaf_dev, mac_cb->mac_id, rx_en); rx_en 519 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c u32 autoneg, u32 rx_en, u32 tx_en) rx_en 532 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c mac_cb->mac_id, rx_en); rx_en 535 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c rx_en = 0; rx_en 537 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c return hns_mac_set_pauseparam(mac_cb, rx_en, tx_en); rx_en 565 drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c void hns_mac_get_pauseparam(struct hns_mac_cb *mac_cb, u32 *rx_en, u32 *tx_en) rx_en 570 drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c mac_ctrl_drv->get_pause_enable(mac_ctrl_drv, rx_en, tx_en); rx_en 572 drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c *rx_en = 0; rx_en 605 drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c int hns_mac_set_pauseparam(struct hns_mac_cb *mac_cb, u32 rx_en, u32 tx_en) rx_en 611 drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c if (is_ver1 && (tx_en || rx_en)) { rx_en 618 drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c mac_ctrl_drv->mac_pausefrm_cfg(mac_ctrl_drv, rx_en, tx_en); rx_en 375 drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.h void (*mac_pausefrm_cfg)(void *mac_drv, u32 rx_en, u32 tx_en); rx_en 378 drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.h int (*set_pause_enable)(void *mac_drv, u32 rx_en, u32 tx_en); rx_en 379 drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.h void (*get_pause_enable)(void *mac_drv, u32 *rx_en, u32 *tx_en); rx_en 442 drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.h void hns_mac_get_pauseparam(struct hns_mac_cb *mac_cb, u32 *rx_en, u32 *tx_en); rx_en 444 drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.h int hns_mac_set_pauseparam(struct hns_mac_cb *mac_cb, u32 rx_en, u32 tx_en); rx_en 1168 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c int mac_id, int tx_en, int rx_en) rx_en 1171 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c if (!tx_en || !rx_en) rx_en 1178 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c DSAF_PFC_PAUSE_RX_EN_B, !!rx_en); rx_en 247 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c static void hns_xgmac_pausefrm_cfg(void *mac_drv, u32 rx_en, u32 tx_en) rx_en 253 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c dsaf_set_bit(origin, XGMAC_PAUSE_CTL_RX_B, !!rx_en); rx_en 468 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c static void hns_xgmac_get_pausefrm_cfg(void *mac_drv, u32 *rx_en, u32 *tx_en) rx_en 474 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c *rx_en = dsaf_get_bit(pause_ctrl, XGMAC_PAUSE_CTL_RX_B); rx_en 405 drivers/net/ethernet/hisilicon/hns3/hnae3.h u32 *auto_neg, u32 *rx_en, u32 *tx_en); rx_en 407 drivers/net/ethernet/hisilicon/hns3/hnae3.h u32 auto_neg, u32 rx_en, u32 tx_en); rx_en 8606 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static void hclge_set_flowctrl_adv(struct hclge_dev *hdev, u32 rx_en, u32 tx_en) rx_en 8613 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c phy_set_asym_pause(phydev, rx_en, tx_en); rx_en 8616 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static int hclge_cfg_pauseparam(struct hclge_dev *hdev, u32 rx_en, u32 tx_en) rx_en 8623 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c ret = hclge_mac_pause_en_cfg(hdev, tx_en, rx_en); rx_en 8664 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c u32 *rx_en, u32 *tx_en) rx_en 8673 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c *rx_en = 0; rx_en 8679 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c *rx_en = 1; rx_en 8683 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c *rx_en = 0; rx_en 8685 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c *rx_en = 1; rx_en 8688 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c *rx_en = 0; rx_en 8694 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c u32 rx_en, u32 tx_en) rx_en 8696 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c if (rx_en && tx_en) rx_en 8698 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c else if (rx_en && !tx_en) rx_en 8700 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c else if (!rx_en && tx_en) rx_en 8709 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c u32 rx_en, u32 tx_en) rx_en 8731 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c hclge_set_flowctrl_adv(hdev, rx_en, tx_en); rx_en 8733 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c hclge_record_user_pauseparam(hdev, rx_en, tx_en); rx_en 8736 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c return hclge_cfg_pauseparam(hdev, rx_en, tx_en); rx_en 1282 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c bool tx_en, rx_en; rx_en 1287 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c rx_en = false; rx_en 1291 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c rx_en = true; rx_en 1295 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c rx_en = false; rx_en 1299 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c rx_en = true; rx_en 1303 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c rx_en = false; rx_en 1307 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c rx_en = true; rx_en 1310 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c return hclge_mac_pause_en_cfg(hdev, tx_en, rx_en); rx_en 338 drivers/net/ethernet/ti/cpsw.c writel_relaxed(0xFF, &cpsw->wr_regs->rx_en); rx_en 347 drivers/net/ethernet/ti/cpsw.c writel_relaxed(0, &cpsw->wr_regs->rx_en); rx_en 893 drivers/net/ethernet/ti/cpsw.c writel(0, &cpsw->wr_regs->rx_en); rx_en 981 drivers/net/ethernet/ti/cpsw.c writel(0xff, &cpsw->wr_regs->rx_en); rx_en 995 drivers/net/ethernet/ti/cpsw.c writel(0xff, &cpsw->wr_regs->rx_en); rx_en 141 drivers/net/ethernet/ti/cpsw_priv.h u32 rx_en;