Home
last modified time | relevance | path

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

/linux/net/core/
H A Ddev_ioctl.c288 struct kernel_hwtstamp_config kernel_cfg = {}; in dev_get_hwtstamp() local
295 kernel_cfg.ifr = ifr; in dev_get_hwtstamp()
297 err = dev_get_hwtstamp_phylib(dev, &kernel_cfg); in dev_get_hwtstamp()
305 if (!kernel_cfg.copied_to_user) { in dev_get_hwtstamp()
306 hwtstamp_config_from_kernel(&cfg, &kernel_cfg); in dev_get_hwtstamp()
399 struct kernel_hwtstamp_config kernel_cfg = {}; in dev_set_hwtstamp() local
407 hwtstamp_config_to_kernel(&kernel_cfg, &cfg); in dev_set_hwtstamp()
408 kernel_cfg.ifr = ifr; in dev_set_hwtstamp()
410 err = net_hwtstamp_validate(&kernel_cfg); in dev_set_hwtstamp()
414 err = dsa_conduit_hwtstamp_validate(dev, &kernel_cfg, &extack); in dev_set_hwtstamp()
[all …]
/linux/drivers/net/bonding/
H A Dbond_main.c5788 static int bond_set_phc_index_flag(struct kernel_hwtstamp_config *kernel_cfg) in bond_set_phc_index_flag() argument
5790 struct ifreq *ifr = kernel_cfg->ifr; in bond_set_phc_index_flag()
5793 if (kernel_cfg->copied_to_user) { in bond_set_phc_index_flag()
5802 kernel_cfg->flags |= HWTSTAMP_FLAG_BONDED_PHC_INDEX; in bond_set_phc_index_flag()
/linux/include/linux/
H A Dnetdevice.h4380 struct kernel_hwtstamp_config *kernel_cfg);
4382 struct kernel_hwtstamp_config *kernel_cfg,