Home
last modified time | relevance | path

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

/linux/include/linux/
A Dnet_tstamp.h48 static inline void hwtstamp_config_to_kernel(struct kernel_hwtstamp_config *kernel_cfg, in hwtstamp_config_to_kernel() argument
51 kernel_cfg->flags = cfg->flags; in hwtstamp_config_to_kernel()
52 kernel_cfg->tx_type = cfg->tx_type; in hwtstamp_config_to_kernel()
53 kernel_cfg->rx_filter = cfg->rx_filter; in hwtstamp_config_to_kernel()
57 const struct kernel_hwtstamp_config *kernel_cfg) in hwtstamp_config_from_kernel() argument
59 cfg->flags = kernel_cfg->flags; in hwtstamp_config_from_kernel()
60 cfg->tx_type = kernel_cfg->tx_type; in hwtstamp_config_from_kernel()
61 cfg->rx_filter = kernel_cfg->rx_filter; in hwtstamp_config_from_kernel()
A Dnetdevice.h3926 struct kernel_hwtstamp_config *kernel_cfg);
3928 struct kernel_hwtstamp_config *kernel_cfg,
/linux/net/core/
A Ddev_ioctl.c281 struct kernel_hwtstamp_config kernel_cfg = {}; in dev_get_hwtstamp() local
291 kernel_cfg.ifr = ifr; in dev_get_hwtstamp()
299 if (!kernel_cfg.copied_to_user) { in dev_get_hwtstamp()
367 struct kernel_hwtstamp_config kernel_cfg = {}; in dev_set_hwtstamp() local
375 hwtstamp_config_to_kernel(&kernel_cfg, &cfg); in dev_set_hwtstamp()
376 kernel_cfg.ifr = ifr; in dev_set_hwtstamp()
378 err = net_hwtstamp_validate(&kernel_cfg); in dev_set_hwtstamp()
402 if (!kernel_cfg.copied_to_user) { in dev_set_hwtstamp()
419 ifrr.ifr_ifru = kernel_cfg->ifr->ifr_ifru; in generic_hwtstamp_ioctl_lower()
425 kernel_cfg->ifr->ifr_ifru = ifrr.ifr_ifru; in generic_hwtstamp_ioctl_lower()
[all …]
/linux/drivers/net/phy/
A Dphy.c328 struct kernel_hwtstamp_config kernel_cfg; in phy_mii_ioctl() local
427 hwtstamp_config_to_kernel(&kernel_cfg, &cfg); in phy_mii_ioctl()
428 ret = phydev->mii_ts->hwtstamp(phydev->mii_ts, &kernel_cfg, &extack); in phy_mii_ioctl()
432 hwtstamp_config_from_kernel(&cfg, &kernel_cfg); in phy_mii_ioctl()
/linux/drivers/net/bonding/
A Dbond_main.c5780 static int bond_set_phc_index_flag(struct kernel_hwtstamp_config *kernel_cfg) in bond_set_phc_index_flag() argument
5782 struct ifreq *ifr = kernel_cfg->ifr; in bond_set_phc_index_flag()
5785 if (kernel_cfg->copied_to_user) { in bond_set_phc_index_flag()
5794 kernel_cfg->flags |= HWTSTAMP_FLAG_BONDED_PHC_INDEX; in bond_set_phc_index_flag()

Completed in 35 milliseconds