Home
last modified time | relevance | path

Searched refs:ad (Results 1 - 25 of 161) sorted by relevance

1234567

/kernel/linux/linux-6.6/sound/soc/ti/
H A Domap-hdmi.c50 struct hdmi_audio_data *ad = dev_get_drvdata(dev); in hdmi_dai_abort() local
52 mutex_lock(&ad->current_stream_lock); in hdmi_dai_abort()
53 if (ad->current_stream && ad->current_stream->runtime && in hdmi_dai_abort()
54 snd_pcm_running(ad->current_stream)) { in hdmi_dai_abort()
56 snd_pcm_stream_lock_irq(ad->current_stream); in hdmi_dai_abort()
57 snd_pcm_stop(ad->current_stream, SNDRV_PCM_STATE_DISCONNECTED); in hdmi_dai_abort()
58 snd_pcm_stream_unlock_irq(ad->current_stream); in hdmi_dai_abort()
60 mutex_unlock(&ad->current_stream_lock); in hdmi_dai_abort()
66 struct hdmi_audio_data *ad in hdmi_dai_startup() local
108 struct hdmi_audio_data *ad = card_drvdata_substream(substream); hdmi_dai_hw_params() local
233 struct hdmi_audio_data *ad = card_drvdata_substream(substream); hdmi_dai_trigger() local
258 struct hdmi_audio_data *ad = card_drvdata_substream(substream); hdmi_dai_shutdown() local
313 struct hdmi_audio_data *ad; omap_hdmi_audio_probe() local
398 struct hdmi_audio_data *ad = platform_get_drvdata(pdev); omap_hdmi_audio_remove() local
[all...]
/kernel/linux/linux-6.6/drivers/dma/
H A Dapple-admac.c150 static int admac_alloc_sram_carveout(struct admac_data *ad, in admac_alloc_sram_carveout() argument
158 sram = &ad->txcache; in admac_alloc_sram_carveout()
160 sram = &ad->rxcache; in admac_alloc_sram_carveout()
162 mutex_lock(&ad->cache_alloc_lock); in admac_alloc_sram_carveout()
177 mutex_unlock(&ad->cache_alloc_lock); in admac_alloc_sram_carveout()
182 static void admac_free_sram_carveout(struct admac_data *ad, in admac_free_sram_carveout() argument
191 sram = &ad->txcache; in admac_free_sram_carveout()
193 sram = &ad->rxcache; in admac_free_sram_carveout()
198 mutex_lock(&ad->cache_alloc_lock); in admac_free_sram_carveout()
201 mutex_unlock(&ad in admac_free_sram_carveout()
204 admac_modify(struct admac_data *ad, int reg, u32 mask, u32 val) admac_modify() argument
285 admac_cyclic_write_one_desc(struct admac_data *ad, int channo, struct admac_tx *tx) admac_cyclic_write_one_desc() argument
311 admac_cyclic_write_desc(struct admac_data *ad, int channo, struct admac_tx *tx) admac_cyclic_write_desc() argument
343 admac_cyclic_read_residue(struct admac_data *ad, int channo, struct admac_tx *adtx) admac_cyclic_read_residue() argument
376 struct admac_data *ad = adchan->host; admac_tx_status() local
411 struct admac_data *ad = adchan->host; admac_start_chan() local
434 struct admac_data *ad = adchan->host; admac_stop_chan() local
452 struct admac_data *ad = adchan->host; admac_reset_rings() local
461 struct admac_data *ad = adchan->host; admac_start_current_tx() local
555 struct admac_data *ad = adchan->host; admac_alloc_chan_resources() local
582 struct admac_data *ad = (struct admac_data *) ofdma->of_dma_data; admac_dma_of_xlate() local
598 admac_drain_reports(struct admac_data *ad, int channo) admac_drain_reports() argument
620 admac_handle_status_err(struct admac_data *ad, int channo) admac_handle_status_err() argument
643 admac_handle_status_desc_done(struct admac_data *ad, int channo) admac_handle_status_desc_done() argument
668 admac_handle_chan_int(struct admac_data *ad, int no) admac_handle_chan_int() argument
681 struct admac_data *ad = devid; admac_interrupt() local
742 struct admac_data *ad = adchan->host; admac_device_config() local
804 struct admac_data *ad; admac_probe() local
933 struct admac_data *ad = platform_get_drvdata(pdev); admac_remove() local
[all...]
/kernel/linux/linux-5.10/drivers/clk/ti/
H A Dapll.c44 struct dpll_data *ad; in dra7_apll_enable() local
49 ad = clk->dpll_data; in dra7_apll_enable()
50 if (!ad) in dra7_apll_enable()
55 state <<= __ffs(ad->idlest_mask); in dra7_apll_enable()
58 v = ti_clk_ll_ops->clk_readl(&ad->idlest_reg); in dra7_apll_enable()
60 if ((v & ad->idlest_mask) == state) in dra7_apll_enable()
63 v = ti_clk_ll_ops->clk_readl(&ad->control_reg); in dra7_apll_enable()
64 v &= ~ad->enable_mask; in dra7_apll_enable()
65 v |= APLL_FORCE_LOCK << __ffs(ad->enable_mask); in dra7_apll_enable()
66 ti_clk_ll_ops->clk_writel(v, &ad in dra7_apll_enable()
94 struct dpll_data *ad; dra7_apll_disable() local
111 struct dpll_data *ad; dra7_apll_is_enabled() local
141 struct dpll_data *ad = clk_hw->dpll_data; omap_clk_register_apll() local
188 struct dpll_data *ad = NULL; of_dra7_apll_setup() local
246 struct dpll_data *ad = clk->dpll_data; omap2_apll_is_enabled() local
271 struct dpll_data *ad = clk->dpll_data; omap2_apll_enable() local
302 struct dpll_data *ad = clk->dpll_data; omap2_apll_disable() local
320 struct dpll_data *ad = clk->dpll_data; omap2_apll_set_autoidle() local
349 struct dpll_data *ad = NULL; of_omap2_apll_setup() local
[all...]
/kernel/linux/linux-6.6/drivers/clk/ti/
H A Dapll.c36 struct dpll_data *ad; in dra7_apll_enable() local
41 ad = clk->dpll_data; in dra7_apll_enable()
42 if (!ad) in dra7_apll_enable()
47 state <<= __ffs(ad->idlest_mask); in dra7_apll_enable()
50 v = ti_clk_ll_ops->clk_readl(&ad->idlest_reg); in dra7_apll_enable()
52 if ((v & ad->idlest_mask) == state) in dra7_apll_enable()
55 v = ti_clk_ll_ops->clk_readl(&ad->control_reg); in dra7_apll_enable()
56 v &= ~ad->enable_mask; in dra7_apll_enable()
57 v |= APLL_FORCE_LOCK << __ffs(ad->enable_mask); in dra7_apll_enable()
58 ti_clk_ll_ops->clk_writel(v, &ad in dra7_apll_enable()
86 struct dpll_data *ad; dra7_apll_disable() local
103 struct dpll_data *ad; dra7_apll_is_enabled() local
133 struct dpll_data *ad = clk_hw->dpll_data; omap_clk_register_apll() local
180 struct dpll_data *ad = NULL; of_dra7_apll_setup() local
238 struct dpll_data *ad = clk->dpll_data; omap2_apll_is_enabled() local
263 struct dpll_data *ad = clk->dpll_data; omap2_apll_enable() local
294 struct dpll_data *ad = clk->dpll_data; omap2_apll_disable() local
312 struct dpll_data *ad = clk->dpll_data; omap2_apll_set_autoidle() local
341 struct dpll_data *ad = NULL; of_omap2_apll_setup() local
[all...]
/kernel/linux/linux-6.6/security/apparmor/
H A Daudit.c94 struct apparmor_audit_data *ad = aad_of_va(va); in audit_pre() local
98 aa_audit_type[ad->type]); in audit_pre()
101 if (ad->op) in audit_pre()
102 audit_log_format(ab, " operation=\"%s\"", ad->op); in audit_pre()
104 if (ad->class) in audit_pre()
106 ad->class <= AA_CLASS_LAST ? in audit_pre()
107 aa_class_names[ad->class] : in audit_pre()
110 if (ad->info) { in audit_pre()
111 audit_log_format(ab, " info=\"%s\"", ad->info); in audit_pre()
112 if (ad in audit_pre()
148 aa_audit_msg(int type, struct apparmor_audit_data *ad, void (*cb) (struct audit_buffer *, void *)) aa_audit_msg() argument
166 aa_audit(int type, struct aa_profile *profile, struct apparmor_audit_data *ad, void (*cb) (struct audit_buffer *, void *)) aa_audit() argument
[all...]
H A Dipc.c55 struct apparmor_audit_data *ad = aad(sa); in audit_signal_cb() local
57 if (ad->request & AA_SIGNAL_PERM_MASK) { in audit_signal_cb()
59 audit_signal_mask(ad->request)); in audit_signal_cb()
60 if (ad->denied & AA_SIGNAL_PERM_MASK) { in audit_signal_cb()
62 audit_signal_mask(ad->denied)); in audit_signal_cb()
65 if (ad->signal == SIGUNKNOWN) in audit_signal_cb()
67 ad->unmappedsig); in audit_signal_cb()
68 else if (ad->signal < MAXMAPPED_SIGNAME) in audit_signal_cb()
69 audit_log_format(ab, " signal=%s", sig_names[ad->signal]); in audit_signal_cb()
72 ad in audit_signal_cb()
78 profile_signal_perm(const struct cred *cred, struct aa_profile *profile, struct aa_label *peer, u32 request, struct apparmor_audit_data *ad) profile_signal_perm() argument
[all...]
H A Dnet.c74 struct apparmor_audit_data *ad = aad(sa); in audit_net_cb() local
82 if (sock_type_names[ad->net.type]) in audit_net_cb()
84 sock_type_names[ad->net.type]); in audit_net_cb()
87 ad->net.type); in audit_net_cb()
88 audit_log_format(ab, " protocol=%d", ad->net.protocol); in audit_net_cb()
90 if (ad->request & NET_PERMS_MASK) { in audit_net_cb()
92 aa_audit_perm_mask(ab, ad->request, NULL, 0, in audit_net_cb()
95 if (ad->denied & NET_PERMS_MASK) { in audit_net_cb()
97 aa_audit_perm_mask(ab, ad->denied, NULL, 0, in audit_net_cb()
101 if (ad in audit_net_cb()
109 aa_profile_af_perm(struct aa_profile *profile, struct apparmor_audit_data *ad, u32 request, u16 family, int type) aa_profile_af_perm() argument
221 aa_secmark_perm(struct aa_profile *profile, u32 request, u32 secid, struct apparmor_audit_data *ad) aa_secmark_perm() argument
[all...]
H A Dtask.c211 struct apparmor_audit_data *ad = aad(sa); in audit_ptrace_cb() local
213 if (ad->request & AA_PTRACE_PERM_MASK) { in audit_ptrace_cb()
215 audit_ptrace_mask(ad->request)); in audit_ptrace_cb()
217 if (ad->denied & AA_PTRACE_PERM_MASK) { in audit_ptrace_cb()
219 audit_ptrace_mask(ad->denied)); in audit_ptrace_cb()
223 aa_label_xaudit(ab, labels_ns(ad->subj_label), ad->peer, in audit_ptrace_cb()
232 struct apparmor_audit_data *ad) in profile_ptrace_perm()
238 ad->subj_cred = cred; in profile_ptrace_perm()
239 ad in profile_ptrace_perm()
229 profile_ptrace_perm(const struct cred *cred, struct aa_profile *profile, struct aa_label *peer, u32 request, struct apparmor_audit_data *ad) profile_ptrace_perm() argument
246 profile_tracee_perm(const struct cred *cred, struct aa_profile *tracee, struct aa_label *tracer, u32 request, struct apparmor_audit_data *ad) profile_tracee_perm() argument
258 profile_tracer_perm(const struct cred *cred, struct aa_profile *tracer, struct aa_label *tracee, u32 request, struct apparmor_audit_data *ad) profile_tracer_perm() argument
[all...]
H A Dlib.c148 DEFINE_AUDIT_DATA(ad, LSM_AUDIT_DATA_NONE, AA_CLASS_NONE, NULL); in aa_info_message()
150 ad.info = str; in aa_info_message()
151 aa_audit_msg(AUDIT_APPARMOR_STATUS, &ad, NULL); in aa_info_message()
286 struct apparmor_audit_data *ad = aad(sa); in aa_audit_perms_cb() local
288 if (ad->request) { in aa_audit_perms_cb()
290 aa_audit_perm_mask(ab, ad->request, aa_file_perm_chrs, in aa_audit_perms_cb()
294 if (ad->denied) { in aa_audit_perms_cb()
296 aa_audit_perm_mask(ab, ad->denied, aa_file_perm_chrs, in aa_audit_perms_cb()
301 aa_label_xaudit(ab, labels_ns(ad->subj_label), ad in aa_audit_perms_cb()
353 aa_profile_label_perm(struct aa_profile *profile, struct aa_profile *target, u32 request, int type, u32 *deny, struct apparmor_audit_data *ad) aa_profile_label_perm() argument
388 aa_check_perms(struct aa_profile *profile, struct aa_perms *perms, u32 request, struct apparmor_audit_data *ad, void (*cb)(struct audit_buffer *, void *)) aa_check_perms() argument
[all...]
H A Dfile.c47 struct apparmor_audit_data *ad = aad(sa); in file_audit_cb() local
48 kuid_t fsuid = ad->subj_cred ? ad->subj_cred->fsuid : current_fsuid(); in file_audit_cb()
51 if (ad->request & AA_AUDIT_FILE_MASK) { in file_audit_cb()
53 map_mask_to_chr_mask(ad->request)); in file_audit_cb()
56 if (ad->denied & AA_AUDIT_FILE_MASK) { in file_audit_cb()
58 map_mask_to_chr_mask(ad->denied)); in file_audit_cb()
61 if (ad->request & AA_AUDIT_FILE_MASK) { in file_audit_cb()
65 from_kuid(&init_user_ns, ad->fs.ouid)); in file_audit_cb()
68 if (ad in file_audit_cb()
[all...]
H A Dresource.c33 struct apparmor_audit_data *ad = aad(sa); in audit_cb() local
36 rlim_names[ad->rlim.rlim], ad->rlim.max); in audit_cb()
37 if (ad->peer) { in audit_cb()
39 aa_label_xaudit(ab, labels_ns(ad->subj_label), ad->peer, in audit_cb()
54 * Returns: 0 or ad->error else other error code on failure
61 DEFINE_AUDIT_DATA(ad, LSM_AUDIT_DATA_NONE, AA_CLASS_RLIMITS, in audit_resource()
64 ad.subj_cred = subj_cred; in audit_resource()
65 ad in audit_resource()
[all...]
H A Dcapability.c62 * Returns: 0 or ad->error on success, error code on failure
64 static int audit_caps(struct apparmor_audit_data *ad, struct aa_profile *profile, in audit_caps() argument
72 ad->error = error; in audit_caps()
104 return aa_audit(type, profile, ad, audit_cb); in audit_caps()
112 * @ad: audit data (MAY BE NULL indicating no auditing)
117 unsigned int opts, struct apparmor_audit_data *ad) in profile_capable()
135 ad->info = "optional: no audit"; in profile_capable()
138 return audit_caps(ad, profile, cap, error); in profile_capable()
157 DEFINE_AUDIT_DATA(ad, LSM_AUDIT_DATA_CAP, AA_CLASS_CAP, OP_CAPABLE); in aa_capable()
159 ad in aa_capable()
116 profile_capable(struct aa_profile *profile, int cap, unsigned int opts, struct apparmor_audit_data *ad) profile_capable() argument
[all...]
/kernel/linux/linux-5.10/sound/soc/ti/
H A Domap-hdmi.c50 struct hdmi_audio_data *ad = dev_get_drvdata(dev); in hdmi_dai_abort() local
52 mutex_lock(&ad->current_stream_lock); in hdmi_dai_abort()
53 if (ad->current_stream && ad->current_stream->runtime && in hdmi_dai_abort()
54 snd_pcm_running(ad->current_stream)) { in hdmi_dai_abort()
56 snd_pcm_stream_lock_irq(ad->current_stream); in hdmi_dai_abort()
57 snd_pcm_stop(ad->current_stream, SNDRV_PCM_STATE_DISCONNECTED); in hdmi_dai_abort()
58 snd_pcm_stream_unlock_irq(ad->current_stream); in hdmi_dai_abort()
60 mutex_unlock(&ad->current_stream_lock); in hdmi_dai_abort()
66 struct hdmi_audio_data *ad in hdmi_dai_startup() local
108 struct hdmi_audio_data *ad = card_drvdata_substream(substream); hdmi_dai_hw_params() local
233 struct hdmi_audio_data *ad = card_drvdata_substream(substream); hdmi_dai_trigger() local
258 struct hdmi_audio_data *ad = card_drvdata_substream(substream); hdmi_dai_shutdown() local
312 struct hdmi_audio_data *ad; omap_hdmi_audio_probe() local
402 struct hdmi_audio_data *ad = platform_get_drvdata(pdev); omap_hdmi_audio_remove() local
[all...]
/kernel/linux/linux-6.6/security/smack/
H A Dsmack_lsm.c432 struct smk_audit_info ad, *saip = NULL; in smk_ptrace_rule_check() local
438 smk_ad_init(&ad, func, LSM_AUDIT_DATA_TASK); in smk_ptrace_rule_check()
439 smk_ad_setfield_u_tsk(&ad, tracer); in smk_ptrace_rule_check()
440 saip = &ad; in smk_ptrace_rule_check()
896 struct smk_audit_info ad; in smack_sb_statfs() local
898 smk_ad_init(&ad, __func__, LSM_AUDIT_DATA_DENTRY); in smack_sb_statfs()
899 smk_ad_setfield_u_fs_path_dentry(&ad, dentry); in smack_sb_statfs()
901 rc = smk_curacc(sbp->smk_floor, MAY_READ, &ad); in smack_sb_statfs()
1069 struct smk_audit_info ad; in smack_inode_link() local
1072 smk_ad_init(&ad, __func_ in smack_inode_link()
1100 struct smk_audit_info ad; smack_inode_unlink() local
1133 struct smk_audit_info ad; smack_inode_rmdir() local
1176 struct smk_audit_info ad; smack_inode_rename() local
1206 struct smk_audit_info ad; smack_inode_permission() local
1241 struct smk_audit_info ad; smack_inode_setattr() local
1265 struct smk_audit_info ad; smack_inode_getattr() local
1293 struct smk_audit_info ad; smack_inode_setxattr() local
1393 struct smk_audit_info ad; smack_inode_getxattr() local
1418 struct smk_audit_info ad; smack_inode_removexattr() local
1477 struct smk_audit_info ad; smack_inode_set_acl() local
1499 struct smk_audit_info ad; smack_inode_get_acl() local
1521 struct smk_audit_info ad; smack_inode_remove_acl() local
1678 struct smk_audit_info ad; smack_file_ioctl() local
1709 struct smk_audit_info ad; smack_file_lock() local
1738 struct smk_audit_info ad; smack_file_fcntl() local
1914 struct smk_audit_info ad; smack_file_send_sigiotask() local
1949 struct smk_audit_info ad; smack_file_receive() local
2007 struct smk_audit_info ad; smack_file_open() local
2167 struct smk_audit_info ad; smk_curacc_on_task() local
2320 struct smk_audit_info ad; smack_task_kill() local
2622 struct smk_audit_info ad; smk_ipv4_check() local
2665 struct smk_audit_info ad; smk_ipv6_check() local
3110 struct smk_audit_info ad; smk_curacc_shm() local
3199 struct smk_audit_info ad; smk_curacc_sem() local
3294 struct smk_audit_info ad; smk_curacc_msq() local
3402 struct smk_audit_info ad; smack_ipc_permission() local
3748 struct smk_audit_info ad; smack_unix_stream_connect() local
3795 struct smk_audit_info ad; smack_unix_may_send() local
4068 struct smk_audit_info ad; smack_socket_sock_rcv_skb() local
4293 struct smk_audit_info ad; smack_inet_conn_request() local
4437 struct smk_audit_info ad; smack_key_permission() local
4534 struct smk_audit_info ad; smack_watch_key() local
4578 struct smk_audit_info ad; smack_post_notification() local
4915 struct smk_audit_info ad; smack_uring_cmd() local
[all...]
/kernel/linux/linux-5.10/drivers/scsi/lpfc/
H A Dlpfc_ct.c2081 lpfc_fdmi_hba_attr_wwnn(struct lpfc_vport *vport, struct lpfc_fdmi_attr_def *ad) in lpfc_fdmi_hba_attr_wwnn() argument
2086 ae = &ad->AttrValue; in lpfc_fdmi_hba_attr_wwnn()
2092 ad->AttrLen = cpu_to_be16(size); in lpfc_fdmi_hba_attr_wwnn()
2093 ad->AttrType = cpu_to_be16(RHBA_NODENAME); in lpfc_fdmi_hba_attr_wwnn()
2098 struct lpfc_fdmi_attr_def *ad) in lpfc_fdmi_hba_attr_manufacturer()
2103 ae = &ad->AttrValue; in lpfc_fdmi_hba_attr_manufacturer()
2116 ad->AttrLen = cpu_to_be16(size); in lpfc_fdmi_hba_attr_manufacturer()
2117 ad->AttrType = cpu_to_be16(RHBA_MANUFACTURER); in lpfc_fdmi_hba_attr_manufacturer()
2122 lpfc_fdmi_hba_attr_sn(struct lpfc_vport *vport, struct lpfc_fdmi_attr_def *ad) in lpfc_fdmi_hba_attr_sn() argument
2128 ae = &ad in lpfc_fdmi_hba_attr_sn()
2097 lpfc_fdmi_hba_attr_manufacturer(struct lpfc_vport *vport, struct lpfc_fdmi_attr_def *ad) lpfc_fdmi_hba_attr_manufacturer() argument
2143 lpfc_fdmi_hba_attr_model(struct lpfc_vport *vport, struct lpfc_fdmi_attr_def *ad) lpfc_fdmi_hba_attr_model() argument
2164 lpfc_fdmi_hba_attr_description(struct lpfc_vport *vport, struct lpfc_fdmi_attr_def *ad) lpfc_fdmi_hba_attr_description() argument
2186 lpfc_fdmi_hba_attr_hdw_ver(struct lpfc_vport *vport, struct lpfc_fdmi_attr_def *ad) lpfc_fdmi_hba_attr_hdw_ver() argument
2218 lpfc_fdmi_hba_attr_drvr_ver(struct lpfc_vport *vport, struct lpfc_fdmi_attr_def *ad) lpfc_fdmi_hba_attr_drvr_ver() argument
2239 lpfc_fdmi_hba_attr_rom_ver(struct lpfc_vport *vport, struct lpfc_fdmi_attr_def *ad) lpfc_fdmi_hba_attr_rom_ver() argument
2264 lpfc_fdmi_hba_attr_fmw_ver(struct lpfc_vport *vport, struct lpfc_fdmi_attr_def *ad) lpfc_fdmi_hba_attr_fmw_ver() argument
2285 lpfc_fdmi_hba_attr_os_ver(struct lpfc_vport *vport, struct lpfc_fdmi_attr_def *ad) lpfc_fdmi_hba_attr_os_ver() argument
2308 lpfc_fdmi_hba_attr_ct_len(struct lpfc_vport *vport, struct lpfc_fdmi_attr_def *ad) lpfc_fdmi_hba_attr_ct_len() argument
2324 lpfc_fdmi_hba_attr_symbolic_name(struct lpfc_vport *vport, struct lpfc_fdmi_attr_def *ad) lpfc_fdmi_hba_attr_symbolic_name() argument
2343 lpfc_fdmi_hba_attr_vendor_info(struct lpfc_vport *vport, struct lpfc_fdmi_attr_def *ad) lpfc_fdmi_hba_attr_vendor_info() argument
2360 lpfc_fdmi_hba_attr_num_ports(struct lpfc_vport *vport, struct lpfc_fdmi_attr_def *ad) lpfc_fdmi_hba_attr_num_ports() argument
2377 lpfc_fdmi_hba_attr_fabric_wwnn(struct lpfc_vport *vport, struct lpfc_fdmi_attr_def *ad) lpfc_fdmi_hba_attr_fabric_wwnn() argument
2395 lpfc_fdmi_hba_attr_bios_ver(struct lpfc_vport *vport, struct lpfc_fdmi_attr_def *ad) lpfc_fdmi_hba_attr_bios_ver() argument
2417 lpfc_fdmi_hba_attr_bios_state(struct lpfc_vport *vport, struct lpfc_fdmi_attr_def *ad) lpfc_fdmi_hba_attr_bios_state() argument
2434 lpfc_fdmi_hba_attr_vendor_id(struct lpfc_vport *vport, struct lpfc_fdmi_attr_def *ad) lpfc_fdmi_hba_attr_vendor_id() argument
2456 lpfc_fdmi_port_attr_fc4type(struct lpfc_vport *vport, struct lpfc_fdmi_attr_def *ad) lpfc_fdmi_port_attr_fc4type() argument
2481 lpfc_fdmi_port_attr_support_speed(struct lpfc_vport *vport, struct lpfc_fdmi_attr_def *ad) lpfc_fdmi_port_attr_support_speed() argument
2535 lpfc_fdmi_port_attr_speed(struct lpfc_vport *vport, struct lpfc_fdmi_attr_def *ad) lpfc_fdmi_port_attr_speed() argument
2605 lpfc_fdmi_port_attr_max_frame(struct lpfc_vport *vport, struct lpfc_fdmi_attr_def *ad) lpfc_fdmi_port_attr_max_frame() argument
2625 lpfc_fdmi_port_attr_os_devname(struct lpfc_vport *vport, struct lpfc_fdmi_attr_def *ad) lpfc_fdmi_port_attr_os_devname() argument
2647 lpfc_fdmi_port_attr_host_name(struct lpfc_vport *vport, struct lpfc_fdmi_attr_def *ad) lpfc_fdmi_port_attr_host_name() argument
2668 lpfc_fdmi_port_attr_wwnn(struct lpfc_vport *vport, struct lpfc_fdmi_attr_def *ad) lpfc_fdmi_port_attr_wwnn() argument
2686 lpfc_fdmi_port_attr_wwpn(struct lpfc_vport *vport, struct lpfc_fdmi_attr_def *ad) lpfc_fdmi_port_attr_wwpn() argument
2704 lpfc_fdmi_port_attr_symbolic_name(struct lpfc_vport *vport, struct lpfc_fdmi_attr_def *ad) lpfc_fdmi_port_attr_symbolic_name() argument
2722 lpfc_fdmi_port_attr_port_type(struct lpfc_vport *vport, struct lpfc_fdmi_attr_def *ad) lpfc_fdmi_port_attr_port_type() argument
2741 lpfc_fdmi_port_attr_class(struct lpfc_vport *vport, struct lpfc_fdmi_attr_def *ad) lpfc_fdmi_port_attr_class() argument
2756 lpfc_fdmi_port_attr_fabric_wwpn(struct lpfc_vport *vport, struct lpfc_fdmi_attr_def *ad) lpfc_fdmi_port_attr_fabric_wwpn() argument
2774 lpfc_fdmi_port_attr_active_fc4type(struct lpfc_vport *vport, struct lpfc_fdmi_attr_def *ad) lpfc_fdmi_port_attr_active_fc4type() argument
2797 lpfc_fdmi_port_attr_port_state(struct lpfc_vport *vport, struct lpfc_fdmi_attr_def *ad) lpfc_fdmi_port_attr_port_state() argument
2813 lpfc_fdmi_port_attr_num_disc(struct lpfc_vport *vport, struct lpfc_fdmi_attr_def *ad) lpfc_fdmi_port_attr_num_disc() argument
2829 lpfc_fdmi_port_attr_nportid(struct lpfc_vport *vport, struct lpfc_fdmi_attr_def *ad) lpfc_fdmi_port_attr_nportid() argument
2844 lpfc_fdmi_smart_attr_service(struct lpfc_vport *vport, struct lpfc_fdmi_attr_def *ad) lpfc_fdmi_smart_attr_service() argument
2865 lpfc_fdmi_smart_attr_guid(struct lpfc_vport *vport, struct lpfc_fdmi_attr_def *ad) lpfc_fdmi_smart_attr_guid() argument
2886 lpfc_fdmi_smart_attr_version(struct lpfc_vport *vport, struct lpfc_fdmi_attr_def *ad) lpfc_fdmi_smart_attr_version() argument
2907 lpfc_fdmi_smart_attr_model(struct lpfc_vport *vport, struct lpfc_fdmi_attr_def *ad) lpfc_fdmi_smart_attr_model() argument
2928 lpfc_fdmi_smart_attr_port_info(struct lpfc_vport *vport, struct lpfc_fdmi_attr_def *ad) lpfc_fdmi_smart_attr_port_info() argument
2948 lpfc_fdmi_smart_attr_qos(struct lpfc_vport *vport, struct lpfc_fdmi_attr_def *ad) lpfc_fdmi_smart_attr_qos() argument
2963 lpfc_fdmi_smart_attr_security(struct lpfc_vport *vport, struct lpfc_fdmi_attr_def *ad) lpfc_fdmi_smart_attr_security() argument
[all...]
/kernel/linux/linux-5.10/security/smack/
H A Dsmack_lsm.c420 struct smk_audit_info ad, *saip = NULL; in smk_ptrace_rule_check() local
426 smk_ad_init(&ad, func, LSM_AUDIT_DATA_TASK); in smk_ptrace_rule_check()
427 smk_ad_setfield_u_tsk(&ad, tracer); in smk_ptrace_rule_check()
428 saip = &ad; in smk_ptrace_rule_check()
876 struct smk_audit_info ad; in smack_sb_statfs() local
878 smk_ad_init(&ad, __func__, LSM_AUDIT_DATA_DENTRY); in smack_sb_statfs()
879 smk_ad_setfield_u_fs_path_dentry(&ad, dentry); in smack_sb_statfs()
881 rc = smk_curacc(sbp->smk_floor, MAY_READ, &ad); in smack_sb_statfs()
1039 struct smk_audit_info ad; in smack_inode_link() local
1042 smk_ad_init(&ad, __func_ in smack_inode_link()
1070 struct smk_audit_info ad; smack_inode_unlink() local
1103 struct smk_audit_info ad; smack_inode_rmdir() local
1146 struct smk_audit_info ad; smack_inode_rename() local
1176 struct smk_audit_info ad; smack_inode_permission() local
1211 struct smk_audit_info ad; smack_inode_setattr() local
1235 struct smk_audit_info ad; smack_inode_getattr() local
1261 struct smk_audit_info ad; smack_inode_setxattr() local
1360 struct smk_audit_info ad; smack_inode_getxattr() local
1383 struct smk_audit_info ad; smack_inode_removexattr() local
1574 struct smk_audit_info ad; smack_file_ioctl() local
1605 struct smk_audit_info ad; smack_file_lock() local
1634 struct smk_audit_info ad; smack_file_fcntl() local
1809 struct smk_audit_info ad; smack_file_send_sigiotask() local
1844 struct smk_audit_info ad; smack_file_receive() local
1902 struct smk_audit_info ad; smack_file_open() local
2062 struct smk_audit_info ad; smk_curacc_on_task() local
2202 struct smk_audit_info ad; smack_task_kill() local
2489 struct smk_audit_info ad; smk_ipv4_check() local
2532 struct smk_audit_info ad; smk_ipv6_check() local
2967 struct smk_audit_info ad; smk_curacc_shm() local
3056 struct smk_audit_info ad; smk_curacc_sem() local
3151 struct smk_audit_info ad; smk_curacc_msq() local
3257 struct smk_audit_info ad; smack_ipc_permission() local
3611 struct smk_audit_info ad; smack_unix_stream_connect() local
3658 struct smk_audit_info ad; smack_unix_may_send() local
3932 struct smk_audit_info ad; smack_socket_sock_rcv_skb() local
4156 struct smk_audit_info ad; smack_inet_conn_request() local
4300 struct smk_audit_info ad; smack_key_permission() local
4397 struct smk_audit_info ad; smack_watch_key() local
4441 struct smk_audit_info ad; smack_post_notification() local
[all...]
/kernel/linux/linux-5.10/arch/xtensa/include/asm/
H A Dasm-uaccess.h38 * <ad> anything
41 * <ad> contains current->thread.current_ds
43 .macro get_fs ad, sp
44 GET_CURRENT(\ad,\sp)
46 addi \ad, \ad, TASK_THREAD variable
47 l32i \ad, \ad, THREAD_CURRENT_DS - TASK_THREAD variable
49 l32i \ad, \ad, THREAD_CURRENT_D
[all...]
/kernel/linux/linux-5.10/drivers/crypto/
H A Dsa2ul.c477 static int sa_set_sc_enc(struct algo_data *ad, const u8 *key, u16 key_sz, in sa_set_sc_enc() argument
486 mci = ad->mci_enc; in sa_set_sc_enc()
488 mci = ad->mci_dec; in sa_set_sc_enc()
494 if (ad->inv_key && !enc) { in sa_set_sc_enc()
506 static void sa_set_sc_auth(struct algo_data *ad, const u8 *key, u16 key_sz, in sa_set_sc_auth() argument
515 sc_buf[1] |= ad->auth_ctrl; in sa_set_sc_auth()
518 if (ad->keyed_mac) { in sa_set_sc_auth()
519 ad->prep_iopad(ad, key, key_sz, ipad, opad); in sa_set_sc_auth()
522 memcpy(&sc_buf[32], ipad, ad in sa_set_sc_auth()
694 sa_init_sc(struct sa_ctx_info *ctx, const u8 *enc_key, u16 enc_key_sz, const u8 *auth_key, u16 auth_key_sz, struct algo_data *ad, u8 enc, u32 *swinfo) sa_init_sc() argument
858 sa_cipher_setkey(struct crypto_skcipher *tfm, const u8 *key, unsigned int keylen, struct algo_data *ad) sa_cipher_setkey() argument
924 struct algo_data ad = { 0 }; sa_aes_cbc_setkey() local
944 struct algo_data ad = { 0 }; sa_aes_ecb_setkey() local
962 struct algo_data ad = { 0 }; sa_3des_cbc_setkey() local
976 struct algo_data ad = { 0 }; sa_3des_ecb_setkey() local
1429 sa_sha_setup(struct sa_tfm_ctx *ctx, struct algo_data *ad) sa_sha_setup() argument
1605 struct algo_data ad = { 0 }; sa_sha1_cra_init() local
1621 struct algo_data ad = { 0 }; sa_sha256_cra_init() local
1637 struct algo_data ad = { 0 }; sa_sha512_cra_init() local
1779 sa_aead_setkey(struct crypto_aead *authenc, const u8 *key, unsigned int keylen, struct algo_data *ad) sa_aead_setkey() argument
1865 struct algo_data ad = { 0 }; sa_aead_cbc_sha1_setkey() local
1878 struct algo_data ad = { 0 }; sa_aead_cbc_sha256_setkey() local
[all...]
/kernel/linux/linux-6.6/drivers/crypto/
H A Dsa2ul.c503 static int sa_set_sc_enc(struct algo_data *ad, const u8 *key, u16 key_sz, in sa_set_sc_enc() argument
512 mci = ad->mci_enc; in sa_set_sc_enc()
514 mci = ad->mci_dec; in sa_set_sc_enc()
520 if (ad->inv_key && !enc) { in sa_set_sc_enc()
532 static void sa_set_sc_auth(struct algo_data *ad, const u8 *key, u16 key_sz, in sa_set_sc_auth() argument
542 sc_buf[1] |= ad->auth_ctrl; in sa_set_sc_auth()
545 if (ad->keyed_mac) in sa_set_sc_auth()
546 ad->prep_iopad(ad, key, key_sz, ipad, opad); in sa_set_sc_auth()
719 struct algo_data *ad, u in sa_init_sc()
716 sa_init_sc(struct sa_ctx_info *ctx, const struct sa_match_data *match_data, const u8 *enc_key, u16 enc_key_sz, const u8 *auth_key, u16 auth_key_sz, struct algo_data *ad, u8 enc, u32 *swinfo) sa_init_sc() argument
885 sa_cipher_setkey(struct crypto_skcipher *tfm, const u8 *key, unsigned int keylen, struct algo_data *ad) sa_cipher_setkey() argument
950 struct algo_data ad = { 0 }; sa_aes_cbc_setkey() local
970 struct algo_data ad = { 0 }; sa_aes_ecb_setkey() local
988 struct algo_data ad = { 0 }; sa_3des_cbc_setkey() local
1002 struct algo_data ad = { 0 }; sa_3des_ecb_setkey() local
1452 sa_sha_setup(struct sa_tfm_ctx *ctx, struct algo_data *ad) sa_sha_setup() argument
1629 struct algo_data ad = { 0 }; sa_sha1_cra_init() local
1645 struct algo_data ad = { 0 }; sa_sha256_cra_init() local
1661 struct algo_data ad = { 0 }; sa_sha512_cra_init() local
1800 sa_aead_setkey(struct crypto_aead *authenc, const u8 *key, unsigned int keylen, struct algo_data *ad) sa_aead_setkey() argument
1886 struct algo_data ad = { 0 }; sa_aead_cbc_sha1_setkey() local
1899 struct algo_data ad = { 0 }; sa_aead_cbc_sha256_setkey() local
[all...]
/kernel/linux/linux-5.10/security/
H A Dlsm_audit.c35 * @ad : the audit data to fill
41 struct common_audit_data *ad, u8 *proto) in ipv4_skb_to_auditdata()
50 ad->u.net->v4info.saddr = ih->saddr; in ipv4_skb_to_auditdata()
51 ad->u.net->v4info.daddr = ih->daddr; in ipv4_skb_to_auditdata()
65 ad->u.net->sport = th->source; in ipv4_skb_to_auditdata()
66 ad->u.net->dport = th->dest; in ipv4_skb_to_auditdata()
74 ad->u.net->sport = uh->source; in ipv4_skb_to_auditdata()
75 ad->u.net->dport = uh->dest; in ipv4_skb_to_auditdata()
83 ad->u.net->sport = dh->dccph_sport; in ipv4_skb_to_auditdata()
84 ad in ipv4_skb_to_auditdata()
40 ipv4_skb_to_auditdata(struct sk_buff *skb, struct common_audit_data *ad, u8 *proto) ipv4_skb_to_auditdata() argument
109 ipv6_skb_to_auditdata(struct sk_buff *skb, struct common_audit_data *ad, u8 *proto) ipv6_skb_to_auditdata() argument
[all...]
/kernel/linux/linux-6.6/security/
H A Dlsm_audit.c35 * @ad : the audit data to fill
41 struct common_audit_data *ad, u8 *proto) in ipv4_skb_to_auditdata()
47 ad->u.net->v4info.saddr = ih->saddr; in ipv4_skb_to_auditdata()
48 ad->u.net->v4info.daddr = ih->daddr; in ipv4_skb_to_auditdata()
60 ad->u.net->sport = th->source; in ipv4_skb_to_auditdata()
61 ad->u.net->dport = th->dest; in ipv4_skb_to_auditdata()
67 ad->u.net->sport = uh->source; in ipv4_skb_to_auditdata()
68 ad->u.net->dport = uh->dest; in ipv4_skb_to_auditdata()
74 ad->u.net->sport = dh->dccph_sport; in ipv4_skb_to_auditdata()
75 ad in ipv4_skb_to_auditdata()
40 ipv4_skb_to_auditdata(struct sk_buff *skb, struct common_audit_data *ad, u8 *proto) ipv4_skb_to_auditdata() argument
99 ipv6_skb_to_auditdata(struct sk_buff *skb, struct common_audit_data *ad, u8 *proto) ipv6_skb_to_auditdata() argument
[all...]
/kernel/linux/linux-5.10/drivers/video/fbdev/
H A Dfsl-diu-fb.c336 struct diu_ad *ad; member
355 * @ad[]: Area Descriptors for each real AOI
377 struct diu_ad ad[NUM_AOIS] __aligned(8);
503 struct diu_ad *ad = mfbi->ad; in fsl_diu_enable_panel() local
509 wr_reg_wa(&hw->desc[0], ad->paddr); in fsl_diu_enable_panel()
513 if (hw->desc[1] != ad->paddr) { /* AOI0 closed */ in fsl_diu_enable_panel()
515 ad->next_ad = in fsl_diu_enable_panel()
516 cpu_to_le32(cmfbi->ad->paddr); in fsl_diu_enable_panel()
518 ad in fsl_diu_enable_panel()
555 struct diu_ad *ad = mfbi->ad; fsl_diu_disable_panel() local
911 struct diu_ad *ad = mfbi->ad; fsl_diu_set_aoi() local
1133 struct diu_ad *ad = mfbi->ad; fsl_diu_set_par() local
1270 struct diu_ad *ad = mfbi->ad; fsl_diu_ioctl() local
[all...]
/kernel/linux/linux-6.6/drivers/video/fbdev/
H A Dfsl-diu-fb.c336 struct diu_ad *ad; member
355 * @ad[]: Area Descriptors for each real AOI
377 struct diu_ad ad[NUM_AOIS] __aligned(8);
503 struct diu_ad *ad = mfbi->ad; in fsl_diu_enable_panel() local
509 wr_reg_wa(&hw->desc[0], ad->paddr); in fsl_diu_enable_panel()
513 if (hw->desc[1] != ad->paddr) { /* AOI0 closed */ in fsl_diu_enable_panel()
515 ad->next_ad = in fsl_diu_enable_panel()
516 cpu_to_le32(cmfbi->ad->paddr); in fsl_diu_enable_panel()
518 ad in fsl_diu_enable_panel()
555 struct diu_ad *ad = mfbi->ad; fsl_diu_disable_panel() local
911 struct diu_ad *ad = mfbi->ad; fsl_diu_set_aoi() local
1133 struct diu_ad *ad = mfbi->ad; fsl_diu_set_par() local
1270 struct diu_ad *ad = mfbi->ad; fsl_diu_ioctl() local
[all...]
/kernel/linux/linux-5.10/include/crypto/
H A Dchacha20poly1305.h19 const u8 *ad, const size_t ad_len,
25 const u8 *ad, const size_t ad_len, const u64 nonce,
29 const u8 *ad, const size_t ad_len,
34 u8 *dst, const u8 *src, const size_t src_len, const u8 *ad,
39 const u8 *ad, const size_t ad_len,
44 const u8 *ad, const size_t ad_len,
/kernel/linux/linux-6.6/include/crypto/
H A Dchacha20poly1305.h19 const u8 *ad, const size_t ad_len,
25 const u8 *ad, const size_t ad_len, const u64 nonce,
29 const u8 *ad, const size_t ad_len,
34 u8 *dst, const u8 *src, const size_t src_len, const u8 *ad,
39 const u8 *ad, const size_t ad_len,
44 const u8 *ad, const size_t ad_len,

Completed in 23 milliseconds

1234567