Home
last modified time | relevance | path

Searched refs:pause (Results 1 – 25 of 251) sorted by relevance

1234567891011

/linux/drivers/net/ethernet/asix/
H A 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 …]
/linux/drivers/net/ethernet/oki-semi/pch_gbe/
H A Dpch_gbe_ethtool.c381 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 Demac-ethtool.c174 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 Dtcp_plb.c94 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 Dvsc8211.c134 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 Dethtool.c213 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 Dethtool-pause.sh16 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 Ddm9051.c109 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 Dtest_cpuset_prs.sh122 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 Dmt7623a.dtsi27 pause;
38 pause;
102 pause;
115 pause;
/linux/drivers/net/ethernet/mellanox/mlxbf_gige/
H A Dmlxbf_gige_ethtool.c120 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 Drack-meter.c144 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 Dcoresight-perf.rst81 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 Dmt7986b-rfb.dts44 pause;
56 pause;
106 pause;
119 pause;
H A Dmt7986a-rfb.dts64 pause;
76 pause;
311 pause;
324 pause;
/linux/drivers/ata/
H A Dpata_octeon_cf.c136 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 Dnsid_test.c108 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 Dleds-qcom-lpg.rst55 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 Dphy.c117 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 Duinput.rst87 * 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 Dpage-writeback.c1602 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 Dethtool_common.h21 struct ethtool_pauseparam *pause);
23 struct ethtool_pauseparam *pause);
/linux/arch/mips/boot/dts/cavium-octeon/
H A Docteon_3xxx.dtsi137 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 Dmv88e1xxx.c245 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 Dethtool_common.h21 struct ethtool_pauseparam *pause);
23 struct ethtool_pauseparam *pause);

1234567891011