Searched refs:flowctrl (Results 1 – 13 of 13) 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() 203 return alx_setup_speed_duplex(hw, adv_cfg, hw->flowctrl); in alx_set_link_ksettings() 212 pause->autoneg = !!(hw->flowctrl & ALX_FC_ANEG && in alx_get_pauseparam() 214 pause->tx_pause = !!(hw->flowctrl & ALX_FC_TX); in alx_get_pauseparam() 215 pause->rx_pause = !!(hw->flowctrl & ALX_FC_RX); in alx_get_pauseparam() 239 if (!((fc ^ hw->flowctrl) & ALX_FC_ANEG)) in alx_set_pauseparam() 241 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() 1789 err = alx_setup_speed_duplex(hw, hw->adv_cfg, hw->flowctrl); in alx_probe()
|
/drivers/net/caif/ |
D | caif_serial.c | 260 ser->common.flowctrl != NULL) in handle_tx() 261 ser->common.flowctrl(ser->dev, ON); in handle_tx() 278 ser->common.flowctrl != NULL) in caif_xmit() 280 ser->common.flowctrl(ser->dev, OFF); in caif_xmit()
|
D | caif_hsi.c | 380 cfhsi->cfdev.flowctrl) { in cfhsi_tx_done() 383 cfhsi->cfdev.flowctrl(cfhsi->ndev, ON); in cfhsi_tx_done() 1042 cfhsi->cfdev.flowctrl) { in cfhsi_xmit() 1044 cfhsi->cfdev.flowctrl(cfhsi->ndev, OFF); in cfhsi_xmit()
|
/drivers/soc/tegra/ |
D | Makefile | 5 obj-$(CONFIG_SOC_TEGRA_FLOWCTRL) += flowctrl.o
|
/drivers/net/ethernet/freescale/fman/ |
D | mac.c | 386 u8 flowctrl; in fman_get_pause_cfg() local 419 flowctrl = mii_resolve_flowctrl_fdx(lcl_adv, rmt_adv); in fman_get_pause_cfg() 420 if (flowctrl & FLOW_CTRL_RX) in fman_get_pause_cfg() 422 if (flowctrl & FLOW_CTRL_TX) in fman_get_pause_cfg()
|
/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 646 if (flowctrl == 1) in sundance_probe1() 647 np->flowctrl = 1; in sundance_probe1() 663 if (np->flowctrl) in sundance_probe1() 1488 if (np->flowctrl && np->mii_if.full_duplex) { in netdev_error() 1585 if (np->mii_if.full_duplex && np->flowctrl) in set_rx_mode()
|
/drivers/net/ethernet/broadcom/ |
D | tg3.c | 1908 u32 flowctrl = 0; in tg3_decode_flowctrl_1000T() local 1911 flowctrl |= FLOW_CTRL_RX; in tg3_decode_flowctrl_1000T() 1913 flowctrl |= FLOW_CTRL_TX; in tg3_decode_flowctrl_1000T() 1915 flowctrl |= FLOW_CTRL_TX; in tg3_decode_flowctrl_1000T() 1917 return flowctrl; in tg3_decode_flowctrl_1000T() 1938 u32 flowctrl = 0; in tg3_decode_flowctrl_1000X() local 1941 flowctrl |= FLOW_CTRL_RX; in tg3_decode_flowctrl_1000X() 1943 flowctrl |= FLOW_CTRL_TX; in tg3_decode_flowctrl_1000X() 1945 flowctrl |= FLOW_CTRL_TX; in tg3_decode_flowctrl_1000X() 1947 return flowctrl; in tg3_decode_flowctrl_1000X() [all …]
|
D | tg3.h | 2879 u8 flowctrl; member
|
/drivers/net/ethernet/freescale/ |
D | gianfar.c | 1498 u8 flowctrl; in gfar_get_flowctrl_cfg() local 1507 flowctrl = mii_resolve_flowctrl_fdx(lcl_adv, rmt_adv); in gfar_get_flowctrl_cfg() 1508 if (flowctrl & FLOW_CTRL_TX) in gfar_get_flowctrl_cfg() 1510 if (flowctrl & FLOW_CTRL_RX) in gfar_get_flowctrl_cfg()
|
/drivers/tty/ |
D | mxser.c | 213 int flowctrl[32]; member 1628 me->flowctrl[p] |= 0x03; in mxser_ioctl_special() 1631 me->flowctrl[p] |= 0x0C; in mxser_ioctl_special()
|