/openbmc/linux/drivers/clk/ti/ |
H A D | apll.c | 36 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->control_reg); in dra7_apll_enable() [all …]
|
/openbmc/linux/sound/soc/ti/ |
H A D | omap-hdmi.c | 50 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 = card_drvdata_substream(substream); in hdmi_dai_startup() local 87 snd_soc_dai_set_dma_data(dai, substream, &ad->dma_data); in hdmi_dai_startup() [all …]
|
/openbmc/linux/drivers/dma/ |
H A D | apple-admac.c | 150 static int admac_alloc_sram_carveout(struct admac_data *ad, in admac_alloc_sram_carveout() argument 156 ad->txcache.size = readl_relaxed(ad->base + REG_TX_SRAM_SIZE); in admac_alloc_sram_carveout() 157 ad->rxcache.size = readl_relaxed(ad->base + REG_RX_SRAM_SIZE); in admac_alloc_sram_carveout() 160 sram = &ad->txcache; in admac_alloc_sram_carveout() 162 sram = &ad->rxcache; in admac_alloc_sram_carveout() 164 mutex_lock(&ad->cache_alloc_lock); in admac_alloc_sram_carveout() 179 mutex_unlock(&ad->cache_alloc_lock); in admac_alloc_sram_carveout() 184 static void admac_free_sram_carveout(struct admac_data *ad, in admac_free_sram_carveout() argument 193 sram = &ad->txcache; in admac_free_sram_carveout() 195 sram = &ad->rxcache; in admac_free_sram_carveout() [all …]
|
/openbmc/linux/tools/testing/selftests/drivers/net/mlxsw/ |
H A D | q_in_q_veto.sh | 75 protocol 802.1ad id 100 2>/dev/null 76 check_fail $? "802.1ad vlan upper creation on top of a front panel not rejected" 79 protocol 802.1ad id 100 2>&1 >/dev/null \ 81 check_err $? "802.1ad vlan upper creation on top of a front panel rejected without extack" 83 log_test "create 802.1ad vlan upper on top of a front panel" 98 protocol 802.1ad id 100 2>/dev/null 99 check_fail $? "802.1ad vlan upper creation on top of a bridge port not rejected" 102 protocol 802.1ad id 100 2>&1 >/dev/null \ 104 check_err $? "802.1ad vlan upper creation on top of a bridge port rejected without extack" 106 log_test "create 802.1ad vlan upper on top of a bridge port" [all …]
|
/openbmc/qemu/hw/ide/ |
H A D | ahci.c | 48 static bool ahci_write_fis_d2h(AHCIDevice *ad, bool d2h_fis_i); 49 static void ahci_clear_cmd_issue(AHCIDevice *ad, uint8_t slot); 50 static void ahci_init_d2h(AHCIDevice *ad); 52 static bool ahci_map_clb_address(AHCIDevice *ad); 53 static bool ahci_map_fis_address(AHCIDevice *ad); 54 static void ahci_unmap_clb_address(AHCIDevice *ad); 55 static void ahci_unmap_fis_address(AHCIDevice *ad); 268 * @ad: Device to dis/engage. 272 static int ahci_cond_start_engines(AHCIDevice *ad) in ahci_cond_start_engines() argument 274 AHCIPortRegs *pr = &ad->port_regs; in ahci_cond_start_engines() [all …]
|
/openbmc/linux/security/apparmor/ |
H A D | audit.c | 94 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->error) in audit_pre() [all …]
|
H A D | ipc.c | 55 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->signal - SIGRT_BASE); in audit_signal_cb() [all …]
|
H A D | net.c | 74 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->peer) { in audit_net_cb() [all …]
|
H A D | task.c | 211 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() argument 238 ad->subj_cred = cred; in profile_ptrace_perm() 239 ad->peer = peer; in profile_ptrace_perm() 243 return aa_check_perms(profile, &perms, request, ad, audit_ptrace_cb); in profile_ptrace_perm() [all …]
|
H A D | lib.c | 148 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->peer, in aa_audit_perms_cb() 355 struct apparmor_audit_data *ad) in aa_profile_label_perm() argument [all …]
|
H A D | file.c | 47 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->peer) { in file_audit_cb() 70 aa_label_xaudit(ab, labels_ns(ad->subj_label), ad->peer, in file_audit_cb() [all …]
|
H A D | resource.c | 33 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.rlim.rlim = resource; in audit_resource() 66 ad.rlim.max = value; in audit_resource() 67 ad.peer = peer; in audit_resource() [all …]
|
/openbmc/phosphor-logging/test/openpower-pels/ |
H A D | additional_data_test.cpp | 26 AdditionalData ad{data}; in TEST() local 28 EXPECT_TRUE(ad.getValue("KEY1")); in TEST() 29 EXPECT_EQ(*(ad.getValue("KEY1")), "VALUE1"); in TEST() 31 EXPECT_TRUE(ad.getValue("KEY2")); in TEST() 32 EXPECT_EQ(*(ad.getValue("KEY2")), "VALUE2"); in TEST() 34 EXPECT_FALSE(ad.getValue("x")); in TEST() 36 auto value3 = ad.getValue("KEY3"); in TEST() 40 EXPECT_FALSE(ad.getValue("HELLOWORLD")); in TEST() 41 EXPECT_FALSE(ad.getValue("VALUE5")); in TEST() 43 auto json = ad.toJSON(); in TEST() [all …]
|
H A D | user_header_test.cpp | 115 AdditionalData ad; in TEST() local 117 UserHeader uh(regEntry, phosphor::logging::Entry::Level::Error, ad, in TEST() 142 UserHeader uh(regEntry, phosphor::logging::Entry::Level::Error, ad, in TEST() 156 AdditionalData ad; in TEST() local 169 UserHeader uh(regEntry, phosphor::logging::Entry::Level::Error, ad, in TEST() 176 UserHeader uh(regEntry, phosphor::logging::Entry::Level::Error, ad, in TEST() 183 UserHeader uh(regEntry, phosphor::logging::Entry::Level::Error, ad, in TEST() 206 AdditionalData ad; in TEST() local 208 UserHeader uh(regEntry, phosphor::logging::Entry::Level::Error, ad, in TEST() 228 AdditionalData ad; in TEST() local [all …]
|
H A D | event_logger_test.cpp | 28 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/tools/perf/pmu-events/arch/x86/icelakex/ |
H A D | uncore-interconnect.json | 597 "BriefDescription": "CMS Agent0 AD Credits Acquired : For Transgress 0", 601 …"PublicDescription": "CMS Agent0 AD Credits Acquired : For Transgress 0 : Number of CMS Agent 0 AD… 606 "BriefDescription": "CMS Agent0 AD Credits Acquired : For Transgress 1", 610 …"PublicDescription": "CMS Agent0 AD Credits Acquired : For Transgress 1 : Number of CMS Agent 0 AD… 615 "BriefDescription": "CMS Agent0 AD Credits Acquired : For Transgress 2", 619 …"PublicDescription": "CMS Agent0 AD Credits Acquired : For Transgress 2 : Number of CMS Agent 0 AD… 624 "BriefDescription": "CMS Agent0 AD Credits Acquired : For Transgress 3", 628 …"PublicDescription": "CMS Agent0 AD Credits Acquired : For Transgress 3 : Number of CMS Agent 0 AD… 633 "BriefDescription": "CMS Agent0 AD Credits Acquired : For Transgress 4", 637 …"PublicDescription": "CMS Agent0 AD Credits Acquired : For Transgress 4 : Number of CMS Agent 0 AD… [all …]
|
/openbmc/linux/tools/perf/pmu-events/arch/x86/snowridgex/ |
H A D | uncore-interconnect.json | 597 "BriefDescription": "CMS Agent0 AD Credits Acquired : For Transgress 0", 601 …"PublicDescription": "CMS Agent0 AD Credits Acquired : For Transgress 0 : Number of CMS Agent 0 AD… 606 "BriefDescription": "CMS Agent0 AD Credits Acquired : For Transgress 1", 610 …"PublicDescription": "CMS Agent0 AD Credits Acquired : For Transgress 1 : Number of CMS Agent 0 AD… 615 "BriefDescription": "CMS Agent0 AD Credits Acquired : For Transgress 2", 619 …"PublicDescription": "CMS Agent0 AD Credits Acquired : For Transgress 2 : Number of CMS Agent 0 AD… 624 "BriefDescription": "CMS Agent0 AD Credits Acquired : For Transgress 3", 628 …"PublicDescription": "CMS Agent0 AD Credits Acquired : For Transgress 3 : Number of CMS Agent 0 AD… 633 "BriefDescription": "CMS Agent0 AD Credits Acquired : For Transgress 4", 637 …"PublicDescription": "CMS Agent0 AD Credits Acquired : For Transgress 4 : Number of CMS Agent 0 AD… [all …]
|
H A D | uncore-cache.json | 55 "BriefDescription": "CMS Agent0 AD Credits Acquired : For Transgress 0", 59 …"PublicDescription": "CMS Agent0 AD Credits Acquired : For Transgress 0 : Number of CMS Agent 0 AD… 64 "BriefDescription": "CMS Agent0 AD Credits Acquired : For Transgress 1", 68 …"PublicDescription": "CMS Agent0 AD Credits Acquired : For Transgress 1 : Number of CMS Agent 0 AD… 73 "BriefDescription": "CMS Agent0 AD Credits Acquired : For Transgress 2", 77 …"PublicDescription": "CMS Agent0 AD Credits Acquired : For Transgress 2 : Number of CMS Agent 0 AD… 82 "BriefDescription": "CMS Agent0 AD Credits Acquired : For Transgress 3", 86 …"PublicDescription": "CMS Agent0 AD Credits Acquired : For Transgress 3 : Number of CMS Agent 0 AD… 91 "BriefDescription": "CMS Agent0 AD Credits Acquired : For Transgress 4", 95 …"PublicDescription": "CMS Agent0 AD Credits Acquired : For Transgress 4 : Number of CMS Agent 0 AD… [all …]
|
/openbmc/linux/tools/perf/pmu-events/arch/x86/cascadelakex/ |
H A D | uncore-interconnect.json | 587 "BriefDescription": "No AD Egress Credit Stalls", 591 …n it is not possible to issue a request to the R2PCIe because there are no AD Egress Credits avail… 627 "BriefDescription": "CMS Agent0 AD Credits Acquired; For Transgress 0", 631 …"PublicDescription": "Number of CMS Agent 0 AD credits acquired in a given cycle, per transgress.", 636 "BriefDescription": "CMS Agent0 AD Credits Acquired; For Transgress 1", 640 …"PublicDescription": "Number of CMS Agent 0 AD credits acquired in a given cycle, per transgress.", 645 "BriefDescription": "CMS Agent0 AD Credits Acquired; For Transgress 2", 649 …"PublicDescription": "Number of CMS Agent 0 AD credits acquired in a given cycle, per transgress.", 654 "BriefDescription": "CMS Agent0 AD Credits Acquired; For Transgress 3", 658 …"PublicDescription": "Number of CMS Agent 0 AD credits acquired in a given cycle, per transgress.", [all …]
|
/openbmc/linux/tools/perf/pmu-events/arch/x86/skylakex/ |
H A D | uncore-interconnect.json | 587 "BriefDescription": "No AD Egress Credit Stalls", 591 …n it is not possible to issue a request to the R2PCIe because there are no AD Egress Credits avail… 627 "BriefDescription": "CMS Agent0 AD Credits Acquired; For Transgress 0", 631 …"PublicDescription": "Number of CMS Agent 0 AD credits acquired in a given cycle, per transgress.", 636 "BriefDescription": "CMS Agent0 AD Credits Acquired; For Transgress 1", 640 …"PublicDescription": "Number of CMS Agent 0 AD credits acquired in a given cycle, per transgress.", 645 "BriefDescription": "CMS Agent0 AD Credits Acquired; For Transgress 2", 649 …"PublicDescription": "Number of CMS Agent 0 AD credits acquired in a given cycle, per transgress.", 654 "BriefDescription": "CMS Agent0 AD Credits Acquired; For Transgress 3", 658 …"PublicDescription": "Number of CMS Agent 0 AD credits acquired in a given cycle, per transgress.", [all …]
|
/openbmc/ibm-logging/test/ |
H A D | test_policy.cpp | 290 std::vector<std::string> ad{"FOO=BAR"s, "CALLOUT_INVENTORY_PATH=mod2"s}; in TEST_F() local 293 {"AdditionalData"s, ad}}; in TEST_F() 302 std::vector<std::string> ad{"FOO=BAR"s, in TEST_F() local 306 {"AdditionalData"s, ad}}; in TEST_F() 315 std::vector<std::string> ad{"FOO=BAR"s, in TEST_F() local 319 {"AdditionalData"s, ad}}; in TEST_F() 328 std::vector<std::string> ad{"FOO=BAR"s, "PROCEDURE=109"s}; in TEST_F() local 331 {"AdditionalData"s, ad}}; in TEST_F() 340 std::vector<std::string> ad{"FOO=BAR"s, "RAIL_NAME=RAIL_5"s}; in TEST_F() local 343 {"AdditionalData"s, ad}}; in TEST_F() [all …]
|
/openbmc/linux/tools/perf/pmu-events/arch/x86/sapphirerapids/ |
H A D | uncore-interconnect.json | 1686 "BriefDescription": "AD Ingress (from CMS) Occupancy - Prefetches", 1693 "BriefDescription": "AD Ingress (from CMS) : AD Ingress (from CMS) Allocations", 1701 "BriefDescription": "AD Ingress (from CMS) Occupancy", 1752 "BriefDescription": "Number AD Ingress Credits", 1966 "BriefDescription": "CBox AD Credits Empty : Requests", 1970 …"PublicDescription": "CBox AD Credits Empty : Requests : No credits available to send to Cbox on t… 1975 "BriefDescription": "CBox AD Credits Empty : Snoops", 1979 …"PublicDescription": "CBox AD Credits Empty : Snoops : No credits available to send to Cbox on the… 1984 "BriefDescription": "CBox AD Credits Empty : VNA Messages", 1988 …"PublicDescription": "CBox AD Credits Empty : VNA Messages : No credits available to send to Cbox … [all …]
|
/openbmc/linux/tools/perf/pmu-events/arch/x86/knightslanding/ |
H A D | uncore-cache.json | 59 "BriefDescription": "CMS Agent0 AD Credits Acquired For Transgress 0", 67 "BriefDescription": "CMS Agent0 AD Credits Acquired For Transgress 1", 75 "BriefDescription": "CMS Agent0 AD Credits Acquired For Transgress 2", 83 "BriefDescription": "CMS Agent0 AD Credits Acquired For Transgress 3", 91 "BriefDescription": "CMS Agent0 AD Credits Acquired For Transgress 4", 99 "BriefDescription": "CMS Agent0 AD Credits Acquired For Transgress 5", 107 "BriefDescription": "CMS Agent0 AD Credits Acquired For Transgress 6", 115 "BriefDescription": "CMS Agent0 AD Credits Acquired For Transgress 7", 123 "BriefDescription": "CMS Agent0 AD Credits Acquired For Transgress 0-7", 131 "BriefDescription": "CMS Agent0 AD Credits Acquired For Transgress 8", [all …]
|
/openbmc/linux/security/selinux/ |
H A D | hooks.c | 229 static void __ad_net_init(struct common_audit_data *ad, in __ad_net_init() argument 233 ad->type = LSM_AUDIT_DATA_NET; in __ad_net_init() 234 ad->u.net = net; in __ad_net_init() 240 static void ad_net_init_from_sk(struct common_audit_data *ad, in ad_net_init_from_sk() argument 244 __ad_net_init(ad, net, 0, sk, 0); in ad_net_init_from_sk() 247 static void ad_net_init_from_iif(struct common_audit_data *ad, in ad_net_init_from_iif() argument 251 __ad_net_init(ad, net, ifindex, NULL, family); in ad_net_init_from_iif() 1620 struct common_audit_data ad; in cred_has_capability() local 1627 ad.type = LSM_AUDIT_DATA_CAP; in cred_has_capability() 1628 ad.u.cap = cap; in cred_has_capability() [all …]
|
/openbmc/linux/drivers/crypto/ |
H A D | sa2ul.c | 503 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, u8 enc, u32 *swinfo) in sa_init_sc() argument 729 if (ad->auth_eng.eng_id) { in sa_init_sc() [all …]
|