/kernel/linux/linux-5.10/drivers/net/netdevsim/ |
H A D | ethtool.c | 23 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/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 in ax88796c_set_pauseparam() [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/qualcomm/emac/ |
H A D | emac-ethtool.c | 98 strcpy(data, "single-pause-mode"); in emac_get_strings() 170 struct ethtool_pauseparam *pause) in emac_get_pauseparam() 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() 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() 169 emac_get_pauseparam(struct net_device *netdev, struct ethtool_pauseparam *pause) emac_get_pauseparam() argument 179 emac_set_pauseparam(struct net_device *netdev, struct ethtool_pauseparam *pause) emac_set_pauseparam() argument
|
/kernel/linux/linux-5.10/drivers/net/ethernet/oki-semi/pch_gbe/ |
H A D | pch_gbe_ethtool.c | 366 * pch_gbe_get_pauseparam - Report pause parameters 368 * @pause: Pause parameters structure 371 struct ethtool_pauseparam *pause) in pch_gbe_get_pauseparam() 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 370 pch_gbe_get_pauseparam(struct net_device *netdev, struct ethtool_pauseparam *pause) pch_gbe_get_pauseparam() argument 397 pch_gbe_set_pauseparam(struct net_device *netdev, struct ethtool_pauseparam *pause) pch_gbe_set_pauseparam() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/oki-semi/pch_gbe/ |
H A D | pch_gbe_ethtool.c | 376 * pch_gbe_get_pauseparam - Report pause parameters 378 * @pause: Pause parameters structure 381 struct ethtool_pauseparam *pause) in pch_gbe_get_pauseparam() 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 380 pch_gbe_get_pauseparam(struct net_device *netdev, struct ethtool_pauseparam *pause) pch_gbe_get_pauseparam() argument 407 pch_gbe_set_pauseparam(struct net_device *netdev, struct ethtool_pauseparam *pause) pch_gbe_set_pauseparam() argument [all...] |
/kernel/linux/linux-6.6/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()
|
/kernel/linux/linux-5.10/drivers/net/phy/ |
H A D | phylink.c | 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() 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() 391 state->pause = pl->link_config.pause; in phylink_apply_manual_flow() 588 phylink_pause_to_str(int pause) phylink_pause_to_str() argument 1605 phylink_ethtool_get_pauseparam(struct phylink *pl, struct ethtool_pauseparam *pause) phylink_ethtool_get_pauseparam() argument 1621 phylink_ethtool_set_pauseparam(struct phylink *pl, struct ethtool_pauseparam *pause) phylink_ethtool_set_pauseparam() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/atheros/alx/ |
H A D | ethtool.c | 207 struct ethtool_pauseparam *pause) in alx_get_pauseparam() 212 pause->autoneg = !!(hw->flowctrl & ALX_FC_ANEG && in alx_get_pauseparam() 214 pause->tx_pause = !!(hw->flowctrl & ALX_FC_TX); in alx_get_pauseparam() 215 pause->rx_pause = !!(hw->flowctrl & ALX_FC_RX); in alx_get_pauseparam() 220 struct ethtool_pauseparam *pause) in alx_set_pauseparam() 228 if (pause->tx_pause) in alx_set_pauseparam() 230 if (pause->rx_pause) in alx_set_pauseparam() 232 if (pause->autoneg) in alx_set_pauseparam() 206 alx_get_pauseparam(struct net_device *netdev, struct ethtool_pauseparam *pause) alx_get_pauseparam() argument 219 alx_set_pauseparam(struct net_device *netdev, struct ethtool_pauseparam *pause) alx_set_pauseparam() argument
|
/kernel/linux/linux-6.6/drivers/net/ethernet/atheros/alx/ |
H A D | ethtool.c | 213 struct ethtool_pauseparam *pause) in alx_get_pauseparam() 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() 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() 212 alx_get_pauseparam(struct net_device *netdev, struct ethtool_pauseparam *pause) alx_get_pauseparam() argument 227 alx_set_pauseparam(struct net_device *netdev, struct ethtool_pauseparam *pause) alx_set_pauseparam() argument
|
/kernel/linux/linux-6.6/drivers/net/ethernet/qualcomm/emac/ |
H A D | emac-ethtool.c | 98 strcpy(data, "single-pause-mode"); in emac_get_strings() 174 struct ethtool_pauseparam *pause) in emac_get_pauseparam() 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() 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() 173 emac_get_pauseparam(struct net_device *netdev, struct ethtool_pauseparam *pause) emac_get_pauseparam() argument 183 emac_set_pauseparam(struct net_device *netdev, struct ethtool_pauseparam *pause) emac_set_pauseparam() argument
|
/kernel/linux/linux-6.6/drivers/net/netdevsim/ |
H A D | ethtool.c | 23 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-5.10/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() [all...] |
/kernel/linux/linux-6.6/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() [all...] |
/kernel/linux/linux-6.6/drivers/net/phy/ |
H A D | phylink.c | 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() 1330 phylink_pause_to_str(int pause) phylink_pause_to_str() argument 2555 phylink_ethtool_get_pauseparam(struct phylink *pl, struct ethtool_pauseparam *pause) phylink_ethtool_get_pauseparam() argument 2571 phylink_ethtool_set_pauseparam(struct phylink *pl, struct ethtool_pauseparam *pause) phylink_ethtool_set_pauseparam() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/netxen/ |
H A D | netxen_nic_ethtool.c | 473 struct ethtool_pauseparam *pause) in netxen_nic_get_pauseparam() 479 pause->autoneg = 0; in netxen_nic_get_pauseparam() 486 pause->rx_pause = netxen_gb_get_rx_flowctl(val); in netxen_nic_get_pauseparam() 490 pause->tx_pause = !(netxen_gb_get_gb0_mask(val)); in netxen_nic_get_pauseparam() 493 pause->tx_pause = !(netxen_gb_get_gb1_mask(val)); in netxen_nic_get_pauseparam() 496 pause->tx_pause = !(netxen_gb_get_gb2_mask(val)); in netxen_nic_get_pauseparam() 500 pause->tx_pause = !(netxen_gb_get_gb3_mask(val)); in netxen_nic_get_pauseparam() 506 pause->rx_pause = 1; in netxen_nic_get_pauseparam() 509 pause->tx_pause = !(netxen_xg_get_xg0_mask(val)); in netxen_nic_get_pauseparam() 511 pause in netxen_nic_get_pauseparam() 472 netxen_nic_get_pauseparam(struct net_device *dev, struct ethtool_pauseparam *pause) netxen_nic_get_pauseparam() argument 519 netxen_nic_set_pauseparam(struct net_device *dev, struct ethtool_pauseparam *pause) netxen_nic_set_pauseparam() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/qlogic/netxen/ |
H A D | netxen_nic_ethtool.c | 477 struct ethtool_pauseparam *pause) in netxen_nic_get_pauseparam() 483 pause->autoneg = 0; in netxen_nic_get_pauseparam() 490 pause->rx_pause = netxen_gb_get_rx_flowctl(val); in netxen_nic_get_pauseparam() 494 pause->tx_pause = !(netxen_gb_get_gb0_mask(val)); in netxen_nic_get_pauseparam() 497 pause->tx_pause = !(netxen_gb_get_gb1_mask(val)); in netxen_nic_get_pauseparam() 500 pause->tx_pause = !(netxen_gb_get_gb2_mask(val)); in netxen_nic_get_pauseparam() 504 pause->tx_pause = !(netxen_gb_get_gb3_mask(val)); in netxen_nic_get_pauseparam() 510 pause->rx_pause = 1; in netxen_nic_get_pauseparam() 513 pause->tx_pause = !(netxen_xg_get_xg0_mask(val)); in netxen_nic_get_pauseparam() 515 pause in netxen_nic_get_pauseparam() 476 netxen_nic_get_pauseparam(struct net_device *dev, struct ethtool_pauseparam *pause) netxen_nic_get_pauseparam() argument 523 netxen_nic_set_pauseparam(struct net_device *dev, struct ethtool_pauseparam *pause) netxen_nic_set_pauseparam() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/microchip/sparx5/ |
H A D | sparx5_phylink.c | 58 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()
|
/kernel/linux/linux-5.10/tools/testing/selftests/drivers/net/netdevsim/ |
H A D | ethtool-pause.sh | 75 echo n > $NSIM_DEV_DFS/ethtool/pause/report_stats_tx 76 echo n > $NSIM_DEV_DFS/ethtool/pause/report_stats_rx 84 echo y > $NSIM_DEV_DFS/ethtool/pause/report_stats_tx 92 echo y > $NSIM_DEV_DFS/ethtool/pause/report_stats_rx
|
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlxbf_gige/ |
H A D | mlxbf_gige_ethtool.c | 120 struct ethtool_pauseparam *pause) in mlxbf_gige_get_pauseparam() 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() 119 mlxbf_gige_get_pauseparam(struct net_device *netdev, struct ethtool_pauseparam *pause) mlxbf_gige_get_pauseparam() argument
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgb/ |
H A D | ixgb_ethtool.c | 133 struct ethtool_pauseparam *pause) in ixgb_get_pauseparam() 138 pause->autoneg = AUTONEG_DISABLE; in ixgb_get_pauseparam() 141 pause->rx_pause = 1; in ixgb_get_pauseparam() 143 pause->tx_pause = 1; in ixgb_get_pauseparam() 145 pause->rx_pause = 1; in ixgb_get_pauseparam() 146 pause->tx_pause = 1; in ixgb_get_pauseparam() 152 struct ethtool_pauseparam *pause) in ixgb_set_pauseparam() 157 if (pause->autoneg == AUTONEG_ENABLE) in ixgb_set_pauseparam() 160 if (pause->rx_pause && pause in ixgb_set_pauseparam() 132 ixgb_get_pauseparam(struct net_device *netdev, struct ethtool_pauseparam *pause) ixgb_get_pauseparam() argument 151 ixgb_set_pauseparam(struct net_device *netdev, struct ethtool_pauseparam *pause) ixgb_set_pauseparam() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/ |
H A D | ucc_geth_ethtool.c | 44 "tx-pause-frames", 91 "rx-pause-frames", 132 struct ethtool_pauseparam *pause) in uec_get_pauseparam() 136 pause->autoneg = ugeth->phydev->autoneg; in uec_get_pauseparam() 139 pause->rx_pause = 1; in uec_get_pauseparam() 141 pause->tx_pause = 1; in uec_get_pauseparam() 146 struct ethtool_pauseparam *pause) in uec_set_pauseparam() 151 ugeth->ug_info->receiveFlowControl = pause->rx_pause; in uec_set_pauseparam() 152 ugeth->ug_info->transmitFlowControl = pause->tx_pause; in uec_set_pauseparam() 131 uec_get_pauseparam(struct net_device *netdev, struct ethtool_pauseparam *pause) uec_get_pauseparam() argument 145 uec_set_pauseparam(struct net_device *netdev, struct ethtool_pauseparam *pause) uec_set_pauseparam() argument
|
/kernel/linux/linux-6.6/drivers/net/ethernet/freescale/ |
H A D | ucc_geth_ethtool.c | 44 "tx-pause-frames", 91 "rx-pause-frames", 132 struct ethtool_pauseparam *pause) in uec_get_pauseparam() 136 pause->autoneg = ugeth->phydev->autoneg; in uec_get_pauseparam() 139 pause->rx_pause = 1; in uec_get_pauseparam() 141 pause->tx_pause = 1; in uec_get_pauseparam() 146 struct ethtool_pauseparam *pause) in uec_set_pauseparam() 151 ugeth->ug_info->receiveFlowControl = pause->rx_pause; in uec_set_pauseparam() 152 ugeth->ug_info->transmitFlowControl = pause->tx_pause; in uec_set_pauseparam() 131 uec_get_pauseparam(struct net_device *netdev, struct ethtool_pauseparam *pause) uec_get_pauseparam() argument 145 uec_set_pauseparam(struct net_device *netdev, struct ethtool_pauseparam *pause) uec_set_pauseparam() argument
|
/kernel/linux/linux-6.6/drivers/net/ethernet/davicom/ |
H A D | dm9051.c | 86 * @pause: ethtool pause parameter structure 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() 637 *pause = db->pause; in dm9051_get_pauseparam() 632 dm9051_get_pauseparam(struct net_device *ndev, struct ethtool_pauseparam *pause) dm9051_get_pauseparam() argument 640 dm9051_set_pauseparam(struct net_device *ndev, struct ethtool_pauseparam *pause) dm9051_set_pauseparam() argument [all...] |
/kernel/linux/linux-5.10/drivers/macintosh/ |
H A D | rack-meter.c | 145 static void rackmeter_do_pause(struct rackmeter *rm, int pause) in rackmeter_do_pause() argument 149 pr_debug("rackmeter: %s\n", pause ? "paused" : "started"); in rackmeter_do_pause() 151 rm->paused = pause; in rackmeter_do_pause() 152 if (pause) { in rackmeter_do_pause() 221 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()
|
/kernel/linux/linux-6.6/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()
|