Home
last modified time | relevance | path

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

1234

/linux-2.6.39/drivers/net/pch_gbe/
Dpch_gbe_ethtool.c380 struct ethtool_pauseparam *pause) in pch_gbe_get_pauseparam() argument
385 pause->autoneg = in pch_gbe_get_pauseparam()
389 pause->rx_pause = 1; in pch_gbe_get_pauseparam()
391 pause->tx_pause = 1; in pch_gbe_get_pauseparam()
393 pause->rx_pause = 1; in pch_gbe_get_pauseparam()
394 pause->tx_pause = 1; in pch_gbe_get_pauseparam()
407 struct ethtool_pauseparam *pause) in pch_gbe_set_pauseparam() argument
413 hw->mac.fc_autoneg = pause->autoneg; in pch_gbe_set_pauseparam()
414 if ((pause->rx_pause) && (pause->tx_pause)) in pch_gbe_set_pauseparam()
416 else if ((pause->rx_pause) && (!pause->tx_pause)) in pch_gbe_set_pauseparam()
[all …]
/linux-2.6.39/drivers/net/cxgb3/
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-2.6.39/drivers/net/stmmac/
Dstmmac_ethtool.c209 struct ethtool_pauseparam *pause) in stmmac_get_pauseparam() argument
215 pause->rx_pause = 0; in stmmac_get_pauseparam()
216 pause->tx_pause = 0; in stmmac_get_pauseparam()
217 pause->autoneg = priv->phydev->autoneg; in stmmac_get_pauseparam()
220 pause->rx_pause = 1; in stmmac_get_pauseparam()
222 pause->tx_pause = 1; in stmmac_get_pauseparam()
229 struct ethtool_pauseparam *pause) in stmmac_set_pauseparam() argument
238 if (pause->rx_pause) in stmmac_set_pauseparam()
240 if (pause->tx_pause) in stmmac_set_pauseparam()
260 priv->flow_ctrl, priv->pause); in stmmac_set_pauseparam()
/linux-2.6.39/drivers/net/ixgb/
Dixgb_ethtool.c150 struct ethtool_pauseparam *pause) in ixgb_get_pauseparam() argument
155 pause->autoneg = AUTONEG_DISABLE; in ixgb_get_pauseparam()
158 pause->rx_pause = 1; in ixgb_get_pauseparam()
160 pause->tx_pause = 1; in ixgb_get_pauseparam()
162 pause->rx_pause = 1; in ixgb_get_pauseparam()
163 pause->tx_pause = 1; in ixgb_get_pauseparam()
169 struct ethtool_pauseparam *pause) in ixgb_set_pauseparam() argument
174 if (pause->autoneg == AUTONEG_ENABLE) in ixgb_set_pauseparam()
177 if (pause->rx_pause && pause->tx_pause) in ixgb_set_pauseparam()
179 else if (pause->rx_pause && !pause->tx_pause) in ixgb_set_pauseparam()
[all …]
/linux-2.6.39/drivers/net/netxen/
Dnetxen_nic_ethtool.c478 struct ethtool_pauseparam *pause) in netxen_nic_get_pauseparam() argument
489 pause->rx_pause = netxen_gb_get_rx_flowctl(val); in netxen_nic_get_pauseparam()
493 pause->tx_pause = !(netxen_gb_get_gb0_mask(val)); in netxen_nic_get_pauseparam()
496 pause->tx_pause = !(netxen_gb_get_gb1_mask(val)); in netxen_nic_get_pauseparam()
499 pause->tx_pause = !(netxen_gb_get_gb2_mask(val)); in netxen_nic_get_pauseparam()
503 pause->tx_pause = !(netxen_gb_get_gb3_mask(val)); in netxen_nic_get_pauseparam()
509 pause->rx_pause = 1; in netxen_nic_get_pauseparam()
512 pause->tx_pause = !(netxen_xg_get_xg0_mask(val)); in netxen_nic_get_pauseparam()
514 pause->tx_pause = !(netxen_xg_get_xg1_mask(val)); in netxen_nic_get_pauseparam()
523 struct ethtool_pauseparam *pause) in netxen_nic_set_pauseparam() argument
[all …]
/linux-2.6.39/drivers/net/
Ducc_geth_ethtool.c138 struct ethtool_pauseparam *pause) in uec_get_pauseparam() argument
142 pause->autoneg = ugeth->phydev->autoneg; in uec_get_pauseparam()
145 pause->rx_pause = 1; in uec_get_pauseparam()
147 pause->tx_pause = 1; in uec_get_pauseparam()
152 struct ethtool_pauseparam *pause) in uec_set_pauseparam() argument
157 ugeth->ug_info->receiveFlowControl = pause->rx_pause; in uec_set_pauseparam()
158 ugeth->ug_info->transmitFlowControl = pause->tx_pause; in uec_set_pauseparam()
Dsungem_phy.c320 phy->pause = 0; in genmii_setup_aneg()
351 phy->pause = 0; in genmii_setup_forced()
405 phy->pause = 0; in genmii_read_link()
475 phy->pause = 0; in bcm54xx_setup_aneg()
519 phy->pause = 0; in bcm54xx_setup_forced()
563 phy->pause = (phy->duplex == DUPLEX_FULL) && in bcm54xx_read_link()
751 phy->pause = 0; in marvell_setup_aneg()
802 phy->pause = 0; in marvell_setup_forced()
865 phy->pause = (status & pmask) == pmask; in marvell_read_link()
1193 phy->pause = 0; in mii_phy_probe()
/linux-2.6.39/drivers/net/qlcnic/
Dqlcnic_ethtool.c479 struct ethtool_pauseparam *pause) in qlcnic_get_pauseparam() argument
490 pause->rx_pause = qlcnic_gb_get_rx_flowctl(val); in qlcnic_get_pauseparam()
494 pause->tx_pause = !(qlcnic_gb_get_gb0_mask(val)); in qlcnic_get_pauseparam()
497 pause->tx_pause = !(qlcnic_gb_get_gb1_mask(val)); in qlcnic_get_pauseparam()
500 pause->tx_pause = !(qlcnic_gb_get_gb2_mask(val)); in qlcnic_get_pauseparam()
504 pause->tx_pause = !(qlcnic_gb_get_gb3_mask(val)); in qlcnic_get_pauseparam()
510 pause->rx_pause = 1; in qlcnic_get_pauseparam()
513 pause->tx_pause = !(qlcnic_xg_get_xg0_mask(val)); in qlcnic_get_pauseparam()
515 pause->tx_pause = !(qlcnic_xg_get_xg1_mask(val)); in qlcnic_get_pauseparam()
524 struct ethtool_pauseparam *pause) in qlcnic_set_pauseparam() argument
[all …]
/linux-2.6.39/drivers/macintosh/
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
247 pause = (rm->cpu[0].zero && rm->cpu[1].zero); in rackmeter_do_timer()
248 if (pause != rm->paused) { in rackmeter_do_timer()
250 pause = (rm->cpu[0].zero && rm->cpu[1].zero); in rackmeter_do_timer()
251 rackmeter_do_pause(rm, pause); in rackmeter_do_timer()
/linux-2.6.39/arch/ia64/sn/kernel/sn2/
Dptc_deadlock.S51 hint @pause
66 hint @pause
77 hint @pause
/linux-2.6.39/drivers/ata/
Dpata_octeon_cf.c103 int pause; in octeon_cf_set_piomode() local
128 pause = timing.cycle - timing.active - timing.setup - trh; in octeon_cf_set_piomode()
129 if (pause) in octeon_cf_set_piomode()
130 pause--; in octeon_cf_set_piomode()
154 reg_tim.s.pause = pause; in octeon_cf_set_piomode()
183 unsigned int pause; in octeon_cf_set_dmamode() local
201 pause = 25 - dma_arq * 1000 / in octeon_cf_set_dmamode()
221 dma_tim.s.pause = ns_to_tim_reg(tim_mult, pause); in octeon_cf_set_dmamode()
234 dma_tim.s.dmack_h, dma_tim.s.dmarq, dma_tim.s.pause); in octeon_cf_set_dmamode()
/linux-2.6.39/drivers/net/ibm_newemac/
Dphy.c113 phy->pause = phy->asym_pause = 0; in genmii_setup_aneg()
172 phy->pause = phy->asym_pause = 0; in genmii_setup_forced()
237 phy->pause = phy->asym_pause = 0; in genmii_read_link()
251 phy->pause = lpa & LPA_PAUSE_CAP ? 1 : 0; in genmii_read_link()
270 phy->pause = phy->asym_pause = 0; in genmii_read_link()
491 phy->pause = phy->asym_pause = 0; in emac_mii_phy_probe()
/linux-2.6.39/drivers/net/qlge/
Dqlge_ethtool.c628 struct ethtool_pauseparam *pause) in ql_get_pauseparam() argument
634 pause->rx_pause = 1; in ql_get_pauseparam()
635 pause->tx_pause = 1; in ql_get_pauseparam()
640 struct ethtool_pauseparam *pause) in ql_set_pauseparam() argument
645 if ((pause->rx_pause) && (pause->tx_pause)) in ql_set_pauseparam()
647 else if (!pause->rx_pause && !pause->tx_pause) in ql_set_pauseparam()
/linux-2.6.39/drivers/net/wireless/wl12xx/
Dboot.c500 u32 tmp, clk, pause; in wl1271_load_firmware() local
535 pause = wl1271_read32(wl, PLL_PARAMETERS); in wl1271_load_firmware()
537 wl1271_debug(DEBUG_BOOT, "pause1 0x%x", pause); in wl1271_load_firmware()
539 pause &= ~(WU_COUNTER_PAUSE_VAL); in wl1271_load_firmware()
540 pause |= WU_COUNTER_PAUSE_VAL; in wl1271_load_firmware()
541 wl1271_write32(wl, WU_COUNTER_PAUSE, pause); in wl1271_load_firmware()
/linux-2.6.39/drivers/net/chelsio/
Dmv88e1xxx.c244 int sp = -1, dplx = -1, pause = 0; in mv88e1xxx_get_link_status() local
250 pause |= PAUSE_RX; in mv88e1xxx_get_link_status()
252 pause |= PAUSE_TX; in mv88e1xxx_get_link_status()
269 *fc = pause; in mv88e1xxx_get_link_status()
/linux-2.6.39/drivers/net/mlx4/
Den_ethtool.c389 struct ethtool_pauseparam *pause) in mlx4_en_set_pauseparam() argument
395 priv->prof->tx_pause = pause->tx_pause != 0; in mlx4_en_set_pauseparam()
396 priv->prof->rx_pause = pause->rx_pause != 0; in mlx4_en_set_pauseparam()
410 struct ethtool_pauseparam *pause) in mlx4_en_get_pauseparam() argument
414 pause->tx_pause = priv->prof->tx_pause; in mlx4_en_get_pauseparam()
415 pause->rx_pause = priv->prof->rx_pause; in mlx4_en_get_pauseparam()
/linux-2.6.39/drivers/net/e1000/
De1000_ethtool.c236 struct ethtool_pauseparam *pause) in e1000_get_pauseparam() argument
241 pause->autoneg = in e1000_get_pauseparam()
245 pause->rx_pause = 1; in e1000_get_pauseparam()
247 pause->tx_pause = 1; in e1000_get_pauseparam()
249 pause->rx_pause = 1; in e1000_get_pauseparam()
250 pause->tx_pause = 1; in e1000_get_pauseparam()
255 struct ethtool_pauseparam *pause) in e1000_set_pauseparam() argument
261 adapter->fc_autoneg = pause->autoneg; in e1000_set_pauseparam()
266 if (pause->rx_pause && pause->tx_pause) in e1000_set_pauseparam()
268 else if (pause->rx_pause && !pause->tx_pause) in e1000_set_pauseparam()
[all …]
/linux-2.6.39/Documentation/devicetree/bindings/net/
Dfsl-tsec-phy.txt50 1 full, c is link speed - d#10/d#100/d#1000, d is pause - 0 no
51 pause, 1 pause, e is asym_pause - 0 no asym_pause, 1 asym_pause.
/linux-2.6.39/drivers/net/e1000e/
Dethtool.c292 struct ethtool_pauseparam *pause) in e1000_get_pauseparam() argument
297 pause->autoneg = in e1000_get_pauseparam()
301 pause->rx_pause = 1; in e1000_get_pauseparam()
303 pause->tx_pause = 1; in e1000_get_pauseparam()
305 pause->rx_pause = 1; in e1000_get_pauseparam()
306 pause->tx_pause = 1; in e1000_get_pauseparam()
311 struct ethtool_pauseparam *pause) in e1000_set_pauseparam() argument
317 adapter->fc_autoneg = pause->autoneg; in e1000_set_pauseparam()
331 if (pause->rx_pause && pause->tx_pause) in e1000_set_pauseparam()
333 else if (pause->rx_pause && !pause->tx_pause) in e1000_set_pauseparam()
[all …]
/linux-2.6.39/include/linux/
Dphy_fixed.h8 int pause; member
/linux-2.6.39/arch/um/include/shared/
Dkern.h30 extern int pause(void);
/linux-2.6.39/Documentation/filesystems/
Ddnotify_test.c31 pause(); in main()
/linux-2.6.39/drivers/net/ixgbe/
Dixgbe_ethtool.c359 struct ethtool_pauseparam *pause) in ixgbe_get_pauseparam() argument
371 pause->autoneg = 0; in ixgbe_get_pauseparam()
373 pause->autoneg = 1; in ixgbe_get_pauseparam()
376 pause->rx_pause = 1; in ixgbe_get_pauseparam()
378 pause->tx_pause = 1; in ixgbe_get_pauseparam()
380 pause->rx_pause = 1; in ixgbe_get_pauseparam()
381 pause->tx_pause = 1; in ixgbe_get_pauseparam()
384 pause->rx_pause = 0; in ixgbe_get_pauseparam()
385 pause->tx_pause = 0; in ixgbe_get_pauseparam()
391 struct ethtool_pauseparam *pause) in ixgbe_set_pauseparam() argument
[all …]
/linux-2.6.39/drivers/staging/octeon/
Dcvmx-pcsx-defs.h74 uint64_t pause:2; member
109 uint64_t pause:2; member
124 uint64_t pause:2; member
/linux-2.6.39/drivers/net/sfc/
Dethtool.c755 struct ethtool_pauseparam *pause) in efx_ethtool_set_pauseparam() argument
765 wanted_fc = ((pause->rx_pause ? EFX_FC_RX : 0) | in efx_ethtool_set_pauseparam()
766 (pause->tx_pause ? EFX_FC_TX : 0) | in efx_ethtool_set_pauseparam()
767 (pause->autoneg ? EFX_FC_AUTO : 0)); in efx_ethtool_set_pauseparam()
828 struct ethtool_pauseparam *pause) in efx_ethtool_get_pauseparam() argument
832 pause->rx_pause = !!(efx->wanted_fc & EFX_FC_RX); in efx_ethtool_get_pauseparam()
833 pause->tx_pause = !!(efx->wanted_fc & EFX_FC_TX); in efx_ethtool_get_pauseparam()
834 pause->autoneg = !!(efx->wanted_fc & EFX_FC_AUTO); in efx_ethtool_get_pauseparam()

1234