Home
last modified time | relevance | path

Searched refs:pn (Results 1 – 25 of 217) sorted by relevance

123456789

/linux-6.1.9/drivers/net/ethernet/chelsio/cxgb/
Dvsc7326_reg.h167 #define REG_MAX_LEN(pn) CRA(0x1,pn,0x02) /* Max length */ argument
168 #define REG_MAC_HIGH_ADDR(pn) CRA(0x1,pn,0x03) /* Upper 24 bits of MAC addr */ argument
169 #define REG_MAC_LOW_ADDR(pn) CRA(0x1,pn,0x04) /* Lower 24 bits of MAC addr */ argument
174 #define REG_MODE_CFG(pn) CRA(0x1,pn,0x00) /* Mode configuration */ argument
175 #define REG_PAUSE_CFG(pn) CRA(0x1,pn,0x01) /* Pause configuration */ argument
176 #define REG_NORMALIZER(pn) CRA(0x1,pn,0x05) /* Normalizer */ argument
177 #define REG_TBI_STATUS(pn) CRA(0x1,pn,0x06) /* TBI status */ argument
178 #define REG_PCS_STATUS_DBG(pn) CRA(0x1,pn,0x07) /* PCS status debug */ argument
179 #define REG_PCS_CTRL(pn) CRA(0x1,pn,0x08) /* PCS control */ argument
180 #define REG_TBI_CONFIG(pn) CRA(0x1,pn,0x09) /* TBI configuration */ argument
[all …]
/linux-6.1.9/net/phonet/
Dpep.c110 struct pep_sock *pn = pep_sk(sk); in pep_indicate() local
121 ph->pipe_handle = pn->pipe_handle; in pep_indicate()
131 struct pep_sock *pn = pep_sk(sk); in pipe_handler_request() local
142 ph->pipe_handle = pn->pipe_handle; in pipe_handler_request()
149 struct pep_sock *pn = pep_sk(sk); in pipe_handler_send_created_ind() local
152 pn->tx_fc, pn->rx_fc, in pipe_handler_send_created_ind()
229 struct pep_sock *pn = pep_sk(sk); in pipe_grant_credits() local
233 switch (pn->rx_fc) { in pipe_grant_credits()
239 pn->rx_credits = 1; in pipe_grant_credits()
242 if ((pn->rx_credits + CREDITS_THR) > CREDITS_MAX) in pipe_grant_credits()
[all …]
Dsocket.c76 struct pn_sock *pn = pn_sk(sknode); in pn_find_sock_by_sa() local
77 BUG_ON(!pn->sobject); /* unbound socket */ in pn_find_sock_by_sa()
83 if (pn_port(pn->sobject) != pn_port(obj)) in pn_find_sock_by_sa()
87 if (pn->resource != res) in pn_find_sock_by_sa()
90 if (pn_addr(pn->sobject) && in pn_find_sock_by_sa()
91 pn_addr(pn->sobject) != pn_addr(obj)) in pn_find_sock_by_sa()
159 struct pn_sock *pn = pn_sk(sk); in pn_socket_bind() local
179 if (sk->sk_state != TCP_CLOSE || pn_port(pn->sobject)) { in pn_socket_bind()
190 pn->sobject = pn_object(saddr, pn_port(pn->sobject)); in pn_socket_bind()
191 pn->resource = spn->spn_resource; in pn_socket_bind()
[all …]
/linux-6.1.9/net/mac80211/
Dwpa.c201 u64 pn; in tkip_encrypt_skb() local
233 pn = atomic64_inc_return(&key->conf.tx_pn); in tkip_encrypt_skb()
234 pos = ieee80211_tkip_add_iv(pos, &key->conf, pn); in tkip_encrypt_skb()
372 static void ccmp_special_blocks(struct sk_buff *skb, u8 *pn, u8 *b_0, u8 *aad) in ccmp_special_blocks() argument
391 memcpy(&b_0[8], pn, IEEE80211_CCMP_PN_LEN); in ccmp_special_blocks()
394 static inline void ccmp_pn2hdr(u8 *hdr, u8 *pn, int key_id) in ccmp_pn2hdr() argument
396 hdr[0] = pn[5]; in ccmp_pn2hdr()
397 hdr[1] = pn[4]; in ccmp_pn2hdr()
400 hdr[4] = pn[3]; in ccmp_pn2hdr()
401 hdr[5] = pn[2]; in ccmp_pn2hdr()
[all …]
Ddebugfs_key.c87 u64 pn; in key_tx_spec_write() local
105 ret = kstrtou64_from_user(userbuf, count, 16, &pn); in key_tx_spec_write()
109 if (pn >= (1ULL << 48)) in key_tx_spec_write()
111 atomic64_set(&key->conf.tx_pn, pn); in key_tx_spec_write()
121 u64 pn; in key_tx_spec_read() local
132 pn = atomic64_read(&key->conf.tx_pn); in key_tx_spec_read()
134 TKIP_PN_TO_IV32(pn), in key_tx_spec_read()
135 TKIP_PN_TO_IV16(pn)); in key_tx_spec_read()
145 pn = atomic64_read(&key->conf.tx_pn); in key_tx_spec_read()
147 (u8)(pn >> 40), (u8)(pn >> 32), (u8)(pn >> 24), in key_tx_spec_read()
[all …]
/linux-6.1.9/arch/sparc/lib/
Dmemscan_64.S26 brlez,pn %o1, szzero
32 brz,pn %o5, 10f
35 be,pn %xcc, szzero
37 bne,a,pn %icc, 1b
52 bne,pn %xcc, check_bytes
58 bne,a,pn %icc, 2f
65 be,pn %icc, 1f
69 be,pn %icc, 1f
74 be,pn %icc, 1f
78 be,pn %icc, 1f
[all …]
Dstrlen.S23 BRANCH_REG_ZERO(pn, %o5, 11f)
26 BRANCH32(be, pn, 4f)
29 BRANCH_REG_ZERO(pn, %o5, 12f)
35 BRANCH_REG_ZERO(pn, %o5, 13f)
56 BRANCH32(be, pn, 1f)
60 BRANCH32(be, pn, 1f)
64 BRANCH32(be, pn, 1f)
Dbzero.S27 brz,pn %o1, __bzero_done
29 bl,pn %icc, __bzero_tiny
36 bne,pn %icc, 1b
46 bl,pn %icc, 5f
65 brz,pn %g1, 6f
95 brz,pn %o1, __clear_user_done
97 bl,pn %icc, __clear_user_tiny
104 bne,pn %icc, 1b
114 bl,pn %icc, 5f
133 brz,pn %g1, 6f
DNG4memcpy.S22 be,a,pn %icc, 999f; \
112 brz,pn %o2, .Lexit
114 ble,pn %icc, .Ltiny
116 ble,pn %icc, .Lsmall
119 bl,pn %icc, .Lmedium
150 bne,pn %icc, .Llarge_src_unaligned
203 brz,pn %o2, .Lexit
205 ble,pn %icc, .Lsmall_unaligned
257 brz,pn %o2, .Lexit
259 ble,pn %icc, .Lsmall_unaligned
[all …]
Datomic_64.S28 bne,pn %icc, BACKOFF_LABEL(2f, 1b); \
43 bne,pn %icc, BACKOFF_LABEL(2f, 1b); \
58 bne,pn %icc, BACKOFF_LABEL(2f, 1b); \
94 bne,pn %xcc, BACKOFF_LABEL(2f, 1b); \
109 bne,pn %xcc, BACKOFF_LABEL(2f, 1b); \
124 bne,pn %xcc, BACKOFF_LABEL(2f, 1b); \
156 brlez,pn %g1, 3f
160 bne,pn %xcc, BACKOFF_LABEL(2f, 1b)
DVISsave.S29 brnz,a,pn %g1, 1f
35 1: bne,pn %icc, 2f
59 be,pn %icc, 9b
63 be,pn %icc, 4f
70 be,pn %icc, 5f
/linux-6.1.9/drivers/net/ppp/
Dpppoe.c159 static struct pppox_sock *__get_item(struct pppoe_net *pn, __be16 sid, in __get_item() argument
165 ret = pn->hash_table[hash]; in __get_item()
177 static int __set_item(struct pppoe_net *pn, struct pppox_sock *po) in __set_item() argument
182 ret = pn->hash_table[hash]; in __set_item()
191 po->next = pn->hash_table[hash]; in __set_item()
192 pn->hash_table[hash] = po; in __set_item()
197 static void __delete_item(struct pppoe_net *pn, __be16 sid, in __delete_item() argument
203 ret = pn->hash_table[hash]; in __delete_item()
204 src = &pn->hash_table[hash]; in __delete_item()
223 static inline struct pppox_sock *get_item(struct pppoe_net *pn, __be16 sid, in get_item() argument
[all …]
/linux-6.1.9/drivers/hwtracing/stm/
Dp_sys-t.c93 struct sys_t_policy_node *pn = priv; in sys_t_policy_node_init() local
95 uuid_gen(&pn->uuid); in sys_t_policy_node_init()
100 struct sys_t_policy_node *pn = priv; in sys_t_output_open() local
107 memcpy(&opriv->node, pn, sizeof(opriv->node)); in sys_t_output_open()
121 struct sys_t_policy_node *pn = to_pdrv_policy_node(item); in sys_t_policy_uuid_show() local
123 return sprintf(page, "%pU\n", &pn->uuid); in sys_t_policy_uuid_show()
131 struct sys_t_policy_node *pn = to_pdrv_policy_node(item); in sys_t_policy_uuid_store() local
135 ret = uuid_parse(page, &pn->uuid); in sys_t_policy_uuid_store()
146 struct sys_t_policy_node *pn = to_pdrv_policy_node(item); in sys_t_policy_do_len_show() local
148 return sprintf(page, "%d\n", pn->do_len); in sys_t_policy_do_len_show()
[all …]
/linux-6.1.9/kernel/locking/
Dqspinlock_paravirt.h280 struct pv_node *pn = (struct pv_node *)node; in pv_init_node() local
284 pn->cpu = smp_processor_id(); in pv_init_node()
285 pn->state = vcpu_running; in pv_init_node()
295 struct pv_node *pn = (struct pv_node *)node; in pv_wait_node() local
320 smp_store_mb(pn->state, vcpu_halted); in pv_wait_node()
325 pv_wait(&pn->state, vcpu_halted); in pv_wait_node()
333 cmpxchg(&pn->state, vcpu_halted, vcpu_running); in pv_wait_node()
362 struct pv_node *pn = (struct pv_node *)node; in pv_kick_node() local
380 if (cmpxchg_relaxed(&pn->state, vcpu_halted, vcpu_hashed) in pv_kick_node()
392 (void)pv_hash(lock, pn); in pv_kick_node()
[all …]
/linux-6.1.9/arch/sparc/include/asm/
Dtsb.h124 bne,pn %icc, 99b; \
128 bne,pn %icc, 99b; \
163 brz,pn REG1, FAIL_LABEL; \
168 brz,pn REG1, FAIL_LABEL; \
170 brz,pn REG1, FAIL_LABEL; \
181 brz,pn REG1, FAIL_LABEL; \
184 be,pn %xcc, 698f; \
186 697: brgez,pn REG1, FAIL_LABEL; \
195 brgez,pn REG1, FAIL_LABEL; \
215 brz,pn REG1, FAIL_LABEL; \
[all …]
/linux-6.1.9/net/ipv4/
Dfib_trie.c938 struct key_vector *pn, *n = t->kv; in fib_find_node() local
942 pn = n; in fib_find_node()
972 *tp = pn; in fib_find_node()
1452 struct key_vector *n, *pn; in fib_table_lookup() local
1457 pn = t->kv; in fib_table_lookup()
1460 n = get_child_rcu(pn, cindex); in fib_table_lookup()
1499 pn = n; in fib_table_lookup()
1541 t_key pkey = pn->key; in fib_table_lookup()
1547 if (IS_TRIE(pn)) { in fib_table_lookup()
1556 pn = node_parent_rcu(pn); in fib_table_lookup()
[all …]
/linux-6.1.9/drivers/accessibility/speakup/
Dutils.h57 unsigned char *pn = (unsigned char *)name; in hash_name() local
60 while (*pn) { in hash_name()
62 if (isupper(*pn)) in hash_name()
63 *pn = tolower(*pn); in hash_name()
64 hash += (int)*pn; in hash_name()
65 pn++; in hash_name()
/linux-6.1.9/net/wireless/
Dlib80211_crypt_ccmp.c95 const u8 *pn, u8 *iv, u8 *aad) in ccmp_init_iv_and_aad() argument
127 memcpy(iv + 8, pn, CCMP_PN_LEN); in ccmp_init_iv_and_aad()
263 u8 pn[6]; in lib80211_ccmp_decrypt() local
293 pn[0] = pos[7]; in lib80211_ccmp_decrypt()
294 pn[1] = pos[6]; in lib80211_ccmp_decrypt()
295 pn[2] = pos[5]; in lib80211_ccmp_decrypt()
296 pn[3] = pos[4]; in lib80211_ccmp_decrypt()
297 pn[4] = pos[1]; in lib80211_ccmp_decrypt()
298 pn[5] = pos[0]; in lib80211_ccmp_decrypt()
301 if (ccmp_replay_check(pn, key->rx_pn)) { in lib80211_ccmp_decrypt()
[all …]
/linux-6.1.9/arch/sparc/kernel/
Dktlb.S36 blu,pn %xcc, kvmap_itlb_longpath
44 blu,pn %xcc, kvmap_itlb_vmalloc_addr
48 blu,pn %xcc, kvmap_itlb_obp
144 brgez,pn %g4, kvmap_dtlb_nonlinear
206 bleu,pn %xcc, kvmap_dtlb_longpath
214 bgeu,pn %xcc, kvmap_vmemmap
223 blu,pn %xcc, kvmap_dtlb_longpath
227 bgeu,pn %xcc, kvmap_dtlb_longpath
233 blu,pn %xcc, kvmap_dtlb_vmalloc_addr
237 blu,pn %xcc, kvmap_dtlb_obp
Drtrap_64.S61 be,a,pn %icc, __handle_userfpu_continue
122 brnz,pn %l4, rtrap_no_irq_enable
140 bne,pn %icc, to_kernel
170 bne,pn %xcc, __handle_preemption
172 bne,pn %xcc, __handle_signal
174 brnz,pn %o2, __handle_user_windows
181 bne,pn %xcc, __handle_userfpu
232 brnz,pn %l3, kern_rtt
305 brz,pn %g1, kern_rtt_fill
321 bne,pn %xcc, kern_fpucheck
[all …]
/linux-6.1.9/drivers/staging/rtl8192u/ieee80211/
Dieee80211_crypt_ccmp.c93 u8 *pn, u8 *iv, u8 *aad) in ccmp_init_iv_and_aad() argument
132 memcpy(iv + 8, pn, CCMP_PN_LEN); in ccmp_init_iv_and_aad()
236 u8 pn[6]; in ieee80211_ccmp_decrypt() local
268 pn[0] = pos[7]; in ieee80211_ccmp_decrypt()
269 pn[1] = pos[6]; in ieee80211_ccmp_decrypt()
270 pn[2] = pos[5]; in ieee80211_ccmp_decrypt()
271 pn[3] = pos[4]; in ieee80211_ccmp_decrypt()
272 pn[4] = pos[1]; in ieee80211_ccmp_decrypt()
273 pn[5] = pos[0]; in ieee80211_ccmp_decrypt()
276 if (memcmp(pn, key->rx_pn, CCMP_PN_LEN) <= 0) { in ieee80211_ccmp_decrypt()
[all …]
/linux-6.1.9/net/l2tp/
Dl2tp_core.c134 l2tp_session_id_hash_2(struct l2tp_net *pn, u32 session_id) in l2tp_session_id_hash_2() argument
136 return &pn->l2tp_session_hlist[hash_32(session_id, L2TP_HASH_BITS_2)]; in l2tp_session_id_hash_2()
207 const struct l2tp_net *pn = l2tp_pernet(net); in l2tp_tunnel_get() local
211 tunnel = idr_find(&pn->l2tp_tunnel_idr, tunnel_id); in l2tp_tunnel_get()
224 struct l2tp_net *pn = l2tp_pernet(net); in l2tp_tunnel_get_nth() local
230 idr_for_each_entry_ul(&pn->l2tp_tunnel_idr, tunnel, tmp, tunnel_id) { in l2tp_tunnel_get_nth()
315 struct l2tp_net *pn = l2tp_pernet(net); in l2tp_session_get_by_ifname() local
321 hlist_for_each_entry_rcu(session, &pn->l2tp_session_hlist[hash], global_hlist) { in l2tp_session_get_by_ifname()
343 struct l2tp_net *pn; in l2tp_session_register() local
361 pn = l2tp_pernet(tunnel->l2tp_net); in l2tp_session_register()
[all …]
/linux-6.1.9/drivers/video/fbdev/omap2/omapfb/dss/
Domapdss-boot-init.c154 struct device_node *pn; in omapdss_walk_device() local
156 pn = of_graph_get_remote_port_parent(n); in omapdss_walk_device()
158 if (!pn) in omapdss_walk_device()
161 if (!of_device_is_available(pn) || omapdss_list_contains(pn)) { in omapdss_walk_device()
162 of_node_put(pn); in omapdss_walk_device()
166 omapdss_walk_device(pn, false); in omapdss_walk_device()
/linux-6.1.9/drivers/pinctrl/renesas/
Dsh_pfc.h653 #define PORT_1(pn, fn, pfx, sfx) fn(pn, pfx, sfx) argument
655 #define PORT_10(pn, fn, pfx, sfx) \ argument
656 PORT_1(pn, fn, pfx##0, sfx), PORT_1(pn+1, fn, pfx##1, sfx), \
657 PORT_1(pn+2, fn, pfx##2, sfx), PORT_1(pn+3, fn, pfx##3, sfx), \
658 PORT_1(pn+4, fn, pfx##4, sfx), PORT_1(pn+5, fn, pfx##5, sfx), \
659 PORT_1(pn+6, fn, pfx##6, sfx), PORT_1(pn+7, fn, pfx##7, sfx), \
660 PORT_1(pn+8, fn, pfx##8, sfx), PORT_1(pn+9, fn, pfx##9, sfx)
662 #define PORT_90(pn, fn, pfx, sfx) \ argument
663 PORT_10(pn+10, fn, pfx##1, sfx), PORT_10(pn+20, fn, pfx##2, sfx), \
664 PORT_10(pn+30, fn, pfx##3, sfx), PORT_10(pn+40, fn, pfx##4, sfx), \
[all …]
/linux-6.1.9/drivers/staging/rtl8192e/
Drtllib_crypt_ccmp.c89 u8 *pn, u8 *iv, u8 *aad) in ccmp_init_iv_and_aad() argument
124 memcpy(iv + 8, pn, CCMP_PN_LEN); in ccmp_init_iv_and_aad()
231 u8 pn[6]; in rtllib_ccmp_decrypt() local
263 pn[0] = pos[7]; in rtllib_ccmp_decrypt()
264 pn[1] = pos[6]; in rtllib_ccmp_decrypt()
265 pn[2] = pos[5]; in rtllib_ccmp_decrypt()
266 pn[3] = pos[4]; in rtllib_ccmp_decrypt()
267 pn[4] = pos[1]; in rtllib_ccmp_decrypt()
268 pn[5] = pos[0]; in rtllib_ccmp_decrypt()
270 if (memcmp(pn, key->rx_pn, CCMP_PN_LEN) <= 0) { in rtllib_ccmp_decrypt()
[all …]

123456789