Home
last modified time | relevance | path

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

1234567

/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/drivers/scsi/lpfc/
Dlpfc_ct.c2081 lpfc_fdmi_hba_attr_wwnn(struct lpfc_vport *vport, struct lpfc_fdmi_attr_def *ad) in lpfc_fdmi_hba_attr_wwnn() argument
2086 ae = &ad->AttrValue; in lpfc_fdmi_hba_attr_wwnn()
2092 ad->AttrLen = cpu_to_be16(size); in lpfc_fdmi_hba_attr_wwnn()
2093 ad->AttrType = cpu_to_be16(RHBA_NODENAME); in lpfc_fdmi_hba_attr_wwnn()
2098 struct lpfc_fdmi_attr_def *ad) in lpfc_fdmi_hba_attr_manufacturer() argument
2103 ae = &ad->AttrValue; in lpfc_fdmi_hba_attr_manufacturer()
2116 ad->AttrLen = cpu_to_be16(size); in lpfc_fdmi_hba_attr_manufacturer()
2117 ad->AttrType = cpu_to_be16(RHBA_MANUFACTURER); in lpfc_fdmi_hba_attr_manufacturer()
2122 lpfc_fdmi_hba_attr_sn(struct lpfc_vport *vport, struct lpfc_fdmi_attr_def *ad) in lpfc_fdmi_hba_attr_sn() argument
2128 ae = &ad->AttrValue; in lpfc_fdmi_hba_attr_sn()
[all …]
/kernel/linux/linux-5.10/drivers/crypto/
Dsa2ul.c477 static int sa_set_sc_enc(struct algo_data *ad, const u8 *key, u16 key_sz, in sa_set_sc_enc() argument
486 mci = ad->mci_enc; in sa_set_sc_enc()
488 mci = ad->mci_dec; in sa_set_sc_enc()
494 if (ad->inv_key && !enc) { in sa_set_sc_enc()
506 static void sa_set_sc_auth(struct algo_data *ad, const u8 *key, u16 key_sz, in sa_set_sc_auth() argument
515 sc_buf[1] |= ad->auth_ctrl; in sa_set_sc_auth()
518 if (ad->keyed_mac) { in sa_set_sc_auth()
519 ad->prep_iopad(ad, key, key_sz, ipad, opad); in sa_set_sc_auth()
522 memcpy(&sc_buf[32], ipad, ad->hash_size); in sa_set_sc_auth()
524 memcpy(&sc_buf[64], opad, ad->hash_size); in sa_set_sc_auth()
[all …]
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/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()
876 struct smk_audit_info ad; in smack_sb_statfs() local
878 smk_ad_init(&ad, __func__, LSM_AUDIT_DATA_DENTRY); in smack_sb_statfs()
879 smk_ad_setfield_u_fs_path_dentry(&ad, dentry); in smack_sb_statfs()
881 rc = smk_curacc(sbp->smk_floor, MAY_READ, &ad); in smack_sb_statfs()
1024 struct smk_audit_info ad; in smack_inode_link() local
1027 smk_ad_init(&ad, __func__, LSM_AUDIT_DATA_DENTRY); in smack_inode_link()
[all …]
/kernel/linux/linux-5.10/security/selinux/
Dhooks.c1601 struct common_audit_data ad; in cred_has_capability() local
1608 ad.type = LSM_AUDIT_DATA_CAP; in cred_has_capability()
1609 ad.u.cap = cap; in cred_has_capability()
1628 sid, sid, sclass, av, &avd, rc, &ad, 0); in cred_has_capability()
1666 struct common_audit_data ad; in dentry_has_perm() local
1668 ad.type = LSM_AUDIT_DATA_DENTRY; in dentry_has_perm()
1669 ad.u.dentry = dentry; in dentry_has_perm()
1671 return inode_has_perm(cred, inode, av, &ad); in dentry_has_perm()
1682 struct common_audit_data ad; in path_has_perm() local
1684 ad.type = LSM_AUDIT_DATA_PATH; in path_has_perm()
[all …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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,
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/include/linux/
Daudit.h410 extern void __audit_ntp_log(const struct audit_ntp_data *ad);
525 static inline void audit_ntp_init(struct audit_ntp_data *ad) in audit_ntp_init() argument
527 memset(ad, 0, sizeof(*ad)); in audit_ntp_init()
530 static inline void audit_ntp_set_old(struct audit_ntp_data *ad, in audit_ntp_set_old() argument
533 ad->vals[type].oldval = val; in audit_ntp_set_old()
536 static inline void audit_ntp_set_new(struct audit_ntp_data *ad, in audit_ntp_set_new() argument
539 ad->vals[type].newval = val; in audit_ntp_set_new()
542 static inline void audit_ntp_log(const struct audit_ntp_data *ad) in audit_ntp_log() argument
545 __audit_ntp_log(ad); in audit_ntp_log()
666 static inline void audit_ntp_init(struct audit_ntp_data *ad) in audit_ntp_init() argument
[all …]
/kernel/linux/linux-5.10/tools/perf/util/
Dstat-display.c596 struct aggr_data *ad = data; in aggr_cb() local
603 if (s2 != ad->id) in aggr_cb()
606 ad->nr++; in aggr_cb()
614 ad->ena = 0; in aggr_cb()
615 ad->run = 0; in aggr_cb()
618 ad->val += counts->val; in aggr_cb()
619 ad->ena += counts->ena; in aggr_cb()
620 ad->run += counts->run; in aggr_cb()
629 struct aggr_data ad; in print_counter_aggrdata() local
635 ad.id = id = config->aggr_map->map[s]; in print_counter_aggrdata()
[all …]
Ddwarf-aux.c547 struct __addr_die_search_param *ad = data; in __die_search_func_tail_cb() local
552 addr == ad->addr) { in __die_search_func_tail_cb()
553 memcpy(ad->die_mem, fn_die, sizeof(Dwarf_Die)); in __die_search_func_tail_cb()
572 struct __addr_die_search_param ad; in die_find_tailfunc() local
573 ad.addr = addr; in die_find_tailfunc()
574 ad.die_mem = die_mem; in die_find_tailfunc()
576 if (!dwarf_getfuncs(cu_die, __die_search_func_tail_cb, &ad, 0)) in die_find_tailfunc()
585 struct __addr_die_search_param *ad = data; in __die_search_func_cb() local
592 dwarf_haspc(fn_die, ad->addr)) { in __die_search_func_cb()
593 memcpy(ad->die_mem, fn_die, sizeof(Dwarf_Die)); in __die_search_func_cb()
[all …]
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/tools/testing/selftests/drivers/net/mlxsw/
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.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 …]
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/kernel/time/
Dntp.c715 s32 *time_tai, struct audit_ntp_data *ad) in __do_adjtimex() argument
727 audit_ntp_set_old(ad, AUDIT_NTP_ADJUST, save_adjust); in __do_adjtimex()
728 audit_ntp_set_new(ad, AUDIT_NTP_ADJUST, time_adjust); in __do_adjtimex()
734 audit_ntp_set_old(ad, AUDIT_NTP_OFFSET, time_offset); in __do_adjtimex()
735 audit_ntp_set_old(ad, AUDIT_NTP_FREQ, time_freq); in __do_adjtimex()
736 audit_ntp_set_old(ad, AUDIT_NTP_STATUS, time_status); in __do_adjtimex()
737 audit_ntp_set_old(ad, AUDIT_NTP_TAI, *time_tai); in __do_adjtimex()
738 audit_ntp_set_old(ad, AUDIT_NTP_TICK, tick_usec); in __do_adjtimex()
742 audit_ntp_set_new(ad, AUDIT_NTP_OFFSET, time_offset); in __do_adjtimex()
743 audit_ntp_set_new(ad, AUDIT_NTP_FREQ, time_freq); in __do_adjtimex()
[all …]
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
Dqsfp.c147 struct hfi1_asic_data *ad, int num) in init_i2c_bus() argument
188 int set_up_i2c(struct hfi1_devdata *dd, struct hfi1_asic_data *ad) in set_up_i2c() argument
190 ad->i2c_bus0 = init_i2c_bus(dd, ad, 0); in set_up_i2c()
191 ad->i2c_bus1 = init_i2c_bus(dd, ad, 1); in set_up_i2c()
192 if (!ad->i2c_bus0 || !ad->i2c_bus1) in set_up_i2c()
205 void clean_up_i2c(struct hfi1_devdata *dd, struct hfi1_asic_data *ad) in clean_up_i2c() argument
207 if (!ad) in clean_up_i2c()
209 clean_i2c_bus(ad->i2c_bus0); in clean_up_i2c()
210 ad->i2c_bus0 = NULL; in clean_up_i2c()
211 clean_i2c_bus(ad->i2c_bus1); in clean_up_i2c()
[all …]
/kernel/linux/linux-5.10/arch/s390/kernel/
Dperf_event.c144 cpu, si.as, si.ad, si.min_sampl_rate, si.max_sampl_rate, in print_debug_sf()
151 if (si.ad) in print_debug_sf()
154 si.ad, si.ed, si.cd, si.dsdes, si.tear, si.dear); in print_debug_sf()
190 if (!si.as && !si.ad) in sl_print_sampling()
199 if (si.ad) in sl_print_sampling()
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dtegra20-plutux.dts8 compatible = "ad,plutux", "ad,tamonten", "nvidia,tegra20";
37 compatible = "ad,tegra-audio-plutux",

1234567