/linux/drivers/net/ethernet/hisilicon/hns/ |
H A D | hns_dsaf_mac.c | 595 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()
|
/linux/drivers/net/ethernet/chelsio/cxgb4vf/ |
H A D | t4vf_common.h | 395 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,
|
H A D | t4vf_hw.c | 1396 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/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
H A D | hclge_tm.c | 1558 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()
|
H A D | hclge_main.c | 3177 bool rx_en, tx_en; in hclge_update_pause_advertising() local 3181 rx_en = true; in hclge_update_pause_advertising() 3185 rx_en = false; in hclge_update_pause_advertising() 3189 rx_en = true; in hclge_update_pause_advertising() 3193 rx_en = false; in hclge_update_pause_advertising() 3198 linkmode_set_pause(mac->advertising, tx_en, rx_en); in hclge_update_pause_advertising() 10931 static void hclge_set_flowctrl_adv(struct hclge_dev *hdev, u32 rx_en, u32 tx_en) in hclge_set_flowctrl_adv() argument 10938 phy_set_asym_pause(phydev, rx_en, tx_en); in hclge_set_flowctrl_adv() 10941 static int hclge_cfg_pauseparam(struct hclge_dev *hdev, u32 rx_en, u32 tx_en) in hclge_cfg_pauseparam() argument 10948 ret = hclge_mac_pause_en_cfg(hdev, tx_en, rx_en); in hclge_cfg_pauseparam() [all …]
|
/linux/drivers/net/ethernet/ti/ |
H A D | cpsw_priv.c | 39 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()
|
H A D | cpsw_priv.h | 149 u32 rx_en; member
|
/linux/arch/mips/include/asm/octeon/ |
H A 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/drivers/net/ethernet/cavium/thunder/ |
H A D | thunder_bgx.c | 509 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/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | cxgb4.h | 2021 unsigned int viid, bool rx_en, bool tx_en, bool dcb_en); 2024 bool rx_en, bool tx_en, bool dcb_en); 2026 bool rx_en, bool tx_en);
|
H A D | t4_hw.c | 8226 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()
|