Home
last modified time | relevance | path

Searched refs:kernel_cfg (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/include/linux/
H A Dnet_tstamp.h39 static inline void hwtstamp_config_to_kernel(struct kernel_hwtstamp_config *kernel_cfg, in hwtstamp_config_to_kernel() argument
42 kernel_cfg->flags = cfg->flags; in hwtstamp_config_to_kernel()
43 kernel_cfg->tx_type = cfg->tx_type; in hwtstamp_config_to_kernel()
44 kernel_cfg->rx_filter = cfg->rx_filter; in hwtstamp_config_to_kernel()
48 const struct kernel_hwtstamp_config *kernel_cfg) in hwtstamp_config_from_kernel() argument
50 cfg->flags = kernel_cfg->flags; in hwtstamp_config_from_kernel()
51 cfg->tx_type = kernel_cfg->tx_type; in hwtstamp_config_from_kernel()
52 cfg->rx_filter = kernel_cfg->rx_filter; in hwtstamp_config_from_kernel()
H A Dnetdevice.h3953 struct kernel_hwtstamp_config *kernel_cfg);
3955 struct kernel_hwtstamp_config *kernel_cfg,
/openbmc/linux/net/core/
H A Ddev_ioctl.c283 struct kernel_hwtstamp_config kernel_cfg = {}; in dev_get_hwtstamp() local
293 kernel_cfg.ifr = ifr; in dev_get_hwtstamp()
294 err = dev_get_hwtstamp_phylib(dev, &kernel_cfg); in dev_get_hwtstamp()
301 if (!kernel_cfg.copied_to_user) { in dev_get_hwtstamp()
302 hwtstamp_config_from_kernel(&cfg, &kernel_cfg); in dev_get_hwtstamp()
370 struct kernel_hwtstamp_config kernel_cfg = {}; in dev_set_hwtstamp() local
378 hwtstamp_config_to_kernel(&kernel_cfg, &cfg); in dev_set_hwtstamp()
379 kernel_cfg.ifr = ifr; in dev_set_hwtstamp()
381 err = net_hwtstamp_validate(&kernel_cfg); in dev_set_hwtstamp()
385 err = dsa_master_hwtstamp_validate(dev, &kernel_cfg, &extack); in dev_set_hwtstamp()
[all …]
/openbmc/linux/drivers/net/bonding/
H A Dbond_main.c5705 static int bond_set_phc_index_flag(struct kernel_hwtstamp_config *kernel_cfg) in bond_set_phc_index_flag() argument
5707 struct ifreq *ifr = kernel_cfg->ifr; in bond_set_phc_index_flag()
5710 if (kernel_cfg->copied_to_user) { in bond_set_phc_index_flag()
5719 kernel_cfg->flags |= HWTSTAMP_FLAG_BONDED_PHC_INDEX; in bond_set_phc_index_flag()