Home
last modified time | relevance | path

Searched refs:flowctrl (Results 1 – 14 of 14) sorted by relevance

/drivers/net/ethernet/atheros/alx/
Dethtool.c155 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 …]
Dhw.h487 u8 flowctrl; member
550 int alx_setup_speed_duplex(struct alx_hw *hw, u32 ethadv, u8 flowctrl);
Dhw.c722 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()
Dmain.c1084 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/
Dax88796c_ioctl.c49 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()
Dax88796c_main.c717 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()
Dax88796c_main.h119 int flowctrl; member
/drivers/net/caif/
Dcaif_serial.c259 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/
Dmac.c151 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/
DMakefile6 obj-$(CONFIG_SOC_TEGRA_FLOWCTRL) += flowctrl.o
/drivers/net/ethernet/dlink/
Dsundance.c39 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/
Dtg3.c1902 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 …]
Dtg3.h2879 u8 flowctrl; member
/drivers/net/ethernet/freescale/
Dgianfar.c1465 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()