/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 …]
|
/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 …]
|
/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 …]
|
/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 …]
|
/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 | af_unix.c | 176 struct apparmor_audit_data *ad) in match_label() argument 181 ad->peer = &peer->label; in match_label() 187 ad->info = "failed peer label match"; in match_label() 191 return aa_do_perms(profile, rule->policy, state, request, p, ad); in match_label() 203 struct apparmor_audit_data *ad) in profile_create_perm() argument 215 &ad->info); in profile_create_perm() 218 NULL, ad); in profile_create_perm() 221 return aa_profile_af_perm(profile, ad, AA_MAY_CREATE, family, type, in profile_create_perm() 226 struct apparmor_audit_data *ad, in profile_sk_perm() argument 240 return unix_fs_perm(ad->op, request, ad->subj_cred, in profile_sk_perm() [all …]
|
H A D | net.c | 117 struct apparmor_audit_data *ad = aad(sa); in audit_net_cb() local 119 if (address_family_names[ad->common.u.net->family]) in audit_net_cb() 121 address_family_names[ad->common.u.net->family]); in audit_net_cb() 124 ad->common.u.net->family); in audit_net_cb() 125 if (sock_type_names[ad->net.type]) in audit_net_cb() 127 sock_type_names[ad->net.type]); in audit_net_cb() 130 ad->net.type); in audit_net_cb() 131 audit_log_format(ab, " protocol=%d", ad->net.protocol); in audit_net_cb() 133 if (ad->request & NET_PERMS_MASK) { in audit_net_cb() 135 aa_audit_perm_mask(ab, ad->request, NULL, 0, in audit_net_cb() [all …]
|
H A D | task.c | 208 struct apparmor_audit_data *ad = aad(sa); in audit_ptrace_cb() local 210 if (ad->request & AA_PTRACE_PERM_MASK) { in audit_ptrace_cb() 212 audit_ptrace_mask(ad->request)); in audit_ptrace_cb() 214 if (ad->denied & AA_PTRACE_PERM_MASK) { in audit_ptrace_cb() 216 audit_ptrace_mask(ad->denied)); in audit_ptrace_cb() 220 aa_label_xaudit(ab, labels_ns(ad->subj_label), ad->peer, in audit_ptrace_cb() 229 struct apparmor_audit_data *ad) in profile_ptrace_perm() argument 234 ad->subj_cred = cred; in profile_ptrace_perm() 235 ad->peer = peer; in profile_ptrace_perm() 239 return aa_check_perms(profile, &perms, request, ad, audit_ptrace_cb); in profile_ptrace_perm() [all …]
|
H A D | capability.c | 57 * @ad: audit data 65 * Returns: 0 or ad->error on success, error code on failure 67 static int audit_caps(struct apparmor_audit_data *ad, struct aa_profile *profile, in audit_caps() argument 76 ad->error = error; in audit_caps() 97 if (ad->subj_cred == ent->ad_subj_cred && ktime_get_ns() <= ent->ktime_ns_expiration[cap]) { in audit_caps() 104 ent->ad_subj_cred = get_cred(ad->subj_cred); in audit_caps() 109 return aa_audit(type, profile, ad, audit_cb); in audit_caps() 117 * @ad: audit data (NOT NULL) 122 unsigned int opts, struct apparmor_audit_data *ad) in profile_capable() argument 128 state = RULE_MEDIATES(rules, ad->class); in profile_capable() [all …]
|
H A D | file.c | 48 struct apparmor_audit_data *ad = aad(sa); in file_audit_cb() local 49 kuid_t fsuid = ad->subj_cred ? ad->subj_cred->fsuid : current_fsuid(); in file_audit_cb() 52 if (ad->request & AA_AUDIT_FILE_MASK) { in file_audit_cb() 54 map_mask_to_chr_mask(ad->request)); in file_audit_cb() 57 if (ad->denied & AA_AUDIT_FILE_MASK) { in file_audit_cb() 59 map_mask_to_chr_mask(ad->denied)); in file_audit_cb() 62 if (ad->request & AA_AUDIT_FILE_MASK) { in file_audit_cb() 66 from_kuid(&init_user_ns, ad->fs.ouid)); in file_audit_cb() 69 if (ad->peer) { in file_audit_cb() 71 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 …]
|
/linux/tools/perf/pmu-events/arch/x86/snowridgex/ |
H A D | uncore-interconnect.json | 731 "BriefDescription": "CMS Agent0 AD Credits Acquired : For Transgress 0", 737 …"PublicDescription": "CMS Agent0 AD Credits Acquired : For Transgress 0 : Number of CMS Agent 0 AD… 742 "BriefDescription": "CMS Agent0 AD Credits Acquired : For Transgress 1", 748 …"PublicDescription": "CMS Agent0 AD Credits Acquired : For Transgress 1 : Number of CMS Agent 0 AD… 753 "BriefDescription": "CMS Agent0 AD Credits Acquired : For Transgress 2", 759 …"PublicDescription": "CMS Agent0 AD Credits Acquired : For Transgress 2 : Number of CMS Agent 0 AD… 764 "BriefDescription": "CMS Agent0 AD Credits Acquired : For Transgress 3", 770 …"PublicDescription": "CMS Agent0 AD Credits Acquired : For Transgress 3 : Number of CMS Agent 0 AD… 775 "BriefDescription": "CMS Agent0 AD Credits Acquired : For Transgress 4", 781 …"PublicDescription": "CMS Agent0 AD Credits Acquired : For Transgress 4 : Number of CMS Agent 0 AD… [all …]
|
H A D | uncore-cache.json | 3 "BriefDescription": "CMS Agent0 AD Credits Acquired : For Transgress 0", 9 …"PublicDescription": "CMS Agent0 AD Credits Acquired : For Transgress 0 : Number of CMS Agent 0 AD… 14 "BriefDescription": "CMS Agent0 AD Credits Acquired : For Transgress 1", 20 …"PublicDescription": "CMS Agent0 AD Credits Acquired : For Transgress 1 : Number of CMS Agent 0 AD… 25 "BriefDescription": "CMS Agent0 AD Credits Acquired : For Transgress 2", 31 …"PublicDescription": "CMS Agent0 AD Credits Acquired : For Transgress 2 : Number of CMS Agent 0 AD… 36 "BriefDescription": "CMS Agent0 AD Credits Acquired : For Transgress 3", 42 …"PublicDescription": "CMS Agent0 AD Credits Acquired : For Transgress 3 : Number of CMS Agent 0 AD… 47 "BriefDescription": "CMS Agent0 AD Credits Acquired : For Transgress 4", 53 …"PublicDescription": "CMS Agent0 AD Credits Acquired : For Transgress 4 : Number of CMS Agent 0 AD… [all …]
|
/linux/tools/perf/pmu-events/arch/x86/icelakex/ |
H A D | uncore-interconnect.json | 731 "BriefDescription": "CMS Agent0 AD Credits Acquired : For Transgress 0", 737 …"PublicDescription": "CMS Agent0 AD Credits Acquired : For Transgress 0 : Number of CMS Agent 0 AD… 742 "BriefDescription": "CMS Agent0 AD Credits Acquired : For Transgress 1", 748 …"PublicDescription": "CMS Agent0 AD Credits Acquired : For Transgress 1 : Number of CMS Agent 0 AD… 753 "BriefDescription": "CMS Agent0 AD Credits Acquired : For Transgress 2", 759 …"PublicDescription": "CMS Agent0 AD Credits Acquired : For Transgress 2 : Number of CMS Agent 0 AD… 764 "BriefDescription": "CMS Agent0 AD Credits Acquired : For Transgress 3", 770 …"PublicDescription": "CMS Agent0 AD Credits Acquired : For Transgress 3 : Number of CMS Agent 0 AD… 775 "BriefDescription": "CMS Agent0 AD Credits Acquired : For Transgress 4", 781 …"PublicDescription": "CMS Agent0 AD Credits Acquired : For Transgress 4 : Number of CMS Agent 0 AD… [all …]
|
/linux/tools/perf/pmu-events/arch/x86/cascadelakex/ |
H A D | uncore-interconnect.json | 723 "BriefDescription": "No AD Egress Credit Stalls", 729 "PublicDescription": "Counts the number times when it is not possible to issue a request to the R2PCIe because there are no AD Egress Credits available.", 773 "BriefDescription": "CMS Agent0 AD Credits Acquired; For Transgress 0", 779 "PublicDescription": "Number of CMS Agent 0 AD credits acquired in a given cycle, per transgress.", 784 "BriefDescription": "CMS Agent0 AD Credits Acquired; For Transgress 1", 790 "PublicDescription": "Number of CMS Agent 0 AD credits acquired in a given cycle, per transgress.", 795 "BriefDescription": "CMS Agent0 AD Credits Acquired; For Transgress 2", 801 "PublicDescription": "Number of CMS Agent 0 AD credits acquired in a given cycle, per transgress.", 806 "BriefDescription": "CMS Agent0 AD Credits Acquired; For Transgress 3", 812 "PublicDescription": "Number of CMS Agent 0 AD credit [all...] |
/linux/tools/perf/pmu-events/arch/x86/skylakex/ |
H A D | uncore-interconnect.json | 723 "BriefDescription": "No AD Egress Credit Stalls", 729 "PublicDescription": "Counts the number times when it is not possible to issue a request to the R2PCIe because there are no AD Egress Credits available.", 773 "BriefDescription": "CMS Agent0 AD Credits Acquired; For Transgress 0", 779 "PublicDescription": "Number of CMS Agent 0 AD credits acquired in a given cycle, per transgress.", 784 "BriefDescription": "CMS Agent0 AD Credits Acquired; For Transgress 1", 790 "PublicDescription": "Number of CMS Agent 0 AD credits acquired in a given cycle, per transgress.", 795 "BriefDescription": "CMS Agent0 AD Credits Acquired; For Transgress 2", 801 "PublicDescription": "Number of CMS Agent 0 AD credits acquired in a given cycle, per transgress.", 806 "BriefDescription": "CMS Agent0 AD Credits Acquired; For Transgress 3", 812 "PublicDescription": "Number of CMS Agent 0 AD credit [all...] |
/linux/security/selinux/ |
H A D | hooks.c | 232 static void __ad_net_init(struct common_audit_data *ad, in __ad_net_init() argument 236 ad->type = LSM_AUDIT_DATA_NET; in __ad_net_init() 237 ad->u.net = net; in __ad_net_init() 243 static void ad_net_init_from_sk(struct common_audit_data *ad, in ad_net_init_from_sk() argument 247 __ad_net_init(ad, net, 0, sk, 0); in ad_net_init_from_sk() 250 static void ad_net_init_from_iif(struct common_audit_data *ad, in ad_net_init_from_iif() argument 254 __ad_net_init(ad, net, ifindex, NULL, family); in ad_net_init_from_iif() 1632 struct common_audit_data ad; in cred_has_capability() local 1639 ad.type = LSM_AUDIT_DATA_CAP; in cred_has_capability() 1640 ad.u.cap = cap; in cred_has_capability() [all …]
|
/linux/tools/perf/pmu-events/arch/x86/sapphirerapids/ |
H A D | uncore-interconnect.json | 2078 "BriefDescription": "AD Ingress (from CMS) Occupancy - Prefetches", 2087 "BriefDescription": "AD Ingress (from CMS) : AD Ingress (from CMS) Allocations", 2097 "BriefDescription": "AD Ingress (from CMS) Occupancy", 2158 "BriefDescription": "Number AD Ingress Credits", 2426 "BriefDescription": "CBox AD Credits Empty : Requests", 2432 …"PublicDescription": "CBox AD Credits Empty : Requests : No credits available to send to Cbox on t… 2437 "BriefDescription": "CBox AD Credits Empty : Snoops", 2443 …"PublicDescription": "CBox AD Credits Empty : Snoops : No credits available to send to Cbox on the… 2448 "BriefDescription": "CBox AD Credits Empty : VNA Messages", 2454 …"PublicDescription": "CBox AD Credits Empty : VNA Messages : No credits available to send to Cbox … [all …]
|
/linux/tools/perf/pmu-events/arch/x86/emeraldrapids/ |
H A D | uncore-interconnect.json | 2078 "BriefDescription": "AD Ingress (from CMS) Occupancy - Prefetches", 2087 "BriefDescription": "AD Ingress (from CMS) : AD Ingress (from CMS) Allocations", 2097 "BriefDescription": "AD Ingress (from CMS) Occupancy", 2158 "BriefDescription": "Number AD Ingress Credits", 2426 "BriefDescription": "CBox AD Credits Empty : Requests", 2432 …"PublicDescription": "CBox AD Credits Empty : Requests : No credits available to send to Cbox on t… 2437 "BriefDescription": "CBox AD Credits Empty : Snoops", 2443 …"PublicDescription": "CBox AD Credits Empty : Snoops : No credits available to send to Cbox on the… 2448 "BriefDescription": "CBox AD Credits Empty : VNA Messages", 2454 …"PublicDescription": "CBox AD Credits Empty : VNA Messages : No credits available to send to Cbox … [all …]
|
/linux/tools/perf/pmu-events/arch/x86/knightslanding/ |
H A D | uncore-cache.json | 66 "BriefDescription": "CMS Agent0 AD Credits Acquired For Transgress 0", 75 "BriefDescription": "CMS Agent0 AD Credits Acquired For Transgress 1", 84 "BriefDescription": "CMS Agent0 AD Credits Acquired For Transgress 2", 93 "BriefDescription": "CMS Agent0 AD Credits Acquired For Transgress 3", 102 "BriefDescription": "CMS Agent0 AD Credits Acquired For Transgress 4", 111 "BriefDescription": "CMS Agent0 AD Credits Acquired For Transgress 5", 120 "BriefDescription": "CMS Agent0 AD Credits Acquired For Transgress 6", 129 "BriefDescription": "CMS Agent0 AD Credits Acquired For Transgress 7", 138 "BriefDescription": "CMS Agent0 AD Credits Acquired For Transgress 0-7", 147 "BriefDescription": "CMS Agent0 AD Credits Acquired For Transgress 8", [all …]
|
/linux/drivers/pinctrl/ |
H A D | pinctrl-ep93xx.c | 125 PINCTRL_PIN(6, "AD[25]"), 128 PINCTRL_PIN(9, "AD[24]"), 130 PINCTRL_PIN(11, "AD[23]"), 144 PINCTRL_PIN(25, "AD[22]"), 145 PINCTRL_PIN(26, "AD[21]"), 149 PINCTRL_PIN(30, "AD[7]"), 151 PINCTRL_PIN(32, "AD[6]"), 155 PINCTRL_PIN(36, "AD[5]"), 157 PINCTRL_PIN(38, "AD[4]"), 159 PINCTRL_PIN(40, "AD[3]"), [all …]
|
/linux/lib/crypto/ |
H A D | chacha20poly1305.c | 56 const u8 *ad, const size_t ad_len, in __chacha20poly1305_encrypt() argument 69 poly1305_update(&poly1305_state, ad, ad_len); in __chacha20poly1305_encrypt() 90 const u8 *ad, const size_t ad_len, in chacha20poly1305_encrypt() argument 104 __chacha20poly1305_encrypt(dst, src, src_len, ad, ad_len, in chacha20poly1305_encrypt() 113 const u8 *ad, const size_t ad_len, in xchacha20poly1305_encrypt() argument 120 __chacha20poly1305_encrypt(dst, src, src_len, ad, ad_len, in xchacha20poly1305_encrypt() 127 const u8 *ad, const size_t ad_len, in __chacha20poly1305_decrypt() argument 146 poly1305_update(&poly1305_state, ad, ad_len); in __chacha20poly1305_decrypt() 171 const u8 *ad, const size_t ad_len, in chacha20poly1305_decrypt() argument 186 ret = __chacha20poly1305_decrypt(dst, src, src_len, ad, ad_len, in chacha20poly1305_decrypt() [all …]
|
/linux/include/net/ |
H A D | bond_3ad.h | 31 /* rx machine states(43.4.11 in the 802.3ad standard) */ 42 /* periodic machine states(43.4.12 in the 802.3ad standard) */ 51 /* mux machine states(43.4.13 in the 802.3ad standard) */ 62 /* tx machine states(43.4.15 in the 802.3ad standard) */ 68 /* churn machine states(43.4.17 in the 802.3ad standard) */ 87 /* timers types(43.4.9 in the 802.3ad standard) */ 98 /* Link Aggregation Control Protocol(LACP) data unit structure(43.4.2.2 in the 802.3ad standard) */ 134 /* Marker Protocol Data Unit(PDU) structure(43.5.3.2 in the 802.3ad standard) */ 179 /* aggregator structure(43.4.5 in the 802.3ad standard) */ 207 /* port structure(43.4.6 in the 802.3ad standard) */ [all …]
|
/linux/tools/perf/pmu-events/arch/x86/broadwellx/ |
H A D | uncore-io.json | 108 "BriefDescription": "R2 AD Ring in Use; All", 113 …"PublicDescription": "Counts the number of cycles that the AD ring is being used at this ring stop… 118 "BriefDescription": "R2 AD Ring in Use; Counterclockwise", 123 …"PublicDescription": "Counts the number of cycles that the AD ring is being used at this ring stop… 128 "BriefDescription": "R2 AD Ring in Use; Counterclockwise and Even", 133 …"PublicDescription": "Counts the number of cycles that the AD ring is being used at this ring stop… 138 "BriefDescription": "R2 AD Ring in Use; Counterclockwise and Odd", 143 …"PublicDescription": "Counts the number of cycles that the AD ring is being used at this ring stop… 148 "BriefDescription": "R2 AD Ring in Use; Clockwise", 153 …"PublicDescription": "Counts the number of cycles that the AD ring is being used at this ring stop… [all …]
|