Searched refs:kernel_cfg (Results 1 – 5 of 5) sorted by relevance
48 static inline void hwtstamp_config_to_kernel(struct kernel_hwtstamp_config *kernel_cfg, in hwtstamp_config_to_kernel() argument51 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() argument59 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()
3926 struct kernel_hwtstamp_config *kernel_cfg);3928 struct kernel_hwtstamp_config *kernel_cfg,
281 struct kernel_hwtstamp_config kernel_cfg = {}; in dev_get_hwtstamp() local291 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() local375 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 …]
328 struct kernel_hwtstamp_config kernel_cfg; in phy_mii_ioctl() local427 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()
5780 static int bond_set_phc_index_flag(struct kernel_hwtstamp_config *kernel_cfg) in bond_set_phc_index_flag() argument5782 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