/linux/drivers/net/ethernet/chelsio/cxgb/ |
A D | vsc7326_reg.h | 167 #define REG_MAX_LEN(pn) CRA(0x1,pn,0x02) /* Max length */ 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 179 #define REG_PCS_CTRL(pn) CRA(0x1,pn,0x08) /* PCS control */ argument 181 #define REG_STICK_BIT(pn) CRA(0x1,pn,0x0a) /* Sticky bits */ argument 183 #define REG_DROP_CNT(pn) CRA(0x1,pn,0x0c) /* Drop counter */ argument 191 #define REG_DBG(pn) CRA(0x1,pn,0x16) /* Device 1G debug */ argument 192 #define REG_TX_IFG(pn) CRA(0x1,pn,0x18) /* Tx IFG config */ argument 271 #define REG_RX_OK_BYTES(pn) CRA(0x4,pn,RxOkBytes) argument 272 #define REG_RX_BAD_BYTES(pn) CRA(0x4,pn,RxBadBytes) argument [all …]
|
/linux/net/phonet/ |
A D | pep.c | 152 pn->tx_fc, pn->rx_fc, in pipe_handler_send_created_ind() 233 switch (pn->rx_fc) { in pipe_grant_credits() 310 pn->rx_fc = pn->tx_fc = PN_LEGACY_FLOW_CONTROL; in pipe_rcv_created() 404 pn->rx_credits--; in pipe_do_rcv() 574 pn->rx_credits--; in pipe_handler_do_rcv() 754 pn->ifindex = 0; in pep_sock_close() 970 pn->ifindex = 0; in pep_init() 971 pn->peer_type = 0; in pep_init() 974 pn->rx_fc = pn->tx_fc = PN_LEGACY_FLOW_CONTROL; in pep_init() 976 pn->aligned = 0; in pep_init() [all …]
|
A D | socket.c | 87 if (pn->resource != res) in pn_find_sock_by_sa() 90 if (pn_addr(pn->sobject) && in pn_find_sock_by_sa() 159 struct pn_sock *pn = pn_sk(sk); in pn_socket_bind() local 190 pn->sobject = pn_object(saddr, pn_port(pn->sobject)); in pn_socket_bind() 221 struct pn_sock *pn = pn_sk(sk); in pn_socket_connect() local 258 pn->dobject = 0; in pn_socket_connect() 325 pn->sobject); in pn_socket_getname() 350 atomic_read(&pn->tx_credits)) in pn_socket_poll() 513 pn->sobject = pn_object(pn_addr(pn->sobject), sport); in pn_sock_get_port() 587 sk->sk_protocol, pn->sobject, pn->dobject, in pn_sock_seq_show() [all …]
|
/linux/drivers/net/ppp/ |
A D | pppoe.c | 192 pn->hash_table[hash] = po; in __set_item() 241 struct pppoe_net *pn; in get_item_by_addr() local 250 pn = pppoe_pernet(net); in get_item_by_addr() 275 struct pppoe_net *pn; in pppoe_flush_dev() local 324 po = pn->hash_table[i]; in pppoe_flush_dev() 418 struct pppoe_net *pn; in pppoe_rcv() local 487 struct pppoe_net *pn; in pppoe_disc_rcv() local 565 struct pppoe_net *pn; in pppoe_release() local 590 pn = pppoe_pernet(net); in pppoe_release() 616 struct pppoe_net *pn; in pppoe_connect() local [all …]
|
/linux/net/mac80211/ |
A D | wpa.c | 201 u64 pn; in tkip_encrypt_skb() local 384 hdr[0] = pn[5]; in ccmp_pn2hdr() 385 hdr[1] = pn[4]; in ccmp_pn2hdr() 388 hdr[4] = pn[3]; in ccmp_pn2hdr() 414 u8 pn[6]; in ccmp_encrypt_skb() local 457 pn[5] = pn64; in ccmp_encrypt_skb() 561 memcpy(rx->ccm_gcm.pn, pn, IEEE80211_CCMP_PN_LEN); in ieee80211_crypto_ccmp_decrypt() 650 u8 pn[6]; in gcmp_encrypt_skb() local 694 pn[5] = pn64; in gcmp_encrypt_skb() 794 memcpy(rx->ccm_gcm.pn, pn, IEEE80211_CCMP_PN_LEN); in ieee80211_crypto_gcmp_decrypt() [all …]
|
A D | key.c | 1149 const u8 *pn; in ieee80211_get_key_rx_seq() local 1168 memcpy(seq->ccmp.pn, pn, IEEE80211_CCMP_PN_LEN); in ieee80211_get_key_rx_seq() 1174 pn = key->u.aes_cmac.rx_pn; in ieee80211_get_key_rx_seq() 1175 memcpy(seq->aes_cmac.pn, pn, IEEE80211_CMAC_PN_LEN); in ieee80211_get_key_rx_seq() 1182 memcpy(seq->aes_gmac.pn, pn, IEEE80211_GMAC_PN_LEN); in ieee80211_get_key_rx_seq() 1192 memcpy(seq->gcmp.pn, pn, IEEE80211_GCMP_PN_LEN); in ieee80211_get_key_rx_seq() 1202 u8 *pn; in ieee80211_set_key_rx_seq() local 1221 memcpy(pn, seq->ccmp.pn, IEEE80211_CCMP_PN_LEN); in ieee80211_set_key_rx_seq() 1228 memcpy(pn, seq->aes_cmac.pn, IEEE80211_CMAC_PN_LEN); in ieee80211_set_key_rx_seq() 1235 memcpy(pn, seq->aes_gmac.pn, IEEE80211_GMAC_PN_LEN); in ieee80211_set_key_rx_seq() [all …]
|
A D | debugfs_key.c | 87 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/arch/sparc/lib/ |
A D | memscan_64.S | 32 brz,pn %o5, 10f 37 bne,a,pn %icc, 1b 65 be,pn %icc, 1f 69 be,pn %icc, 1f 74 be,pn %icc, 1f 78 be,pn %icc, 1f 86 be,pn %icc, 1f 91 be,pn %icc, 1f 95 be,pn %icc, 1f 100 be,pn %icc, 1f [all …]
|
A D | strlen.S | 23 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)
|
A D | bzero.S | 27 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
|
A D | NG4memcpy.S | 22 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 203 brz,pn %o2, .Lexit 257 brz,pn %o2, .Lexit 274 be,pn %icc, 2f 300 bl,pn %icc, .Ltiny 344 brz,pn %o2, .Lexit [all …]
|
A D | atomic_64.S | 28 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)
|
/linux/drivers/hwtracing/stm/ |
A D | p_sys-t.c | 93 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() 135 ret = uuid_parse(page, &pn->uuid); in sys_t_policy_uuid_store() 148 return sprintf(page, "%d\n", pn->do_len); in sys_t_policy_do_len_show() 160 ret = kstrtobool(page, &pn->do_len); in sys_t_policy_do_len_store() 190 pn->ts_interval = msecs_to_jiffies(ms); in sys_t_policy_ts_interval_store() [all …]
|
/linux/kernel/locking/ |
A D | qspinlock_paravirt.h | 280 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() 392 (void)pv_hash(lock, pn); in pv_kick_node() 414 if (READ_ONCE(pn->state) == vcpu_hashed) in pv_wait_head_or_lock() 427 WRITE_ONCE(pn->state, vcpu_running); in pv_wait_head_or_lock() 443 lp = pv_hash(lock, pn); in pv_wait_head_or_lock() [all …]
|
/linux/net/ipv4/ |
A D | fib_trie.c | 941 pn = n; in fib_find_node() 1544 pn = node_parent_rcu(pn); in fib_table_lookup() 1776 pn = n; in leaf_walk_rcu() 1798 pn = node_parent_rcu(pn); in leaf_walk_rcu() 1844 pn = node_parent(pn); in fib_trie_free() 1963 if (pn->slen > pn->pos) in fib_table_flush_external() 1967 pn = resize(t, pn); in fib_table_flush_external() 2033 if (pn->slen > pn->pos) in fib_table_flush() 2037 pn = resize(t, pn); in fib_table_flush() 2113 pn = node_parent(pn); in __fib_info_notify_update() [all …]
|
/linux/arch/sparc/include/asm/ |
A D | tsb.h | 124 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; \ 230 brz,pn REG1, FAIL_LABEL; \ 258 brz,pn REG1, FAIL_LABEL; \ 276 brz,pn REG1, FAIL_LABEL; \ [all …]
|
/linux/net/wireless/ |
A D | lib80211_crypt_ccmp.c | 95 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() 307 pn[0], pn[1], pn[2], pn[3], pn[4], pn[5]); in lib80211_ccmp_decrypt() [all …]
|
/linux/arch/sparc/kernel/ |
A D | ktlb.S | 36 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
|
A D | rtrap_64.S | 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 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 339 be,pn %icc, 5f 348 brz,pn %l6, 1f [all …]
|
/linux/net/l2tp/ |
A D | l2tp_core.c | 317 struct l2tp_net *pn = l2tp_pernet(net); in l2tp_session_get_by_ifname() local 345 struct l2tp_net *pn; in l2tp_session_register() local 363 pn = l2tp_pernet(tunnel->l2tp_net); in l2tp_session_register() 1237 struct l2tp_net *pn; in l2tp_tunnel_del_work() local 1252 pn = l2tp_pernet(tunnel->l2tp_net); in l2tp_tunnel_del_work() 1253 spin_lock_bh(&pn->l2tp_tunnel_list_lock); in l2tp_tunnel_del_work() 1459 struct l2tp_net *pn; in l2tp_tunnel_register() local 1481 pn = l2tp_pernet(net); in l2tp_tunnel_register() 1487 spin_lock_bh(&pn->l2tp_tunnel_list_lock); in l2tp_tunnel_register() 1644 INIT_LIST_HEAD(&pn->l2tp_tunnel_list); in l2tp_init_net() [all …]
|
/linux/drivers/pinctrl/renesas/ |
A D | sh_pfc.h | 662 #define PORT_1(pn, fn, pfx, sfx) fn(pn, pfx, sfx) argument 665 PORT_1(pn, fn, pfx##0, sfx), PORT_1(pn+1, fn, pfx##1, sfx), \ 666 PORT_1(pn+2, fn, pfx##2, sfx), PORT_1(pn+3, fn, pfx##3, sfx), \ 667 PORT_1(pn+4, fn, pfx##4, sfx), PORT_1(pn+5, fn, pfx##5, sfx), \ 668 PORT_1(pn+6, fn, pfx##6, sfx), PORT_1(pn+7, fn, pfx##7, sfx), \ 669 PORT_1(pn+8, fn, pfx##8, sfx), PORT_1(pn+9, fn, pfx##9, sfx) 672 PORT_10(pn+10, fn, pfx##1, sfx), PORT_10(pn+20, fn, pfx##2, sfx), \ 673 PORT_10(pn+30, fn, pfx##3, sfx), PORT_10(pn+40, fn, pfx##4, sfx), \ 674 PORT_10(pn+50, fn, pfx##5, sfx), PORT_10(pn+60, fn, pfx##6, sfx), \ 675 PORT_10(pn+70, fn, pfx##7, sfx), PORT_10(pn+80, fn, pfx##8, sfx), \ [all …]
|
/linux/drivers/staging/rtl8192u/ieee80211/ |
A D | ieee80211_crypt_ccmp.c | 93 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() 279 hdr->addr2, key->rx_pn, pn); in ieee80211_ccmp_decrypt() [all …]
|
/linux/drivers/video/fbdev/omap2/omapfb/dss/ |
A D | omapdss-boot-init.c | 154 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/drivers/staging/rtl8192e/ |
A D | rtllib_crypt_ccmp.c | 89 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 …]
|
/linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
A D | d3.c | 304 aes_sc[i].pn = cpu_to_le64((u64)pn[5] | in iwl_mvm_wowlan_get_rsc_tsc_data() 315 u8 *pn = seq.ccmp.pn; in iwl_mvm_wowlan_get_rsc_tsc_data() local 318 aes_sc[i].pn = cpu_to_le64((u64)pn[5] | in iwl_mvm_wowlan_get_rsc_tsc_data() 436 u8 *pn = seq.ccmp.pn; in iwl_mvm_wowlan_get_rsc_v5_data() local 1564 pn = le64_to_cpu(sc->pn); in iwl_mvm_aes_sc_to_seq() 1565 seq->ccmp.pn[0] = pn >> 40; in iwl_mvm_aes_sc_to_seq() 1566 seq->ccmp.pn[1] = pn >> 32; in iwl_mvm_aes_sc_to_seq() 1567 seq->ccmp.pn[2] = pn >> 24; in iwl_mvm_aes_sc_to_seq() 1568 seq->ccmp.pn[3] = pn >> 16; in iwl_mvm_aes_sc_to_seq() 1569 seq->ccmp.pn[4] = pn >> 8; in iwl_mvm_aes_sc_to_seq() [all …]
|