Lines Matching refs:cvals
248 struct ethtool_coalesce *cvals, in gfar_gcoalesce() argument
273 cvals->rx_coalesce_usecs = gfar_ticks2usecs(priv, rxtime); in gfar_gcoalesce()
274 cvals->rx_max_coalesced_frames = rxcount; in gfar_gcoalesce()
276 cvals->tx_coalesce_usecs = gfar_ticks2usecs(priv, txtime); in gfar_gcoalesce()
277 cvals->tx_max_coalesced_frames = txcount; in gfar_gcoalesce()
287 struct ethtool_coalesce *cvals, in gfar_scoalesce() argument
301 if (cvals->rx_coalesce_usecs > GFAR_MAX_COAL_USECS) { in gfar_scoalesce()
307 if (cvals->rx_max_coalesced_frames > GFAR_MAX_COAL_FRAMES) { in gfar_scoalesce()
314 if (cvals->tx_coalesce_usecs > GFAR_MAX_COAL_USECS) { in gfar_scoalesce()
320 if (cvals->tx_max_coalesced_frames > GFAR_MAX_COAL_FRAMES) { in gfar_scoalesce()
330 if ((cvals->rx_coalesce_usecs == 0) || in gfar_scoalesce()
331 (cvals->rx_max_coalesced_frames == 0)) { in gfar_scoalesce()
341 cvals->rx_max_coalesced_frames, in gfar_scoalesce()
342 gfar_usecs2ticks(priv, cvals->rx_coalesce_usecs)); in gfar_scoalesce()
346 if ((cvals->tx_coalesce_usecs == 0) || in gfar_scoalesce()
347 (cvals->tx_max_coalesced_frames == 0)) { in gfar_scoalesce()
357 cvals->tx_max_coalesced_frames, in gfar_scoalesce()
358 gfar_usecs2ticks(priv, cvals->tx_coalesce_usecs)); in gfar_scoalesce()