Home
last modified time | relevance | path

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

12345678

/linux-6.1.9/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-6.1.9/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-6.1.9/drivers/dma/
Dapple-admac.c146 static int admac_alloc_sram_carveout(struct admac_data *ad, in admac_alloc_sram_carveout() argument
154 sram = &ad->txcache; in admac_alloc_sram_carveout()
156 sram = &ad->rxcache; in admac_alloc_sram_carveout()
158 mutex_lock(&ad->cache_alloc_lock); in admac_alloc_sram_carveout()
173 mutex_unlock(&ad->cache_alloc_lock); in admac_alloc_sram_carveout()
178 static void admac_free_sram_carveout(struct admac_data *ad, in admac_free_sram_carveout() argument
187 sram = &ad->txcache; in admac_free_sram_carveout()
189 sram = &ad->rxcache; in admac_free_sram_carveout()
194 mutex_lock(&ad->cache_alloc_lock); in admac_free_sram_carveout()
197 mutex_unlock(&ad->cache_alloc_lock); in admac_free_sram_carveout()
[all …]
/linux-6.1.9/security/smack/
Dsmack_lsm.c423 struct smk_audit_info ad, *saip = NULL; in smk_ptrace_rule_check() local
429 smk_ad_init(&ad, func, LSM_AUDIT_DATA_TASK); in smk_ptrace_rule_check()
430 smk_ad_setfield_u_tsk(&ad, tracer); in smk_ptrace_rule_check()
431 saip = &ad; in smk_ptrace_rule_check()
853 struct smk_audit_info ad; in smack_sb_statfs() local
855 smk_ad_init(&ad, __func__, LSM_AUDIT_DATA_DENTRY); in smack_sb_statfs()
856 smk_ad_setfield_u_fs_path_dentry(&ad, dentry); in smack_sb_statfs()
858 rc = smk_curacc(sbp->smk_floor, MAY_READ, &ad); in smack_sb_statfs()
1001 struct smk_audit_info ad; in smack_inode_link() local
1004 smk_ad_init(&ad, __func__, LSM_AUDIT_DATA_DENTRY); in smack_inode_link()
[all …]
/linux-6.1.9/drivers/crypto/
Dsa2ul.c502 static int sa_set_sc_enc(struct algo_data *ad, const u8 *key, u16 key_sz, in sa_set_sc_enc() argument
511 mci = ad->mci_enc; in sa_set_sc_enc()
513 mci = ad->mci_dec; in sa_set_sc_enc()
519 if (ad->inv_key && !enc) { in sa_set_sc_enc()
531 static void sa_set_sc_auth(struct algo_data *ad, const u8 *key, u16 key_sz, in sa_set_sc_auth() argument
541 sc_buf[1] |= ad->auth_ctrl; in sa_set_sc_auth()
544 if (ad->keyed_mac) in sa_set_sc_auth()
545 ad->prep_iopad(ad, key, key_sz, ipad, opad); in sa_set_sc_auth()
718 struct algo_data *ad, u8 enc, u32 *swinfo) in sa_init_sc() argument
728 if (ad->auth_eng.eng_id) { in sa_init_sc()
[all …]
/linux-6.1.9/security/selinux/
Dhooks.c1579 struct common_audit_data ad; in cred_has_capability() local
1586 ad.type = LSM_AUDIT_DATA_CAP; in cred_has_capability()
1587 ad.u.cap = cap; in cred_has_capability()
1606 sid, sid, sclass, av, &avd, rc, &ad); in cred_has_capability()
1644 struct common_audit_data ad; in dentry_has_perm() local
1646 ad.type = LSM_AUDIT_DATA_DENTRY; in dentry_has_perm()
1647 ad.u.dentry = dentry; in dentry_has_perm()
1649 return inode_has_perm(cred, inode, av, &ad); in dentry_has_perm()
1660 struct common_audit_data ad; in path_has_perm() local
1662 ad.type = LSM_AUDIT_DATA_PATH; in path_has_perm()
[all …]
/linux-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/tools/testing/selftests/drivers/net/mlxsw/
Dq_in_q_veto.sh74 protocol 802.1ad id 100 2>/dev/null
78 protocol 802.1ad id 100 2>&1 >/dev/null \
96 protocol 802.1ad id 100 2>/dev/null
100 protocol 802.1ad id 100 2>&1 >/dev/null \
113 ip link add name bond1 type bond mode 802.3ad
118 protocol 802.1ad id 100 2>/dev/null
122 protocol 802.1ad id 100 2>&1 >/dev/null \
157 vlan_protocol 802.1ad vlan_default_pvid 0 mcast_snooping 0
179 vlan_protocol 802.1ad vlan_default_pvid 0 mcast_snooping 0
182 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
/linux-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/include/linux/
Daudit.h421 extern void __audit_ntp_log(const struct audit_ntp_data *ad);
542 static inline void audit_ntp_init(struct audit_ntp_data *ad) in audit_ntp_init() argument
544 memset(ad, 0, sizeof(*ad)); in audit_ntp_init()
547 static inline void audit_ntp_set_old(struct audit_ntp_data *ad, in audit_ntp_set_old() argument
550 ad->vals[type].oldval = val; in audit_ntp_set_old()
553 static inline void audit_ntp_set_new(struct audit_ntp_data *ad, in audit_ntp_set_new() argument
556 ad->vals[type].newval = val; in audit_ntp_set_new()
559 static inline void audit_ntp_log(const struct audit_ntp_data *ad) in audit_ntp_log() argument
562 __audit_ntp_log(ad); in audit_ntp_log()
688 static inline void audit_ntp_init(struct audit_ntp_data *ad) in audit_ntp_init() argument
[all …]
/linux-6.1.9/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-6.1.9/arch/arm/crypto/
Dghash-ce-core.S109 .macro __pmull_p8, rq, ad, bd, b1=t4l, b2=t3l, b3=t4l, b4=t3l
110 vext.8 t0l, \ad, \ad, #1 @ A1
115 vext.8 t1l, \ad, \ad, #2 @ A2
116 vmull.p8 t4q, \ad, \b1 @ E = A*B1
121 vext.8 t2l, \ad, \ad, #3 @ A3
122 vmull.p8 t3q, \ad, \b2 @ G = A*B2
133 vmull.p8 t4q, \ad, \b3 @ I = A*B3
135 vmull.p8 t3q, \ad, \b4 @ K = A*B4
148 vmull.p8 \rq, \ad, \bd @ D = A*B
/linux-6.1.9/tools/perf/util/
Dstat-display.c785 struct aggr_data *ad = data; in aggr_cb() local
796 if (!aggr_cpu_id__equal(&s2, &ad->id)) in aggr_cb()
799 ad->nr++; in aggr_cb()
807 ad->ena = 0; in aggr_cb()
808 ad->run = 0; in aggr_cb()
811 ad->val += counts->val; in aggr_cb()
812 ad->ena += counts->ena; in aggr_cb()
813 ad->run += counts->run; in aggr_cb()
822 struct aggr_data ad; in print_counter_aggrdata() local
829 ad.id = id = config->aggr_map->map[s]; in print_counter_aggrdata()
[all …]
/linux-6.1.9/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-6.1.9/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-6.1.9/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 …]

12345678