Searched refs:coalesce (Results 1 – 6 of 6) sorted by relevance
/net/core/ |
D | ethtool.c | 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() [all …]
|
/net/wireless/ |
D | core.c | 733 if (WARN_ON(wiphy->coalesce && in wiphy_register() 734 (!wiphy->coalesce->n_rules || in wiphy_register() 735 !wiphy->coalesce->n_patterns) && in wiphy_register() 736 (!wiphy->coalesce->pattern_min_len || in wiphy_register() 737 wiphy->coalesce->pattern_min_len > in wiphy_register() 738 wiphy->coalesce->pattern_max_len))) in wiphy_register()
|
D | nl80211.c | 1559 if (!rdev->wiphy.coalesce) in nl80211_send_coalesce() 1562 rule.max_rules = rdev->wiphy.coalesce->n_rules; in nl80211_send_coalesce() 1563 rule.max_delay = rdev->wiphy.coalesce->max_delay; in nl80211_send_coalesce() 1564 rule.pat.max_patterns = rdev->wiphy.coalesce->n_patterns; in nl80211_send_coalesce() 1565 rule.pat.min_pattern_len = rdev->wiphy.coalesce->pattern_min_len; in nl80211_send_coalesce() 1566 rule.pat.max_pattern_len = rdev->wiphy.coalesce->pattern_max_len; in nl80211_send_coalesce() 1567 rule.pat.max_pkt_offset = rdev->wiphy.coalesce->max_pkt_offset; in nl80211_send_coalesce() 12001 if (!rdev->coalesce->n_rules) in nl80211_send_coalesce_rules() 12008 for (i = 0; i < rdev->coalesce->n_rules; i++) { in nl80211_send_coalesce_rules() 12013 rule = &rdev->coalesce->rules[i]; in nl80211_send_coalesce_rules() [all …]
|
D | rdev-ops.h | 1213 struct cfg80211_coalesce *coalesce) in rdev_set_coalesce() argument 1217 trace_rdev_set_coalesce(&rdev->wiphy, coalesce); in rdev_set_coalesce() 1219 ret = rdev->ops->set_coalesce(&rdev->wiphy, coalesce); in rdev_set_coalesce()
|
D | core.h | 94 struct cfg80211_coalesce *coalesce; member
|
D | trace.h | 2491 TP_PROTO(struct wiphy *wiphy, struct cfg80211_coalesce *coalesce), 2492 TP_ARGS(wiphy, coalesce), 2499 __entry->n_rules = coalesce ? coalesce->n_rules : 0;
|