Home
last modified time | relevance | path

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

12345678

/Linux-v6.6/drivers/clk/ti/
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->control_reg); in dra7_apll_enable()
[all …]
/Linux-v6.6/sound/soc/ti/
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 = 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-v6.6/drivers/dma/
Dapple-admac.c148 static int admac_alloc_sram_carveout(struct admac_data *ad, in admac_alloc_sram_carveout() argument
156 sram = &ad->txcache; in admac_alloc_sram_carveout()
158 sram = &ad->rxcache; in admac_alloc_sram_carveout()
160 mutex_lock(&ad->cache_alloc_lock); in admac_alloc_sram_carveout()
175 mutex_unlock(&ad->cache_alloc_lock); in admac_alloc_sram_carveout()
180 static void admac_free_sram_carveout(struct admac_data *ad, in admac_free_sram_carveout() argument
189 sram = &ad->txcache; in admac_free_sram_carveout()
191 sram = &ad->rxcache; in admac_free_sram_carveout()
196 mutex_lock(&ad->cache_alloc_lock); in admac_free_sram_carveout()
199 mutex_unlock(&ad->cache_alloc_lock); in admac_free_sram_carveout()
[all …]
/Linux-v6.6/security/smack/
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__, LSM_AUDIT_DATA_DENTRY); in smack_inode_link()
[all …]
/Linux-v6.6/drivers/crypto/
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, u8 enc, u32 *swinfo) in sa_init_sc() argument
729 if (ad->auth_eng.eng_id) { in sa_init_sc()
[all …]
/Linux-v6.6/security/selinux/
Dhooks.c229 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 …]
/Linux-v6.6/drivers/video/fbdev/
Dfsl-diu-fb.c336 struct diu_ad *ad; member
377 struct diu_ad ad[NUM_AOIS] __aligned(8); member
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->next_ad = 0; in fsl_diu_enable_panel()
519 wr_reg_wa(&hw->desc[1], ad->paddr); in fsl_diu_enable_panel()
524 if (hw->desc[2] != ad->paddr) { /* AOI0 closed */ in fsl_diu_enable_panel()
[all …]
/Linux-v6.6/security/
Dlsm_audit.c41 struct common_audit_data *ad, u8 *proto) in ipv4_skb_to_auditdata() argument
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->u.net->dport = dh->dccph_dport; in ipv4_skb_to_auditdata()
81 ad->u.net->sport = sh->source; in ipv4_skb_to_auditdata()
[all …]
/Linux-v6.6/lib/crypto/
Dchacha20poly1305.c58 const u8 *ad, const size_t ad_len, u32 *chacha_state) in __chacha20poly1305_encrypt() argument
70 poly1305_update(&poly1305_state, ad, ad_len); in __chacha20poly1305_encrypt()
91 const u8 *ad, const size_t ad_len, in chacha20poly1305_encrypt() argument
105 __chacha20poly1305_encrypt(dst, src, src_len, ad, ad_len, chacha_state); 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, chacha_state); in xchacha20poly1305_encrypt()
126 const u8 *ad, const size_t ad_len, u32 *chacha_state) in __chacha20poly1305_decrypt() 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
184 ret = __chacha20poly1305_decrypt(dst, src, src_len, ad, ad_len, in chacha20poly1305_decrypt()
[all …]
/Linux-v6.6/include/crypto/
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,
/Linux-v6.6/tools/testing/selftests/drivers/net/mlxsw/
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 …]
Dvxlan_flooding.sh182 flower skip_hw dst_mac de:ad:be:ef:13:37 action pass
245 $MZ $h1 -q -p 64 -b de:ad:be:ef:13:37 -t ip -c 1
259 $MZ $h1 -q -p 64 -b de:ad:be:ef:13:37 -t ip -c 1
271 $MZ $h1 -q -p 64 -b de:ad:be:ef:13:37 -t ip -c 1
283 $MZ $h1 -q -p 64 -b de:ad:be:ef:13:37 -t ip -c 1
294 $MZ $h1 -q -p 64 -b de:ad:be:ef:13:37 -t ip -c 1
303 $MZ $h1 -q -p 64 -b de:ad:be:ef:13:37 -t ip -c 1
312 $MZ $h1 -q -p 64 -b de:ad:be:ef:13:37 -t ip -c 1
Dvxlan.sh498 bridge fdb add de:ad:be:ef:13:37 dev vxlan0 self master static \
502 de:ad:be:ef:13:37 self bridge fdb show brport vxlan0
505 de:ad:be:ef:13:37 self -v bridge fdb show brport vxlan0
514 bridge fdb del de:ad:be:ef:13:37 dev vxlan0 master
516 de:ad:be:ef:13:37 self bridge fdb show brport vxlan0
525 bridge fdb add de:ad:be:ef:13:37 dev vxlan0 master static
527 de:ad:be:ef:13:37 self bridge fdb show brport vxlan0
530 de:ad:be:ef:13:37 self -v bridge fdb show brport vxlan0
539 bridge fdb del de:ad:be:ef:13:37 dev vxlan0 self
541 de:ad:be:ef:13:37 self -v bridge fdb show brport vxlan0
[all …]
/Linux-v6.6/arch/arm64/crypto/
Dcrct10dif-ce-core.S78 ad .req v14
136 ext t4.8b, ad.8b, ad.8b, #1 // A1
137 ext t5.8b, ad.8b, ad.8b, #2 // A2
138 ext t6.8b, ad.8b, ad.8b, #3 // A3
141 pmull t8.8h, ad.8b, bd1.8b // E = A*B1
143 pmull t7.8h, ad.8b, bd2.8b // G = A*B2
145 pmull t9.8h, ad.8b, bd3.8b // I = A*B3
146 pmull t3.8h, ad.8b, bd4.8b // K = A*B4
150 tbl t4.16b, {ad.16b}, perm1.16b // A1
151 tbl t5.16b, {ad.16b}, perm2.16b // A2
[all …]
Dghash-ce-core.S71 .macro __pmull_p8, rq, ad, bd
72 ext t3.8b, \ad\().8b, \ad\().8b, #1 // A1
73 ext t5.8b, \ad\().8b, \ad\().8b, #2 // A2
74 ext t7.8b, \ad\().8b, \ad\().8b, #3 // A3
76 __pmull_p8_\bd \rq, \ad
79 .macro __pmull2_p8, rq, ad, bd
80 tbl t3.16b, {\ad\().16b}, perm1.16b // A1
81 tbl t5.16b, {\ad\().16b}, perm2.16b // A2
82 tbl t7.16b, {\ad\().16b}, perm3.16b // A3
84 __pmull2_p8_\bd \rq, \ad
[all …]
/Linux-v6.6/tools/testing/selftests/net/forwarding/
Dbridge_vlan_aware.sh115 local mac=de:ad:be:ef:13:37
121 bridge fdb add de:ad:be:ef:13:37 dev $swp1 master extern_learn vlan 1
123 bridge fdb show brport $swp1 | grep -q de:ad:be:ef:13:37
131 bridge fdb show brport $swp1 | grep -q de:ad:be:ef:13:37
136 bridge fdb show brport $swp2 | grep -q de:ad:be:ef:13:37
141 bridge fdb del de:ad:be:ef:13:37 dev $swp2 master vlan 1 &> /dev/null
142 bridge fdb del de:ad:be:ef:13:37 dev $swp1 master vlan 1 &> /dev/null
/Linux-v6.6/tools/testing/selftests/drivers/net/dsa/
Dbridge_vlan_aware.sh115 local mac=de:ad:be:ef:13:37
121 bridge fdb add de:ad:be:ef:13:37 dev $swp1 master extern_learn vlan 1
123 bridge fdb show brport $swp1 | grep -q de:ad:be:ef:13:37
131 bridge fdb show brport $swp1 | grep -q de:ad:be:ef:13:37
136 bridge fdb show brport $swp2 | grep -q de:ad:be:ef:13:37
141 bridge fdb del de:ad:be:ef:13:37 dev $swp2 master vlan 1 &> /dev/null
142 bridge fdb del de:ad:be:ef:13:37 dev $swp1 master vlan 1 &> /dev/null
/Linux-v6.6/tools/testing/selftests/drivers/net/mlxsw/spectrum/
Dvxlan_flooding_ipv6.sh229 $MZ -6 $h1 -q -p 64 -b de:ad:be:ef:13:37 -t ip -c 1
245 $MZ -6 $h1 -q -p 64 -b de:ad:be:ef:13:37 -t ip -c 1
259 $MZ -6 $h1 -q -p 64 -b de:ad:be:ef:13:37 -t ip -c 1
273 $MZ -6 $h1 -q -p 64 -b de:ad:be:ef:13:37 -t ip -c 1
284 $MZ -6 $h1 -q -p 64 -b de:ad:be:ef:13:37 -t ip -c 1
293 $MZ -6 $h1 -q -p 64 -b de:ad:be:ef:13:37 -t ip -c 1
302 $MZ -6 $h1 -q -p 64 -b de:ad:be:ef:13:37 -t ip -c 1
311 $MZ -6 $h1 -q -p 64 -b de:ad:be:ef:13:37 -t ip -c 1
320 $MZ -6 $h1 -q -p 64 -b de:ad:be:ef:13:37 -t ip -c 1
/Linux-v6.6/include/linux/
Daudit.h422 extern void __audit_ntp_log(const struct audit_ntp_data *ad);
543 static inline void audit_ntp_init(struct audit_ntp_data *ad) in audit_ntp_init() argument
545 memset(ad, 0, sizeof(*ad)); in audit_ntp_init()
548 static inline void audit_ntp_set_old(struct audit_ntp_data *ad, in audit_ntp_set_old() argument
551 ad->vals[type].oldval = val; in audit_ntp_set_old()
554 static inline void audit_ntp_set_new(struct audit_ntp_data *ad, in audit_ntp_set_new() argument
557 ad->vals[type].newval = val; in audit_ntp_set_new()
560 static inline void audit_ntp_log(const struct audit_ntp_data *ad) in audit_ntp_log() argument
563 __audit_ntp_log(ad); in audit_ntp_log()
689 static inline void audit_ntp_init(struct audit_ntp_data *ad) in audit_ntp_init() argument
[all …]
/Linux-v6.6/security/selinux/include/
Dxfrm.h42 struct common_audit_data *ad);
44 struct common_audit_data *ad, u8 proto);
64 struct common_audit_data *ad) in selinux_xfrm_sock_rcv_skb() argument
70 struct common_audit_data *ad, in selinux_xfrm_postroute_last() argument
/Linux-v6.6/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/
Dvxlan_flooding_ipv6.sh169 flower skip_hw dst_mac de:ad:be:ef:13:37 action pass
246 $MZ $h1 -q -p 64 -b de:ad:be:ef:13:37 -t ip -c 1
261 $MZ $h1 -q -p 64 -b de:ad:be:ef:13:37 -t ip -c 1
274 $MZ $h1 -q -p 64 -b de:ad:be:ef:13:37 -t ip -c 1
287 $MZ -6 $h1 -q -p 64 -b de:ad:be:ef:13:37 -t ip -c 1
298 $MZ -6 $h1 -q -p 64 -b de:ad:be:ef:13:37 -t ip -c 1
307 $MZ -6 $h1 -q -p 64 -b de:ad:be:ef:13:37 -t ip -c 1
316 $MZ -6 $h1 -q -p 64 -b de:ad:be:ef:13:37 -t ip -c 1
325 $MZ -6 $h1 -q -p 64 -b de:ad:be:ef:13:37 -t ip -c 1
/Linux-v6.6/drivers/infiniband/hw/hfi1/
Dqsfp.c105 struct hfi1_asic_data *ad, int num) in init_i2c_bus() argument
146 int set_up_i2c(struct hfi1_devdata *dd, struct hfi1_asic_data *ad) in set_up_i2c() argument
148 ad->i2c_bus0 = init_i2c_bus(dd, ad, 0); in set_up_i2c()
149 ad->i2c_bus1 = init_i2c_bus(dd, ad, 1); in set_up_i2c()
150 if (!ad->i2c_bus0 || !ad->i2c_bus1) in set_up_i2c()
163 void clean_up_i2c(struct hfi1_devdata *dd, struct hfi1_asic_data *ad) in clean_up_i2c() argument
165 if (!ad) in clean_up_i2c()
167 clean_i2c_bus(ad->i2c_bus0); in clean_up_i2c()
168 ad->i2c_bus0 = NULL; in clean_up_i2c()
169 clean_i2c_bus(ad->i2c_bus1); in clean_up_i2c()
[all …]
/Linux-v6.6/arch/s390/kernel/
Dperf_event.c123 cpu, si.as, si.ad, si.min_sampl_rate, si.max_sampl_rate, in print_debug_sf()
130 if (si.ad) in print_debug_sf()
133 si.ad, si.ed, si.cd, si.dsdes, si.tear, si.dear); in print_debug_sf()
169 if (!si.as && !si.ad) in sl_print_sampling()
178 if (si.ad) in sl_print_sampling()
/Linux-v6.6/kernel/time/
Dntp.c763 s32 *time_tai, struct audit_ntp_data *ad) in __do_adjtimex() argument
775 audit_ntp_set_old(ad, AUDIT_NTP_ADJUST, save_adjust); in __do_adjtimex()
776 audit_ntp_set_new(ad, AUDIT_NTP_ADJUST, time_adjust); in __do_adjtimex()
782 audit_ntp_set_old(ad, AUDIT_NTP_OFFSET, time_offset); in __do_adjtimex()
783 audit_ntp_set_old(ad, AUDIT_NTP_FREQ, time_freq); in __do_adjtimex()
784 audit_ntp_set_old(ad, AUDIT_NTP_STATUS, time_status); in __do_adjtimex()
785 audit_ntp_set_old(ad, AUDIT_NTP_TAI, *time_tai); in __do_adjtimex()
786 audit_ntp_set_old(ad, AUDIT_NTP_TICK, tick_usec); in __do_adjtimex()
790 audit_ntp_set_new(ad, AUDIT_NTP_OFFSET, time_offset); in __do_adjtimex()
791 audit_ntp_set_new(ad, AUDIT_NTP_FREQ, time_freq); in __do_adjtimex()
[all …]
/Linux-v6.6/tools/perf/util/
Ddwarf-aux.c566 struct __addr_die_search_param *ad = data; in __die_search_func_tail_cb() local
571 addr == ad->addr) { in __die_search_func_tail_cb()
572 memcpy(ad->die_mem, fn_die, sizeof(Dwarf_Die)); in __die_search_func_tail_cb()
591 struct __addr_die_search_param ad; in die_find_tailfunc() local
592 ad.addr = addr; in die_find_tailfunc()
593 ad.die_mem = die_mem; in die_find_tailfunc()
595 if (!dwarf_getfuncs(cu_die, __die_search_func_tail_cb, &ad, 0)) in die_find_tailfunc()
604 struct __addr_die_search_param *ad = data; in __die_search_func_cb() local
611 dwarf_haspc(fn_die, ad->addr)) { in __die_search_func_cb()
612 memcpy(ad->die_mem, fn_die, sizeof(Dwarf_Die)); in __die_search_func_cb()
[all …]

12345678