/Linux-v5.4/drivers/net/phy/ |
D | phylink.c | 133 phylink_set(tmp, Pause); in phylink_is_empty_linkmode() 179 /* We treat the "pause" and "asym-pause" terminology as in phylink_parse_fixedlink() 181 if (fwnode_property_read_bool(fixed_node, "pause")) in phylink_parse_fixedlink() 182 pl->link_config.pause |= MLO_PAUSE_SYM; in phylink_parse_fixedlink() 183 if (fwnode_property_read_bool(fixed_node, "asym-pause")) in phylink_parse_fixedlink() 184 pl->link_config.pause |= MLO_PAUSE_ASYM; in phylink_parse_fixedlink() 216 pl->link_config.pause |= MLO_PAUSE_SYM; in phylink_parse_fixedlink() 218 pl->link_config.pause |= MLO_PAUSE_ASYM; in phylink_parse_fixedlink() 235 phylink_set(pl->supported, Pause); in phylink_parse_fixedlink() 276 phylink_set(pl->supported, Pause); in phylink_parse_mode() [all …]
|
/Linux-v5.4/drivers/net/ethernet/qlogic/netxen/ |
D | netxen_nic_hw.h | 31 * Bit 4 : tx_flowctl => 1:enable pause frame generation, 0:disable 32 * Bit 5 : rx_flowctl => 1:act on recv'd pause frames, 0:ignore 106 * NIU XG Pause Ctl Register 108 * Bit 0 : xg0_mask => 1:disable tx pause frames 109 * Bit 1 : xg0_request => 1:request single pause frame 110 * Bit 2 : xg0_on_off => 1:request is pause on, 0:off 111 * Bit 3 : xg1_mask => 1:disable tx pause frames 112 * Bit 4 : xg1_request => 1:request single pause frame 113 * Bit 5 : xg1_on_off => 1:request is pause on, 0:off 132 * NIU XG Pause Ctl Register [all …]
|
D | netxen_nic_ethtool.c | 473 struct ethtool_pauseparam *pause) in netxen_nic_get_pauseparam() argument 479 pause->autoneg = 0; in netxen_nic_get_pauseparam() 486 pause->rx_pause = netxen_gb_get_rx_flowctl(val); in netxen_nic_get_pauseparam() 490 pause->tx_pause = !(netxen_gb_get_gb0_mask(val)); in netxen_nic_get_pauseparam() 493 pause->tx_pause = !(netxen_gb_get_gb1_mask(val)); in netxen_nic_get_pauseparam() 496 pause->tx_pause = !(netxen_gb_get_gb2_mask(val)); in netxen_nic_get_pauseparam() 500 pause->tx_pause = !(netxen_gb_get_gb3_mask(val)); in netxen_nic_get_pauseparam() 506 pause->rx_pause = 1; in netxen_nic_get_pauseparam() 509 pause->tx_pause = !(netxen_xg_get_xg0_mask(val)); in netxen_nic_get_pauseparam() 511 pause->tx_pause = !(netxen_xg_get_xg1_mask(val)); in netxen_nic_get_pauseparam() [all …]
|
/Linux-v5.4/drivers/net/ethernet/oki-semi/pch_gbe/ |
D | pch_gbe_ethtool.c | 366 * pch_gbe_get_pauseparam - Report pause parameters 368 * @pause: Pause parameters structure 371 struct ethtool_pauseparam *pause) in pch_gbe_get_pauseparam() argument 376 pause->autoneg = in pch_gbe_get_pauseparam() 380 pause->rx_pause = 1; in pch_gbe_get_pauseparam() 382 pause->tx_pause = 1; in pch_gbe_get_pauseparam() 384 pause->rx_pause = 1; in pch_gbe_get_pauseparam() 385 pause->tx_pause = 1; in pch_gbe_get_pauseparam() 390 * pch_gbe_set_pauseparam - Set pause parameters 392 * @pause: Pause parameters structure [all …]
|
/Linux-v5.4/drivers/slimbus/ |
D | sched.c | 11 * 'clock pause' 13 * @wakeup: Wakeup this controller from clock pause. 14 * @restart: Restart time value per spec used for clock pause. This value 20 * To exit clock-pause, controller typically wakes up active framer device. 21 * This API executes clock pause reconfiguration sequence if wakeup is false. 23 * For entering clock-pause, -EBUSY is returned if a message txn in pending. 53 pr_err("Previous clock pause did not finish"); in slim_ctrl_clk_pause() 61 * out of clock pause in slim_ctrl_clk_pause() 91 /* clock pause sequence */ in slim_ctrl_clk_pause()
|
/Linux-v5.4/drivers/net/ethernet/intel/igc/ |
D | igc_mac.c | 89 * ability to transmit pause frames is not enabled, then these in igc_set_fc_watermarks() 130 * to the both 'rx' and 'tx' pause frames. in igc_setup_link() 148 /* Initialize the flow control address, type, and PAUSE timer in igc_setup_link() 193 * 1: Rx flow control is enabled (we can receive pause in igc_force_mac_fc() 194 * frames but not send pause frames). in igc_force_mac_fc() 195 * 2: Tx flow control is enabled (we can send pause frames in igc_force_mac_fc() 196 * frames but we do not receive pause frames). in igc_force_mac_fc() 523 * 1999, describes these PAUSE resolution bits and how flow in igc_config_fc_after_link_up() 528 * PAUSE | ASM_DIR | PAUSE | ASM_DIR | NIC Resolution in igc_config_fc_after_link_up() 539 * Are both PAUSE bits set to 1? If so, this implies in igc_config_fc_after_link_up() [all …]
|
/Linux-v5.4/drivers/net/ethernet/brocade/bna/ |
D | bfa_defs_cna.h | 84 u64 rx_pause; /*!< Rx pause */ 85 u64 rx_zero_pause; /*!< Rx zero pause */ 86 u64 tx_pause; /*!< Tx pause */ 87 u64 tx_zero_pause; /*!< Tx zero pause */ 88 u64 rx_fcoe_pause; /*!< Rx FCoE pause */ 89 u64 rx_fcoe_zero_pause; /*!< Rx FCoE zero pause */ 90 u64 tx_fcoe_pause; /*!< Tx FCoE pause */ 91 u64 tx_fcoe_zero_pause; /*!< Tx FCoE zero pause */ 92 u64 rx_iscsi_pause; /*!< Rx iSCSI pause */ 93 u64 rx_iscsi_zero_pause; /*!< Rx iSCSI zero pause */ [all …]
|
/Linux-v5.4/drivers/net/ethernet/qualcomm/emac/ |
D | emac-ethtool.c | 98 strcpy(data, "single-pause-mode"); in emac_get_strings() 170 struct ethtool_pauseparam *pause) in emac_get_pauseparam() argument 174 pause->autoneg = adpt->automatic ? AUTONEG_ENABLE : AUTONEG_DISABLE; in emac_get_pauseparam() 175 pause->rx_pause = adpt->rx_flow_control ? 1 : 0; in emac_get_pauseparam() 176 pause->tx_pause = adpt->tx_flow_control ? 1 : 0; in emac_get_pauseparam() 180 struct ethtool_pauseparam *pause) in emac_set_pauseparam() argument 184 adpt->automatic = pause->autoneg == AUTONEG_ENABLE; in emac_set_pauseparam() 185 adpt->rx_flow_control = pause->rx_pause != 0; in emac_set_pauseparam() 186 adpt->tx_flow_control = pause->tx_pause != 0; in emac_set_pauseparam()
|
/Linux-v5.4/drivers/net/ethernet/intel/igb/ |
D | e1000_mac.c | 678 /* Initialize the flow control address, type, and PAUSE timer in igb_setup_link() 734 * ability to transmit pause frames is not enabled, then these in igb_set_fc_watermarks() 768 * that determine the hardware's default PAUSE (flow control) mode, in igb_set_default_fc() 825 * 1: Rx flow control is enabled (we can receive pause in igb_force_mac_fc() 826 * frames but not send pause frames). in igb_force_mac_fc() 827 * 2: Tx flow control is enabled (we can send pause frames in igb_force_mac_fc() 828 * frames but we do not receive pause frames). in igb_force_mac_fc() 940 * 1999, describes these PAUSE resolution bits and how flow in igb_config_fc_after_link_up() 945 * PAUSE | ASM_DIR | PAUSE | ASM_DIR | NIC Resolution in igb_config_fc_after_link_up() 956 * Are both PAUSE bits set to 1? If so, this implies in igb_config_fc_after_link_up() [all …]
|
/Linux-v5.4/drivers/net/ethernet/intel/e1000e/ |
D | mac.c | 634 * that determine the hardware's default PAUSE (flow control) mode, in e1000_set_default_fc_generic() 699 /* Initialize the flow control address, type, and PAUSE timer in e1000e_setup_link_generic() 728 * software will have to set the "PAUSE" bits to the correct value in in e1000_commit_fc_settings_generic() 736 * 1: Rx flow control is enabled (we can receive pause frames, in e1000_commit_fc_settings_generic() 737 * but not send pause frames). in e1000_commit_fc_settings_generic() 738 * 2: Tx flow control is enabled (we can send pause frames but we in e1000_commit_fc_settings_generic() 739 * do not support receiving pause frames). in e1000_commit_fc_settings_generic() 750 * advertise that we are capable of Rx Pause ONLY, we will in e1000_commit_fc_settings_generic() 752 * PAUSE. Later, we will disable the adapter's ability to send in e1000_commit_fc_settings_generic() 753 * PAUSE frames. in e1000_commit_fc_settings_generic() [all …]
|
/Linux-v5.4/Documentation/devicetree/bindings/net/ |
D | ethernet-controller.yaml | 168 Pause configuration. 0 for no pause, 1 for pause 172 Asymmetric pause configuration. 0 for no asymmetric 173 pause, 1 for asymmetric pause 193 asym-pause:
|
D | brcm,bcm7445-switch-v4.0.txt | 40 - brcm,fcb-pause-override: boolean property, if present indicates that the switch 41 supports Failover Control Block pause override capability 78 brcm,fcb-pause-override; 115 brcm,fcb-pause-override;
|
/Linux-v5.4/arch/sparc/include/asm/ |
D | backoff.h | 28 * For SPARC-T4 and later we have a special "pause" instruction 32 * implements pause with a granularity of 8 cycles. Each strand has 33 * an internal pause counter which decrements every 8 cycles. So the 35 * into the pause counter. If a value smaller than 8 is written, the 41 * whole amount we want to block into the pause register, rather than
|
/Linux-v5.4/include/linux/ |
D | phylink.h | 40 * @pause: link pause state, described by MLO_PAUSE_* constants. 51 int pause; member 135 * speed in @state->speed, duplex mode in @state->duplex, pause mode 136 * in @state->pause using the %MLO_PAUSE_RX and %MLO_PAUSE_TX bits, 158 * @state->pause (%MLO_PAUSE_TX / %MLO_PAUSE_RX) modes over a link 162 * Valid state members: interface, speed, duplex, pause, advertising. 173 * @state->interface. Duplex is negotiated, and pause is advertised 174 * according to @state->an_enabled, @state->pause and 185 * Valid state members: interface, an_enabled, pause, advertising.
|
/Linux-v5.4/drivers/net/ethernet/chelsio/cxgb3/ |
D | vsc8211.c | 134 int err, sp = -1, dplx = -1, pause = 0; in vsc8211_get_link_status() local 187 pause = PAUSE_RX | PAUSE_TX; in vsc8211_get_link_status() 191 pause = PAUSE_TX; in vsc8211_get_link_status() 194 pause = PAUSE_RX; in vsc8211_get_link_status() 202 *fc = pause; in vsc8211_get_link_status() 210 int err, sp = -1, dplx = -1, pause = 0; in vsc8211_get_link_status_fiber() local 256 pause = PAUSE_RX | PAUSE_TX; in vsc8211_get_link_status_fiber() 259 pause = PAUSE_TX; in vsc8211_get_link_status_fiber() 262 pause = PAUSE_RX; in vsc8211_get_link_status_fiber() 270 *fc = pause; in vsc8211_get_link_status_fiber()
|
/Linux-v5.4/drivers/net/ethernet/atheros/alx/ |
D | ethtool.c | 207 struct ethtool_pauseparam *pause) in alx_get_pauseparam() argument 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() 220 struct ethtool_pauseparam *pause) in alx_set_pauseparam() argument 228 if (pause->tx_pause) in alx_set_pauseparam() 230 if (pause->rx_pause) in alx_set_pauseparam() 232 if (pause->autoneg) in alx_set_pauseparam()
|
/Linux-v5.4/include/uapi/linux/ |
D | mii.h | 79 #define ADVERTISE_1000XPAUSE 0x0080 /* Try for 1000BASE-X pause */ 81 #define ADVERTISE_1000XPSE_ASYM 0x0100 /* Try for 1000BASE-X asym pause */ 83 #define ADVERTISE_PAUSE_CAP 0x0400 /* Try for pause */ 84 #define ADVERTISE_PAUSE_ASYM 0x0800 /* Try for asymetric pause */ 102 #define LPA_1000XPAUSE 0x0080 /* Can do 1000BASE-X pause */ 104 #define LPA_1000XPAUSE_ASYM 0x0100 /* Can do 1000BASE-X pause asym*/ 106 #define LPA_PAUSE_CAP 0x0400 /* Can pause */ 107 #define LPA_PAUSE_ASYM 0x0800 /* Can pause asymetrically */
|
/Linux-v5.4/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_hdr.h | 809 * Bit 4 : tx_flowctl => 1:enable pause frame generation, 0:disable 810 * Bit 5 : rx_flowctl => 1:act on recv'd pause frames, 0:ignore 826 * NIU GB Pause Ctl Register 857 * NIU XG Pause Ctl Register 859 * Bit 0 : xg0_mask => 1:disable tx pause frames 860 * Bit 1 : xg0_request => 1:request single pause frame 861 * Bit 2 : xg0_on_off => 1:request is pause on, 0:off 862 * Bit 3 : xg1_mask => 1:disable tx pause frames 863 * Bit 4 : xg1_request => 1:request single pause frame 864 * Bit 5 : xg1_on_off => 1:request is pause on, 0:off [all …]
|
/Linux-v5.4/drivers/net/ethernet/intel/ixgb/ |
D | ixgb_ethtool.c | 133 struct ethtool_pauseparam *pause) in ixgb_get_pauseparam() argument 138 pause->autoneg = AUTONEG_DISABLE; in ixgb_get_pauseparam() 141 pause->rx_pause = 1; in ixgb_get_pauseparam() 143 pause->tx_pause = 1; in ixgb_get_pauseparam() 145 pause->rx_pause = 1; in ixgb_get_pauseparam() 146 pause->tx_pause = 1; in ixgb_get_pauseparam() 152 struct ethtool_pauseparam *pause) in ixgb_set_pauseparam() argument 157 if (pause->autoneg == AUTONEG_ENABLE) in ixgb_set_pauseparam() 160 if (pause->rx_pause && pause->tx_pause) in ixgb_set_pauseparam() 162 else if (pause->rx_pause && !pause->tx_pause) in ixgb_set_pauseparam() [all …]
|
/Linux-v5.4/drivers/net/ethernet/freescale/ |
D | ucc_geth_ethtool.c | 44 "tx-pause-frames", 91 "rx-pause-frames", 132 struct ethtool_pauseparam *pause) in uec_get_pauseparam() argument 136 pause->autoneg = ugeth->phydev->autoneg; in uec_get_pauseparam() 139 pause->rx_pause = 1; in uec_get_pauseparam() 141 pause->tx_pause = 1; in uec_get_pauseparam() 146 struct ethtool_pauseparam *pause) in uec_set_pauseparam() argument 151 ugeth->ug_info->receiveFlowControl = pause->rx_pause; in uec_set_pauseparam() 152 ugeth->ug_info->transmitFlowControl = pause->tx_pause; in uec_set_pauseparam()
|
/Linux-v5.4/arch/x86/include/asm/ |
D | nospec-branch.h | 26 * infinite 'pause; lfence; jmp' loop to capture speculative execution. 52 pause; \ 58 pause; \ 88 pause 191 "902: pause;\n" \ 371 * pause 391 EMIT2(0xF3, 0x90); /* pause */ \ 403 EMIT2(0xF3, 0x90); /* pause */ \
|
/Linux-v5.4/drivers/net/ethernet/freescale/fman/ |
D | mac.c | 323 * @rx: Pause frame setting for RX 324 * @tx: Pause frame setting for TX 326 * Set the MAC RX/TX PAUSE frames settings 329 * active PAUSE settings. Otherwise, the new active settings should be reflected 365 * Determine the MAC RX/TX PAUSE frames settings based on PHY 382 /* If PAUSE autonegotiation is disabled, the TX/RX PAUSE settings in fman_get_pause_cfg() 391 /* Else if PAUSE autonegotiation is enabled, the TX/RX PAUSE in fman_get_pause_cfg() 400 if (phy_dev->pause) in fman_get_pause_cfg() 406 * symmetric/asymmetric PAUSE capabilities. in fman_get_pause_cfg() 831 priv->fixed_link->pause = phy->pause; in mac_probe() [all …]
|
/Linux-v5.4/Documentation/input/ |
D | uinput.rst | 87 * device. We are inserting a pause here so that userspace has time 90 * to send. This pause is only needed in our example code! 150 * device. We are inserting a pause here so that userspace has time 153 * to send. This pause is only needed in our example code! 221 * device. We are inserting a pause here so that userspace has time 224 * to send. This pause is only needed in our example code!
|
/Linux-v5.4/drivers/net/ethernet/marvell/ |
D | skge.h | 491 RB_RX_UTPP= 0x10,/* 32 bit Rx Upper Threshold, Pause Packet */ 492 RB_RX_LTPP= 0x14,/* 32 bit Rx Lower Threshold, Pause Packet */ 576 MFF_ENA_PAUSE = 1<<7, /* Enable Pause Signaling */ 577 MFF_DIS_PAUSE = 1<<6, /* Disable Pause Signaling */ 761 /* RB_RX_UTPP 32 bit Rx Upper Threshold, Pause Pack */ 762 /* RB_RX_LTPP 32 bit Rx Lower Threshold, Pause Pack */ 1080 PHY_AN_PAUSE_CAP = 1<<10, /* Bit 10: Try for pause */ 1099 PHY_X_AN_PAUSE = 3<<7,/* Bit 8.. 7: Pause Bits */ 1104 /* Pause Bits (PHY_X_AN_PAUSE and PHY_X_RS_PAUSE) encoding */ 1106 PHY_X_P_NO_PAUSE= 0<<7,/* Bit 8..7: no Pause Mode */ [all …]
|
/Linux-v5.4/arch/alpha/kernel/ |
D | es1888.c | 30 inb(0x0226); /* pause */ in es1888_init() 34 inb(0x022a); /* pause */ in es1888_init() 36 inb(0x022a); /* pause, also forces the write */ in es1888_init()
|