Lines Matching refs:ecmd
2390 struct ethtool_coalesce *ecmd, in jme_get_coalesce() argument
2396 ecmd->tx_coalesce_usecs = PCC_TX_TO; in jme_get_coalesce()
2397 ecmd->tx_max_coalesced_frames = PCC_TX_CNT; in jme_get_coalesce()
2400 ecmd->use_adaptive_rx_coalesce = false; in jme_get_coalesce()
2401 ecmd->rx_coalesce_usecs = 0; in jme_get_coalesce()
2402 ecmd->rx_max_coalesced_frames = 0; in jme_get_coalesce()
2406 ecmd->use_adaptive_rx_coalesce = true; in jme_get_coalesce()
2410 ecmd->rx_coalesce_usecs = PCC_P1_TO; in jme_get_coalesce()
2411 ecmd->rx_max_coalesced_frames = PCC_P1_CNT; in jme_get_coalesce()
2414 ecmd->rx_coalesce_usecs = PCC_P2_TO; in jme_get_coalesce()
2415 ecmd->rx_max_coalesced_frames = PCC_P2_CNT; in jme_get_coalesce()
2418 ecmd->rx_coalesce_usecs = PCC_P3_TO; in jme_get_coalesce()
2419 ecmd->rx_max_coalesced_frames = PCC_P3_CNT; in jme_get_coalesce()
2429 struct ethtool_coalesce *ecmd, in jme_set_coalesce() argument
2439 if (ecmd->use_adaptive_rx_coalesce && in jme_set_coalesce()
2448 } else if (!(ecmd->use_adaptive_rx_coalesce) && in jme_set_coalesce()
2460 struct ethtool_pauseparam *ecmd) in jme_get_pauseparam() argument
2465 ecmd->tx_pause = (jme->reg_txpfc & TXPFC_PF_EN) != 0; in jme_get_pauseparam()
2466 ecmd->rx_pause = (jme->reg_rxmcs & RXMCS_FLOWCTRL) != 0; in jme_get_pauseparam()
2472 ecmd->autoneg = in jme_get_pauseparam()
2478 struct ethtool_pauseparam *ecmd) in jme_set_pauseparam() argument
2484 (ecmd->tx_pause != 0)) { in jme_set_pauseparam()
2486 if (ecmd->tx_pause) in jme_set_pauseparam()
2496 (ecmd->rx_pause != 0)) { in jme_set_pauseparam()
2498 if (ecmd->rx_pause) in jme_set_pauseparam()
2510 (ecmd->autoneg != 0)) { in jme_set_pauseparam()
2512 if (ecmd->autoneg) in jme_set_pauseparam()