/linux/drivers/net/ethernet/atheros/alx/ |
H A 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 in alx_set_pauseparam() [all...] |
H A D | hw.h | 487 u8 flowctrl; member 550 int alx_setup_speed_duplex(struct alx_hw *hw, u32 ethadv, u8 flowctrl);
|
H A 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()
|
H A D | main.c | 1083 hw->flowctrl = ALX_FC_ANEG | ALX_FC_RX | ALX_FC_TX; in alx_init_sw() 1813 err = alx_setup_speed_duplex(hw, hw->adv_cfg, hw->flowctrl); in alx_probe()
|
/linux/drivers/net/ethernet/asix/ |
H A 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()
|
H A 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()
|
H A D | ax88796c_main.h | 119 int flowctrl; member
|
/linux/drivers/net/caif/ |
H A D | caif_serial.c | 245 ser->common.flowctrl != NULL) in handle_tx() 246 ser->common.flowctrl(ser->dev, ON); in handle_tx() 263 ser->common.flowctrl != NULL) in caif_xmit() 265 ser->common.flowctrl(ser->dev, OFF); in caif_xmit()
|
/linux/include/net/caif/ |
H A D | caif_device.h | 17 * @flowctrl: Flow Control callback function. This function is 43 * CAIF Core layer must set the member flowctrl in order to supply 48 void (*flowctrl)(struct net_device *net, int on); member
|
/linux/drivers/soc/tegra/ |
H A D | Makefile | 6 obj-$(CONFIG_SOC_TEGRA_FLOWCTRL) += flowctrl.o
|
/linux/drivers/net/ethernet/broadcom/ |
H A D | tg3.c | 1903 u32 flowctrl = 0; in tg3_decode_flowctrl_1000T() local 1906 flowctrl |= FLOW_CTRL_RX; in tg3_decode_flowctrl_1000T() 1908 flowctrl |= FLOW_CTRL_TX; in tg3_decode_flowctrl_1000T() 1910 flowctrl |= FLOW_CTRL_TX; in tg3_decode_flowctrl_1000T() 1912 return flowctrl; in tg3_decode_flowctrl_1000T() 1933 u32 flowctrl = 0; in tg3_decode_flowctrl_1000X() local 1936 flowctrl |= FLOW_CTRL_RX; in tg3_decode_flowctrl_1000X() 1938 flowctrl |= FLOW_CTRL_TX; in tg3_decode_flowctrl_1000X() 1940 flowctrl |= FLOW_CTRL_TX; in tg3_decode_flowctrl_1000X() 1942 return flowctrl; in tg3_decode_flowctrl_1000X() 1964 u8 flowctrl = 0; tg3_setup_flow_control() local 4323 tg3_phy_autoneg_cfg(struct tg3 * tp,u32 advertise,u32 flowctrl) tg3_phy_autoneg_cfg() argument 5144 u16 flowctrl; tg3_fiber_aneg_smachine() local 5490 u16 flowctrl; tg3_setup_fiber_hw_autoneg() local [all...] |
H A D | tg3.h | 2879 u8 flowctrl; member
|
/linux/net/caif/ |
H A D | caif_usb.c | 171 common.flowctrl = NULL; in cfusbl_device_notify()
|
/linux/arch/arm/boot/dts/st/ |
H A D | stih410-b2260.dts | 97 pinctrl-names = "default", "no-hw-flowctrl";
|
/linux/drivers/net/ethernet/freescale/ |
H A D | gianfar.c | 1458 u8 flowctrl; in gfar_get_flowctrl_cfg() local 1467 flowctrl = mii_resolve_flowctrl_fdx(lcl_adv, rmt_adv); in gfar_get_flowctrl_cfg() 1468 if (flowctrl & FLOW_CTRL_TX) in gfar_get_flowctrl_cfg() 1470 if (flowctrl & FLOW_CTRL_RX) in gfar_get_flowctrl_cfg()
|
/linux/arch/arm64/boot/dts/nvidia/ |
H A D | tegra132.dtsi | 238 compatible = "nvidia,tegra132-flowctrl", "nvidia,tegra124-flowctrl";
|
H A D | tegra210.dtsi | 484 compatible = "nvidia,tegra210-flowctrl";
|
/linux/arch/arm/boot/dts/nvidia/ |
H A D | tegra114.dtsi | 199 compatible = "nvidia,tegra114-flowctrl";
|
H A D | tegra20.dtsi | 283 compatible = "nvidia,tegra20-flowctrl";
|
H A D | tegra30.dtsi | 430 compatible = "nvidia,tegra30-flowctrl";
|