Searched refs:kernel_cfg (Results 1 – 4 of 4) sorted by relevance
39 static inline void hwtstamp_config_to_kernel(struct kernel_hwtstamp_config *kernel_cfg, in hwtstamp_config_to_kernel() argument42 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() argument50 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()
3953 struct kernel_hwtstamp_config *kernel_cfg);3955 struct kernel_hwtstamp_config *kernel_cfg,
283 struct kernel_hwtstamp_config kernel_cfg = {}; in dev_get_hwtstamp() local293 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() local378 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 …]
5705 static int bond_set_phc_index_flag(struct kernel_hwtstamp_config *kernel_cfg) in bond_set_phc_index_flag() argument5707 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()