Home
last modified time | relevance | path

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

1234567

/Linux-v5.15/drivers/clk/ti/
Dapll.c44 struct dpll_data *ad; in dra7_apll_enable() local
49 ad = clk->dpll_data; in dra7_apll_enable()
50 if (!ad) in dra7_apll_enable()
55 state <<= __ffs(ad->idlest_mask); in dra7_apll_enable()
58 v = ti_clk_ll_ops->clk_readl(&ad->idlest_reg); in dra7_apll_enable()
60 if ((v & ad->idlest_mask) == state) in dra7_apll_enable()
63 v = ti_clk_ll_ops->clk_readl(&ad->control_reg); in dra7_apll_enable()
64 v &= ~ad->enable_mask; in dra7_apll_enable()
65 v |= APLL_FORCE_LOCK << __ffs(ad->enable_mask); in dra7_apll_enable()
66 ti_clk_ll_ops->clk_writel(v, &ad->control_reg); in dra7_apll_enable()
[all …]
/Linux-v5.15/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-v5.15/security/smack/
Dsmack_lsm.c420 struct smk_audit_info ad, *saip = NULL; in smk_ptrace_rule_check() local
426 smk_ad_init(&ad, func, LSM_AUDIT_DATA_TASK); in smk_ptrace_rule_check()
427 smk_ad_setfield_u_tsk(&ad, tracer); in smk_ptrace_rule_check()
428 saip = &ad; in smk_ptrace_rule_check()
859 struct smk_audit_info ad; in smack_sb_statfs() local
861 smk_ad_init(&ad, __func__, LSM_AUDIT_DATA_DENTRY); in smack_sb_statfs()
862 smk_ad_setfield_u_fs_path_dentry(&ad, dentry); in smack_sb_statfs()
864 rc = smk_curacc(sbp->smk_floor, MAY_READ, &ad); in smack_sb_statfs()
1007 struct smk_audit_info ad; in smack_inode_link() local
1010 smk_ad_init(&ad, __func__, LSM_AUDIT_DATA_DENTRY); in smack_inode_link()
[all …]
/Linux-v5.15/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-v5.15/arch/xtensa/include/asm/
Dasm-uaccess.h43 .macro get_fs ad, sp
44 GET_CURRENT(\ad,\sp)
46 addi \ad, \ad, TASK_THREAD
47 l32i \ad, \ad, THREAD_CURRENT_DS - TASK_THREAD
49 l32i \ad, \ad, THREAD_CURRENT_DS
/Linux-v5.15/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-v5.15/security/selinux/
Dhooks.c1654 struct common_audit_data ad; in cred_has_capability() local
1661 ad.type = LSM_AUDIT_DATA_CAP; in cred_has_capability()
1662 ad.u.cap = cap; in cred_has_capability()
1681 sid, sid, sclass, av, &avd, rc, &ad); in cred_has_capability()
1719 struct common_audit_data ad; in dentry_has_perm() local
1721 ad.type = LSM_AUDIT_DATA_DENTRY; in dentry_has_perm()
1722 ad.u.dentry = dentry; in dentry_has_perm()
1724 return inode_has_perm(cred, inode, av, &ad); in dentry_has_perm()
1735 struct common_audit_data ad; in path_has_perm() local
1737 ad.type = LSM_AUDIT_DATA_PATH; in path_has_perm()
[all …]
/Linux-v5.15/drivers/scsi/lpfc/
Dlpfc_ct.c2445 lpfc_fdmi_hba_attr_wwnn(struct lpfc_vport *vport, struct lpfc_fdmi_attr_def *ad) in lpfc_fdmi_hba_attr_wwnn() argument
2450 ae = &ad->AttrValue; in lpfc_fdmi_hba_attr_wwnn()
2456 ad->AttrLen = cpu_to_be16(size); in lpfc_fdmi_hba_attr_wwnn()
2457 ad->AttrType = cpu_to_be16(RHBA_NODENAME); in lpfc_fdmi_hba_attr_wwnn()
2462 struct lpfc_fdmi_attr_def *ad) in lpfc_fdmi_hba_attr_manufacturer() argument
2467 ae = &ad->AttrValue; in lpfc_fdmi_hba_attr_manufacturer()
2480 ad->AttrLen = cpu_to_be16(size); in lpfc_fdmi_hba_attr_manufacturer()
2481 ad->AttrType = cpu_to_be16(RHBA_MANUFACTURER); in lpfc_fdmi_hba_attr_manufacturer()
2486 lpfc_fdmi_hba_attr_sn(struct lpfc_vport *vport, struct lpfc_fdmi_attr_def *ad) in lpfc_fdmi_hba_attr_sn() argument
2492 ae = &ad->AttrValue; in lpfc_fdmi_hba_attr_sn()
[all …]
/Linux-v5.15/security/
Dlsm_audit.c41 struct common_audit_data *ad, u8 *proto) in ipv4_skb_to_auditdata() argument
50 ad->u.net->v4info.saddr = ih->saddr; in ipv4_skb_to_auditdata()
51 ad->u.net->v4info.daddr = ih->daddr; in ipv4_skb_to_auditdata()
65 ad->u.net->sport = th->source; in ipv4_skb_to_auditdata()
66 ad->u.net->dport = th->dest; in ipv4_skb_to_auditdata()
74 ad->u.net->sport = uh->source; in ipv4_skb_to_auditdata()
75 ad->u.net->dport = uh->dest; in ipv4_skb_to_auditdata()
83 ad->u.net->sport = dh->dccph_sport; in ipv4_skb_to_auditdata()
84 ad->u.net->dport = dh->dccph_dport; in ipv4_skb_to_auditdata()
91 ad->u.net->sport = sh->source; in ipv4_skb_to_auditdata()
[all …]
/Linux-v5.15/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-v5.15/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-v5.15/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.sh228 $MZ $h1 -q -p 64 -b de:ad:be:ef:13:37 -t ip -c 1
242 $MZ $h1 -q -p 64 -b de:ad:be:ef:13:37 -t ip -c 1
254 $MZ $h1 -q -p 64 -b de:ad:be:ef:13:37 -t ip -c 1
266 $MZ $h1 -q -p 64 -b de:ad:be:ef:13:37 -t ip -c 1
277 $MZ $h1 -q -p 64 -b de:ad:be:ef:13:37 -t ip -c 1
286 $MZ $h1 -q -p 64 -b de:ad:be:ef:13:37 -t ip -c 1
295 $MZ $h1 -q -p 64 -b de:ad:be:ef:13:37 -t ip -c 1
Dvxlan.sh487 bridge fdb add de:ad:be:ef:13:37 dev vxlan0 self master static \
491 de:ad:be:ef:13:37 self bridge fdb show brport vxlan0
494 de:ad:be:ef:13:37 self -v bridge fdb show brport vxlan0
503 bridge fdb del de:ad:be:ef:13:37 dev vxlan0 master
505 de:ad:be:ef:13:37 self bridge fdb show brport vxlan0
514 bridge fdb add de:ad:be:ef:13:37 dev vxlan0 master static
516 de:ad:be:ef:13:37 self bridge fdb show brport vxlan0
519 de:ad:be:ef:13:37 self -v bridge fdb show brport vxlan0
528 bridge fdb del de:ad:be:ef:13:37 dev vxlan0 self
530 de:ad:be:ef:13:37 self -v bridge fdb show brport vxlan0
[all …]
/Linux-v5.15/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.S70 .macro __pmull_p8, rq, ad, bd
71 ext t3.8b, \ad\().8b, \ad\().8b, #1 // A1
72 ext t5.8b, \ad\().8b, \ad\().8b, #2 // A2
73 ext t7.8b, \ad\().8b, \ad\().8b, #3 // A3
75 __pmull_p8_\bd \rq, \ad
78 .macro __pmull2_p8, rq, ad, bd
79 tbl t3.16b, {\ad\().16b}, perm1.16b // A1
80 tbl t5.16b, {\ad\().16b}, perm2.16b // A2
81 tbl t7.16b, {\ad\().16b}, perm3.16b // A3
83 __pmull2_p8_\bd \rq, \ad
[all …]
/Linux-v5.15/tools/testing/selftests/net/forwarding/
Dbridge_vlan_aware.sh114 local mac=de:ad:be:ef:13:37
120 bridge fdb add de:ad:be:ef:13:37 dev $swp1 master extern_learn vlan 1
122 bridge fdb show brport $swp1 | grep -q de:ad:be:ef:13:37
130 bridge fdb show brport $swp1 | grep -q de:ad:be:ef:13:37
135 bridge fdb show brport $swp2 | grep -q de:ad:be:ef:13:37
140 bridge fdb del de:ad:be:ef:13:37 dev $swp2 master vlan 1 &> /dev/null
141 bridge fdb del de:ad:be:ef:13:37 dev $swp1 master vlan 1 &> /dev/null
/Linux-v5.15/tools/perf/util/
Dstat-display.c636 struct aggr_data *ad = data; in aggr_cb() local
644 if (!cpu_map__compare_aggr_cpu_id(s2, ad->id)) in aggr_cb()
647 ad->nr++; in aggr_cb()
655 ad->ena = 0; in aggr_cb()
656 ad->run = 0; in aggr_cb()
659 ad->val += counts->val; in aggr_cb()
660 ad->ena += counts->ena; in aggr_cb()
661 ad->run += counts->run; in aggr_cb()
670 struct aggr_data ad; in print_counter_aggrdata() local
677 ad.id = id = config->aggr_map->map[s]; in print_counter_aggrdata()
[all …]
Ddwarf-aux.c560 struct __addr_die_search_param *ad = data; in __die_search_func_tail_cb() local
565 addr == ad->addr) { in __die_search_func_tail_cb()
566 memcpy(ad->die_mem, fn_die, sizeof(Dwarf_Die)); in __die_search_func_tail_cb()
585 struct __addr_die_search_param ad; in die_find_tailfunc() local
586 ad.addr = addr; in die_find_tailfunc()
587 ad.die_mem = die_mem; in die_find_tailfunc()
589 if (!dwarf_getfuncs(cu_die, __die_search_func_tail_cb, &ad, 0)) in die_find_tailfunc()
598 struct __addr_die_search_param *ad = data; in __die_search_func_cb() local
605 dwarf_haspc(fn_die, ad->addr)) { in __die_search_func_cb()
606 memcpy(ad->die_mem, fn_die, sizeof(Dwarf_Die)); in __die_search_func_cb()
[all …]
/Linux-v5.15/include/linux/
Daudit.h404 extern void __audit_ntp_log(const struct audit_ntp_data *ad);
519 static inline void audit_ntp_init(struct audit_ntp_data *ad) in audit_ntp_init() argument
521 memset(ad, 0, sizeof(*ad)); in audit_ntp_init()
524 static inline void audit_ntp_set_old(struct audit_ntp_data *ad, in audit_ntp_set_old() argument
527 ad->vals[type].oldval = val; in audit_ntp_set_old()
530 static inline void audit_ntp_set_new(struct audit_ntp_data *ad, in audit_ntp_set_new() argument
533 ad->vals[type].newval = val; in audit_ntp_set_new()
536 static inline void audit_ntp_log(const struct audit_ntp_data *ad) in audit_ntp_log() argument
539 __audit_ntp_log(ad); in audit_ntp_log()
658 static inline void audit_ntp_init(struct audit_ntp_data *ad) in audit_ntp_init() argument
[all …]
/Linux-v5.15/security/selinux/include/
Dxfrm.h40 struct common_audit_data *ad);
42 struct common_audit_data *ad, u8 proto);
62 struct common_audit_data *ad) in selinux_xfrm_sock_rcv_skb() argument
68 struct common_audit_data *ad, in selinux_xfrm_postroute_last() argument
/Linux-v5.15/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-v5.15/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-v5.15/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-v5.15/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 …]

1234567