Home
last modified time | relevance | path

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

/openbmc/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()
/openbmc/linux/security/apparmor/
H A Ddomain.c530 struct aa_profile *new_profile; in x_table_lookup() local
532 new_profile = aa_find_child(profile, *name); in x_table_lookup()
533 if (new_profile) in x_table_lookup()
534 label = &new_profile->label; in x_table_lookup()
689 struct aa_profile *new_profile = NULL; in profile_transition() local
691 new_profile = aa_new_learning_profile(profile, false, name, in profile_transition()
693 if (!new_profile) { in profile_transition()
698 new = &new_profile->label; in profile_transition()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_main.c5890 const struct mlx5e_profile *new_profile, void *new_ppriv) in mlx5e_netdev_init_profile() argument
5895 err = mlx5e_priv_init(priv, new_profile, netdev, mdev); in mlx5e_netdev_init_profile()
5901 priv->profile = new_profile; in mlx5e_netdev_init_profile()
5903 err = new_profile->init(priv->mdev, priv->netdev); in mlx5e_netdev_init_profile()
5916 const struct mlx5e_profile *new_profile, void *new_ppriv) in mlx5e_netdev_attach_profile() argument
5921 err = mlx5e_netdev_init_profile(netdev, mdev, new_profile, new_ppriv); in mlx5e_netdev_attach_profile()
5931 new_profile->cleanup(priv); in mlx5e_netdev_attach_profile()
5937 const struct mlx5e_profile *new_profile, void *new_ppriv) in mlx5e_netdev_change_profile() argument
5951 mlx5e_netdev_init_profile(netdev, mdev, new_profile, new_ppriv); in mlx5e_netdev_change_profile()
5956 err = mlx5e_netdev_attach_profile(netdev, mdev, new_profile, new_ppriv); in mlx5e_netdev_change_profile()
H A Den.h1202 const struct mlx5e_profile *new_profile, void *new_ppriv);