Lines Matching refs:nonzero_params
1952 u32 nonzero_params = 0; in ethtool_set_coalesce_supported() local
1955 nonzero_params |= ETHTOOL_COALESCE_RX_USECS; in ethtool_set_coalesce_supported()
1957 nonzero_params |= ETHTOOL_COALESCE_RX_MAX_FRAMES; in ethtool_set_coalesce_supported()
1959 nonzero_params |= ETHTOOL_COALESCE_RX_USECS_IRQ; in ethtool_set_coalesce_supported()
1961 nonzero_params |= ETHTOOL_COALESCE_RX_MAX_FRAMES_IRQ; in ethtool_set_coalesce_supported()
1963 nonzero_params |= ETHTOOL_COALESCE_TX_USECS; in ethtool_set_coalesce_supported()
1965 nonzero_params |= ETHTOOL_COALESCE_TX_MAX_FRAMES; in ethtool_set_coalesce_supported()
1967 nonzero_params |= ETHTOOL_COALESCE_TX_USECS_IRQ; in ethtool_set_coalesce_supported()
1969 nonzero_params |= ETHTOOL_COALESCE_TX_MAX_FRAMES_IRQ; in ethtool_set_coalesce_supported()
1971 nonzero_params |= ETHTOOL_COALESCE_STATS_BLOCK_USECS; in ethtool_set_coalesce_supported()
1973 nonzero_params |= ETHTOOL_COALESCE_USE_ADAPTIVE_RX; in ethtool_set_coalesce_supported()
1975 nonzero_params |= ETHTOOL_COALESCE_USE_ADAPTIVE_TX; in ethtool_set_coalesce_supported()
1977 nonzero_params |= ETHTOOL_COALESCE_PKT_RATE_LOW; in ethtool_set_coalesce_supported()
1979 nonzero_params |= ETHTOOL_COALESCE_RX_USECS_LOW; in ethtool_set_coalesce_supported()
1981 nonzero_params |= ETHTOOL_COALESCE_RX_MAX_FRAMES_LOW; in ethtool_set_coalesce_supported()
1983 nonzero_params |= ETHTOOL_COALESCE_TX_USECS_LOW; in ethtool_set_coalesce_supported()
1985 nonzero_params |= ETHTOOL_COALESCE_TX_MAX_FRAMES_LOW; in ethtool_set_coalesce_supported()
1987 nonzero_params |= ETHTOOL_COALESCE_PKT_RATE_HIGH; in ethtool_set_coalesce_supported()
1989 nonzero_params |= ETHTOOL_COALESCE_RX_USECS_HIGH; in ethtool_set_coalesce_supported()
1991 nonzero_params |= ETHTOOL_COALESCE_RX_MAX_FRAMES_HIGH; in ethtool_set_coalesce_supported()
1993 nonzero_params |= ETHTOOL_COALESCE_TX_USECS_HIGH; in ethtool_set_coalesce_supported()
1995 nonzero_params |= ETHTOOL_COALESCE_TX_MAX_FRAMES_HIGH; in ethtool_set_coalesce_supported()
1997 nonzero_params |= ETHTOOL_COALESCE_RATE_SAMPLE_INTERVAL; in ethtool_set_coalesce_supported()
1999 return (supported_params & nonzero_params) == nonzero_params; in ethtool_set_coalesce_supported()