Lines Matching +full:cfg +full:- +full:space
1 /* SPDX-License-Identifier: GPL-2.0 */
23 * struct hwtstamp_provider_desc - hwtstamp provider description
34 * struct hwtstamp_provider - hwtstamp provider object
50 * struct kernel_hwtstamp_config - Kernel copy of struct hwtstamp_config
58 * copied the ioctl request back to user space
63 * Prefer using this structure for in-kernel processing of hardware
78 const struct hwtstamp_config *cfg) in hwtstamp_config_to_kernel() argument
80 kernel_cfg->flags = cfg->flags; in hwtstamp_config_to_kernel()
81 kernel_cfg->tx_type = cfg->tx_type; in hwtstamp_config_to_kernel()
82 kernel_cfg->rx_filter = cfg->rx_filter; in hwtstamp_config_to_kernel()
85 static inline void hwtstamp_config_from_kernel(struct hwtstamp_config *cfg, in hwtstamp_config_from_kernel() argument
88 cfg->flags = kernel_cfg->flags; in hwtstamp_config_from_kernel()
89 cfg->tx_type = kernel_cfg->tx_type; in hwtstamp_config_from_kernel()
90 cfg->rx_filter = kernel_cfg->rx_filter; in hwtstamp_config_from_kernel()
96 return a->flags != b->flags || in kernel_hwtstamp_config_changed()
97 a->tx_type != b->tx_type || in kernel_hwtstamp_config_changed()
98 a->rx_filter != b->rx_filter; in kernel_hwtstamp_config_changed()