Home
last modified time | relevance | path

Searched refs:new_profile (Results 1 – 8 of 8) sorted by relevance

/linux/net/ethtool/
H A Dcoalesce.c457 struct dim_cq_moder *new_profile, *old_profile; in ethnl_update_profile() local
469 new_profile = kmemdup(old_profile, len, GFP_KERNEL); in ethnl_update_profile()
470 if (!new_profile) in ethnl_update_profile()
487 ret = ethnl_update_irq_moder(irq_moder, &new_profile[i].usec, in ethnl_update_profile()
494 ret = ethnl_update_irq_moder(irq_moder, &new_profile[i].pkts, in ethnl_update_profile()
501 ret = ethnl_update_irq_moder(irq_moder, &new_profile[i].comps, in ethnl_update_profile()
515 rcu_assign_pointer(*dst, new_profile); in ethnl_update_profile()
521 kfree(new_profile); in ethnl_update_profile()
/linux/drivers/hid/
H A Dhid-roccat-isku.c26 static void isku_profile_activated(struct isku_device *isku, uint new_profile) in isku_profile_activated() argument
28 isku->actual_profile = new_profile; in isku_profile_activated()
47 static int isku_set_actual_profile(struct usb_device *usb_dev, int new_profile) in isku_set_actual_profile() argument
53 buf.actual_profile = new_profile; in isku_set_actual_profile()
H A Dhid-roccat-kone.c37 static void kone_profile_activated(struct kone_device *kone, uint new_profile) in kone_profile_activated() argument
39 kone->actual_profile = new_profile; in kone_profile_activated()
40 kone->actual_dpi = kone->profiles[new_profile - 1].startup_dpi; in kone_profile_activated()
43 static void kone_profile_report(struct kone_device *kone, uint new_profile) in kone_profile_report() argument
48 roccat_report.value = new_profile; in kone_profile_report()
H A Dhid-roccat-koneplus.c30 uint new_profile) in koneplus_profile_activated() argument
32 koneplus->actual_profile = new_profile; in koneplus_profile_activated()
68 int new_profile) in koneplus_set_actual_profile() argument
74 buf.actual_profile = new_profile; in koneplus_set_actual_profile()
H A Dhid-roccat-pyra.c30 unsigned int new_profile) in profile_activated() argument
32 if (new_profile >= ARRAY_SIZE(pyra->profile_settings)) in profile_activated()
34 pyra->actual_profile = new_profile; in profile_activated()
H A Dhid-roccat-kovaplus.c111 int new_profile) in kovaplus_set_actual_profile() argument
117 buf.actual_profile = new_profile; in kovaplus_set_actual_profile()
/linux/security/apparmor/
H A Ddomain.c667 struct aa_profile *new_profile = NULL; in profile_transition() local
752 new_profile = aa_new_learning_profile(profile, false, name, in profile_transition()
754 if (!new_profile) { in profile_transition()
759 new = &new_profile->label; in profile_transition()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_main.c6660 const struct mlx5e_profile *new_profile, void *new_ppriv) in mlx5e_netdev_attach_profile()
6665 err = mlx5e_priv_init(priv, new_profile, netdev, mdev); in mlx5e_netdev_change_profile()
6671 priv->profile = new_profile; in mlx5e_netdev_change_profile()
6673 err = new_profile->init(priv->mdev, priv->netdev); in mlx5e_netdev_change_profile()
6686 const struct mlx5e_profile *new_profile, void *new_ppriv) in mlx5e_netdev_change_profile()
6691 err = mlx5e_netdev_init_profile(netdev, mdev, new_profile, new_ppriv); in mlx5e_netdev_change_profile()
6701 new_profile->cleanup(priv); in mlx5e_netdev_change_profile()
6708 const struct mlx5e_profile *new_profile, in mlx5e_netdev_change_profile()
6730 mlx5e_netdev_init_profile(netdev, mdev, new_profile, new_ppriv); in mlx5e_destroy_netdev()
6735 err = mlx5e_netdev_attach_profile(netdev, mdev, new_profile, new_ppri in _mlx5e_resume()
6619 mlx5e_netdev_init_profile(struct net_device * netdev,struct mlx5_core_dev * mdev,const struct mlx5e_profile * new_profile,void * new_ppriv) mlx5e_netdev_init_profile() argument
6645 mlx5e_netdev_attach_profile(struct net_device * netdev,struct mlx5_core_dev * mdev,const struct mlx5e_profile * new_profile,void * new_ppriv) mlx5e_netdev_attach_profile() argument
6667 mlx5e_netdev_change_profile(struct net_device * netdev,struct mlx5_core_dev * mdev,const struct mlx5e_profile * new_profile,void * new_ppriv) mlx5e_netdev_change_profile() argument
[all...]