Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/infiniband/hw/mthca/
Dmthca_profile.c79 struct mthca_resource *profile; in mthca_make_profile() local
82 profile = kzalloc(MTHCA_RES_NUM * sizeof *profile, GFP_KERNEL); in mthca_make_profile()
83 if (!profile) in mthca_make_profile()
86 profile[MTHCA_RES_QP].size = dev_lim->qpc_entry_sz; in mthca_make_profile()
87 profile[MTHCA_RES_EEC].size = dev_lim->eec_entry_sz; in mthca_make_profile()
88 profile[MTHCA_RES_SRQ].size = dev_lim->srq_entry_sz; in mthca_make_profile()
89 profile[MTHCA_RES_CQ].size = dev_lim->cqc_entry_sz; in mthca_make_profile()
90 profile[MTHCA_RES_EQP].size = dev_lim->eqpc_entry_sz; in mthca_make_profile()
91 profile[MTHCA_RES_EEEC].size = dev_lim->eeec_entry_sz; in mthca_make_profile()
92 profile[MTHCA_RES_EQ].size = dev_lim->eqc_entry_sz; in mthca_make_profile()
[all …]
Dmthca_main.c293 struct mthca_profile profile; in mthca_init_tavor() local
320 profile = hca_profile; in mthca_init_tavor()
321 profile.num_uar = dev_lim.uar_size / PAGE_SIZE; in mthca_init_tavor()
322 profile.uarc_size = 0; in mthca_init_tavor()
324 profile.num_srq = dev_lim.max_srqs; in mthca_init_tavor()
326 size = mthca_make_profile(mdev, &profile, &dev_lim, &init_hca); in mthca_init_tavor()
578 struct mthca_profile profile; in mthca_init_arbel() local
610 profile = hca_profile; in mthca_init_arbel()
611 profile.num_uar = dev_lim.uar_size / PAGE_SIZE; in mthca_init_arbel()
612 profile.num_udav = 0; in mthca_init_arbel()
[all …]
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/
Dprofile.c84 struct mlx4_resource *profile; in mlx4_make_profile() local
88 profile = kcalloc(MLX4_RES_NUM, sizeof(*profile), GFP_KERNEL); in mlx4_make_profile()
89 if (!profile) in mlx4_make_profile()
110 profile[MLX4_RES_QP].size = dev_cap->qpc_entry_sz; in mlx4_make_profile()
111 profile[MLX4_RES_RDMARC].size = dev_cap->rdmarc_entry_sz; in mlx4_make_profile()
112 profile[MLX4_RES_ALTC].size = dev_cap->altc_entry_sz; in mlx4_make_profile()
113 profile[MLX4_RES_AUXC].size = dev_cap->aux_entry_sz; in mlx4_make_profile()
114 profile[MLX4_RES_SRQ].size = dev_cap->srq_entry_sz; in mlx4_make_profile()
115 profile[MLX4_RES_CQ].size = dev_cap->cqc_entry_sz; in mlx4_make_profile()
116 profile[MLX4_RES_EQ].size = dev_cap->eqc_entry_sz; in mlx4_make_profile()
[all …]
DMakefile4 main.o mcg.o mr.o pd.o port.o profile.o qp.o reset.o sense.o \
Den_main.c152 struct mlx4_en_profile *params = &mdev->profile; in mlx4_en_get_profile()
254 if (mlx4_en_init_netdev(mdev, i, &mdev->profile.prof[i])) in mlx4_en_activate()
Den_netdev.c2862 priv->num_tx_rings_p_up = mdev->profile.num_tx_rings_p_up; in mlx4_en_init_netdev()
3073 mdev->profile.prof[priv->port].rx_ppp, in mlx4_en_init_netdev()
3074 mdev->profile.prof[priv->port].rx_pause, in mlx4_en_init_netdev()
3075 mdev->profile.prof[priv->port].tx_ppp, in mlx4_en_init_netdev()
3076 mdev->profile.prof[priv->port].tx_pause); in mlx4_en_init_netdev()
Den_rx.c347 mdev->profile.prof[i].rx_ring_num = in mlx4_en_set_num_rx_rings()
1255 if (priv->mdev->profile.udp_rss) { in mlx4_en_config_rss_steer()
Dmlx4_en.h397 struct mlx4_en_profile profile; member
Dmain.c2049 struct mlx4_profile profile; in mlx4_init_hca() local
2078 profile = low_mem_profile; in mlx4_init_hca()
2080 profile = default_profile; in mlx4_init_hca()
2084 profile.num_mcg = MLX4_FS_NUM_MCG; in mlx4_init_hca()
2086 icm_size = mlx4_make_profile(dev, &profile, &dev_cap, in mlx4_init_hca()
/linux-4.4.14/security/apparmor/
Ddomain.c95 static struct file_perms change_profile_perms(struct aa_profile *profile, in change_profile_perms() argument
104 if (unconfined(profile)) { in change_profile_perms()
108 } else if (!profile->file.dfa) { in change_profile_perms()
110 } else if ((ns == profile->ns)) { in change_profile_perms()
112 aa_str_perms(profile->file.dfa, start, name, &cond, &perms); in change_profile_perms()
118 state = aa_dfa_match(profile->file.dfa, start, ns->base.name); in change_profile_perms()
119 state = aa_dfa_match_len(profile->file.dfa, state, ":", 1); in change_profile_perms()
120 aa_str_perms(profile->file.dfa, state, name, &cond, &perms); in change_profile_perms()
143 struct aa_profile *profile, *candidate = NULL; in __attach_match() local
145 list_for_each_entry_rcu(profile, head, base.list) { in __attach_match()
[all …]
Dcontext.c50 aa_put_profile(cxt->profile); in aa_free_task_context()
66 aa_get_profile(new->profile); in aa_dup_task_context()
94 int aa_replace_current_profile(struct aa_profile *profile) in aa_replace_current_profile() argument
98 BUG_ON(!profile); in aa_replace_current_profile()
100 if (cxt->profile == profile) in aa_replace_current_profile()
108 if (unconfined(profile) || (cxt->profile->ns != profile->ns)) in aa_replace_current_profile()
118 aa_get_profile(profile); in aa_replace_current_profile()
119 aa_put_profile(cxt->profile); in aa_replace_current_profile()
120 cxt->profile = profile; in aa_replace_current_profile()
132 int aa_set_current_onexec(struct aa_profile *profile) in aa_set_current_onexec() argument
[all …]
Dcapability.c36 struct aa_profile *profile; member
65 static int audit_caps(struct aa_profile *profile, int cap, int error) in audit_caps() argument
79 if (likely((AUDIT_MODE(profile) != AUDIT_ALL) && in audit_caps()
80 !cap_raised(profile->caps.audit, cap))) in audit_caps()
83 } else if (KILL_MODE(profile) || in audit_caps()
84 cap_raised(profile->caps.kill, cap)) { in audit_caps()
86 } else if (cap_raised(profile->caps.quiet, cap) && in audit_caps()
87 AUDIT_MODE(profile) != AUDIT_NOQUIET && in audit_caps()
88 AUDIT_MODE(profile) != AUDIT_ALL) { in audit_caps()
95 if (profile == ent->profile && cap_raised(ent->caps, cap)) { in audit_caps()
[all …]
Dpolicy.c426 struct aa_profile *profile) in __list_add_profile() argument
428 list_add_rcu(&profile->base.list, list); in __list_add_profile()
430 aa_get_profile(profile); in __list_add_profile()
445 static void __list_remove_profile(struct aa_profile *profile) in __list_remove_profile() argument
447 list_del_rcu(&profile->base.list); in __list_remove_profile()
448 aa_put_profile(profile); in __list_remove_profile()
459 static void __remove_profile(struct aa_profile *profile) in __remove_profile() argument
462 __profile_list_release(&profile->base.profiles); in __remove_profile()
464 __aa_update_replacedby(profile, profile->ns->unconfined); in __remove_profile()
465 __aa_fs_profile_rmdir(profile); in __remove_profile()
[all …]
Dpolicy_unpack.c95 struct aa_profile *profile = __aa_current_profile(); in audit_iface() local
107 return aa_audit(AUDIT_APPARMOR_STATUS, profile, GFP_KERNEL, &sa, in audit_iface()
372 static bool unpack_trans_table(struct aa_ext *e, struct aa_profile *profile) in unpack_trans_table() argument
384 profile->file.trans.table = kzalloc(sizeof(char *) * size, in unpack_trans_table()
386 if (!profile->file.trans.table) in unpack_trans_table()
389 profile->file.trans.size = size; in unpack_trans_table()
398 profile->file.trans.table[i] = str; in unpack_trans_table()
430 aa_free_domain_entries(&profile->file.trans); in unpack_trans_table()
435 static bool unpack_rlimits(struct aa_ext *e, struct aa_profile *profile) in unpack_rlimits() argument
445 profile->rlimits.mask = tmp; in unpack_rlimits()
[all …]
Dapparmorfs.c252 struct aa_profile *profile = aa_get_profile_rcu(&r->profile); in aa_fs_seq_profname_show() local
253 seq_printf(seq, "%s\n", profile->base.name); in aa_fs_seq_profname_show()
254 aa_put_profile(profile); in aa_fs_seq_profname_show()
275 struct aa_profile *profile = aa_get_profile_rcu(&r->profile); in aa_fs_seq_profmode_show() local
276 seq_printf(seq, "%s\n", aa_profile_mode_names[profile->mode]); in aa_fs_seq_profmode_show()
277 aa_put_profile(profile); in aa_fs_seq_profmode_show()
298 struct aa_profile *profile = aa_get_profile_rcu(&r->profile); in aa_fs_seq_profattach_show() local
299 if (profile->attach) in aa_fs_seq_profattach_show()
300 seq_printf(seq, "%s\n", profile->attach); in aa_fs_seq_profattach_show()
301 else if (profile->xmatch) in aa_fs_seq_profattach_show()
[all …]
Daudit.c132 if (sa->aad->profile) { in audit_pre()
133 struct aa_profile *profile = sa->aad->profile; in audit_pre() local
134 if (profile->ns != root_ns) { in audit_pre()
136 audit_log_untrustedstring(ab, profile->ns->base.hname); in audit_pre()
139 audit_log_untrustedstring(ab, profile->base.hname); in audit_pre()
172 int aa_audit(int type, struct aa_profile *profile, gfp_t gfp, in aa_audit() argument
176 BUG_ON(!profile); in aa_audit()
180 if (AUDIT_MODE(profile) != AUDIT_ALL) in aa_audit()
183 } else if (COMPLAIN_MODE(profile)) in aa_audit()
188 if (AUDIT_MODE(profile) == AUDIT_QUIET || in aa_audit()
[all …]
Dlsm.c111 struct aa_profile *profile; in apparmor_capget() local
116 profile = aa_cred_profile(cred); in apparmor_capget()
122 if (!unconfined(profile) && !COMPLAIN_MODE(profile)) { in apparmor_capget()
123 *effective = cap_intersect(*effective, profile->caps.allow); in apparmor_capget()
124 *permitted = cap_intersect(*permitted, profile->caps.allow); in apparmor_capget()
134 struct aa_profile *profile; in apparmor_capable() local
137 profile = aa_cred_profile(cred); in apparmor_capable()
138 if (!unconfined(profile)) in apparmor_capable()
139 error = aa_capable(profile, cap, audit); in apparmor_capable()
155 struct aa_profile *profile; in common_perm() local
[all …]
Dfile.c106 int aa_audit_file(struct aa_profile *profile, struct file_perms *perms, in aa_audit_file() argument
126 if (unlikely(AUDIT_MODE(profile) == AUDIT_ALL)) in aa_audit_file()
144 AUDIT_MODE(profile) != AUDIT_NOQUIET && in aa_audit_file()
145 AUDIT_MODE(profile) != AUDIT_ALL) in aa_audit_file()
149 return COMPLAIN_MODE(profile) ? 0 : sa.aad->error; in aa_audit_file()
153 return aa_audit(type, profile, gfp, &sa, file_audit_cb); in aa_audit_file()
278 int aa_path_perm(int op, struct aa_profile *profile, struct path *path, in aa_path_perm() argument
286 flags |= profile->path_flags | (S_ISDIR(cond->mode) ? PATH_IS_DIR : 0); in aa_path_perm()
298 aa_str_perms(profile->file.dfa, profile->file.start, name, cond, in aa_path_perm()
303 error = aa_audit_file(profile, &perms, GFP_KERNEL, op, request, name, in aa_path_perm()
[all …]
Dprocattr.c36 int aa_getprocattr(struct aa_profile *profile, char **string) in aa_getprocattr() argument
40 const char *mode_str = aa_profile_mode_names[profile->mode]; in aa_getprocattr()
42 struct aa_namespace *ns = profile->ns; in aa_getprocattr()
57 if (!unconfined(profile)) in aa_getprocattr()
60 name_len = strlen(profile->base.hname); in aa_getprocattr()
71 if (unconfined(profile)) in aa_getprocattr()
73 sprintf(s, "%s\n", profile->base.hname); in aa_getprocattr()
75 sprintf(s, "%s (%s)\n", profile->base.hname, mode_str); in aa_getprocattr()
Dcrypto.c32 int aa_calc_profile_hash(struct aa_profile *profile, u32 version, void *start, in aa_calc_profile_hash() argument
45 profile->hash = kzalloc(apparmor_hash_size, GFP_KERNEL); in aa_calc_profile_hash()
46 if (!profile->hash) in aa_calc_profile_hash()
61 error = crypto_shash_final(&desc.shash, profile->hash); in aa_calc_profile_hash()
68 kfree(profile->hash); in aa_calc_profile_hash()
69 profile->hash = NULL; in aa_calc_profile_hash()
Dresource.c50 static int audit_resource(struct aa_profile *profile, unsigned int resource, in audit_resource() argument
62 return aa_audit(AUDIT_APPARMOR_AUTO, profile, GFP_KERNEL, &sa, in audit_resource()
91 int aa_task_setrlimit(struct aa_profile *profile, struct task_struct *task, in aa_task_setrlimit() argument
106 if (profile != task_profile || in aa_task_setrlimit()
107 (profile->rlimits.mask & (1 << resource) && in aa_task_setrlimit()
108 new_rlim->rlim_max > profile->rlimits.limits[resource].rlim_max)) in aa_task_setrlimit()
113 return audit_resource(profile, resource, new_rlim->rlim_max, error); in aa_task_setrlimit()
Dipc.c40 static int aa_audit_ptrace(struct aa_profile *profile, in aa_audit_ptrace() argument
51 return aa_audit(AUDIT_APPARMOR_AUTO, profile, GFP_ATOMIC, &sa, in aa_audit_ptrace()
/linux-4.4.14/security/apparmor/include/
Dcontext.h72 struct aa_profile *profile; member
82 int aa_replace_current_profile(struct aa_profile *profile);
83 int aa_set_current_onexec(struct aa_profile *profile);
84 int aa_set_current_hat(struct aa_profile *profile, u64 token);
100 BUG_ON(!cxt || !cxt->profile); in aa_cred_profile()
101 return cxt->profile; in aa_cred_profile()
152 struct aa_profile *profile; in aa_current_profile() local
153 BUG_ON(!cxt || !cxt->profile); in aa_current_profile()
155 if (PROFILE_INVALID(cxt->profile)) { in aa_current_profile()
156 profile = aa_get_newest_profile(cxt->profile); in aa_current_profile()
[all …]
Dpolicy.h156 struct aa_profile __rcu *profile; member
230 void aa_add_profile(struct aa_policy *common, struct aa_profile *profile);
245 void aa_free_profile(struct aa_profile *profile);
330 return aa_get_profile_rcu(&p->replacedby->profile); in aa_get_newest_profile()
364 tmp = rcu_dereference_protected(orig->replacedby->profile, in __aa_update_replacedby()
366 rcu_assign_pointer(orig->replacedby->profile, aa_get_profile(new)); in __aa_update_replacedby()
398 static inline int AUDIT_MODE(struct aa_profile *profile) in AUDIT_MODE() argument
403 return profile->audit; in AUDIT_MODE()
Dcrypto.h21 int aa_calc_profile_hash(struct aa_profile *profile, u32 version, void *start,
24 static inline int aa_calc_profile_hash(struct aa_profile *profile, u32 version, in aa_calc_profile_hash() argument
Dfile.h147 int aa_audit_file(struct aa_profile *profile, struct file_perms *perms,
174 int aa_path_perm(int op, struct aa_profile *profile, struct path *path,
177 int aa_path_link(struct aa_profile *profile, struct dentry *old_dentry,
180 int aa_file_perm(int op, struct aa_profile *profile, struct file *file,
Daudit.h109 void *profile; member
136 int aa_audit(int type, struct aa_profile *profile, gfp_t gfp,
Dapparmorfs.h96 void __aa_fs_profile_rmdir(struct aa_profile *profile);
99 int __aa_fs_profile_mkdir(struct aa_profile *profile, struct dentry *parent);
Dprocattr.h21 int aa_getprocattr(struct aa_profile *profile, char **string);
Dcapability.h41 int aa_capable(struct aa_profile *profile, int cap, int audit);
Dresource.h40 int aa_task_setrlimit(struct aa_profile *profile, struct task_struct *,
/linux-4.4.14/Documentation/ABI/obsolete/
Dsysfs-driver-hid-roccat-savu5 press of a button. A profile is split into general settings and
7 When written, this file lets one write the respective profile
10 Which profile to write is determined by the profile number
13 which profile to read.
20 profile will be read next. The data has to be 3 bytes long.
28 press of a button. A profile is split into general settings and
29 button settings. profile holds informations like resolution, sensitivity
31 When written, this file lets one write the respective profile
34 Which profile to write is determined by the profile number
51 keystrokes for a specific button for a specific profile.
[all …]
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 …]
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 …]
Dsysfs-driver-hid-roccat-pyra22 Description: When read, this file returns the number of the actual profile in
52 press of a button. A profile is split in settings and buttons.
54 When written, this file lets one write the respective profile
57 Which profile to write is determined by the profile number
60 which profile to read.
63 …interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/pyra/roccatpyra<minor>/profile[1-5]_buttons
67 press of a button. A profile is split in settings and buttons.
69 When read, these files return the respective profile buttons.
72 Write control to select profile and read profile_buttons instead.
79 press of a button. A profile is split in settings and buttons.
[all …]
Dsysfs-driver-hid-roccat-ryos5 profile will be read next. The data has to be 3 bytes long.
9 …config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/ryos/roccatryos<minor>/profile
13 press of a button. profile holds index of actual profile.
14 This value is persistent, so its value determines the profile
16 When written, the device activates the set profile immediately.
25 a specific profile. Profile index is included in written data.
28 which profile to read.
35 function keys for a specific profile. Profile index is included
38 which profile to read.
45 keys for a specific profile. Profile index is included in
[all …]
Dsysfs-driver-hid-roccat-isku6 profile. This value is persistent, so its equivalent to the
7 profile that's active when the device is powered on next time.
8 When written, this file sets the number of the startup profile
9 and the device activates this profile immediately.
28 which profile to read.
35 capslock key for a specific profile. Profile number is included
38 which profile to read.
45 easyzone keys for a specific profile. Profile number is included
48 which profile to read.
55 function keys for a specific profile. Profile number is included
[all …]
Dsysfs-driver-hid-roccat-konepure5 press of a button. actual_profile holds number of actual profile.
6 This value is persistent, so its value determines the profile
8 When written, the mouse activates the set profile immediately.
17 profile will be read next. The data has to be 3 bytes long.
35 button for a specific profile. Button and profile numbers are
44 press of a button. A profile is split in settings and buttons.
46 When written, this file lets one write the respective profile
49 Which profile to write is determined by the profile number
52 which profile to read.
59 press of a button. A profile is split in settings and buttons.
[all …]
Dsysfs-driver-hid-roccat-arvo6 profile which is also the profile that's active on device startup.
7 When written this attribute activates the selected profile
17 button for a specific profile. Button and profile numbers are
/linux-4.4.14/drivers/devfreq/
Ddevfreq.c80 for (lev = 0; lev < devfreq->profile->max_state; lev++) in devfreq_get_freq_level()
81 if (freq == devfreq->profile->freq_table[lev]) in devfreq_get_freq_level()
116 devfreq->profile->max_state) + lev]++; in devfreq_update_status()
196 err = devfreq->profile->target(devfreq->dev.parent, &freq, flags); in update_devfreq()
200 if (devfreq->profile->freq_table) in update_devfreq()
227 msecs_to_jiffies(devfreq->profile->polling_ms)); in devfreq_monitor()
243 if (devfreq->profile->polling_ms) in devfreq_monitor_start()
245 msecs_to_jiffies(devfreq->profile->polling_ms)); in devfreq_monitor_start()
307 devfreq->profile->polling_ms) in devfreq_monitor_resume()
309 msecs_to_jiffies(devfreq->profile->polling_ms)); in devfreq_monitor_resume()
[all …]
/linux-4.4.14/block/
Dblk-integrity.c148 if (!b1->profile && !b2->profile) in blk_integrity_compare()
151 if (!b1->profile || !b2->profile) in blk_integrity_compare()
175 if (b1->profile != b2->profile) { in blk_integrity_compare()
178 b1->profile->name, b2->profile->name); in blk_integrity_compare()
274 if (bi->profile && bi->profile->name) in integrity_format_show()
275 return sprintf(page, "%s\n", bi->profile->name); in integrity_format_show()
416 bi->profile = template->profile ? template->profile : &nop_profile; in blk_integrity_register()
445 if (bi->profile) in blk_integrity_revalidate()
Dbio-integrity.c185 if (bio_data_dir(bio) == READ && bi->profile->verify_fn != NULL && in bio_integrity_enabled()
189 if (bio_data_dir(bio) == WRITE && bi->profile->generate_fn != NULL && in bio_integrity_enabled()
348 bio_integrity_process(bio, bi->profile->generate_fn); in bio_integrity_prep()
369 bio->bi_error = bio_integrity_process(bio, bi->profile->verify_fn); in bio_integrity_verify_fn()
/linux-4.4.14/include/linux/
Ddevfreq.h160 struct devfreq_dev_profile *profile; member
184 struct devfreq_dev_profile *profile,
189 struct devfreq_dev_profile *profile,
221 return df->profile->get_dev_status(df->dev.parent, &df->last_status); in devfreq_update_stats()
246 struct devfreq_dev_profile *profile, in devfreq_add_device() argument
259 struct devfreq_dev_profile *profile, in devm_devfreq_add_device() argument
Disdn.h290 u_char profile[ISDN_MODEM_NUMREG]; /* Modem-Regs. Profile 0 */ member
Dgenhd.h169 struct blk_integrity_profile *profile; member
Dblkdev.h1507 if (!bi->profile) in blk_get_integrity()
/linux-4.4.14/drivers/s390/block/
Ddasd_ioctl.c306 dasd_profile_reset(&block->profile); in dasd_ioctl_reset_profile()
322 spin_lock_bh(&block->profile.lock); in dasd_ioctl_read_profile()
323 if (block->profile.data) { in dasd_ioctl_read_profile()
324 data->dasd_io_reqs = block->profile.data->dasd_io_reqs; in dasd_ioctl_read_profile()
325 data->dasd_io_sects = block->profile.data->dasd_io_sects; in dasd_ioctl_read_profile()
326 memcpy(data->dasd_io_secs, block->profile.data->dasd_io_secs, in dasd_ioctl_read_profile()
328 memcpy(data->dasd_io_times, block->profile.data->dasd_io_times, in dasd_ioctl_read_profile()
330 memcpy(data->dasd_io_timps, block->profile.data->dasd_io_timps, in dasd_ioctl_read_profile()
332 memcpy(data->dasd_io_time1, block->profile.data->dasd_io_time1, in dasd_ioctl_read_profile()
334 memcpy(data->dasd_io_time2, block->profile.data->dasd_io_time2, in dasd_ioctl_read_profile()
[all …]
Ddasd.c129 spin_lock_init(&device->profile.lock); in dasd_alloc_device()
167 spin_lock_init(&block->profile.lock); in dasd_alloc_block()
262 dasd_profile_init(&block->profile, block->debugfs_dentry); in dasd_state_known_to_basic()
264 dasd_profile_on(&device->block->profile); in dasd_state_known_to_basic()
269 dasd_profile_init(&device->profile, device->debugfs_dentry); in dasd_state_known_to_basic()
297 dasd_profile_exit(&device->block->profile); in dasd_state_basic_to_known()
306 dasd_profile_exit(&device->profile); in dasd_state_basic_to_known()
700 if (dasd_global_profile_level || block->profile.data) in dasd_profile_start()
713 spin_lock(&block->profile.lock); in dasd_profile_start()
714 if (block->profile.data) { in dasd_profile_start()
[all …]
Ddasd_proc.c158 rc = dasd_profile_on(&device->block->profile); in dasd_stats_all_block_on()
176 dasd_profile_off(&device->block->profile); in dasd_stats_all_block_off()
191 dasd_profile_reset(&device->block->profile); in dasd_stats_all_block_reset()
Ddasd_int.h482 struct dasd_profile profile; member
506 struct dasd_profile profile; member
/linux-4.4.14/drivers/isdn/hardware/eicon/
Dcapifunc.c589 a->profile.Number = card->Id; in diva_add_card()
590 a->profile.Channels = card->d.channels; in diva_add_card()
592 a->profile.Global_Options = 0x71; in diva_add_card()
594 a->profile.Global_Options |= 0x6; in diva_add_card()
596 a->profile.Global_Options |= 0x8; in diva_add_card()
598 a->profile.Global_Options |= 0x80; /* Line Interconnect */ in diva_add_card()
600 a->profile.Global_Options |= 0x100; in diva_add_card()
602 a->profile.B1_Protocols = 0xdf; in diva_add_card()
603 a->profile.B2_Protocols = 0x1fdb; in diva_add_card()
604 a->profile.B3_Protocols = 0xb7; in diva_add_card()
[all …]
Dmessage.c1679 if (a->profile.Global_Options & ON_BOARD_CODEC) { in listen_req()
5007 a->profile.Global_Options &= 0x000000ffL; in sig_ind()
5008 a->profile.B1_Protocols &= 0x000003ffL; in sig_ind()
5009 a->profile.B2_Protocols &= 0x00001fdfL; in sig_ind()
5010 a->profile.B3_Protocols &= 0x000000b7L; in sig_ind()
5012 a->profile.Global_Options &= GET_DWORD(&esc_profile[6]) | in sig_ind()
5014 a->profile.B1_Protocols &= GET_DWORD(&esc_profile[10]); in sig_ind()
5015 a->profile.B2_Protocols &= GET_DWORD(&esc_profile[14]); in sig_ind()
5016 a->profile.B3_Protocols &= GET_DWORD(&esc_profile[18]); in sig_ind()
5023 a->profile.Global_Options |= GL_ECHO_CANCELLER_SUPPORTED; in sig_ind()
[all …]
Ddivacapi.h373 API_PROFILE profile; member
/linux-4.4.14/drivers/net/ethernet/mellanox/mlxsw/
Dpci.c1159 const struct mlxsw_config_profile *profile) in mlxsw_pci_config_profile() argument
1165 if (profile->used_max_vepa_channels) { in mlxsw_pci_config_profile()
1169 mbox, profile->max_vepa_channels); in mlxsw_pci_config_profile()
1171 if (profile->used_max_lag) { in mlxsw_pci_config_profile()
1175 mbox, profile->max_lag); in mlxsw_pci_config_profile()
1177 if (profile->used_max_port_per_lag) { in mlxsw_pci_config_profile()
1181 mbox, profile->max_port_per_lag); in mlxsw_pci_config_profile()
1183 if (profile->used_max_mid) { in mlxsw_pci_config_profile()
1187 mbox, profile->max_mid); in mlxsw_pci_config_profile()
1189 if (profile->used_max_pgt) { in mlxsw_pci_config_profile()
[all …]
Dcore.h180 const struct mlxsw_config_profile *profile; member
186 const struct mlxsw_config_profile *profile);
Dcore.c817 err = mlxsw_bus->init(bus_priv, mlxsw_core, mlxsw_driver->profile); in mlxsw_core_bus_device_register()
Dswitchx2.c1538 .profile = &mlxsw_sx_config_profile,
Dspectrum.c1807 .profile = &mlxsw_sp_config_profile,
/linux-4.4.14/security/tomoyo/
Dcommon.c485 (struct tomoyo_policy_namespace *ns, const unsigned int profile) in tomoyo_assign_profile() argument
489 if (profile >= TOMOYO_MAX_PROFILES) in tomoyo_assign_profile()
491 ptr = ns->profile_ptr[profile]; in tomoyo_assign_profile()
497 ptr = ns->profile_ptr[profile]; in tomoyo_assign_profile()
510 ns->profile_ptr[profile] = ptr; in tomoyo_assign_profile()
528 const u8 profile) in tomoyo_profile() argument
531 struct tomoyo_profile *ptr = ns->profile_ptr[profile]; in tomoyo_profile()
585 struct tomoyo_profile *profile) in tomoyo_set_mode() argument
591 config = profile->default_config; in tomoyo_set_mode()
608 config = profile->config[i]; in tomoyo_set_mode()
[all …]
Dutil.c975 int tomoyo_get_mode(const struct tomoyo_policy_namespace *ns, const u8 profile, in tomoyo_get_mode() argument
983 p = tomoyo_profile(ns, profile); in tomoyo_get_mode()
1005 u8 profile; in tomoyo_init_request_info() local
1010 profile = domain->profile; in tomoyo_init_request_info()
1011 r->profile = profile; in tomoyo_init_request_info()
1013 r->mode = tomoyo_get_mode(domain->ns, profile, index); in tomoyo_init_request_info()
1076 if (count < tomoyo_profile(domain->ns, domain->profile)-> in tomoyo_domain_quota_is_ok()
Ddomain.c519 !entry->ns->profile_ptr[entry->profile]) in tomoyo_assign_domain()
546 e.profile = domain->profile; in tomoyo_assign_domain()
573 entry->profile); in tomoyo_assign_domain()
603 ee->r.profile = r->domain->profile; in tomoyo_environ()
604 ee->r.mode = tomoyo_get_mode(r->domain->ns, ee->r.profile, in tomoyo_environ()
Daudit.c166 stamp.day, stamp.hour, stamp.min, stamp.sec, r->profile, in tomoyo_print_header()
322 const u8 profile, const u8 index, in tomoyo_get_audit() argument
332 p = tomoyo_profile(ns, profile); in tomoyo_get_audit()
364 if (!tomoyo_get_audit(r->domain->ns, r->profile, r->type, in tomoyo_write_log2()
DMakefile10 …cmd_policy = ($(call do_policy,profile); $(call do_policy,exception_policy); $(call do_policy,dom…
Dcommon.h494 u8 profile; member
683 u8 profile; /* Profile number to use. */ member
966 int tomoyo_get_mode(const struct tomoyo_policy_namespace *ns, const u8 profile,
1028 const u8 profile);
Dfile.c564 r->mode = tomoyo_get_mode(r->domain->ns, r->profile, r->type); in tomoyo_path_permission()
596 r->mode = tomoyo_get_mode(r->domain->ns, r->profile, r->type); in tomoyo_execute_permission()
/linux-4.4.14/drivers/scsi/
Dsd_dif.c64 bi.profile = &t10_pi_type3_ip; in sd_dif_config_host()
66 bi.profile = &t10_pi_type1_ip; in sd_dif_config_host()
71 bi.profile = &t10_pi_type3_crc; in sd_dif_config_host()
73 bi.profile = &t10_pi_type1_crc; in sd_dif_config_host()
77 "Enabling DIX %s protection\n", bi.profile->name); in sd_dif_config_host()
/linux-4.4.14/Documentation/ABI/testing/
Dsysfs-driver-hid-roccat-kone24 Description: When read, this file returns the number of the actual profile.
39 …g num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/kone/roccatkone<minor>/profile[1-5]
43 press of a button. A profile holds information like button
46 When read, these files return the respective profile. The
48 When written, this file lets one write the respective profile
50 The mouse will reject invalid data, whereas the profile number
51 stored in the profile doesn't need to fit the number of the
70 When read, this attribute returns the number of the profile
72 When written, this file sets the number of the startup profile
73 and the mouse activates this profile immediately.
Dsysfs-hypervisor-pmu9 "self" -- The guest can profile itself
10 "hv" -- The guest can profile itself and, if it is
12 "all" -- The guest can profile itself, the hypervisor
Dsysfs-profiling6 of the boot-time profile= option.
12 as you would by issuing profile=2 on the boot
Dsysfs-driver-hid-corsair15 Description: Get/set the current selected profile. Values are from 1 to 3.
Dsysfs-firmware-acpi27 processors, PCI root bridges etc. A hotplug profile for a given
34 hotplug profile:
Dsysfs-class-devfreq56 with its profile.
/linux-4.4.14/drivers/hid/
Dhid-roccat-isku.c77 unsigned long profile; in isku_sysfs_set_actual_profile() local
85 retval = kstrtoul(buf, 10, &profile); in isku_sysfs_set_actual_profile()
89 if (profile > 4) in isku_sysfs_set_actual_profile()
94 retval = isku_set_actual_profile(usb_dev, profile); in isku_sysfs_set_actual_profile()
100 isku_profile_activated(isku, profile); in isku_sysfs_set_actual_profile()
103 roccat_report.data1 = profile + 1; in isku_sysfs_set_actual_profile()
105 roccat_report.profile = profile + 1; in isku_sysfs_set_actual_profile()
395 roccat_report.profile = isku->actual_profile + 1; in isku_report_to_chrdev()
Dhid-roccat-koneplus.c262 unsigned long profile; in koneplus_sysfs_set_actual_profile() local
270 retval = kstrtoul(buf, 10, &profile); in koneplus_sysfs_set_actual_profile()
274 if (profile > 4) in koneplus_sysfs_set_actual_profile()
279 retval = koneplus_set_actual_profile(usb_dev, profile); in koneplus_sysfs_set_actual_profile()
285 koneplus_profile_activated(koneplus, profile); in koneplus_sysfs_set_actual_profile()
288 roccat_report.data1 = profile + 1; in koneplus_sysfs_set_actual_profile()
290 roccat_report.profile = profile + 1; in koneplus_sysfs_set_actual_profile()
509 roccat_report.profile = koneplus->actual_profile + 1; in koneplus_report_to_chrdev()
Dhid-roccat-arvo.c163 unsigned long profile; in arvo_sysfs_set_actual_profile() local
166 retval = kstrtoul(buf, 10, &profile); in arvo_sysfs_set_actual_profile()
170 if (profile < 1 || profile > 5) in arvo_sysfs_set_actual_profile()
174 temp_buf.actual_profile = profile; in arvo_sysfs_set_actual_profile()
180 arvo->actual_profile = profile; in arvo_sysfs_set_actual_profile()
392 roccat_report.profile = arvo->actual_profile; in arvo_report_to_chrdev()
Dhid-roccat-kovaplus.c290 unsigned long profile; in kovaplus_sysfs_set_actual_profile() local
298 retval = kstrtoul(buf, 10, &profile); in kovaplus_sysfs_set_actual_profile()
302 if (profile >= 5) in kovaplus_sysfs_set_actual_profile()
306 retval = kovaplus_set_actual_profile(usb_dev, profile); in kovaplus_sysfs_set_actual_profile()
312 kovaplus_profile_activated(kovaplus, profile); in kovaplus_sysfs_set_actual_profile()
315 roccat_report.profile = profile + 1; in kovaplus_sysfs_set_actual_profile()
317 roccat_report.data1 = profile + 1; in kovaplus_sysfs_set_actual_profile()
582 roccat_report.profile = kovaplus->actual_profile + 1; in kovaplus_report_to_chrdev()
Dhid-roccat-kone.c208 struct kone_profile const *profile, int number) in kone_set_profile() argument
218 kone_command_profile, number, (void *)profile, in kone_set_profile()
360 struct kone_profile *profile; in kone_sysfs_write_profilex() local
367 profile = &kone->profiles[*(uint *)(attr->private)]; in kone_sysfs_write_profilex()
370 difference = memcmp(buf, profile, sizeof(struct kone_profile)); in kone_sysfs_write_profilex()
376 memcpy(profile, buf, sizeof(struct kone_profile)); in kone_sysfs_write_profilex()
Dhid-corsair.c352 int profile; in k90_store_current_profile() local
354 if (kstrtoint(buf, 10, &profile)) in k90_store_current_profile()
356 if (profile < 1 || profile > 3) in k90_store_current_profile()
362 USB_RECIP_DEVICE, profile, 0, NULL, 0, in k90_store_current_profile()
Dhid-roccat-arvo.h66 uint8_t profile; member
Dhid-roccat-isku.h88 uint8_t profile; member
Dhid-roccat-koneplus.h113 uint8_t profile; member
Dhid-roccat-kovaplus.h115 uint8_t profile; member
Dhid-roccat-kone.h106 uint8_t profile; /* range 1-5 */ member
Dhid-roccat-savu.c31 ROCCAT_COMMON2_BIN_ATTRIBUTE_RW(profile, 0x5, 0x03);
Dhid-roccat-ryos.c37 ROCCAT_COMMON2_BIN_ATTRIBUTE_RW(profile, 0x05, 0x03);
/linux-4.4.14/drivers/staging/panel/
DKconfig26 int "Default panel profile (0-5, 0=custom)"
93 This is the number of visible character lines on the LCD in custom profile.
102 This is the number of characters per line on the LCD in custom profile.
118 This option lets you configure the value used by your LCD in 'custom' profile.
177 Default for the 'E' pin in custom profile is '14' (AUTOFEED).
192 Default for the 'RS' pin in custom profile is '17' (SELECT IN).
207 Default for the 'RW' pin in custom profile is '16' (INIT).
222 Default for the 'SCL' pin in custom profile is '1' (STROBE).
237 Default for the 'SDA' pin in custom profile is '2' (D0).
252 Default for the 'BL' pin in custom profile is '0' (uncontrolled).
Dpanel.c489 static int profile = DEFAULT_PROFILE; variable
490 module_param(profile, int, 0000);
491 MODULE_PARM_DESC(profile,
2315 switch (profile) { in panel_init_module()
/linux-4.4.14/arch/mn10300/kernel/
DMakefile25 obj-$(CONFIG_PROFILE) += profile.o profile-low.o
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmfmac/
Dcfg80211.c1287 struct brcmf_cfg80211_profile *profile = &ifp->vif->profile; in brcmf_cfg80211_join_ibss() local
1371 profile->ssid.SSID_len = min_t(u32, params->ssid_len, 32); in brcmf_cfg80211_join_ibss()
1372 memcpy(profile->ssid.SSID, params->ssid, profile->ssid.SSID_len); in brcmf_cfg80211_join_ibss()
1373 memcpy(join_params.ssid_le.SSID, params->ssid, profile->ssid.SSID_len); in brcmf_cfg80211_join_ibss()
1374 join_params.ssid_le.SSID_len = cpu_to_le32(profile->ssid.SSID_len); in brcmf_cfg80211_join_ibss()
1382 memcpy(profile->bssid, params->bssid, ETH_ALEN); in brcmf_cfg80211_join_ibss()
1385 eth_zero_addr(profile->bssid); in brcmf_cfg80211_join_ibss()
1452 struct brcmf_cfg80211_profile *profile = ndev_to_prof(ndev); in brcmf_set_wpa_version() local
1469 sec = &profile->sec; in brcmf_set_wpa_version()
1477 struct brcmf_cfg80211_profile *profile = ndev_to_prof(ndev); in brcmf_set_auth_type() local
[all …]
Dcfg80211.h193 struct brcmf_cfg80211_profile profile; member
455 return &ifp->vif->profile; in ndev_to_prof()
/linux-4.4.14/tools/perf/Documentation/
Dperf-kvm.txt23 a performance counter profile of guest os in realtime
26 'perf kvm record <command>' to record the performance counter profile
39 'perf kvm report' to display the performance counter profile information
76 Collect host side performance profile.
78 Collect guest side performance profile.
Dperf-mem.txt19 right set of options to display a memory access profile. By default, loads
Dperf-diff.txt6 perf-diff - Read perf.data files and display the differential profile
20 The differential profile is displayed only for events matching both
Dperf-record.txt6 perf-record - Run a command and record its profile into perf.data
16 This command runs a command and gathers a performance counter profile
68 If you want to profile read-write accesses in 0x1000, just set
70 If you want to profile write accesses in [0x1000~1008), just set
Dperf-top.txt15 This command generates and displays a performance counter profile in real time.
255 Stop annotation, return to full profile display.
Dperf-report.txt6 perf-report - Read perf.data (created by perf record) and display the profile
15 This command displays the performance counter profile information recorded
Dintel-pt.txt788 $ ./create_gcov --binary=./sort --profile=inj --gcov=sort.gcov -gcov_version=1
789 $ gcc-5 -O3 -fauto-profile=sort.gcov sort.c -o sort_autofdo
/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/
Damdgpu_atombios.c1176 ATOM_ASIC_PROFILING_INFO_V2_1 *profile; in amdgpu_atombios_get_leakage_vddc_based_on_leakage_params() local
1186 profile = (ATOM_ASIC_PROFILING_INFO_V2_1 *) in amdgpu_atombios_get_leakage_vddc_based_on_leakage_params()
1199 le16_to_cpu(profile->usLeakageBinArrayOffset)); in amdgpu_atombios_get_leakage_vddc_based_on_leakage_params()
1202 le16_to_cpu(profile->usElbVDDC_IdArrayOffset)); in amdgpu_atombios_get_leakage_vddc_based_on_leakage_params()
1205 le16_to_cpu(profile->usElbVDDC_LevelArrayOffset)); in amdgpu_atombios_get_leakage_vddc_based_on_leakage_params()
1208 le16_to_cpu(profile->usElbVDDCI_IdArrayOffset)); in amdgpu_atombios_get_leakage_vddc_based_on_leakage_params()
1211 le16_to_cpu(profile->usElbVDDCI_LevelArrayOffset)); in amdgpu_atombios_get_leakage_vddc_based_on_leakage_params()
1213 if (profile->ucElbVDDC_Num > 0) { in amdgpu_atombios_get_leakage_vddc_based_on_leakage_params()
1214 for (i = 0; i < profile->ucElbVDDC_Num; i++) { in amdgpu_atombios_get_leakage_vddc_based_on_leakage_params()
1216 for (j = 0; j < profile->ucLeakageBinNum; j++) { in amdgpu_atombios_get_leakage_vddc_based_on_leakage_params()
[all …]
/linux-4.4.14/drivers/isdn/hysdn/
Dhycapi.c720 ctrl->profile.ncontroller = card->myid; in hycapi_fill_profile()
721 ctrl->profile.nbchannel = card->bchans; in hycapi_fill_profile()
722 ctrl->profile.goptions = GLOBAL_OPTION_INTERNAL_CONTROLLER | in hycapi_fill_profile()
724 ctrl->profile.support1 = B1_PROT_64KBIT_HDLC | in hycapi_fill_profile()
727 ctrl->profile.support2 = B2_PROT_ISO7776 | in hycapi_fill_profile()
730 ctrl->profile.support3 = B3_PROT_TRANSPARENT | in hycapi_fill_profile()
/linux-4.4.14/drivers/spi/
Dspi-bcm63xx-hsspi.c128 unsigned profile = spi->chip_select; in bcm63xx_hsspi_set_clk() local
133 bs->regs + HSSPI_PROFILE_CLK_CTRL_REG(profile)); in bcm63xx_hsspi_set_clk()
135 reg = __raw_readl(bs->regs + HSSPI_PROFILE_SIGNAL_CTRL_REG(profile)); in bcm63xx_hsspi_set_clk()
140 __raw_writel(reg, bs->regs + HSSPI_PROFILE_SIGNAL_CTRL_REG(profile)); in bcm63xx_hsspi_set_clk()
/linux-4.4.14/arch/tile/include/asm/
Dstack.h30 int profile; /* profiling, so stop on async intrpt */ member
/linux-4.4.14/arch/cris/kernel/
DMakefile15 obj-$(CONFIG_SYSTEM_PROFILER) += profile.o
/linux-4.4.14/drivers/isdn/i4l/
Disdn_tty.c1634 m->profile[0] = 0; in isdn_tty_reset_profile()
1635 m->profile[1] = 0; in isdn_tty_reset_profile()
1636 m->profile[2] = 43; in isdn_tty_reset_profile()
1637 m->profile[3] = 13; in isdn_tty_reset_profile()
1638 m->profile[4] = 10; in isdn_tty_reset_profile()
1639 m->profile[5] = 8; in isdn_tty_reset_profile()
1640 m->profile[6] = 3; in isdn_tty_reset_profile()
1641 m->profile[7] = 60; in isdn_tty_reset_profile()
1642 m->profile[8] = 2; in isdn_tty_reset_profile()
1643 m->profile[9] = 6; in isdn_tty_reset_profile()
[all …]
Disdn_common.c1549 if (copy_to_user(p, dev->mdm.info[i].emu.profile, in isdn_ioctl()
1576 if (copy_from_user(dev->mdm.info[i].emu.profile, p, in isdn_ioctl()
/linux-4.4.14/drivers/isdn/hardware/avm/
Db1.c350 else nconn = ctrl->profile.nbchannel * -want; in b1_register_appl()
351 if (nconn == 0) nconn = ctrl->profile.nbchannel; in b1_register_appl()
433 memcpy(&ctrl->profile, cinfo->version[VER_PROFILE], sizeof(capi_profile)); in b1_parse_version()
444 profp = &ctrl->profile; in b1_parse_version()
674 flag = ((u8 *)(ctrl->profile.manu))[3]; in b1ctl_proc_show()
688 flag = ((u8 *)(ctrl->profile.manu))[5]; in b1ctl_proc_show()
Db1dma.c782 else nconn = ctrl->profile.nbchannel * -want; in b1dma_register_appl()
783 if (nconn == 0) nconn = ctrl->profile.nbchannel; in b1dma_register_appl()
896 flag = ((u8 *)(ctrl->profile.manu))[3]; in b1dmactl_proc_show()
910 flag = ((u8 *)(ctrl->profile.manu))[5]; in b1dmactl_proc_show()
Dc4.c962 else nconn = ctrl->profile.nbchannel * 4 * -want; in c4_register_appl()
963 if (nconn == 0) nconn = ctrl->profile.nbchannel * 4; in c4_register_appl()
1101 flag = ((u8 *)(ctrl->profile.manu))[3]; in c4_proc_show()
1115 flag = ((u8 *)(ctrl->profile.manu))[5]; in c4_proc_show()
/linux-4.4.14/drivers/target/
Dtarget_core_iblock.c142 if (!strcmp(bi->profile->name, "T10-DIF-TYPE3-IP") || in iblock_configure_device()
143 !strcmp(bi->profile->name, "T10-DIF-TYPE1-IP")) { in iblock_configure_device()
145 " supported\n", bi->profile->name); in iblock_configure_device()
150 if (!strcmp(bi->profile->name, "T10-DIF-TYPE3-CRC")) { in iblock_configure_device()
152 } else if (!strcmp(bi->profile->name, "T10-DIF-TYPE1-CRC")) { in iblock_configure_device()
/linux-4.4.14/Documentation/features/debug/gcov-profile-all/
Darch-support.txt2 # Feature name: gcov-profile-all
/linux-4.4.14/include/uapi/linux/can/
Dgw.h123 __u8 profile; member
/linux-4.4.14/drivers/scsi/lpfc/
Dlpfc_sli.h150 uint8_t profile; /* profile associated with ring */ member
243 uint32_t profile; /* Selection profile 0=all, 7=logentry */ member
Dlpfc_mbox.c1143 hbqmb->profile = hbq_desc->profile; /* Selection profile: in lpfc_config_hbq()
1165 if (hbq_desc->profile == 2) in lpfc_config_hbq()
1167 else if (hbq_desc->profile == 3) in lpfc_config_hbq()
1169 else if (hbq_desc->profile == 5) in lpfc_config_hbq()
1226 if (pring->prt[0].profile) { in lpfc_config_ring()
1227 mb->un.varCfgRing.profile = pring->prt[0].profile; in lpfc_config_ring()
Dlpfc_hw.h2168 uint32_t profile:8; member
2174 uint32_t profile:8;
2273 uint32_t profile:8; member
2279 uint32_t profile:8;
2878 uint32_t profile :8; /* Selection Profile */ member
2882 uint32_t profile :8; /* Selection Profile */
Dlpfc_sli.c1829 .profile = 0,
1841 .profile = 0,
2439 if (pring->prt[0].profile) { in lpfc_complete_unsol_iocb()
8918 pring->prt[0].profile = 0; /* Mask 0 */ in lpfc_extra_ring_setup()
9178 pring->prt[0].profile = 0; /* Mask 0 */ in lpfc_sli_setup()
9183 pring->prt[1].profile = 0; /* Mask 1 */ in lpfc_sli_setup()
9188 pring->prt[2].profile = 0; /* Mask 2 */ in lpfc_sli_setup()
9195 pring->prt[3].profile = 0; /* Mask 3 */ in lpfc_sli_setup()
Dlpfc_debugfs.c307 hip->hbq_index, hip->profile, hip->rn, in lpfc_debugfs_hbqinfo_data()
/linux-4.4.14/drivers/media/platform/s5p-mfc/
Ds5p_mfc_common.h347 enum v4l2_mpeg_video_h264_profile profile; member
397 enum v4l2_mpeg_video_mpeg4_profile profile; member
428 u8 profile; member
Ds5p_mfc_enc.c1467 p->codec.h264.profile = in s5p_mfc_enc_s_ctrl()
1471 p->codec.h264.profile = in s5p_mfc_enc_s_ctrl()
1475 p->codec.h264.profile = in s5p_mfc_enc_s_ctrl()
1480 p->codec.h264.profile = in s5p_mfc_enc_s_ctrl()
1594 p->codec.mpeg4.profile = in s5p_mfc_enc_s_ctrl()
1598 p->codec.mpeg4.profile = in s5p_mfc_enc_s_ctrl()
1642 p->codec.vp8.profile = ctrl->val; in s5p_mfc_enc_s_ctrl()
Ds5p_mfc_opr_v6.c824 reg |= p_h264->profile & 0x3F; in s5p_mfc_set_enc_params_h264()
1104 reg |= p_mpeg4->profile & 0x3F; in s5p_mfc_set_enc_params_mpeg4()
1253 reg = p_vp8->profile & 0x3; in s5p_mfc_set_enc_params_vp8()
Ds5p_mfc_opr_v5.c784 reg |= p_264->profile; in s5p_mfc_set_enc_params_h264()
942 reg |= p_mpeg4->profile; in s5p_mfc_set_enc_params_mpeg4()
/linux-4.4.14/include/uapi/linux/
Dcapi.h114 capi_profile profile; member
/linux-4.4.14/sound/pci/hda/
Dhda_eld.c229 a->profile = GRAB_BITS(buf, 2, 0, 3); in hdmi_update_short_audio_desc()
475 if (a->profile) in hdmi_print_sad_info()
476 snd_iprintf(buffer, "sad%d_profile\t\t%d\n", i, a->profile); in hdmi_print_sad_info()
583 e->sad[n].profile = val; in snd_hdmi_write_eld_info()
Dhda_local.h723 int profile; /* for WMAPRO */ member
/linux-4.4.14/drivers/net/wireless/iwlwifi/mvm/
Dscan.c463 struct iwl_scan_offload_profile *profile; in iwl_mvm_config_sched_scan_profiles() local
508 profile = &profile_cfg->profiles[i]; in iwl_mvm_config_sched_scan_profiles()
509 profile->ssid_index = i; in iwl_mvm_config_sched_scan_profiles()
511 profile->unicast_cipher = 0xff; in iwl_mvm_config_sched_scan_profiles()
512 profile->auth_alg = 0xff; in iwl_mvm_config_sched_scan_profiles()
513 profile->network_type = IWL_NETWORK_TYPE_ANY; in iwl_mvm_config_sched_scan_profiles()
514 profile->band_selection = IWL_SCAN_OFFLOAD_SELECT_ANY; in iwl_mvm_config_sched_scan_profiles()
515 profile->client_bitmap = SCAN_CLIENT_SCHED_SCAN; in iwl_mvm_config_sched_scan_profiles()
/linux-4.4.14/include/linux/isdn/
Dcapilli.h58 capi_profile profile; /* CAPI_GET_PROFILE */ member
/linux-4.4.14/Documentation/zh_CN/
Dbasic_profiling.txt39 启用readprofile需要在kernel启动命令行增加”profile=2“
/linux-4.4.14/net/bluetooth/cmtp/
Dcapi.c243 memcpy(&ctrl->profile, in cmtp_recv_interopmsg()
400 nconn = ctrl->profile.nbchannel * -want; in cmtp_register_appl()
405 nconn = ctrl->profile.nbchannel; in cmtp_register_appl()
/linux-4.4.14/Documentation/block/
Ddata-integrity.txt152 profile (struct blk_integrity). This optional profile is registered
155 The profile contains callback functions for generating and verifying
157 The profile also contains a few constants to aid in completing,
160 Layered block devices will need to pick a profile that's appropriate
/linux-4.4.14/drivers/isdn/capi/
Dcapi.c807 cdev->errcode = capi20_get_profile(data.contr, &data.profile); in capi_ioctl()
812 &data.profile.ncontroller, in capi_ioctl()
813 sizeof(data.profile.ncontroller)); in capi_ioctl()
816 cdev->errcode = capi20_get_profile(data.contr, &data.profile); in capi_ioctl()
820 retval = copy_to_user(argp, &data.profile, in capi_ioctl()
821 sizeof(data.profile)); in capi_ioctl()
Dcapidrv.c2432 capi_profile profile; in lower_callback() local
2438 if (capi20_get_profile(contr, &profile) == CAPI_NOERROR) in lower_callback()
2439 (void) capidrv_addcontr(contr, &profile); in lower_callback()
2492 capi_profile profile; in capidrv_init() local
2508 errcode = capi20_get_profile(0, &profile); in capidrv_init()
2515 ncontr = profile.ncontroller; in capidrv_init()
2517 errcode = capi20_get_profile(contr, &profile); in capidrv_init()
2520 (void) capidrv_addcontr(contr, &profile); in capidrv_init()
Dkcapi.c224 memset(&ctr->profile, 0, sizeof(ctr->profile)); in ctr_down()
967 memcpy(profp, &ctr->profile, sizeof(struct capi_profile)); in capi20_get_profile()
/linux-4.4.14/drivers/gpu/drm/radeon/
Dradeon_pm.c83 if (rdev->pm.profile == PM_PROFILE_AUTO) { in radeon_pm_acpi_event_handler()
94 switch (rdev->pm.profile) { in radeon_pm_update_profile()
347 int cp = rdev->pm.profile; in radeon_get_pm_profile()
372 rdev->pm.profile = PM_PROFILE_DEFAULT; in radeon_set_pm_profile()
374 rdev->pm.profile = PM_PROFILE_AUTO; in radeon_set_pm_profile()
376 rdev->pm.profile = PM_PROFILE_LOW; in radeon_set_pm_profile()
378 rdev->pm.profile = PM_PROFILE_MID; in radeon_set_pm_profile()
380 rdev->pm.profile = PM_PROFILE_HIGH; in radeon_set_pm_profile()
1290 rdev->pm.profile = PM_PROFILE_DEFAULT; in radeon_pm_init_old()
1583 rdev->pm.profile = PM_PROFILE_DEFAULT; in radeon_pm_fini_old()
Dradeon_atombios.c3215 ATOM_ASIC_PROFILING_INFO_V2_1 *profile; in radeon_atom_get_leakage_vddc_based_on_leakage_params() local
3225 profile = (ATOM_ASIC_PROFILING_INFO_V2_1 *) in radeon_atom_get_leakage_vddc_based_on_leakage_params()
3238 le16_to_cpu(profile->usLeakageBinArrayOffset)); in radeon_atom_get_leakage_vddc_based_on_leakage_params()
3241 le16_to_cpu(profile->usElbVDDC_IdArrayOffset)); in radeon_atom_get_leakage_vddc_based_on_leakage_params()
3244 le16_to_cpu(profile->usElbVDDC_LevelArrayOffset)); in radeon_atom_get_leakage_vddc_based_on_leakage_params()
3247 le16_to_cpu(profile->usElbVDDCI_IdArrayOffset)); in radeon_atom_get_leakage_vddc_based_on_leakage_params()
3250 le16_to_cpu(profile->usElbVDDCI_LevelArrayOffset)); in radeon_atom_get_leakage_vddc_based_on_leakage_params()
3252 if (profile->ucElbVDDC_Num > 0) { in radeon_atom_get_leakage_vddc_based_on_leakage_params()
3253 for (i = 0; i < profile->ucElbVDDC_Num; i++) { in radeon_atom_get_leakage_vddc_based_on_leakage_params()
3255 for (j = 0; j < profile->ucLeakageBinNum; j++) { in radeon_atom_get_leakage_vddc_based_on_leakage_params()
[all …]
Dradeon.h1649 enum radeon_pm_profile_type profile; member
/linux-4.4.14/Documentation/security/
Dapparmor.txt5 from user space. Tasks on the system that do not have a profile defined for
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx5/core/
Dmain.c77 static struct mlx5_profile profile[] = { variable
406 struct mlx5_profile *prof = dev->profile; in handle_hca_cap()
1202 if (prof_sel < 0 || prof_sel >= ARRAY_SIZE(profile)) { in init_one()
1207 dev->profile = &profile[prof_sel]; in init_one()
/linux-4.4.14/Documentation/
Dbasic_profiling.txt22 Add "profile=2" to the kernel command line.
D00-INDEX91 - basic instructions for those who wants to profile Linux kernel.
Dkernel-parameters.txt3011 profile= [KNL] Enable kernel profiling via /proc/profile
3013 Param: "schedule" - profile schedule points.
3016 Param: "sleep" - profile D-state sleeping (millisecs).
3018 Param: "kvm" - profile VM exits.
Ddevices.txt2639 0 = /dev/profile Profiling control device
/linux-4.4.14/arch/tile/kernel/
Dstack.c118 if (kbt->profile && ((1ULL << p->faultnum) & QUEUED_INTERRUPTS) != 0) in valid_fault_handler()
232 kbt->profile = 0; /* override in caller if desired */ in KBacktraceIterator_init()
Dperf_event.c963 kbt.profile = 1; in perf_callchain()
/linux-4.4.14/Documentation/frv/
Dbooting.txt159 (*) profile=1
161 Turns on the kernel profiler (accessible through /proc/profile).
/linux-4.4.14/include/uapi/sound/
Dcompress_params.h395 __u32 profile; member
/linux-4.4.14/kernel/
DMakefile35 obj-$(CONFIG_PROFILING) += profile.o
/linux-4.4.14/net/can/
Dgw.c275 switch (crc8->profile) { in cgw_csum_crc8_rel()
303 switch (crc8->profile) { in cgw_csum_crc8_pos()
330 switch (crc8->profile) { in cgw_csum_crc8_neg()
/linux-4.4.14/drivers/isdn/gigaset/
Dcapi.c961 iif->ctr.profile.nbchannel = cs->channels; in gigaset_isdn_start()
963 iif->ctr.profile.goptions = 0x11; in gigaset_isdn_start()
965 iif->ctr.profile.support1 = 0x03; in gigaset_isdn_start()
968 iif->ctr.profile.support2 = 0x02; in gigaset_isdn_start()
970 iif->ctr.profile.support3 = 0x01; in gigaset_isdn_start()
/linux-4.4.14/include/linux/mlx5/
Ddevice.h395 __be16 profile; member
407 __be16 profile; member
Ddriver.h526 struct mlx5_profile *profile; member
Dmlx5_ifc.h2580 u8 profile[0x10]; member
/linux-4.4.14/drivers/net/wireless/ath/ath6kl/
Dmain.c575 vif->profile.ch = cpu_to_le16(channel); in ath6kl_commit_ch_switch()
592 &vif->profile); in ath6kl_commit_ch_switch()
974 ar->last_ch = le16_to_cpu(vif->profile.ch); in ath6kl_disconnect_event()
Dcore.h646 struct wmi_connect_cmd profile; member
Dcfg80211.c2940 memcpy(&vif->profile, &p, sizeof(p)); in ath6kl_start_ap()
/linux-4.4.14/drivers/nvdimm/
Dcore.c402 bi.profile = NULL; in nd_integrity_init()
/linux-4.4.14/Documentation/video4linux/bttv/
DCards162 LR99 Rev.E = Low profile card for OEM integration (only internal audio!) bt878
163 LR136 = Flyvideo 2100/3100 (Low profile, SAA7130/SAA7134)
788 KWORLD KW-TVL878RF (low profile)
953 Asus TV Tuner Card 880 NTSC (low profile, cx23880)
/linux-4.4.14/sound/pci/asihpi/
Dhpi.h1376 u16 profile);
1379 u16 *profile);
Dhpifunc.c2800 u16 profile) in hpi_volume_auto_fade_profile() argument
2815 hm.u.c.param2 = profile; in hpi_volume_auto_fade_profile()
2830 u16 *profile) in hpi_volume_query_auto_fade_profile() argument
2835 *profile = (u16)u; in hpi_volume_query_auto_fade_profile()
/linux-4.4.14/drivers/net/wireless/prism54/
Disl_ioctl.c833 u32 rate, profile; in prism54_set_rate() local
840 profile = 1; in prism54_set_rate()
841 return mgt_set_request(priv, DOT11_OID_PROFILES, 0, &profile); in prism54_set_rate()
888 profile = -1; in prism54_set_rate()
889 ret = mgt_set_request(priv, DOT11_OID_PROFILES, 0, &profile); in prism54_set_rate()
/linux-4.4.14/drivers/net/ethernet/intel/i40e/
Di40e_prototype.h214 enum i40e_aq_hmc_profile profile,
Di40e_common.c2591 enum i40e_aq_hmc_profile profile, in i40e_aq_set_hmc_resource_profile() argument
2603 cmd->pm_profile = (u8)profile; in i40e_aq_set_hmc_resource_profile()
/linux-4.4.14/Documentation/isdn/
DINTERFACE.CAPI42 information fields 'manu', 'version', 'profile' and 'serial' in the capi_ctr
173 capi_profile profile
DREADME125 AT&F Reset all registers and profile to "factory-defaults"
154 AT&W0 Write registers and EAZ/MSN to profile. See also
351 line. It will store the profile-settings in this file every time
/linux-4.4.14/drivers/infiniband/hw/mlx5/
Dmr.c599 if (dev->mdev->profile->mask & MLX5_PROF_MASK_MR_CACHE) in mlx5_mr_cache_init()
600 limit = dev->mdev->profile->mr_cache[i].limit; in mlx5_mr_cache_init()
/linux-4.4.14/Documentation/arm64/
Dacpi_object_usage.txt105 the hardware reduced profile, and only 64-bit address fields will
495 profile used by arm64. Since there are no GPE blocks defined for use on ARM
/linux-4.4.14/kernel/trace/
DKconfig286 The "all branch" profiler will profile every if-statement in the
310 on if you need to profile the system's use of these macros.
/linux-4.4.14/drivers/scsi/pm8001/
Dpm80xx_hwi.h882 __le32 profile[29]; member
/linux-4.4.14/Documentation/sound/alsa/
Dcompress_offload.txt107 the number of channels supported may depend on a specific profile. If
/linux-4.4.14/Documentation/scsi/
Dncr53c8xx.txt25 8.6 Clear profile counters
374 attached. So, if the driver is a module, the profile counters are
506 8.6 Clear profile counters
510 The profile counters are automatically cleared when the amount of
DChangeLog.sym53c8xx177 profile support option was set in kernel configuration.
/linux-4.4.14/drivers/nvme/host/
Dpci.c559 integrity.profile = &t10_pi_type3_crc; in nvme_init_integrity()
563 integrity.profile = &t10_pi_type1_crc; in nvme_init_integrity()
566 integrity.profile = NULL; in nvme_init_integrity()
/linux-4.4.14/drivers/media/dvb-frontends/
Dcxd2841er.c1518 struct cxd2841er_priv *priv, enum cxd2841er_dvbt2_profile_t profile) in cxd2841er_dvbt2_set_profile() argument
1524 switch (profile) { in cxd2841er_dvbt2_set_profile()
/linux-4.4.14/tools/perf/
Ddesign.txt10 thus be used to profile the code that runs on that CPU.
/linux-4.4.14/drivers/net/usb/
DKconfig551 "PC suite" USB profile.
/linux-4.4.14/Documentation/powerpc/
Dhvcs.txt479 A: The user profile you are using to execute kermit probably doesn't have
/linux-4.4.14/drivers/net/ethernet/emulex/benet/
Dbe_cmds.h2396 int be_cmd_get_active_profile(struct be_adapter *adapter, u16 *profile);
/linux-4.4.14/Documentation/s390/
DDebugging390.txt812 It is typically useful to add shortcuts to your profile.exec file
916 Also CP has a file called profile.exec which automatically gets called
919 use profile.exec to define some keystrokes.
/linux-4.4.14/fs/btrfs/
Dextent-tree.c4464 u64 profile = btrfs_get_alloc_profile(root, 0); in can_overcommit() local
4496 if (profile & (BTRFS_BLOCK_GROUP_DUP | in can_overcommit()
/linux-4.4.14/init/
DKconfig1658 used to profile the code that runs on that CPU.