/drivers/net/ethernet/oki-semi/pch_gbe/ |
D | pch_gbe_ethtool.c | 379 struct ethtool_pauseparam *pause) in pch_gbe_get_pauseparam() argument 384 pause->autoneg = in pch_gbe_get_pauseparam() 388 pause->rx_pause = 1; in pch_gbe_get_pauseparam() 390 pause->tx_pause = 1; in pch_gbe_get_pauseparam() 392 pause->rx_pause = 1; in pch_gbe_get_pauseparam() 393 pause->tx_pause = 1; in pch_gbe_get_pauseparam() 406 struct ethtool_pauseparam *pause) in pch_gbe_set_pauseparam() argument 412 hw->mac.fc_autoneg = pause->autoneg; in pch_gbe_set_pauseparam() 413 if ((pause->rx_pause) && (pause->tx_pause)) in pch_gbe_set_pauseparam() 415 else if ((pause->rx_pause) && (!pause->tx_pause)) in pch_gbe_set_pauseparam() [all …]
|
/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()
|
/drivers/net/ethernet/stmicro/stmmac/ |
D | stmmac_ethtool.c | 297 struct ethtool_pauseparam *pause) in stmmac_get_pauseparam() argument 303 pause->rx_pause = 0; in stmmac_get_pauseparam() 304 pause->tx_pause = 0; in stmmac_get_pauseparam() 305 pause->autoneg = priv->phydev->autoneg; in stmmac_get_pauseparam() 308 pause->rx_pause = 1; in stmmac_get_pauseparam() 310 pause->tx_pause = 1; in stmmac_get_pauseparam() 317 struct ethtool_pauseparam *pause) in stmmac_set_pauseparam() argument 326 if (pause->rx_pause) in stmmac_set_pauseparam() 328 if (pause->tx_pause) in stmmac_set_pauseparam() 332 phy->autoneg = pause->autoneg; in stmmac_set_pauseparam() [all …]
|
D | stmmac_main.c | 108 static int pause = PAUSE_TIME; variable 109 module_param(pause, int, S_IRUGO | S_IWUSR); 110 MODULE_PARM_DESC(pause, "Flow Control Pause Time"); 162 if (unlikely((pause < 0) || (pause > 0xffff))) in stmmac_verify_args() 163 pause = PAUSE_TIME; in stmmac_verify_args() 211 unsigned int fc = priv->flow_ctrl, pause_time = priv->pause; in stmmac_adjust_link() 234 if (phydev->pause) in stmmac_adjust_link() 1820 priv->pause = pause; in stmmac_dvr_probe() 2034 if (strict_strtoul(opt + 6, 0, (unsigned long *)&pause)) in stmmac_cmdline_opt()
|
/drivers/net/ethernet/intel/ixgb/ |
D | ixgb_ethtool.c | 151 struct ethtool_pauseparam *pause) in ixgb_get_pauseparam() argument 156 pause->autoneg = AUTONEG_DISABLE; in ixgb_get_pauseparam() 159 pause->rx_pause = 1; in ixgb_get_pauseparam() 161 pause->tx_pause = 1; in ixgb_get_pauseparam() 163 pause->rx_pause = 1; in ixgb_get_pauseparam() 164 pause->tx_pause = 1; in ixgb_get_pauseparam() 170 struct ethtool_pauseparam *pause) in ixgb_set_pauseparam() argument 175 if (pause->autoneg == AUTONEG_ENABLE) in ixgb_set_pauseparam() 178 if (pause->rx_pause && pause->tx_pause) in ixgb_set_pauseparam() 180 else if (pause->rx_pause && !pause->tx_pause) in ixgb_set_pauseparam() [all …]
|
/drivers/net/ethernet/qlogic/netxen/ |
D | netxen_nic_ethtool.c | 485 struct ethtool_pauseparam *pause) in netxen_nic_get_pauseparam() argument 496 pause->rx_pause = netxen_gb_get_rx_flowctl(val); in netxen_nic_get_pauseparam() 500 pause->tx_pause = !(netxen_gb_get_gb0_mask(val)); in netxen_nic_get_pauseparam() 503 pause->tx_pause = !(netxen_gb_get_gb1_mask(val)); in netxen_nic_get_pauseparam() 506 pause->tx_pause = !(netxen_gb_get_gb2_mask(val)); in netxen_nic_get_pauseparam() 510 pause->tx_pause = !(netxen_gb_get_gb3_mask(val)); in netxen_nic_get_pauseparam() 516 pause->rx_pause = 1; in netxen_nic_get_pauseparam() 519 pause->tx_pause = !(netxen_xg_get_xg0_mask(val)); in netxen_nic_get_pauseparam() 521 pause->tx_pause = !(netxen_xg_get_xg1_mask(val)); in netxen_nic_get_pauseparam() 530 struct ethtool_pauseparam *pause) in netxen_nic_set_pauseparam() argument [all …]
|
/drivers/net/ethernet/freescale/ |
D | ucc_geth_ethtool.c | 138 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()
|
/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_ethtool.c | 505 struct ethtool_pauseparam *pause) in qlcnic_get_pauseparam() argument 516 pause->rx_pause = qlcnic_gb_get_rx_flowctl(val); in qlcnic_get_pauseparam() 520 pause->tx_pause = !(qlcnic_gb_get_gb0_mask(val)); in qlcnic_get_pauseparam() 523 pause->tx_pause = !(qlcnic_gb_get_gb1_mask(val)); in qlcnic_get_pauseparam() 526 pause->tx_pause = !(qlcnic_gb_get_gb2_mask(val)); in qlcnic_get_pauseparam() 530 pause->tx_pause = !(qlcnic_gb_get_gb3_mask(val)); in qlcnic_get_pauseparam() 536 pause->rx_pause = 1; in qlcnic_get_pauseparam() 539 pause->tx_pause = !(qlcnic_xg_get_xg0_mask(val)); in qlcnic_get_pauseparam() 541 pause->tx_pause = !(qlcnic_xg_get_xg1_mask(val)); in qlcnic_get_pauseparam() 550 struct ethtool_pauseparam *pause) in qlcnic_set_pauseparam() argument [all …]
|
/drivers/macintosh/ |
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 245 pause = (rm->cpu[0].zero && rm->cpu[1].zero); in rackmeter_do_timer() 246 if (pause != rm->paused) { in rackmeter_do_timer() 248 pause = (rm->cpu[0].zero && rm->cpu[1].zero); in rackmeter_do_timer() 249 rackmeter_do_pause(rm, pause); in rackmeter_do_timer()
|
/drivers/ata/ |
D | pata_octeon_cf.c | 103 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()
|
/drivers/net/ethernet/qlogic/qlge/ |
D | qlge_ethtool.c | 631 struct ethtool_pauseparam *pause) in ql_get_pauseparam() argument 637 pause->rx_pause = 1; in ql_get_pauseparam() 638 pause->tx_pause = 1; in ql_get_pauseparam() 643 struct ethtool_pauseparam *pause) in ql_set_pauseparam() argument 648 if ((pause->rx_pause) && (pause->tx_pause)) in ql_set_pauseparam() 650 else if (!pause->rx_pause && !pause->tx_pause) in ql_set_pauseparam()
|
/drivers/net/ethernet/ibm/emac/ |
D | phy.c | 116 phy->pause = phy->asym_pause = 0; in genmii_setup_aneg() 175 phy->pause = phy->asym_pause = 0; in genmii_setup_forced() 240 phy->pause = phy->asym_pause = 0; in genmii_read_link() 254 phy->pause = lpa & LPA_PAUSE_CAP ? 1 : 0; in genmii_read_link() 273 phy->pause = phy->asym_pause = 0; in genmii_read_link() 494 phy->pause = phy->asym_pause = 0; in emac_mii_phy_probe()
|
/drivers/net/ |
D | sungem_phy.c | 320 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 sungem_phy_probe()
|
/drivers/staging/ozwpan/ |
D | ozusbsvc.c | 117 void oz_usb_stop(struct oz_pd *pd, int pause) in oz_usb_stop() argument 120 oz_event_log(OZ_EVT_SERVICE, 4, OZ_APPID_USB, 0, pause); in oz_usb_stop() 121 if (pause) { in oz_usb_stop()
|
D | ozpd.c | 43 static void oz_def_app_stop(struct oz_pd *pd, int pause); 111 static void oz_def_app_stop(struct oz_pd *pd, int pause) in oz_def_app_stop() argument 261 void oz_services_stop(struct oz_pd *pd, u16 apps, int pause) in oz_services_stop() argument 264 oz_trace("oz_stop_services(0x%x) pause(%d)\n", apps, pause); in oz_services_stop() 268 if (pause) { in oz_services_stop() 275 ai->stop(pd, pause); in oz_services_stop()
|
D | ozcdev.h | 14 void oz_cdev_stop(struct oz_pd *pd, int pause);
|
/drivers/net/ethernet/chelsio/cxgb/ |
D | mv88e1xxx.c | 244 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()
|
/drivers/net/ethernet/intel/e1000/ |
D | e1000_ethtool.c | 238 struct ethtool_pauseparam *pause) in e1000_get_pauseparam() argument 243 pause->autoneg = in e1000_get_pauseparam() 247 pause->rx_pause = 1; in e1000_get_pauseparam() 249 pause->tx_pause = 1; in e1000_get_pauseparam() 251 pause->rx_pause = 1; in e1000_get_pauseparam() 252 pause->tx_pause = 1; in e1000_get_pauseparam() 257 struct ethtool_pauseparam *pause) in e1000_set_pauseparam() argument 263 adapter->fc_autoneg = pause->autoneg; in e1000_set_pauseparam() 268 if (pause->rx_pause && pause->tx_pause) in e1000_set_pauseparam() 270 else if (pause->rx_pause && !pause->tx_pause) in e1000_set_pauseparam() [all …]
|
/drivers/net/wireless/wl12xx/ |
D | boot.c | 625 u32 pause; in wl127x_boot_clk() local 665 pause = wl1271_read32(wl, PLL_PARAMETERS); in wl127x_boot_clk() 667 wl1271_debug(DEBUG_BOOT, "pause1 0x%x", pause); in wl127x_boot_clk() 669 pause &= ~(WU_COUNTER_PAUSE_VAL); in wl127x_boot_clk() 670 pause |= WU_COUNTER_PAUSE_VAL; in wl127x_boot_clk() 671 wl1271_write32(wl, WU_COUNTER_PAUSE, pause); in wl127x_boot_clk()
|
/drivers/net/ethernet/mellanox/mlx4/ |
D | en_ethtool.c | 413 struct ethtool_pauseparam *pause) in mlx4_en_set_pauseparam() argument 419 priv->prof->tx_pause = pause->tx_pause != 0; in mlx4_en_set_pauseparam() 420 priv->prof->rx_pause = pause->rx_pause != 0; in mlx4_en_set_pauseparam() 434 struct ethtool_pauseparam *pause) in mlx4_en_get_pauseparam() argument 438 pause->tx_pause = priv->prof->tx_pause; in mlx4_en_get_pauseparam() 439 pause->rx_pause = priv->prof->rx_pause; in mlx4_en_get_pauseparam()
|
/drivers/net/ethernet/intel/e1000e/ |
D | ethtool.c | 306 struct ethtool_pauseparam *pause) in e1000_get_pauseparam() argument 311 pause->autoneg = in e1000_get_pauseparam() 315 pause->rx_pause = 1; in e1000_get_pauseparam() 317 pause->tx_pause = 1; in e1000_get_pauseparam() 319 pause->rx_pause = 1; in e1000_get_pauseparam() 320 pause->tx_pause = 1; in e1000_get_pauseparam() 325 struct ethtool_pauseparam *pause) in e1000_set_pauseparam() argument 331 adapter->fc_autoneg = pause->autoneg; in e1000_set_pauseparam() 345 if (pause->rx_pause && pause->tx_pause) in e1000_set_pauseparam() 347 else if (pause->rx_pause && !pause->tx_pause) in e1000_set_pauseparam() [all …]
|
/drivers/net/ethernet/intel/igb/ |
D | igb_ethtool.c | 266 struct ethtool_pauseparam *pause) in igb_get_pauseparam() argument 271 pause->autoneg = in igb_get_pauseparam() 275 pause->rx_pause = 1; in igb_get_pauseparam() 277 pause->tx_pause = 1; in igb_get_pauseparam() 279 pause->rx_pause = 1; in igb_get_pauseparam() 280 pause->tx_pause = 1; in igb_get_pauseparam() 285 struct ethtool_pauseparam *pause) in igb_set_pauseparam() argument 291 adapter->fc_autoneg = pause->autoneg; in igb_set_pauseparam() 305 if (pause->rx_pause && pause->tx_pause) in igb_set_pauseparam() 307 else if (pause->rx_pause && !pause->tx_pause) in igb_set_pauseparam() [all …]
|
/drivers/net/ethernet/sfc/ |
D | ethtool.c | 707 struct ethtool_pauseparam *pause) in efx_ethtool_set_pauseparam() argument 717 wanted_fc = ((pause->rx_pause ? EFX_FC_RX : 0) | in efx_ethtool_set_pauseparam() 718 (pause->tx_pause ? EFX_FC_TX : 0) | in efx_ethtool_set_pauseparam() 719 (pause->autoneg ? EFX_FC_AUTO : 0)); in efx_ethtool_set_pauseparam() 780 struct ethtool_pauseparam *pause) in efx_ethtool_get_pauseparam() argument 784 pause->rx_pause = !!(efx->wanted_fc & EFX_FC_RX); in efx_ethtool_get_pauseparam() 785 pause->tx_pause = !!(efx->wanted_fc & EFX_FC_TX); in efx_ethtool_get_pauseparam() 786 pause->autoneg = !!(efx->wanted_fc & EFX_FC_AUTO); in efx_ethtool_get_pauseparam()
|
/drivers/net/phy/ |
D | phy_device.c | 168 dev->pause = dev->asym_pause = 0; in phy_device_create() 614 phydev->pause = phydev->asym_pause = 0; in genphy_setup_forced() 781 phydev->pause = phydev->asym_pause = 0; in genphy_read_status() 798 phydev->pause = lpa & LPA_PAUSE_CAP ? 1 : 0; in genphy_read_status() 818 phydev->pause = phydev->asym_pause = 0; in genphy_read_status()
|
/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_ethtool.c | 377 struct ethtool_pauseparam *pause) in ixgbe_get_pauseparam() argument 383 pause->autoneg = 0; in ixgbe_get_pauseparam() 385 pause->autoneg = 1; in ixgbe_get_pauseparam() 388 pause->rx_pause = 1; in ixgbe_get_pauseparam() 390 pause->tx_pause = 1; in ixgbe_get_pauseparam() 392 pause->rx_pause = 1; in ixgbe_get_pauseparam() 393 pause->tx_pause = 1; in ixgbe_get_pauseparam() 396 pause->rx_pause = 0; in ixgbe_get_pauseparam() 397 pause->tx_pause = 0; in ixgbe_get_pauseparam() 403 struct ethtool_pauseparam *pause) in ixgbe_set_pauseparam() argument [all …]
|