Home
last modified time | relevance | path

Searched full:pause (Results 1 – 25 of 2044) sorted by relevance

12345678910>>...82

/kernel/linux/linux-6.6/drivers/net/phy/
Dlinkmode.c5 * linkmode_resolve_pause - resolve the allowable pause modes
8 * @tx_pause: pointer to bool to indicate whether transmit pause should be
10 * @rx_pause: pointer to bool to indicate whether receive pause should be
16 * Pause AsymDir Pause AsymDir Result
47 * linkmode_set_pause - set the pause mode advertisement
52 * Configure the advertised Pause and Asym_Pause bits according to the
56 * tx rx Pause AsymDir
68 * Pause AsymDir Pause AsymDir Result
73 * pause frames:
76 * Pause AsymDir Pause AsymDir Result
[all …]
Dphylink.c148 phylink_set(tmp, Pause); in phylink_is_empty_linkmode()
257 * Set all possible pause, speed and duplex linkmodes in @linkmodes that are
569 /* The MAC must support asymmetric pause towards the local in phylink_get_capabilities()
570 * device for this. We could allow just symmetric pause, but in phylink_get_capabilities()
572 * doesn't support pause. This is because there's no way to in phylink_get_capabilities()
573 * accept pause frames without transmitting them if we only in phylink_get_capabilities()
574 * support symmetric pause. in phylink_get_capabilities()
754 bool pause, asym_pause, autoneg; in phylink_parse_fixedlink() local
770 /* We treat the "pause" and "asym-pause" terminology as in phylink_parse_fixedlink()
773 if (fwnode_property_read_bool(fixed_node, "pause")) in phylink_parse_fixedlink()
[all …]
/kernel/linux/linux-5.10/drivers/net/phy/
Dlinkmode.c5 * linkmode_resolve_pause - resolve the allowable pause modes
8 * @tx_pause: pointer to bool to indicate whether transmit pause should be
10 * @rx_pause: pointer to bool to indicate whether receive pause should be
16 * Pause AsymDir Pause AsymDir Result
47 * linkmode_set_pause - set the pause mode advertisement
52 * Configure the advertised Pause and Asym_Pause bits according to the
56 * tx rx Pause AsymDir
68 * Pause AsymDir Pause AsymDir Result
73 * pause frames:
76 * Pause AsymDir Pause AsymDir Result
[all …]
Dphylink.c139 phylink_set(tmp, Pause); in phylink_is_empty_linkmode()
183 /* We treat the "pause" and "asym-pause" terminology as in phylink_parse_fixedlink()
185 if (fwnode_property_read_bool(fixed_node, "pause")) in phylink_parse_fixedlink()
188 if (fwnode_property_read_bool(fixed_node, "asym-pause")) in phylink_parse_fixedlink()
243 phylink_set(pl->supported, Pause); in phylink_parse_fixedlink()
286 phylink_set(pl->supported, Pause); in phylink_parse_mode()
385 /* If autoneg is disabled, pause AN is also disabled */ in phylink_apply_manual_flow()
387 state->pause &= ~MLO_PAUSE_AN; in phylink_apply_manual_flow()
389 /* Manual configuration of pause modes */ in phylink_apply_manual_flow()
390 if (!(pl->link_config.pause & MLO_PAUSE_AN)) in phylink_apply_manual_flow()
[all …]
/kernel/linux/linux-5.10/drivers/net/netdevsim/
Dethtool.c23 nsim_get_pauseparam(struct net_device *dev, struct ethtool_pauseparam *pause) in nsim_get_pauseparam() argument
27 pause->autoneg = 0; /* We don't support ksettings, so can't pretend */ in nsim_get_pauseparam()
28 pause->rx_pause = ns->ethtool.rx; in nsim_get_pauseparam()
29 pause->tx_pause = ns->ethtool.tx; in nsim_get_pauseparam()
33 nsim_set_pauseparam(struct net_device *dev, struct ethtool_pauseparam *pause) in nsim_set_pauseparam() argument
37 if (pause->autoneg) in nsim_set_pauseparam()
40 ns->ethtool.rx = pause->rx_pause; in nsim_set_pauseparam()
41 ns->ethtool.tx = pause->tx_pause; in nsim_set_pauseparam()
59 dir = debugfs_create_dir("pause", ethtool); in nsim_ethtool_init()
/kernel/linux/linux-6.6/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_hw.h31 * 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 …]
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_hw.h31 * 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 …]
/kernel/linux/linux-6.6/drivers/net/ethernet/oki-semi/pch_gbe/
Dpch_gbe_ethtool.c376 * pch_gbe_get_pauseparam - Report pause parameters
378 * @pause: Pause parameters structure
381 struct ethtool_pauseparam *pause) in pch_gbe_get_pauseparam() argument
386 pause->autoneg = in pch_gbe_get_pauseparam()
390 pause->rx_pause = 1; in pch_gbe_get_pauseparam()
392 pause->tx_pause = 1; in pch_gbe_get_pauseparam()
394 pause->rx_pause = 1; in pch_gbe_get_pauseparam()
395 pause->tx_pause = 1; in pch_gbe_get_pauseparam()
400 * pch_gbe_set_pauseparam - Set pause parameters
402 * @pause: Pause parameters structure
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/oki-semi/pch_gbe/
Dpch_gbe_ethtool.c366 * 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 …]
/kernel/linux/linux-6.6/drivers/slimbus/
Dsched.c11 * '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()
/kernel/linux/linux-5.10/drivers/slimbus/
Dsched.c11 * '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()
/kernel/linux/linux-6.6/drivers/net/ethernet/asix/
Dax88796c_ioctl.c45 ax88796c_get_pauseparam(struct net_device *ndev, struct ethtool_pauseparam *pause) in ax88796c_get_pauseparam() argument
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()
57 ax88796c_set_pauseparam(struct net_device *ndev, struct ethtool_pauseparam *pause) in ax88796c_set_pauseparam() argument
63 fc = pause->tx_pause ? AX_FC_TX : 0; in ax88796c_set_pauseparam()
64 fc |= pause->rx_pause ? AX_FC_RX : 0; in ax88796c_set_pauseparam()
65 fc |= pause->autoneg ? AX_FC_ANEG : 0; in ax88796c_set_pauseparam()
69 if (pause->autoneg) { in ax88796c_set_pauseparam()
70 phy_set_asym_pause(ax_local->phydev, pause->tx_pause, in ax88796c_set_pauseparam()
[all …]
/kernel/linux/linux-6.6/drivers/net/ethernet/brocade/bna/
Dbfa_defs_cna.h84 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 …]
/kernel/linux/linux-5.10/drivers/net/ethernet/brocade/bna/
Dbfa_defs_cna.h84 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 …]
/kernel/linux/linux-5.10/include/linux/
Dphylink.h38 * @pause: link pause state, described by MLO_PAUSE_* constants.
49 int pause; member
149 * current speed in @state->speed, duplex mode in @state->duplex, pause
150 * mode in @state->pause using the %MLO_PAUSE_RX and %MLO_PAUSE_TX bits,
197 * In all negotiation modes, as defined by @mode, @state->pause indicates the
198 * pause settings which should be applied as follows. If %MLO_PAUSE_AN is not
200 * pause frames and/or act on received pause frames respectively. Otherwise,
202 * to control the MAC pause mode settings.
214 * @state->duplex and @state->pause to configure the MAC, but this is
220 * Deprecated state members: speed, duplex, pause.
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/igc/
Digc_mac.c89 * 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()
514 * 1999, describes these PAUSE resolution bits and how flow in igc_config_fc_after_link_up()
519 * PAUSE | ASM_DIR | PAUSE | ASM_DIR | NIC Resolution in igc_config_fc_after_link_up()
530 * Are both PAUSE bits set to 1? If so, this implies in igc_config_fc_after_link_up()
[all …]
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/igc/
Digc_mac.c89 * 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 * but we do not receive pause frames). in igc_force_mac_fc()
514 * 1999, describes these PAUSE resolution bits and how flow in igc_config_fc_after_link_up()
519 * PAUSE | ASM_DIR | PAUSE | ASM_DIR | NIC Resolution in igc_config_fc_after_link_up()
530 * Are both PAUSE bits set to 1? If so, this implies in igc_config_fc_after_link_up()
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/net/
Dethernet-controller.yaml185 Pause configuration. 0 for no pause, 1 for pause
189 Asymmetric pause configuration. 0 for no asymmetric
190 pause, 1 for asymmetric pause
209 pause:
212 Indicates that pause should be enabled.
214 asym-pause:
/kernel/linux/linux-5.10/drivers/net/ethernet/qualcomm/emac/
Demac-ethtool.c98 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()
/kernel/linux/linux-6.6/drivers/net/netdevsim/
Dethtool.c23 nsim_get_pauseparam(struct net_device *dev, struct ethtool_pauseparam *pause) in nsim_get_pauseparam() argument
27 pause->autoneg = 0; /* We don't support ksettings, so can't pretend */ in nsim_get_pauseparam()
28 pause->rx_pause = ns->ethtool.pauseparam.rx; in nsim_get_pauseparam()
29 pause->tx_pause = ns->ethtool.pauseparam.tx; in nsim_get_pauseparam()
33 nsim_set_pauseparam(struct net_device *dev, struct ethtool_pauseparam *pause) in nsim_set_pauseparam() argument
37 if (pause->autoneg) in nsim_set_pauseparam()
40 ns->ethtool.pauseparam.rx = pause->rx_pause; in nsim_set_pauseparam()
41 ns->ethtool.pauseparam.tx = pause->tx_pause; in nsim_set_pauseparam()
195 dir = debugfs_create_dir("pause", ethtool); in nsim_ethtool_init()
/kernel/linux/linux-6.6/drivers/net/ethernet/qualcomm/emac/
Demac-ethtool.c98 strcpy(data, "single-pause-mode"); in emac_get_strings()
174 struct ethtool_pauseparam *pause) in emac_get_pauseparam() argument
178 pause->autoneg = adpt->automatic ? AUTONEG_ENABLE : AUTONEG_DISABLE; in emac_get_pauseparam()
179 pause->rx_pause = adpt->rx_flow_control ? 1 : 0; in emac_get_pauseparam()
180 pause->tx_pause = adpt->tx_flow_control ? 1 : 0; in emac_get_pauseparam()
184 struct ethtool_pauseparam *pause) in emac_set_pauseparam() argument
188 adpt->automatic = pause->autoneg == AUTONEG_ENABLE; in emac_set_pauseparam()
189 adpt->rx_flow_control = pause->rx_pause != 0; in emac_set_pauseparam()
190 adpt->tx_flow_control = pause->tx_pause != 0; in emac_set_pauseparam()
/kernel/liteos_a/testsuites/unittest/extended/signal/full/
Dsignal_test_015.cpp54 printf("child pause 1\n"); in TestPauseNormal()
60 int ret1 = pause(); in TestPauseNormal()
61 printf("child pause end 1 retSig = %d, errno=%d\n", ret1, errno); in TestPauseNormal()
77 /* Child pause, then father kill child */ in TestPauseNormal()
81 printf("child pause 2\n"); in TestPauseNormal()
82 pause(); in TestPauseNormal()
86 printf("child pause end 2\n"); in TestPauseNormal()
/kernel/linux/linux-6.6/drivers/net/ethernet/microchip/sparx5/
Dsparx5_phylink.c58 conf.pause = 0; in sparx5_phylink_mac_link_up()
59 conf.pause |= tx_pause ? MLO_PAUSE_TX : 0; in sparx5_phylink_mac_link_up()
60 conf.pause |= rx_pause ? MLO_PAUSE_RX : 0; in sparx5_phylink_mac_link_up()
62 /* Configure the port to speed/duplex/pause */ in sparx5_phylink_mac_link_up()
91 state->pause = status.pause; in sparx5_pcs_get_state()
110 if (phylink_test(advertising, Pause)) in sparx5_pcs_config()
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/dpaa2/
Ddpmac.h99 * Enable pause frames
103 * Enable a-symmetric pause frames
170 * @DPMAC_CNT_ING_VALID_PAUSE_FRAME: counts valid pause frames (regular and PFC)
171 * @DPMAC_CNT_EGR_VALID_PAUSE_FRAME: counts valid pause frames transmitted
174 * frames and valid pause frames.
182 * frames and valid pause frames transmitted.
188 * pause frames.
190 * pause frames.
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/igb/
De1000_mac.c679 /* 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()
766 * that determine the hardware's default PAUSE (flow control) mode, in igb_set_default_fc()
823 * 1: Rx flow control is enabled (we can receive pause in igb_force_mac_fc()
824 * frames but not send pause frames). in igb_force_mac_fc()
825 * 2: Tx flow control is enabled (we can send pause frames in igb_force_mac_fc()
826 * frames but we do not receive pause frames). in igb_force_mac_fc()
938 * 1999, describes these PAUSE resolution bits and how flow in igb_config_fc_after_link_up()
943 * PAUSE | ASM_DIR | PAUSE | ASM_DIR | NIC Resolution in igb_config_fc_after_link_up()
954 * Are both PAUSE bits set to 1? If so, this implies in igb_config_fc_after_link_up()
[all …]

12345678910>>...82