| /linux/drivers/net/ethernet/asix/ |
| H A D | ax88796c_ioctl.c | 45 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 …]
|
| /linux/drivers/net/ethernet/oki-semi/pch_gbe/ |
| H A D | pch_gbe_ethtool.c | 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() 408 struct ethtool_pauseparam *pause) in pch_gbe_set_pauseparam() argument 414 hw->mac.fc_autoneg = pause->autoneg; in pch_gbe_set_pauseparam() 415 if ((pause->rx_pause) && (pause->tx_pause)) in pch_gbe_set_pauseparam() 417 else if ((pause->rx_pause) && (!pause->tx_pause)) in pch_gbe_set_pauseparam() [all …]
|
| /linux/drivers/net/ethernet/qualcomm/emac/ |
| H A D | emac-ethtool.c | 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()
|
| /linux/net/ipv4/ |
| H A D | tcp_plb.c | 94 u32 pause; in tcp_plb_update_state_upon_rto() local 99 pause = READ_ONCE(net->ipv4.sysctl_tcp_plb_suspend_rto_sec) * HZ; in tcp_plb_update_state_upon_rto() 100 pause += get_random_u32_below(pause); in tcp_plb_update_state_upon_rto() 101 plb->pause_until = tcp_jiffies32 + pause; in tcp_plb_update_state_upon_rto()
|
| /linux/drivers/net/ethernet/chelsio/cxgb3/ |
| H A 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/drivers/net/ethernet/atheros/alx/ |
| H A D | ethtool.c | 213 struct ethtool_pauseparam *pause) in alx_get_pauseparam() argument 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() 228 struct ethtool_pauseparam *pause) in alx_set_pauseparam() argument 236 if (pause->tx_pause) in alx_set_pauseparam() 238 if (pause->rx_pause) in alx_set_pauseparam() 240 if (pause->autoneg) in alx_set_pauseparam()
|
| /linux/tools/testing/selftests/drivers/net/netdevsim/ |
| H A D | ethtool-pause.sh | 16 echo n > $NSIM_DEV_DFS/ethtool/pause/report_stats_tx 17 echo n > $NSIM_DEV_DFS/ethtool/pause/report_stats_rx 25 echo y > $NSIM_DEV_DFS/ethtool/pause/report_stats_tx 33 echo y > $NSIM_DEV_DFS/ethtool/pause/report_stats_rx
|
| /linux/drivers/net/ethernet/davicom/ |
| H A D | dm9051.c | 109 struct ethtool_pauseparam pause; member 262 if (db->pause.rx_pause) in dm9051_set_fcr() 264 if (db->pause.tx_pause) in dm9051_set_fcr() 307 if (db->pause.rx_pause) in dm9051_update_fcr() 309 if (db->pause.tx_pause) in dm9051_update_fcr() 633 struct ethtool_pauseparam *pause) in dm9051_get_pauseparam() argument 637 *pause = db->pause; in dm9051_get_pauseparam() 641 struct ethtool_pauseparam *pause) in dm9051_set_pauseparam() argument 645 db->pause = *pause; in dm9051_set_pauseparam() 647 if (pause->autoneg == AUTONEG_DISABLE) in dm9051_set_pauseparam() [all …]
|
| /linux/tools/testing/selftests/cgroup/ |
| H A D | test_cpuset_prs.sh | 122 pause() function 140 pause 0.01 501 pause 0.05 585 pause 0.01 791 pause 0.05 857 pause 0.02 912 pause 0.02 1118 pause 0.05 1149 pause 0.01 1153 pause 0.01 [all …]
|
| /linux/arch/arm/boot/dts/mediatek/ |
| H A D | mt7623a.dtsi | 27 pause; 38 pause; 102 pause; 115 pause;
|
| /linux/drivers/net/ethernet/mellanox/mlxbf_gige/ |
| H A D | mlxbf_gige_ethtool.c | 120 struct ethtool_pauseparam *pause) in mlxbf_gige_get_pauseparam() argument 122 pause->autoneg = AUTONEG_DISABLE; in mlxbf_gige_get_pauseparam() 123 pause->rx_pause = 1; in mlxbf_gige_get_pauseparam() 124 pause->tx_pause = 1; in mlxbf_gige_get_pauseparam()
|
| /linux/drivers/macintosh/ |
| H A D | rack-meter.c | 144 static void rackmeter_do_pause(struct rackmeter *rm, int pause) in rackmeter_do_pause() argument 148 pr_debug("rackmeter: %s\n", pause ? "paused" : "started"); in rackmeter_do_pause() 150 rm->paused = pause; in rackmeter_do_pause() 151 if (pause) { in rackmeter_do_pause() 220 int i, offset, load, cumm, pause; in rackmeter_do_timer() local 246 pause = (rm->cpu[0].zero && rm->cpu[1].zero); in rackmeter_do_timer() 247 if (pause != rm->paused) { in rackmeter_do_timer() 249 pause = (rm->cpu[0].zero && rm->cpu[1].zero); in rackmeter_do_timer() 250 rackmeter_do_pause(rm, pause); in rackmeter_do_timer()
|
| /linux/Documentation/trace/coresight/ |
| H A D | coresight-perf.rst | 81 Fine-grained tracing with AUX pause and resume 87 provides AUX pause and resume functionality for fine-grained tracing. 89 The AUX pause and resume can be triggered by associated events. These 92 session with AUX pause / resume, three configuration terms are 97 - "aux-action=pause": an associated event is specified with this term 98 to pause AUX trace. 102 Example for triggering AUX pause and resume with ftrace tracepoints:: 104 …paused/k,syscalls:sys_enter_openat/aux-action=resume/,syscalls:sys_exit_openat/aux-action=pause/ ls 106 Example for triggering AUX pause and resume with PMU event:: 109 -e cycles/aux-action=pause,period=10000000/ \
|
| /linux/arch/arm64/boot/dts/mediatek/ |
| H A D | mt7986b-rfb.dts | 44 pause; 56 pause; 106 pause; 119 pause;
|
| H A D | mt7986a-rfb.dts | 64 pause; 76 pause; 311 pause; 324 pause;
|
| /linux/drivers/ata/ |
| H A D | pata_octeon_cf.c | 136 int pause; in octeon_cf_set_piomode() local 160 pause = (int)timing.cycle - (int)timing.active - in octeon_cf_set_piomode() 162 if (pause < 0) in octeon_cf_set_piomode() 163 pause = 0; in octeon_cf_set_piomode() 164 if (pause) in octeon_cf_set_piomode() 165 pause--; in octeon_cf_set_piomode() 189 reg_tim.s.pause = pause; in octeon_cf_set_piomode() 220 unsigned int pause; in octeon_cf_set_dmamode() local 239 pause = 25 - dma_arq * 1000 / in octeon_cf_set_dmamode() 265 dma_tim.s.pause = ns_to_tim_reg(tim_mult, pause); in octeon_cf_set_dmamode() [all …]
|
| /linux/tools/testing/selftests/namespaces/ |
| H A D | nsid_test.c | 108 pause(); in TEST_F() 214 pause(); in TEST_F() 320 pause(); in TEST_F() 426 pause(); in TEST_F() 532 pause(); in TEST_F() 645 pause(); in TEST_F() 652 pause(); /* Keep the parent alive to maintain the grandchild */ in TEST_F() 766 pause(); in TEST_F() 773 pause(); /* Keep the parent alive to maintain the grandchild */ in TEST_F() 917 pause(); in TEST_F()
|
| /linux/Documentation/leds/ |
| H A D | leds-qcom-lpg.rst | 55 in the pattern, the so called "low pause" and "high pause". 57 Low-pause pattern:: 75 driver when the given pattern is a palindrome. In this case the "high pause"
|
| /linux/drivers/net/ethernet/ibm/emac/ |
| H A D | phy.c | 117 phy->pause = phy->asym_pause = 0; in genmii_setup_aneg() 176 phy->pause = phy->asym_pause = 0; in genmii_setup_forced() 241 phy->pause = phy->asym_pause = 0; in genmii_read_link() 255 phy->pause = lpa & LPA_PAUSE_CAP ? 1 : 0; in genmii_read_link() 274 phy->pause = phy->asym_pause = 0; in genmii_read_link() 521 phy->pause = phy->asym_pause = 0; in emac_mii_phy_probe()
|
| /linux/Documentation/input/ |
| H A 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/mm/ |
| H A D | page-writeback.c | 1602 long pause; /* estimated next pause */ in wb_min_pause() local 1655 pause = HZ * pages / (task_ratelimit + 1); in wb_min_pause() 1656 if (pause > max_pause) { in wb_min_pause() 1821 long pause; in balance_dirty_pages() local 1925 pause = max_pause; in balance_dirty_pages() 1926 goto pause; in balance_dirty_pages() 1929 pause = period; in balance_dirty_pages() 1931 pause -= now - current->dirty_paused_when; in balance_dirty_pages() 1939 if (pause < min_pause) { in balance_dirty_pages() 1946 min(pause, 0L), in balance_dirty_pages() [all …]
|
| /linux/drivers/net/ethernet/sfc/siena/ |
| H A D | ethtool_common.h | 21 struct ethtool_pauseparam *pause); 23 struct ethtool_pauseparam *pause);
|
| /linux/arch/mips/boot/dts/cavium-octeon/ |
| H A D | octeon_3xxx.dtsi | 137 cavium,t-pause = <0>; 154 cavium,t-pause = <320>; 171 cavium,t-pause = <0>; 188 cavium,t-pause = <0>;
|
| /linux/drivers/net/ethernet/chelsio/cxgb/ |
| H A D | mv88e1xxx.c | 245 int sp = -1, dplx = -1, pause = 0; in mv88e1xxx_get_link_status() local 251 pause |= PAUSE_RX; in mv88e1xxx_get_link_status() 253 pause |= PAUSE_TX; in mv88e1xxx_get_link_status() 270 *fc = pause; in mv88e1xxx_get_link_status()
|
| /linux/drivers/net/ethernet/sfc/ |
| H A D | ethtool_common.h | 21 struct ethtool_pauseparam *pause); 23 struct ethtool_pauseparam *pause);
|