| /linux/drivers/net/ethernet/hisilicon/hibmcge/ |
| H A D | hbg_hw.c | 272 void hbg_hw_set_pause_enable(struct hbg_priv *priv, u32 tx_en, u32 rx_en) in hbg_hw_set_pause_enable() argument 275 HBG_REG_PAUSE_ENABLE_TX_B, tx_en); in hbg_hw_set_pause_enable() 283 void hbg_hw_get_pause_enable(struct hbg_priv *priv, u32 *tx_en, u32 *rx_en) in hbg_hw_get_pause_enable() argument 285 *tx_en = hbg_reg_read_field(priv, HBG_REG_PAUSE_ENABLE_ADDR, in hbg_hw_get_pause_enable()
|
| /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() 603 *tx_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 | 396 bool tx_en); 398 bool tx_en);
|
| H A D | t4vf_hw.c | 1396 bool rx_en, bool tx_en) in t4vf_enable_vi() argument 1406 FW_VI_ENABLE_CMD_EEN_V(tx_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 1562 tx_en = false; in hclge_mac_pause_setup_hw() 1566 tx_en = false; in hclge_mac_pause_setup_hw() 1570 tx_en = true; in hclge_mac_pause_setup_hw() 1574 tx_en = true; in hclge_mac_pause_setup_hw() 1578 tx_en = false; in hclge_mac_pause_setup_hw() 1582 tx_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()
|
| /linux/arch/mips/include/asm/octeon/ |
| H A 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;
|
| /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 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()
|
| /linux/drivers/net/ethernet/broadcom/bnx2x/ |
| H A 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() 7786 u8 tx_en) in bnx2x_sfp_e1e2_set_transmitter() argument 7799 "mode = %x\n", tx_en, port, tx_en_mode); in bnx2x_sfp_e1e2_set_transmitter() 7808 if (tx_en) in bnx2x_sfp_e1e2_set_transmitter() 7825 if (tx_en) in bnx2x_sfp_e1e2_set_transmitter() 7843 u8 tx_en) in bnx2x_sfp_set_transmitter() argument 7846 DP(NETIF_MSG_LINK, "Setting SFP+ transmitter to %d\n", tx_en); in bnx2x_sfp_set_transmitter() [all …]
|
| /linux/drivers/net/ethernet/chelsio/cxgb4/ |
| 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 8235 FW_VI_ENABLE_CMD_EEN_V(tx_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/arch/arm/boot/dts/rockchip/ |
| H A D | rk3188.dtsi | 313 rockchip,pins = <3 RK_PC0 2 &pcfg_pull_none>, /* tx_en */
|
| H A D | rk3066a.dtsi | 387 <1 RK_PC1 2 &pcfg_pull_none>, /* tx_en */
|
| H A D | rk3036.dtsi | 807 <2 RK_PB5 1 &pcfg_pull_default>, /* tx_en */
|
| /linux/drivers/net/ethernet/broadcom/ |
| H A D | bcm63xx_enet.c | 764 static void bcm_enet_set_flow(struct bcm_enet_priv *priv, int rx_en, int tx_en) in bcm_enet_set_flow() argument 781 if (tx_en) in bcm_enet_set_flow()
|