Searched refs:kernel_cfg (Results 1 - 4 of 4) sorted by relevance
/kernel/linux/linux-6.6/include/linux/ |
H A D | net_tstamp.h | 39 static inline void hwtstamp_config_to_kernel(struct kernel_hwtstamp_config *kernel_cfg, in hwtstamp_config_to_kernel() argument 42 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() 50 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() 47 hwtstamp_config_from_kernel(struct hwtstamp_config *cfg, const struct kernel_hwtstamp_config *kernel_cfg) hwtstamp_config_from_kernel() argument
|
H A D | netdevice.h | 3933 struct kernel_hwtstamp_config *kernel_cfg); 3935 struct kernel_hwtstamp_config *kernel_cfg,
|
/kernel/linux/linux-6.6/net/core/ |
H A D | dev_ioctl.c | 283 struct kernel_hwtstamp_config kernel_cfg = {}; in dev_get_hwtstamp() local 293 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() local 378 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, in dev_set_hwtstamp() 415 generic_hwtstamp_ioctl_lower(struct net_device *dev, int cmd, struct kernel_hwtstamp_config *kernel_cfg) generic_hwtstamp_ioctl_lower() argument 434 generic_hwtstamp_get_lower(struct net_device *dev, struct kernel_hwtstamp_config *kernel_cfg) generic_hwtstamp_get_lower() argument 450 generic_hwtstamp_set_lower(struct net_device *dev, struct kernel_hwtstamp_config *kernel_cfg, struct netlink_ext_ack *extack) generic_hwtstamp_set_lower() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/bonding/ |
H A D | bond_main.c | 5651 static int bond_set_phc_index_flag(struct kernel_hwtstamp_config *kernel_cfg) in bond_set_phc_index_flag() argument 5653 struct ifreq *ifr = kernel_cfg->ifr; in bond_set_phc_index_flag() 5656 if (kernel_cfg->copied_to_user) { in bond_set_phc_index_flag() 5665 kernel_cfg->flags |= HWTSTAMP_FLAG_BONDED_PHC_INDEX; in bond_set_phc_index_flag()
|
Completed in 17 milliseconds