Home
last modified time | relevance | path

Searched refs:ecoalesce (Results 1 – 2 of 2) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/net/ethernet/ni/
H A Dnixge.c999 struct ethtool_coalesce *ecoalesce) in nixge_ethtools_get_coalesce() argument
1005 ecoalesce->rx_max_coalesced_frames = (regval & XAXIDMA_COALESCE_MASK) in nixge_ethtools_get_coalesce()
1008 ecoalesce->tx_max_coalesced_frames = (regval & XAXIDMA_COALESCE_MASK) in nixge_ethtools_get_coalesce()
1014 struct ethtool_coalesce *ecoalesce) in nixge_ethtools_set_coalesce() argument
1024 if (ecoalesce->rx_max_coalesced_frames) in nixge_ethtools_set_coalesce()
1025 priv->coalesce_count_rx = ecoalesce->rx_max_coalesced_frames; in nixge_ethtools_set_coalesce()
1026 if (ecoalesce->tx_max_coalesced_frames) in nixge_ethtools_set_coalesce()
1027 priv->coalesce_count_tx = ecoalesce->tx_max_coalesced_frames; in nixge_ethtools_set_coalesce()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/xilinx/
H A Dxilinx_axienet_main.c1460 struct ethtool_coalesce *ecoalesce) in axienet_ethtools_get_coalesce() argument
1465 ecoalesce->rx_max_coalesced_frames = (regval & XAXIDMA_COALESCE_MASK) in axienet_ethtools_get_coalesce()
1468 ecoalesce->tx_max_coalesced_frames = (regval & XAXIDMA_COALESCE_MASK) in axienet_ethtools_get_coalesce()
1485 struct ethtool_coalesce *ecoalesce) in axienet_ethtools_set_coalesce() argument
1495 if (ecoalesce->rx_max_coalesced_frames) in axienet_ethtools_set_coalesce()
1496 lp->coalesce_count_rx = ecoalesce->rx_max_coalesced_frames; in axienet_ethtools_set_coalesce()
1497 if (ecoalesce->tx_max_coalesced_frames) in axienet_ethtools_set_coalesce()
1498 lp->coalesce_count_tx = ecoalesce->tx_max_coalesced_frames; in axienet_ethtools_set_coalesce()