Home
last modified time | relevance | path

Searched refs:profile (Results 1 – 25 of 287) sorted by relevance

12345678910>>...12

/linux/drivers/infiniband/hw/mthca/
H A Dmthca_profile.c77 struct mthca_resource *profile; in mthca_make_profile() local
80 profile = kzalloc_objs(*profile, MTHCA_RES_NUM); in mthca_make_profile()
81 if (!profile) in mthca_make_profile()
84 profile[MTHCA_RES_QP].size = dev_lim->qpc_entry_sz; in mthca_make_profile()
85 profile[MTHCA_RES_EEC].size = dev_lim->eec_entry_sz; in mthca_make_profile()
86 profile[MTHCA_RES_SRQ].size = dev_lim->srq_entry_sz; in mthca_make_profile()
87 profile[MTHCA_RES_CQ].size = dev_lim->cqc_entry_sz; in mthca_make_profile()
88 profile[MTHCA_RES_EQP].size = dev_lim->eqpc_entry_sz; in mthca_make_profile()
89 profile[MTHCA_RES_EEEC].size = dev_lim->eeec_entry_sz; in mthca_make_profile()
90 profile[MTHCA_RES_EQ].size = dev_lim->eqc_entry_sz; in mthca_make_profile()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx4/
H A Dprofile.c84 struct mlx4_resource *profile; in mlx4_make_profile() local
88 profile = kzalloc_objs(*profile, MLX4_RES_NUM); in mlx4_make_profile()
89 if (!profile) in mlx4_make_profile()
111 profile[MLX4_RES_QP].size = dev_cap->qpc_entry_sz; in mlx4_make_profile()
112 profile[MLX4_RES_RDMARC].size = dev_cap->rdmarc_entry_sz; in mlx4_make_profile()
113 profile[MLX4_RES_ALTC].size = dev_cap->altc_entry_sz; in mlx4_make_profile()
114 profile[MLX4_RES_AUXC].size = dev_cap->aux_entry_sz; in mlx4_make_profile()
115 profile[MLX4_RES_SRQ].size = dev_cap->srq_entry_sz; in mlx4_make_profile()
116 profile[MLX4_RES_CQ].size = dev_cap->cqc_entry_sz; in mlx4_make_profile()
117 profile[MLX4_RES_EQ].size = dev_cap->eqc_entry_sz; in mlx4_make_profile()
[all …]
/linux/security/apparmor/
H A Dpolicy.c11 * task is confined by. Every task in the system has a profile attached
15 * Each profile exists in a profile namespace which is a container of
16 * visible profiles. Each namespace contains a special "unconfined" profile,
19 * Namespace and profile names can be written together in either
21 * :namespace:profile - used by kernel interfaces for easy detection
22 * namespace://profile - used by policy
26 * Reserved profile names
27 * unconfined - special automatically generated unconfined profile
28 * inherit - special name to indicate profile inheritanc
155 __add_profile(struct list_head * list,struct aa_profile * profile) __add_profile() argument
184 __list_remove_profile(struct aa_profile * profile) __list_remove_profile() argument
200 __remove_profile(struct aa_profile * profile) __remove_profile() argument
253 struct aa_profile *profile, *tmp; __aa_profile_list_release() local
325 aa_free_profile(struct aa_profile * profile) aa_free_profile() argument
378 struct aa_profile *profile; aa_alloc_profile() local
422 ANY_RULE_MEDIATES(struct aa_profile * profile,unsigned char class) ANY_RULE_MEDIATES() argument
438 aa_compute_profile_mediates(struct aa_profile * profile) aa_compute_profile_mediates() argument
498 struct aa_profile *profile; aa_find_child() local
527 struct aa_profile *profile = NULL; __lookup_parent() local
562 struct aa_profile *parent, *profile = NULL; __create_missing_ancestors() local
610 struct aa_profile *profile = NULL; __lookupn_profile() local
647 struct aa_profile *profile; aa_lookupn_profile() local
666 struct aa_profile *profile; aa_fqlookupn_profile() local
695 struct aa_profile *profile; aa_alloc_null() local
744 struct aa_profile *p, *profile; __aa_new_learning_profile() local
807 struct aa_profile *profile; aa_new_learning_profile() local
824 replacement_allowed(struct aa_profile * profile,int noreplace,const char ** info) replacement_allowed() argument
1032 __list_lookup_parent(struct list_head * lh,struct aa_profile * profile) __list_lookup_parent() argument
1473 struct aa_profile *profile = NULL; aa_remove_profiles() local
[all...]
H A Ddomain.c94 static inline aa_state_t match_component(const struct aa_profile *profile, in match_component() argument
98 struct aa_ruleset *rules = profile->label.rules[0]; in match_component()
103 if (profile->ns == tp->ns) in match_component()
107 ns_name = aa_ns_name(profile->ns, tp->ns, true); in match_component()
130 static int label_compound_match(const struct aa_profile *profile, in label_compound_match() argument
135 struct aa_ruleset *rules = profile->label.rules[0]; in label_compound_match()
142 if (!aa_ns_visible(profile->ns, tp->ns, inview)) in label_compound_match()
144 state = match_component(profile, tp, stack, state); in label_compound_match()
156 if (!aa_ns_visible(profile->ns, tp->ns, inview)) in label_compound_match()
159 state = match_component(profile, tp, false, state); in label_compound_match()
[all …]
H A Dmount.c214 static int path_flags(const struct aa_profile *profile, const struct path *path) in path_flags() argument
216 AA_BUG(!profile); in path_flags()
219 return profile->path_flags | in path_flags()
238 static int match_mnt_path_str(struct aa_profile *profile, in match_mnt_path_str() argument
247 struct aa_ruleset *rules = profile->label.rules[0]; in match_mnt_path_str()
250 AA_BUG(!profile); in match_mnt_path_str()
259 error = aa_path_name(mntpath, path_flags(profile, mntpath), buffer, in match_mnt_path_str()
260 &mntpnt, &ad->info, profile->disconnected); in match_mnt_path_str()
262 return aa_audit_perm_error(&profile->label, AA_MAY_MOUNT, in match_mnt_path_str()
269 return aa_audit_perm_error(&profile->label, AA_MAY_MOUNT, in match_mnt_path_str()
[all …]
H A Daf_unix.c173 static aa_state_t match_label(struct aa_profile *profile, in match_label() argument
179 AA_BUG(!profile); in match_label()
192 return aa_do_perms(profile, rule->policy, state, request, p, ad); in match_label()
198 * v6 - semantics are handled by mapping in profile load
202 static int profile_create_perm(struct aa_profile *profile, int family, in profile_create_perm() argument
206 struct aa_ruleset *rules = profile->label.rules[0]; in profile_create_perm()
209 AA_BUG(!profile); in profile_create_perm()
210 AA_BUG(profile_unconfined(profile)); in profile_create_perm()
218 return aa_do_perms(profile, rules->policy, state, AA_MAY_CREATE, in profile_create_perm()
222 return aa_profile_af_perm(profile, a in profile_create_perm()
226 profile_sk_perm(struct aa_profile * profile,struct apparmor_audit_data * ad,u32 request,struct sock * sk,const struct path * path) profile_sk_perm() argument
255 profile_bind_perm(struct aa_profile * profile,struct sock * sk,struct apparmor_audit_data * ad) profile_bind_perm() argument
286 profile_listen_perm(struct aa_profile * profile,struct sock * sk,int backlog,struct apparmor_audit_data * ad) profile_listen_perm() argument
322 profile_accept_perm(struct aa_profile * profile,struct sock * sk,struct apparmor_audit_data * ad) profile_accept_perm() argument
352 profile_opt_perm(struct aa_profile * profile,u32 request,struct sock * sk,int optname,struct apparmor_audit_data * ad) profile_opt_perm() argument
389 profile_peer_perm(struct aa_profile * profile,u32 request,struct sock * sk,const struct path * path,struct sockaddr_un * peer_addr,int peer_addrlen,const struct path * peer_path,struct aa_label * peer_label,struct apparmor_audit_data * ad) profile_peer_perm() argument
434 struct aa_profile *profile; aa_unix_create_perm() local
452 struct aa_profile *profile; aa_unix_label_sk_perm() local
492 struct aa_profile *profile; aa_unix_bind_perm() local
532 struct aa_profile *profile; aa_unix_listen_perm() local
554 struct aa_profile *profile; aa_unix_accept_perm() local
588 struct aa_profile *profile; aa_unix_opt_perm() local
612 struct aa_profile *profile; unix_peer_perm() local
[all...]
H A Dcapability.c67 static int audit_caps(struct apparmor_audit_data *ad, struct aa_profile *profile, in audit_caps() argument
72 struct aa_ruleset *rules = profile->label.rules[0]; in audit_caps()
80 if (likely((AUDIT_MODE(profile) != AUDIT_ALL) && in audit_caps()
84 } else if (KILL_MODE(profile) || in audit_caps()
88 AUDIT_MODE(profile) != AUDIT_NOQUIET && in audit_caps()
89 AUDIT_MODE(profile) != AUDIT_ALL) { in audit_caps()
99 if (COMPLAIN_MODE(profile)) in audit_caps()
109 return aa_audit(type, profile, ad, audit_cb); in audit_caps()
121 static int profile_capable(struct aa_profile *profile, int cap, in profile_capable() argument
124 struct aa_ruleset *rules = profile->label.rules[0]; in profile_capable()
[all …]
H A Daf_inet.c233 static inline int profile_sk_perm(struct aa_profile *profile, u32 request, in profile_sk_perm()
238 AA_BUG(!profile); in profile_sk_perm()
241 return aa_profile_af_sk_perm(profile, ad, request, sk);
245 static int profile_create_perm(struct aa_profile *profile, int family, in profile_create_perm()
249 AA_BUG(!profile); in profile_create_perm()
251 return aa_profile_af_perm(profile, ad, AA_MAY_CREATE, family, type,
257 static int profile_remote_perm(struct aa_profile *profile, in profile_remote_perm()
263 AA_BUG(!profile); in profile_remote_perm()
270 return aa_profile_af_sk_perm(profile, ad, request, sk); in profile_bind_perm() argument
273 static int profile_bind_perm(struct aa_profile *profile, in profile_bind_perm()
230 profile_sk_perm(struct aa_profile * profile,u32 request,const struct sock * sk,struct match_addr * maddr,struct apparmor_audit_data * ad) profile_sk_perm() argument
242 profile_create_perm(struct aa_profile * profile,int family,int type,int protocol,struct apparmor_audit_data * ad) profile_create_perm() argument
254 profile_remote_perm(struct aa_profile * profile,const struct sock * sk,u32 request,struct match_addr * raddr,struct match_addr * laddr,struct apparmor_audit_data * ad) profile_remote_perm() argument
279 profile_listen_perm(struct aa_profile * profile,const struct sock * sk,struct match_addr * maddr,int backlog,struct apparmor_audit_data * ad) profile_listen_perm() argument
293 profile_accept_perm(struct aa_profile * profile,const struct sock * sk,struct match_addr * maddr,const struct sock * newsk,struct apparmor_audit_data * ad) profile_accept_perm() argument
310 profile_opt_perm(struct aa_profile * profile,u32 request,const struct sock * sk,struct match_addr * maddr,int level,int optname,struct apparmor_audit_data * ad) profile_opt_perm() argument
393 struct aa_profile *profile; aa_inet_create_perm() local
[all...]
H A Dfile.c82 * @profile: the profile being enforced (NOT NULL)
96 struct aa_profile *profile, const struct aa_perms *perms, in aa_audit_file() argument
117 if (COMPLAIN_MODE(profile)) in aa_audit_file()
122 if (unlikely(AUDIT_MODE(profile) == AUDIT_ALL)) in aa_audit_file()
139 if (AUDIT_MODE(profile) == AUDIT_QUIET_ALLOWED) in aa_audit_file()
144 AUDIT_MODE(profile) != AUDIT_NOQUIET && in aa_audit_file()
145 AUDIT_MODE(profile) != AUDIT_ALL) in aa_audit_file()
153 return aa_audit(type, profile, &ad, file_audit_cb); in aa_audit_file()
161 struct aa_profile *profile; in path_name() local
234 __aa_path_perm(const char * op,const struct cred * subj_cred,struct aa_profile * profile,const char * name,u32 request,struct path_cond * cond,int flags,struct aa_perms * perms) __aa_path_perm() argument
255 profile_path_perm(const char * op,const struct cred * subj_cred,struct aa_profile * profile,const struct path * path,char * buffer,u32 request,struct path_cond * cond,int flags,struct aa_perms * perms) profile_path_perm() argument
293 struct aa_profile *profile; aa_path_perm() local
332 profile_path_link(const struct cred * subj_cred,struct aa_profile * profile,const struct path * link,char * buffer,const struct path * target,char * buffer2,struct path_cond * cond) profile_path_link() argument
450 struct aa_profile *profile; aa_path_link() local
495 struct aa_profile *profile; __file_path_perm() local
[all...]
H A Daudit.c121 struct aa_profile *profile = labels_profile(label); in audit_pre() local
123 if (profile->ns != root_ns) { in audit_pre()
126 profile->ns->base.hname); in audit_pre()
129 audit_log_untrustedstring(ab, profile->base.hname); in audit_pre()
174 struct aa_profile *profile; in aa_audit_perm_error() local
180 label_for_each_confined(i, label, profile) { in aa_audit_perm_error()
181 ad->subj_label = &profile->label; in aa_audit_perm_error()
200 int aa_audit(int type, struct aa_profile *profile, in aa_audit() argument
204 AA_BUG(!profile); in aa_audit()
208 if (AUDIT_MODE(profile) != AUDIT_ALL) in aa_audit()
[all …]
H A Dapparmorfs.c107 * mangle_name - mangle a profile name to std profile layout form
108 * @name: profile name to mangle (NOT NULL)
630 * to make the required checks (computing hash, verifying profile, ...) in policy_update()
859 static void profile_query_cb(const struct aa_profile *profile, in profile_query_cb() argument
863 struct aa_ruleset *rules = profile->label.rules[0]; in profile_query_cb()
867 if (profile_unconfined(profile)) in profile_query_cb()
896 aa_apply_modes_to_perms(profile, &tmp); in profile_query_cb()
926 struct aa_profile *profile; in query_data() local
969 label_for_each_confined(i, label, profile) { in query_data()
1016 struct aa_profile *profile; query_label() local
1332 struct aa_profile *profile = labels_profile(label); seq_profile_name_show() local
1343 struct aa_profile *profile = labels_profile(label); seq_profile_mode_show() local
1354 struct aa_profile *profile = labels_profile(label); seq_profile_attach_show() local
1370 struct aa_profile *profile = labels_profile(label); seq_profile_hash_show() local
1423 struct aa_profile *profile; seq_ns_nsstacked_show() local
1743 __aafs_profile_rmdir(struct aa_profile * profile) __aafs_profile_rmdir() argument
1789 create_profile_file(struct dentry * dir,const char * name,struct aa_profile * profile,const struct file_operations * fops) create_profile_file() argument
1796 profile_depth(struct aa_profile * profile) profile_depth() argument
1845 struct aa_profile *profile; rawdata_get_link_base() local
1910 __aa_remove_rawdata_symlink_dents(struct aa_profile * profile) __aa_remove_rawdata_symlink_dents() argument
1920 create_symlink_dent(struct aa_profile * profile,const char * name,enum aafs_prof_type type,const struct inode_operations * iops) create_symlink_dent() argument
1943 __aa_create_rawdata_symlink_dents(struct aa_profile * profile) __aa_create_rawdata_symlink_dents() argument
1985 __aafs_profile_mkdir(struct aa_profile * profile,struct dentry * parent) __aafs_profile_mkdir() argument
2447 next_profile(struct aa_ns * root,struct aa_profile * profile) next_profile() argument
2468 struct aa_profile *profile = NULL; p_start() local
2496 struct aa_profile *profile = p; p_next() local
2512 struct aa_profile *profile = p; p_stop() local
2532 struct aa_profile *profile = (struct aa_profile *)p; seq_show_profile() local
[all...]
H A Dipc.c79 struct aa_profile *profile, in profile_signal_perm() argument
83 struct aa_ruleset *rules = profile->label.rules[0]; in profile_signal_perm()
87 if (profile_unconfined(profile)) in profile_signal_perm()
97 aa_label_match(profile, rules, peer, state, false, request, &perms); in profile_signal_perm()
98 aa_apply_modes_to_perms(profile, &perms); in profile_signal_perm()
99 return aa_check_perms(profile, &perms, request, ad, audit_signal_cb); in profile_signal_perm()
106 struct aa_profile *profile; in aa_may_signal() local
111 return xcheck_labels(sender, target, profile, in aa_may_signal()
112 profile_signal_perm(subj_cred, profile, target, in aa_may_signal()
114 profile_signal_perm(target_cred, profile, sender, in aa_may_signal()
H A Dnet.c169 int aa_do_perms(struct aa_profile *profile, struct aa_policydb *policy, in aa_do_perms()
175 AA_BUG(!profile); in aa_do_perms()
182 aa_apply_modes_to_perms(profile, &perms); in aa_do_perms()
183 return aa_check_perms(profile, &perms, request, ad, in aa_do_perms()
254 int aa_profile_af_perm(struct aa_profile *profile, in aa_profile_af_perm()
258 struct aa_ruleset *rules = profile->label.rules[0]; in aa_profile_af_perm()
269 return aa_do_perms(profile, rules->policy, state, request, p, in aa_profile_af_perm()
279 struct aa_profile *profile; in aa_af_perm() local
282 return fn_for_each_confined(label, profile, in aa_af_perm()
283 aa_profile_af_perm(profile, in aa_af_perm()
168 aa_do_perms(struct aa_profile * profile,struct aa_policydb * policy,aa_state_t state,u32 request,const struct aa_perms * p,struct apparmor_audit_data * ad) aa_do_perms() argument
253 aa_profile_af_perm(struct aa_profile * profile,struct apparmor_audit_data * ad,u32 request,u16 family,int type,int protocol) aa_profile_af_perm() argument
297 struct aa_profile *profile; aa_label_sk_perm() local
371 aa_secmark_perm(struct aa_profile * profile,u32 request,u32 secid,struct apparmor_audit_data * ad) aa_secmark_perm() argument
408 struct aa_profile *profile; apparmor_secmark_check() local
[all...]
H A Dpolicy_unpack.c55 * @new: profile if it has been allocated (MAYBE NULL)
56 * @ns_name: name of the ns the profile is to be loaded to (MAY BE NULL)
57 * @name: name of the profile being manipulated (MAYBE NULL)
68 struct aa_profile *profile = labels_profile(aa_current_raw_label()); in audit_iface() local
80 return aa_audit(AUDIT_APPARMOR_STATUS, profile, &ad, audit_cb); in audit_iface()
520 * unpack_strs_table - unpack a profile transition table
591 static bool unpack_xattrs(struct aa_ext *e, struct aa_profile *profile) in unpack_xattrs()
601 profile->attach.xattr_count = size; in unpack_xattrs()
602 profile->attach.xattrs = kcalloc(size, sizeof(char *), GFP_KERNEL); in unpack_xattrs()
603 if (!profile in unpack_xattrs()
590 unpack_xattrs(struct aa_ext * e,struct aa_profile * profile) unpack_xattrs() argument
1118 struct aa_profile *profile = NULL; unpack_profile() local
1559 verify_profile(struct aa_profile * profile) verify_profile() argument
1734 struct aa_profile *profile = NULL; aa_unpack() local
[all...]
H A Dtask.c255 struct aa_profile *profile, in profile_ptrace_perm() argument
259 struct aa_ruleset *rules = profile->label.rules[0]; in profile_ptrace_perm()
264 aa_profile_match_label(profile, rules, peer, AA_CLASS_PTRACE, request, in profile_ptrace_perm()
266 aa_apply_modes_to_perms(profile, &perms); in profile_ptrace_perm()
267 return aa_check_perms(profile, &perms, request, ad, audit_ptrace_cb); in profile_ptrace_perm()
320 struct aa_profile *profile; in aa_may_ptrace() local
324 return xcheck_labels(tracer, tracee, profile, in aa_may_ptrace()
325 profile_tracer_perm(tracer_cred, profile, tracee, in aa_may_ptrace()
327 profile_tracee_perm(tracee_cred, profile, tracer, in aa_may_ptrace()
374 int aa_profile_ns_perm(struct aa_profile *profile, in aa_profile_ns_perm() argument
[all …]
H A Dresource.c57 struct aa_profile *profile, unsigned int resource, in audit_resource() argument
71 return aa_audit(AUDIT_APPARMOR_AUTO, profile, &ad, audit_cb); in audit_resource()
89 struct aa_profile *profile, unsigned int resource, in profile_setrlimit() argument
92 struct aa_ruleset *rules = profile->label.rules[0]; in profile_setrlimit()
98 return audit_resource(subj_cred, profile, resource, new_rlim->rlim_max, in profile_setrlimit()
118 struct aa_profile *profile; in aa_task_setrlimit() local
135 error = fn_for_each(label, profile, in aa_task_setrlimit()
136 audit_resource(subj_cred, profile, resource, in aa_task_setrlimit()
140 error = fn_for_each_confined(label, profile, in aa_task_setrlimit()
141 profile_setrlimit(subj_cred, profile, resource, in aa_task_setrlimit()
/linux/include/linux/
H A Dblk-crypto-profile.h37 int (*keyslot_program)(struct blk_crypto_profile *profile,
57 int (*keyslot_evict)(struct blk_crypto_profile *profile,
71 int (*derive_sw_secret)(struct blk_crypto_profile *profile,
85 int (*import_key)(struct blk_crypto_profile *profile,
99 int (*generate_key)(struct blk_crypto_profile *profile,
113 int (*prepare_key)(struct blk_crypto_profile *profile,
195 int blk_crypto_profile_init(struct blk_crypto_profile *profile,
199 struct blk_crypto_profile *profile,
204 void blk_crypto_reprogram_all_keys(struct blk_crypto_profile *profile);
206 void blk_crypto_profile_destroy(struct blk_crypto_profile *profile);
[all …]
/linux/drivers/mmc/host/
H A Dcqhci-crypto.c9 #include <linux/blk-crypto-profile.h>
26 cqhci_host_from_crypto_profile(struct blk_crypto_profile *profile) in cqhci_host_from_crypto_profile() argument
28 return mmc_from_crypto_profile(profile)->cqe_private; in cqhci_host_from_crypto_profile()
54 static int cqhci_crypto_keyslot_program(struct blk_crypto_profile *profile, in cqhci_crypto_keyslot_program() argument
59 struct cqhci_host *cq_host = cqhci_host_from_crypto_profile(profile); in cqhci_crypto_keyslot_program()
112 static int cqhci_crypto_keyslot_evict(struct blk_crypto_profile *profile, in cqhci_crypto_keyslot_evict() argument
116 struct cqhci_host *cq_host = cqhci_host_from_crypto_profile(profile); in cqhci_crypto_keyslot_evict()
165 struct blk_crypto_profile *profile = &mmc->crypto_profile; in cqhci_crypto_init() local
197 dev, profile, cq_host->crypto_capabilities.config_count + 1); in cqhci_crypto_init()
201 profile in cqhci_crypto_init()
[all...]
/linux/Documentation/ABI/testing/
H A Dsysfs-class-platform-profile1 What: /sys/class/platform-profile/platform-profile-X/name
8 What: /sys/class/platform-profile/platform-profile-X/choices
14 Drivers must use the following standard profile-names:
28 custom Driver defined custom profile
33 What: /sys/class/platform-profile/platform-profile-X/profile
36 Description: Reading this file gives the current selected profile for this
38 platform_profile_choices changes the profile to the new value.
43 source such as e.g. a hotkey triggered profile change handled
48 that the driver is using a driver defined custom profile.
/linux/sound/soc/sof/
H A Dfw-file-profile.c15 struct sof_loadable_file_profile *profile, in sof_test_firmware_file() argument
23 kasprintf(GFP_KERNEL, "%s/%s", profile->fw_path, in sof_test_firmware_file()
24 profile->fw_name); in sof_test_firmware_file()
51 } else if (fw_ipc_type != profile->ipc_type) { in sof_test_firmware_file()
54 fw_filename, fw_ipc_type, profile->ipc_type); in sof_test_firmware_file()
62 struct sof_loadable_file_profile *profile) in sof_test_firmware_file()
68 if (!profile->tplg_path || !profile->tplg_name) in sof_test_topology_file()
72 if (strstr(profile->tplg_name, "dummy")) in sof_test_topology_file()
75 tplg_filename = kasprintf(GFP_KERNEL, "%s/%s", profile in sof_test_topology_file()
67 sof_test_topology_file(struct device * dev,struct sof_loadable_file_profile * profile) sof_test_topology_file() argument
267 sof_print_profile_info(struct snd_sof_dev * sdev,enum sof_ipc_type ipc_type,struct sof_loadable_file_profile * profile) sof_print_profile_info() argument
[all...]
/linux/Documentation/ABI/obsolete/
H A Dsysfs-driver-hid-roccat-savu5 press of a button. A profile is split into general settings and
8 respective profile buttons to the mouse. The data has to be
11 Which profile to write is determined by the profile number
14 which profile to read.
21 profile will be read next. The data has to be 3 bytes long.
29 press of a button. A profile is split into general settings and
30 button settings. A profile holds information like resolution,
32 When written, this file lets one write the respective profile
35 Which profile to write is determined by the profile number
52 keystrokes for a specific button for a specific profile.
[all …]
H A Dsysfs-driver-hid-roccat-koneplus6 profile. This value is persistent, so its equivalent to the
7 profile that's active when the mouse is powered on next time.
8 When written, this file sets the number of the startup profile
9 and the mouse activates this profile immediately.
17 profile. This value is persistent, so its equivalent to the
18 profile that's active when the mouse is powered on next time.
19 When written, this file sets the number of the startup profile
20 and the mouse activates this profile immediately.
50 button for a specific profile. Button and profile numbers are
59 press of a button. A profile is split in settings and buttons.
[all …]
H A Dsysfs-driver-hid-roccat-kovaplus16 profile.
17 When written, the mouse activates this profile immediately.
18 The profile that's active when powered down is the same that's
66 press of a button. A profile is split in settings and buttons.
68 When written, this file lets one write the respective profile
71 Which profile to write is determined by the profile number
74 which profile to read.
77 …e num>/<hid-bus>:<vendor-id>:<product-id>.<num>/kovaplus/roccatkovaplus<minor>/profile[1-5]_buttons
81 press of a button. A profile is split in settings and buttons.
83 When read, these files return the respective profile buttons.
[all …]
/linux/drivers/acpi/
H A Dplatform_profile.c3 /* Platform profile sysfs interface */
19 * Protects profile_handlers membership and serializes profile operations
75 * _commmon_choices_show - Show the available profile choices
76 * @choices: The available profile choices in _store_class_profile()
97 * _store_class_profile - Set the profile for a class device in _notify_class_profile()
99 * @data: The profile to set in _notify_class_profile()
117 * _notify_class_profile - Notify the class device of a profile change in get_class_profile()
128 sysfs_notify(&handler->dev.kobj, NULL, "profile"); in get_class_profile()
135 * get_class_profile - Show the current profile for a class device
137 * @profile
115 get_class_profile(struct device * dev,enum platform_profile_option * profile) get_class_profile() argument
182 enum platform_profile_option profile = PLATFORM_PROFILE_LAST; profile_show() local
337 enum platform_profile_option *profile = data; _aggregate_profiles() local
362 enum platform_profile_option *profile = data; _store_and_notify() local
383 enum platform_profile_option profile = PLATFORM_PROFILE_LAST; platform_profile_show() local
501 enum platform_profile_option profile = PLATFORM_PROFILE_LAST; platform_profile_cycle() local
[all...]
/linux/tools/testing/selftests/drivers/net/mlxsw/spectrum/
H A Dresource_scale.sh43 for profile in $KVD_PROFILES; do
45 devlink_sp_resource_kvd_profile_set $profile
47 log_test "'$current_test' [$profile] setting"
64 log_test "'$current_test' [$profile] $target"
71 log_test "'$current_test' [$profile] $target traffic test"
75 log_test "'$current_test' [$profile] overflow $target"

12345678910>>...12