Lines Matching refs:coalesce
1604 struct ethtool_coalesce coalesce = { .cmd = ETHTOOL_GCOALESCE }; in ethtool_get_coalesce() local
1609 dev->ethtool_ops->get_coalesce(dev, &coalesce); in ethtool_get_coalesce()
1611 if (copy_to_user(useraddr, &coalesce, sizeof(coalesce))) in ethtool_get_coalesce()
1619 struct ethtool_coalesce coalesce; in ethtool_set_coalesce() local
1624 if (copy_from_user(&coalesce, useraddr, sizeof(coalesce))) in ethtool_set_coalesce()
1627 return dev->ethtool_ops->set_coalesce(dev, &coalesce); in ethtool_set_coalesce()
2359 struct ethtool_coalesce coalesce = { .cmd = ETHTOOL_GCOALESCE }; in ethtool_get_per_queue_coalesce() local
2361 ret = dev->ethtool_ops->get_per_queue_coalesce(dev, bit, &coalesce); in ethtool_get_per_queue_coalesce()
2364 if (copy_to_user(useraddr, &coalesce, sizeof(coalesce))) in ethtool_get_per_queue_coalesce()
2366 useraddr += sizeof(coalesce); in ethtool_get_per_queue_coalesce()
2396 struct ethtool_coalesce coalesce; in ethtool_set_per_queue_coalesce() local
2404 if (copy_from_user(&coalesce, useraddr, sizeof(coalesce))) { in ethtool_set_per_queue_coalesce()
2409 ret = dev->ethtool_ops->set_per_queue_coalesce(dev, bit, &coalesce); in ethtool_set_per_queue_coalesce()
2413 useraddr += sizeof(coalesce); in ethtool_set_per_queue_coalesce()