Searched refs:flowctrl (Results 1 – 14 of 14) sorted by relevance
/drivers/net/ethernet/atheros/alx/ |
D | ethtool.c | 155 if (hw->flowctrl & ALX_FC_ANEG && hw->adv_cfg & ADVERTISED_Autoneg) { in alx_get_link_ksettings() 156 if (hw->flowctrl & ALX_FC_RX) { in alx_get_link_ksettings() 159 if (!(hw->flowctrl & ALX_FC_TX)) in alx_get_link_ksettings() 161 } else if (hw->flowctrl & ALX_FC_TX) { in alx_get_link_ksettings() 206 ret = alx_setup_speed_duplex(hw, adv_cfg, hw->flowctrl); in alx_set_link_ksettings() 219 pause->autoneg = !!(hw->flowctrl & ALX_FC_ANEG && in alx_get_pauseparam() 221 pause->tx_pause = !!(hw->flowctrl & ALX_FC_TX); in alx_get_pauseparam() 222 pause->rx_pause = !!(hw->flowctrl & ALX_FC_RX); in alx_get_pauseparam() 247 if (!((fc ^ hw->flowctrl) & ALX_FC_ANEG)) in alx_set_pauseparam() 249 if (fc & hw->flowctrl & ALX_FC_ANEG && in alx_set_pauseparam() [all …]
|
D | hw.h | 487 u8 flowctrl; member 550 int alx_setup_speed_duplex(struct alx_hw *hw, u32 ethadv, u8 flowctrl);
|
D | hw.c | 722 int alx_setup_speed_duplex(struct alx_hw *hw, u32 ethadv, u8 flowctrl) in alx_setup_speed_duplex() argument 736 if (flowctrl & ALX_FC_ANEG) { in alx_setup_speed_duplex() 737 if (flowctrl & ALX_FC_RX) { in alx_setup_speed_duplex() 739 if (!(flowctrl & ALX_FC_TX)) in alx_setup_speed_duplex() 741 } else if (flowctrl & ALX_FC_TX) { in alx_setup_speed_duplex()
|
D | main.c | 1084 hw->flowctrl = ALX_FC_ANEG | ALX_FC_RX | ALX_FC_TX; in alx_init_sw() 1815 err = alx_setup_speed_duplex(hw, hw->adv_cfg, hw->flowctrl); in alx_probe()
|
/drivers/net/ethernet/asix/ |
D | ax88796c_ioctl.c | 49 pause->tx_pause = !!(ax_local->flowctrl & AX_FC_TX); in ax88796c_get_pauseparam() 50 pause->rx_pause = !!(ax_local->flowctrl & AX_FC_RX); in ax88796c_get_pauseparam() 51 pause->autoneg = (ax_local->flowctrl & AX_FC_ANEG) ? in ax88796c_get_pauseparam() 67 ax_local->flowctrl = fc; in ax88796c_set_pauseparam() 76 maccr |= (ax_local->flowctrl & AX_FC_RX) ? MACCR_RXFC_ENABLE : 0; in ax88796c_set_pauseparam() 77 maccr |= (ax_local->flowctrl & AX_FC_TX) ? MACCR_TXFC_ENABLE : 0; in ax88796c_set_pauseparam()
|
D | ax88796c_main.c | 717 if (ax_local->flowctrl & AX_FC_ANEG && in ax88796c_set_mac() 723 maccr |= (ax_local->flowctrl & AX_FC_RX) ? MACCR_RXFC_ENABLE : 0; in ax88796c_set_mac() 724 maccr |= (ax_local->flowctrl & AX_FC_TX) ? MACCR_TXFC_ENABLE : 0; in ax88796c_set_mac() 867 ax_local->flowctrl = fc; in ax88796c_open()
|
D | ax88796c_main.h | 119 int flowctrl; member
|
/drivers/net/caif/ |
D | caif_serial.c | 259 ser->common.flowctrl != NULL) in handle_tx() 260 ser->common.flowctrl(ser->dev, ON); in handle_tx() 277 ser->common.flowctrl != NULL) in caif_xmit() 279 ser->common.flowctrl(ser->dev, OFF); in caif_xmit()
|
/drivers/net/ethernet/freescale/fman/ |
D | mac.c | 151 u8 flowctrl; in fman_get_pause_cfg() local 184 flowctrl = mii_resolve_flowctrl_fdx(lcl_adv, rmt_adv); in fman_get_pause_cfg() 185 if (flowctrl & FLOW_CTRL_RX) in fman_get_pause_cfg() 187 if (flowctrl & FLOW_CTRL_TX) in fman_get_pause_cfg()
|
/drivers/soc/tegra/ |
D | Makefile | 6 obj-$(CONFIG_SOC_TEGRA_FLOWCTRL) += flowctrl.o
|
/drivers/net/ethernet/dlink/ |
D | sundance.c | 39 static int flowctrl=1; variable 108 module_param(flowctrl, int, 0); 111 MODULE_PARM_DESC(flowctrl, "Sundance Alta flow control [0|1]"); 393 unsigned int flowctrl:1; member 648 if (flowctrl == 1) in sundance_probe1() 649 np->flowctrl = 1; in sundance_probe1() 665 if (np->flowctrl) in sundance_probe1() 1490 if (np->flowctrl && np->mii_if.full_duplex) { in netdev_error() 1587 if (np->mii_if.full_duplex && np->flowctrl) in set_rx_mode()
|
/drivers/net/ethernet/broadcom/ |
D | tg3.c | 1902 u32 flowctrl = 0; in tg3_decode_flowctrl_1000T() local 1905 flowctrl |= FLOW_CTRL_RX; in tg3_decode_flowctrl_1000T() 1907 flowctrl |= FLOW_CTRL_TX; in tg3_decode_flowctrl_1000T() 1909 flowctrl |= FLOW_CTRL_TX; in tg3_decode_flowctrl_1000T() 1911 return flowctrl; in tg3_decode_flowctrl_1000T() 1932 u32 flowctrl = 0; in tg3_decode_flowctrl_1000X() local 1935 flowctrl |= FLOW_CTRL_RX; in tg3_decode_flowctrl_1000X() 1937 flowctrl |= FLOW_CTRL_TX; in tg3_decode_flowctrl_1000X() 1939 flowctrl |= FLOW_CTRL_TX; in tg3_decode_flowctrl_1000X() 1941 return flowctrl; in tg3_decode_flowctrl_1000X() [all …]
|
D | tg3.h | 2879 u8 flowctrl; member
|
/drivers/net/ethernet/freescale/ |
D | gianfar.c | 1465 u8 flowctrl; in gfar_get_flowctrl_cfg() local 1474 flowctrl = mii_resolve_flowctrl_fdx(lcl_adv, rmt_adv); in gfar_get_flowctrl_cfg() 1475 if (flowctrl & FLOW_CTRL_TX) in gfar_get_flowctrl_cfg() 1477 if (flowctrl & FLOW_CTRL_RX) in gfar_get_flowctrl_cfg()
|