Home
last modified time | relevance | path

Searched refs:ad (Results 1 – 25 of 299) sorted by relevance

12345678910>>...12

/openbmc/linux/sound/soc/ti/
H A Domap-hdmi.c53 if (ad->current_stream && ad->current_stream->runtime && in hdmi_dai_abort()
93 ret = ad->ops->audio_startup(ad->dssdev, hdmi_dai_abort); in hdmi_dai_startup()
227 return ad->ops->audio_config(ad->dssdev, &ad->dss_audio); in hdmi_dai_hw_params()
242 err = ad->ops->audio_start(ad->dssdev); in hdmi_dai_trigger()
247 ad->ops->audio_stop(ad->dssdev); in hdmi_dai_trigger()
262 ad->ops->audio_shutdown(ad->dssdev); in hdmi_dai_shutdown()
324 ad = devm_kzalloc(dev, sizeof(*ad), GFP_KERNEL); in omap_hdmi_audio_probe()
325 if (!ad) in omap_hdmi_audio_probe()
327 ad->dssdev = ha->dev; in omap_hdmi_audio_probe()
328 ad->ops = ha->ops; in omap_hdmi_audio_probe()
[all …]
/openbmc/linux/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()
56 v &= ~ad->enable_mask; in dra7_apll_enable()
86 struct dpll_data *ad; in dra7_apll_disable() local
90 ad = clk->dpll_data; in dra7_apll_disable()
106 ad = clk->dpll_data; in dra7_apll_is_enabled()
186 ad = kzalloc(sizeof(*ad), GFP_KERNEL); in of_dra7_apll_setup()
226 kfree(ad); in of_dra7_apll_setup()
350 ad = kzalloc(sizeof(*ad), GFP_KERNEL); in of_omap2_apll_setup()
[all …]
/openbmc/linux/drivers/dma/
H A Dapple-admac.c417 ad->base + REG_CHAN_INTMASK(adchan->no, ad->irq_index)); in admac_start_chan()
638 admac_modify(ad, REG_CHAN_INTMASK(channo, ad->irq_index), in admac_handle_status_err()
650 ad->base + REG_CHAN_INTSTATUS(channo, ad->irq_index)); in admac_handle_status_desc_done()
816 if (!ad) in admac_probe()
838 ad->irq = irq; in admac_probe()
849 dma = &ad->dma; in admac_probe()
915 ad->txcache.size = readl_relaxed(ad->base + REG_TX_SRAM_SIZE); in admac_probe()
916 ad->rxcache.size = readl_relaxed(ad->base + REG_RX_SRAM_SIZE); in admac_probe()
920 readl_relaxed(ad->base + REG_IMPRINT), ad->txcache.size, ad->rxcache.size); in admac_probe()
925 free_irq(ad->irq, ad); in admac_probe()
[all …]
/openbmc/phosphor-logging/test/openpower-pels/
H A Dadditional_data_test.cpp26 AdditionalData ad{data}; in TEST() local
28 EXPECT_TRUE(ad.getValue("KEY1")); in TEST()
31 EXPECT_TRUE(ad.getValue("KEY2")); in TEST()
34 EXPECT_FALSE(ad.getValue("x")); in TEST()
36 auto value3 = ad.getValue("KEY3"); in TEST()
43 auto json = ad.toJSON(); in TEST()
47 ad.remove("KEY1"); in TEST()
48 EXPECT_FALSE(ad.getValue("KEY1")); in TEST()
53 AdditionalData ad; in TEST() local
55 ad.add("KEY1", "VALUE1"); in TEST()
[all …]
H A Duser_header_test.cpp115 AdditionalData ad; in TEST() local
156 AdditionalData ad; in TEST() local
206 AdditionalData ad; in TEST() local
208 UserHeader uh(regEntry, phosphor::logging::Entry::Level::Error, ad, in TEST()
228 AdditionalData ad; in TEST() local
251 AdditionalData ad{adData}; in TEST() local
270 AdditionalData ad; in TEST() local
300 AdditionalData ad; in TEST() local
328 AdditionalData ad{adData}; in TEST() local
345 AdditionalData ad{adData}; in TEST() local
[all …]
H A Devent_logger_test.cpp28 const EventLogger::ADMap& ad) in create() argument
33 _prevAD = ad; in create()
76 AdditionalData ad; in TEST() local
77 ad.add("key1", "value1"); in TEST()
79 eventLogger.log("one", Entry::Level::Error, ad); in TEST()
88 EXPECT_EQ(ch._prevAD, ad.getData()); in TEST()
92 eventLogger.log("two", Entry::Level::Error, ad); in TEST()
93 eventLogger.log("three", Entry::Level::Error, ad); in TEST()
109 eventLogger.log("three", Entry::Level::Error, ad); in TEST()
110 eventLogger.log("two", Entry::Level::Error, ad); in TEST()
[all …]
/openbmc/linux/security/apparmor/
H A Daudit.c101 if (ad->op) in audit_pre()
104 if (ad->class) in audit_pre()
110 if (ad->info) { in audit_pre()
112 if (ad->error) in audit_pre()
116 if (ad->subj_label) { in audit_pre()
136 if (ad->name) { in audit_pre()
151 ad->type = type; in aa_audit_msg()
173 if (likely(!ad->error)) { in aa_audit()
185 return ad->error; in aa_audit()
197 ad->common.u.tsk ? ad->common.u.tsk : current); in aa_audit()
[all …]
H A Dipc.c65 if (ad->signal == SIGUNKNOWN) in audit_signal_cb()
67 ad->unmappedsig); in audit_signal_cb()
72 ad->signal - SIGRT_BASE); in audit_signal_cb()
74 aa_label_xaudit(ab, labels_ns(ad->subj_label), ad->peer, in audit_signal_cb()
92 ad->subj_cred = cred; in profile_signal_perm()
93 ad->peer = peer; in profile_signal_perm()
97 ad->signal); in profile_signal_perm()
110 ad.signal = map_signal_num(sig); in aa_may_signal()
111 ad.unmappedsig = sig; in aa_may_signal()
114 MAY_WRITE, &ad), in aa_may_signal()
[all …]
H A Dnet.c82 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()
90 if (ad->request & NET_PERMS_MASK) { in audit_net_cb()
95 if (ad->denied & NET_PERMS_MASK) { in audit_net_cb()
101 if (ad->peer) { in audit_net_cb()
103 aa_label_xaudit(ab, labels_ns(ad->subj_label), ad->peer, in audit_net_cb()
162 DEFINE_AUDIT_SK(ad, op, sk); in aa_label_sk_perm()
164 ad.subj_cred = subj_cred; in aa_label_sk_perm()
260 DEFINE_AUDIT_SK(ad, op, sk); in apparmor_secmark_check()
[all …]
H A Dtask.c213 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() argument
238 ad->subj_cred = cred; in profile_ptrace_perm()
239 ad->peer = peer; in profile_ptrace_perm()
273 ad->subj_label = &tracer->label; in profile_tracer_perm()
274 ad->peer = tracee; in profile_tracer_perm()
[all …]
H A Dlib.c150 ad.info = str; in aa_info_message()
288 if (ad->request) { in aa_audit_perms_cb()
294 if (ad->denied) { in aa_audit_perms_cb()
301 aa_label_xaudit(ab, labels_ns(ad->subj_label), ad->peer, in aa_audit_perms_cb()
362 ad->request = request; in aa_profile_label_perm()
398 if (!request || !ad) in aa_check_perms()
417 if (!ad || !denied) in aa_check_perms()
421 if (ad) { in aa_check_perms()
423 ad->request = request; in aa_check_perms()
424 ad->denied = denied; in aa_check_perms()
[all …]
H A Dfile.c48 kuid_t fsuid = ad->subj_cred ? ad->subj_cred->fsuid : current_fsuid(); in file_audit_cb()
68 if (ad->peer) { in file_audit_cb()
70 aa_label_xaudit(ab, labels_ns(ad->subj_label), ad->peer, in file_audit_cb()
105 ad.name = name; in aa_audit_file()
107 ad.peer = tlabel; in aa_audit_file()
108 ad.fs.ouid = ouid; in aa_audit_file()
109 ad.info = info; in aa_audit_file()
110 ad.error = error; in aa_audit_file()
127 ad.request = ad.request & ~perms->allow; in aa_audit_file()
139 if (!ad.request) in aa_audit_file()
[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()
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.rlim.rlim = resource; in audit_resource()
66 ad.rlim.max = value; in audit_resource()
67 ad.peer = peer; in audit_resource()
68 ad.info = info; in audit_resource()
[all …]
H A Dcapability.c64 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()
117 unsigned int opts, struct apparmor_audit_data *ad) in profile_capable() argument
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.subj_cred = subj_cred; in aa_capable()
160 ad.common.u.cap = cap; in aa_capable()
162 profile_capable(profile, cap, opts, &ad)); in aa_capable()
/openbmc/qemu/hw/ide/
H A Dahci.c616 check_cmd(ad->hba, ad->port_no); in ahci_check_cmd_bh()
736 map_page(ad->hba->as, &ad->res_fis, in ahci_map_fis_address()
754 dma_memory_unmap(ad->hba->as, ad->res_fis, 256, in ahci_unmap_fis_address()
763 map_page(ad->hba->as, &ad->lst, in ahci_map_clb_address()
781 dma_memory_unmap(ad->hba->as, ad->lst, 1024, in ahci_unmap_clb_address()
1468 trace_ahci_start_dma(ad->hba, ad->port_no); in ahci_start_dma()
1549 trace_ahci_dma_rw_buf(ad->hba, ad->port_no, l); in ahci_dma_rw_buf()
1569 trace_ahci_cmd_done(ad->hba, ad->port_no); in ahci_cmd_done()
1573 ahci_clear_cmd_issue(ad, ad->busy_slot); in ahci_cmd_done()
1585 ad->port_regs.cmd_issue && !ad->check_bh) { in ahci_cmd_done()
[all …]
/openbmc/ibm-logging/test/
H A Dtest_policy.cpp293 {"AdditionalData"s, ad}}; in TEST_F()
306 {"AdditionalData"s, ad}}; in TEST_F()
319 {"AdditionalData"s, ad}}; in TEST_F()
331 {"AdditionalData"s, ad}}; in TEST_F()
343 {"AdditionalData"s, ad}}; in TEST_F()
355 {"AdditionalData"s, ad}}; in TEST_F()
376 {"AdditionalData"s, ad}}; in TEST_F()
388 {"AdditionalData"s, ad}}; in TEST_F()
401 {"AdditionalData"s, ad}}; in TEST_F()
414 {"AdditionalData"s, ad}}; in TEST_F()
[all …]
/openbmc/linux/security/smack/
H A Dsmack_lsm.c440 saip = &ad; in smk_ptrace_rule_check()
896 struct smk_audit_info ad; in smack_sb_statfs() local
1069 struct smk_audit_info ad; in smack_inode_link() local
1100 struct smk_audit_info ad; in smack_inode_unlink() local
1133 struct smk_audit_info ad; in smack_inode_rmdir() local
1176 struct smk_audit_info ad; in smack_inode_rename() local
1206 struct smk_audit_info ad; in smack_inode_permission() local
1241 struct smk_audit_info ad; in smack_inode_setattr() local
1265 struct smk_audit_info ad; in smack_inode_getattr() local
1293 struct smk_audit_info ad; in smack_inode_setxattr() local
[all …]
/openbmc/linux/drivers/crypto/
H A Dsa2ul.c512 mci = ad->mci_enc; in sa_set_sc_enc()
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()
740 ad->hash_size = roundup(ad->hash_size, 8); in sa_init_sc()
742 } else if (ad->enc_eng.eng_id && !ad->auth_eng.eng_id) { in sa_init_sc()
746 ad->hash_size = ad->iv_out_size; in sa_init_sc()
959 ad.inv_key = true; in sa_aes_cbc_setkey()
961 ad.iv_idx = 4; in sa_aes_cbc_setkey()
979 ad.inv_key = true; in sa_aes_ecb_setkey()
993 ad.iv_idx = 6; in sa_3des_cbc_setkey()
[all …]
/openbmc/u-boot/drivers/video/
H A Dfsl_diu_fb.c226 struct diu_ad *ad; in allocate_fb() local
237 ad = addr.vaddr; in allocate_fb()
247 return ad; in allocate_fb()
253 struct diu_ad *ad; in fsl_diu_init() local
307 if (!ad) { in fsl_diu_init()
315 ad->ckmax_r = 0; in fsl_diu_init()
316 ad->ckmax_g = 0; in fsl_diu_init()
317 ad->ckmax_b = 0; in fsl_diu_init()
319 ad->ckmin_r = 255; in fsl_diu_init()
320 ad->ckmin_g = 255; in fsl_diu_init()
[all …]
/openbmc/linux/security/selinux/
H A Dhooks.c234 ad->u.net = net; in __ad_net_init()
1745 &ad); in file_has_perm()
1815 &ad); in may_create()
2069 &ad); in selinux_binder_transfer_file()
2085 &ad); in selinux_binder_transfer_file()
2998 &ad); in selinux_inode_init_security_anon()
3258 &ad); in selinux_inode_setxattr()
3666 &ad); in ioctl_has_perm()
4590 &ad); in sock_has_perm()
5022 &ad); in selinux_socket_unix_may_send()
[all …]
/openbmc/linux/drivers/video/fbdev/
H A Dfsl-diu-fb.c503 struct diu_ad *ad = mfbi->ad; in fsl_diu_enable_panel() local
515 ad->next_ad = in fsl_diu_enable_panel()
539 pmfbi->ad->next_ad = cpu_to_le32(ad->paddr); in fsl_diu_enable_panel()
547 pmfbi->ad->next_ad = cpu_to_le32(ad->paddr); in fsl_diu_enable_panel()
555 struct diu_ad *ad = mfbi->ad; in fsl_diu_disable_panel() local
911 struct diu_ad *ad = mfbi->ad; in fsl_diu_set_aoi() local
1133 struct diu_ad *ad = mfbi->ad; in fsl_diu_set_par() local
1270 struct diu_ad *ad = mfbi->ad; in fsl_diu_ioctl() local
1329 ad->src_size_g_alpha = (ad->src_size_g_alpha & (~0xff)) | in fsl_diu_ioctl()
1723 data->ad[i].paddr = DMA_ADDR(data, ad[i]); in fsl_diu_probe()
[all …]
/openbmc/linux/security/
H A Dlsm_audit.c60 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()
81 ad->u.net->sport = sh->source; in ipv4_skb_to_auditdata()
82 ad->u.net->dport = sh->dest; in ipv4_skb_to_auditdata()
128 ad->u.net->sport = th->source; in ipv6_skb_to_auditdata()
129 ad->u.net->dport = th->dest; in ipv6_skb_to_auditdata()
139 ad->u.net->sport = uh->source; in ipv6_skb_to_auditdata()
140 ad->u.net->dport = uh->dest; in ipv6_skb_to_auditdata()
[all …]
/openbmc/linux/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,
/openbmc/linux/lib/crypto/
H A Dchacha20poly1305.c70 poly1305_update(&poly1305_state, ad, ad_len); in __chacha20poly1305_encrypt()
91 const u8 *ad, const size_t ad_len, in chacha20poly1305_encrypt() argument
113 const u8 *ad, const size_t ad_len, in xchacha20poly1305_encrypt() argument
144 poly1305_update(&poly1305_state, ad, ad_len); in __chacha20poly1305_decrypt()
169 const u8 *ad, const size_t ad_len, in chacha20poly1305_decrypt() argument
195 const u8 *ad, const size_t ad_len, in xchacha20poly1305_decrypt() argument
210 const u8 *ad, const size_t ad_len, in chacha20poly1305_crypt_sg_inplace() argument
249 poly1305_update(&poly1305_state, ad, ad_len); in chacha20poly1305_crypt_sg_inplace()
334 const u8 *ad, const size_t ad_len, in chacha20poly1305_encrypt_sg_inplace() argument
344 const u8 *ad, const size_t ad_len, in chacha20poly1305_decrypt_sg_inplace() argument
[all …]
/openbmc/linux/tools/testing/selftests/drivers/net/mlxsw/
H A Dq_in_q_veto.sh75 protocol 802.1ad id 100 2>/dev/null
79 protocol 802.1ad id 100 2>&1 >/dev/null \
98 protocol 802.1ad id 100 2>/dev/null
102 protocol 802.1ad id 100 2>&1 >/dev/null \
115 ip link add name bond1 type bond mode 802.3ad
120 protocol 802.1ad id 100 2>/dev/null
124 protocol 802.1ad id 100 2>&1 >/dev/null \
159 vlan_protocol 802.1ad vlan_default_pvid 0 mcast_snooping 0
182 vlan_protocol 802.1ad vlan_default_pvid 0 mcast_snooping 0
186 ip link add name bond1 type bond mode 802.3ad
[all …]

12345678910>>...12