Searched refs:kernel_cfg (Results 1 – 5 of 5) sorted by relevance
77 static inline void hwtstamp_config_to_kernel(struct kernel_hwtstamp_config *kernel_cfg, in hwtstamp_config_to_kernel() argument80 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()86 const struct kernel_hwtstamp_config *kernel_cfg) in hwtstamp_config_from_kernel() argument88 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()
4180 struct kernel_hwtstamp_config *kernel_cfg);4182 struct kernel_hwtstamp_config *kernel_cfg,
284 struct kernel_hwtstamp_config kernel_cfg = {}; in dev_get_hwtstamp() local294 kernel_cfg.ifr = ifr; in dev_get_hwtstamp()304 if (!kernel_cfg.copied_to_user) { in dev_get_hwtstamp()393 struct kernel_hwtstamp_config kernel_cfg = {}; in dev_set_hwtstamp() local401 hwtstamp_config_to_kernel(&kernel_cfg, &cfg); in dev_set_hwtstamp()402 kernel_cfg.ifr = ifr; in dev_set_hwtstamp()404 err = net_hwtstamp_validate(&kernel_cfg); in dev_set_hwtstamp()430 if (!kernel_cfg.copied_to_user) { in dev_set_hwtstamp()447 ifrr.ifr_ifru = kernel_cfg->ifr->ifr_ifru; in generic_hwtstamp_ioctl_lower()453 kernel_cfg->ifr->ifr_ifru = ifrr.ifr_ifru; in generic_hwtstamp_ioctl_lower()[all …]
313 struct kernel_hwtstamp_config kernel_cfg; in phy_mii_ioctl() local412 hwtstamp_config_to_kernel(&kernel_cfg, &cfg); in phy_mii_ioctl()413 ret = phydev->mii_ts->hwtstamp(phydev->mii_ts, &kernel_cfg, &extack); in phy_mii_ioctl()417 hwtstamp_config_from_kernel(&cfg, &kernel_cfg); in phy_mii_ioctl()
5791 static int bond_set_phc_index_flag(struct kernel_hwtstamp_config *kernel_cfg) in bond_set_phc_index_flag() argument5793 struct ifreq *ifr = kernel_cfg->ifr; in bond_set_phc_index_flag()5796 if (kernel_cfg->copied_to_user) { in bond_set_phc_index_flag()5805 kernel_cfg->flags |= HWTSTAMP_FLAG_BONDED_PHC_INDEX; in bond_set_phc_index_flag()