Home
last modified time | relevance | path

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

/linux/net/ethtool/
H A Dcoalesce.c448 struct dim_cq_moder *new_profile, *old_profile; in ethnl_update_profile() local
460 new_profile = kmemdup(old_profile, len, GFP_KERNEL); in ethnl_update_profile()
461 if (!new_profile) in ethnl_update_profile()
472 ret = ethnl_update_irq_moder(irq_moder, &new_profile[i].usec, in ethnl_update_profile()
479 ret = ethnl_update_irq_moder(irq_moder, &new_profile[i].pkts, in ethnl_update_profile()
486 ret = ethnl_update_irq_moder(irq_moder, &new_profile[i].comps, in ethnl_update_profile()
500 rcu_assign_pointer(*dst, new_profile); in ethnl_update_profile()
506 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.c6544 const struct mlx5e_profile *new_profile, void *new_ppriv) in mlx5e_netdev_init_profile() argument
6549 err = mlx5e_priv_init(priv, new_profile, netdev, mdev); in mlx5e_netdev_init_profile()
6555 priv->profile = new_profile; in mlx5e_netdev_init_profile()
6557 err = new_profile->init(priv->mdev, priv->netdev); in mlx5e_netdev_init_profile()
6570 const struct mlx5e_profile *new_profile, void *new_ppriv) in mlx5e_netdev_attach_profile() argument
6575 err = mlx5e_netdev_init_profile(netdev, mdev, new_profile, new_ppriv); in mlx5e_netdev_attach_profile()
6585 new_profile->cleanup(priv); in mlx5e_netdev_attach_profile()
6592 const struct mlx5e_profile *new_profile, in mlx5e_netdev_change_profile() argument
6614 mlx5e_netdev_init_profile(netdev, mdev, new_profile, new_ppriv); in mlx5e_netdev_change_profile()
6619 err = mlx5e_netdev_attach_profile(netdev, mdev, new_profile, new_ppriv); in mlx5e_netdev_change_profile()
H A Den.h1248 const struct mlx5e_profile *new_profile,