Lines Matching full:flow
1838 * configuration and flow control settings. Clears all on-chip counters. Leaves
1976 /* Call a subroutine to configure the link and setup flow control. */ in e1000_init_hw()
2052 * Configures flow control and link settings.
2056 * Determines which flow control settings to use. Calls the apropriate media-
2057 * specific link configuration function. Configures the flow control settings.
2080 * that determine the hardware's default PAUSE (flow control) mode, in e1000_setup_link()
2083 * SW defined pins. If there is no SW over-ride of the flow in e1000_setup_link()
2121 /* We want to save off the original Flow Control configuration just in e1000_setup_link()
2123 * hub or switch with different Flow Control capabilities. in e1000_setup_link()
2157 /* Initialize the flow control address, type, and PAUSE timer in e1000_setup_link()
2158 * registers to their default values. This is done even if flow in e1000_setup_link()
2162 DEBUGOUT("Initializing the Flow Control address, type" in e1000_setup_link()
2174 /* Set the flow control receive threshold registers. Normally, in e1000_setup_link()
2236 /* Check for a software override of the flow control settings, and setup in e1000_setup_fiber_link()
2241 * configure the two flow control enable bits in the CTRL register. in e1000_setup_fiber_link()
2244 * 0: Flow control is completely disabled in e1000_setup_fiber_link()
2245 * 1: Rx flow control is enabled (we can receive pause frames, but in e1000_setup_fiber_link()
2247 * 2: Tx flow control is enabled (we can send pause frames but we do in e1000_setup_fiber_link()
2249 * 3: Both Rx and TX flow control (symmetric) are enabled. in e1000_setup_fiber_link()
2253 /* Flow control is completely disabled by a software over-ride. */ in e1000_setup_fiber_link()
2257 /* RX Flow control is enabled and TX Flow control is disabled by a in e1000_setup_fiber_link()
2266 /* TX Flow control is enabled, and RX Flow control is disabled, by a in e1000_setup_fiber_link()
2272 /* Flow control (both RX and TX) is enabled by a software over-ride. */ in e1000_setup_fiber_link()
2276 DEBUGOUT("Flow control param set incorrectly\n"); in e1000_setup_fiber_link()
2284 * link-up status bit will be set and the flow control enable bits (RFCE in e1000_setup_fiber_link()
3124 * Setup auto-negotiation and flow control advertisements,
3199 * 2) Set up flow control on the MAC to that established with
3222 DEBUGOUT("Error Configuring Flow Control\n"); in e1000_copper_link_postconfig()
3303 /* Setup autoneg and flow control advertisement in e1000_setup_copper_link()
3337 * Configures PHY autoneg and flow control advertisement settings
3416 /* Check for a software override of the flow control settings, and in e1000_phy_setup_autoneg()
3423 * 0: Flow control is completely disabled in e1000_phy_setup_autoneg()
3424 * 1: Rx flow control is enabled (we can receive pause frames in e1000_phy_setup_autoneg()
3426 * 2: Tx flow control is enabled (we can send pause frames in e1000_phy_setup_autoneg()
3428 * 3: Both Rx and TX flow control (symmetric) are enabled. in e1000_phy_setup_autoneg()
3429 * other: No software override. The flow control configuration in e1000_phy_setup_autoneg()
3434 /* Flow control (RX & TX) is completely disabled by a in e1000_phy_setup_autoneg()
3440 /* RX Flow control is enabled, and TX Flow control is in e1000_phy_setup_autoneg()
3452 /* TX Flow control is enabled, and RX Flow control is in e1000_phy_setup_autoneg()
3459 /* Flow control (both RX and TX) is enabled by a software in e1000_phy_setup_autoneg()
3465 DEBUGOUT("Flow control param set incorrectly\n"); in e1000_phy_setup_autoneg()
3566 * Forces the MAC's flow control settings.
3589 * receive flow control. in e1000_force_mac_fc()
3591 * The "Case" statement below enables/disable flow control in e1000_force_mac_fc()
3595 * 0: Flow control is completely disabled in e1000_force_mac_fc()
3596 * 1: Rx flow control is enabled (we can receive pause in e1000_force_mac_fc()
3598 * 2: Tx flow control is enabled (we can send pause frames in e1000_force_mac_fc()
3600 * 3: Both Rx and TX flow control (symmetric) is enabled. in e1000_force_mac_fc()
3620 DEBUGOUT("Flow control param set incorrectly\n"); in e1000_force_mac_fc()
3624 /* Disable TX Flow Control for 82542 (rev 2.0) */ in e1000_force_mac_fc()
3633 * Configures flow control settings after link is established
3638 * Forces MAC flow control settings if link was forced. When in MII/GMII mode
3639 * and autonegotiation is enabled, the MAC flow control settings will be set
3640 * based on the flow control negotiated by the PHY. In TBI mode, the TFCE
3641 * and RFCE bits will be automaticaly set to the negotiated flow control mode.
3666 DEBUGOUT("Error forcing flow control settings\n"); in e1000_config_fc_after_link_up()
3674 * flow control configured. in e1000_config_fc_after_link_up()
3694 * Register (Address 5) to determine how flow control was in e1000_config_fc_after_link_up()
3711 * Page Ability Register (Address 5) determine flow control in e1000_config_fc_after_link_up()
3714 * 1999, describes these PAUSE resolution bits and how flow in e1000_config_fc_after_link_up()
3732 * Symmetric Flow Control is enabled at both ends. The in e1000_config_fc_after_link_up()
3735 * For Symmetric Flow Control: in e1000_config_fc_after_link_up()
3747 * FULL flow control because we could not advertise RX in e1000_config_fc_after_link_up()
3753 DEBUGOUT("Flow Control = FULL.\r\n"); in e1000_config_fc_after_link_up()
3757 ("Flow Control = RX PAUSE frames only.\r\n"); in e1000_config_fc_after_link_up()
3775 ("Flow Control = TX PAUSE frames only.\r\n"); in e1000_config_fc_after_link_up()
3792 ("Flow Control = RX PAUSE frames only.\r\n"); in e1000_config_fc_after_link_up()
3794 /* Per the IEEE spec, at this point flow control should be in e1000_config_fc_after_link_up()
3797 * desired flow control, but can be forced on the link in e1000_config_fc_after_link_up()
3798 * partner. So if we advertised no flow control, that is in e1000_config_fc_after_link_up()
3800 * receive capability (Rx Pause Only or Full Flow Control) in e1000_config_fc_after_link_up()
3802 * ourselves to enable Rx Flow Control only. We can do in e1000_config_fc_after_link_up()
3804 * didn't want flow control enabled, and we enable Rx, no in e1000_config_fc_after_link_up()
3807 * flow control enabled, then by us enabling RX only, we in e1000_config_fc_after_link_up()
3817 DEBUGOUT("Flow Control = NONE.\r\n"); in e1000_config_fc_after_link_up()
3821 ("Flow Control = RX PAUSE frames only.\r\n"); in e1000_config_fc_after_link_up()
3825 * negotiated to HALF DUPLEX, flow control should not be in e1000_config_fc_after_link_up()
3834 * controller to use the correct flow control settings. in e1000_config_fc_after_link_up()
3839 ("Error forcing flow control settings\n"); in e1000_config_fc_after_link_up()
3932 /* Configure Flow Control now that Auto-Neg has completed. First, we in e1000_check_for_link()
3933 * need to restore the desired flow control settings because we may in e1000_check_for_link()
3938 DEBUGOUT("Error configuring flow control\n"); in e1000_check_for_link()
4012 /* Configure Flow Control after forcing link up. */ in e1000_check_for_link()
4015 DEBUGOUT("Error configuring flow control\n"); in e1000_check_for_link()
5099 /* flow control settings */ in e1000_sw_init()