/drivers/net/ethernet/chelsio/cxgb/ |
D | vsc7326_reg.h | 167 #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 …]
|
/drivers/net/ppp/ |
D | pppoe.c | 159 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 …]
|
D | ppp_generic.c | 286 static struct ppp *ppp_find_unit(struct ppp_net *pn, int unit); 287 static struct channel *ppp_find_channel(struct ppp_net *pn, int unit); 751 struct ppp_net *pn; in ppp_ioctl() local 770 pn = ppp_pernet(current->nsproxy->net_ns); in ppp_ioctl() 771 spin_lock_bh(&pn->all_channels_lock); in ppp_ioctl() 772 pchb = ppp_find_channel(pn, unit); in ppp_ioctl() 778 spin_unlock_bh(&pn->all_channels_lock); in ppp_ioctl() 1050 struct ppp_net *pn; in ppp_unattached_ioctl() local 1073 pn = ppp_pernet(net); in ppp_unattached_ioctl() 1074 mutex_lock(&pn->all_ppp_mutex); in ppp_unattached_ioctl() [all …]
|
/drivers/hwtracing/stm/ |
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() 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 …]
|
/drivers/accessibility/speakup/ |
D | utils.h | 57 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()
|
/drivers/pinctrl/renesas/ |
D | sh_pfc.h | 649 #define PORT_1(pn, fn, pfx, sfx) fn(pn, pfx, sfx) argument 651 #define PORT_10(pn, fn, pfx, sfx) \ argument 652 PORT_1(pn, fn, pfx##0, sfx), PORT_1(pn+1, fn, pfx##1, sfx), \ 653 PORT_1(pn+2, fn, pfx##2, sfx), PORT_1(pn+3, fn, pfx##3, sfx), \ 654 PORT_1(pn+4, fn, pfx##4, sfx), PORT_1(pn+5, fn, pfx##5, sfx), \ 655 PORT_1(pn+6, fn, pfx##6, sfx), PORT_1(pn+7, fn, pfx##7, sfx), \ 656 PORT_1(pn+8, fn, pfx##8, sfx), PORT_1(pn+9, fn, pfx##9, sfx) 658 #define PORT_90(pn, fn, pfx, sfx) \ argument 659 PORT_10(pn+10, fn, pfx##1, sfx), PORT_10(pn+20, fn, pfx##2, sfx), \ 660 PORT_10(pn+30, fn, pfx##3, sfx), PORT_10(pn+40, fn, pfx##4, sfx), \ [all …]
|
/drivers/staging/rtl8192u/ieee80211/ |
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() 276 if (memcmp(pn, key->rx_pn, CCMP_PN_LEN) <= 0) { in ieee80211_ccmp_decrypt() [all …]
|
/drivers/staging/rtl8192e/ |
D | rtllib_crypt_ccmp.c | 87 u8 *pn, u8 *iv, u8 *aad) in ccmp_init_iv_and_aad() argument 122 memcpy(iv + 8, pn, CCMP_PN_LEN); in ccmp_init_iv_and_aad() 226 u8 pn[6]; in rtllib_ccmp_decrypt() local 258 pn[0] = pos[7]; in rtllib_ccmp_decrypt() 259 pn[1] = pos[6]; in rtllib_ccmp_decrypt() 260 pn[2] = pos[5]; in rtllib_ccmp_decrypt() 261 pn[3] = pos[4]; in rtllib_ccmp_decrypt() 262 pn[4] = pos[1]; in rtllib_ccmp_decrypt() 263 pn[5] = pos[0]; in rtllib_ccmp_decrypt() 265 if (memcmp(pn, key->rx_pn, CCMP_PN_LEN) <= 0) { in rtllib_ccmp_decrypt() [all …]
|
/drivers/video/fbdev/omap2/omapfb/dss/ |
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()
|
/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | d3.c | 87 const u8 *ret = seq->ccmp.pn; in iwl_mvm_find_max_pn() 95 const u8 *tmp = ptk_pn->q[i].pn[tid]; in iwl_mvm_find_max_pn() 278 aes_tx_sc->pn = cpu_to_le64(pn64); in iwl_mvm_wowlan_get_rsc_tsc_data() 291 const u8 *pn; in iwl_mvm_wowlan_get_rsc_tsc_data() local 302 pn = iwl_mvm_find_max_pn(key, ptk_pn, &seq, i, in iwl_mvm_wowlan_get_rsc_tsc_data() 304 aes_sc[i].pn = cpu_to_le64((u64)pn[5] | in iwl_mvm_wowlan_get_rsc_tsc_data() 305 ((u64)pn[4] << 8) | in iwl_mvm_wowlan_get_rsc_tsc_data() 306 ((u64)pn[3] << 16) | in iwl_mvm_wowlan_get_rsc_tsc_data() 307 ((u64)pn[2] << 24) | in iwl_mvm_wowlan_get_rsc_tsc_data() 308 ((u64)pn[1] << 32) | in iwl_mvm_wowlan_get_rsc_tsc_data() [all …]
|
/drivers/md/persistent-data/ |
D | dm-btree.c | 659 struct btree_node *ln, *rn, *pn; in split_one_into_two() local 679 pn = dm_block_data(parent); in split_one_into_two() 683 r = insert_at(sizeof(__le64), pn, parent_index + 1, in split_one_into_two() 743 struct btree_node *ln, *rn, *mn, *pn; in split_two_into_three() local 747 pn = dm_block_data(parent); in split_two_into_three() 752 r = shadow_child(s->info, vt, pn, parent_index + 1, &right); in split_two_into_three() 758 r = shadow_child(s->info, vt, pn, parent_index - 1, &left); in split_two_into_three() 779 pn->keys[middle_index] = rn->keys[0]; in split_two_into_three() 782 r = insert_at(sizeof(__le64), pn, middle_index, in split_two_into_three() 844 struct btree_node *pn, *ln, *rn; in btree_split_beneath() local [all …]
|
/drivers/gpu/drm/omapdrm/dss/ |
D | base.c | 247 struct device_node *pn = of_graph_get_remote_port_parent(n); in omapdss_walk_device() local 249 if (!pn) in omapdss_walk_device() 252 if (!of_device_is_available(pn) || omapdss_list_contains(pn)) { in omapdss_walk_device() 253 of_node_put(pn); in omapdss_walk_device() 257 omapdss_walk_device(dev, pn, false); in omapdss_walk_device()
|
/drivers/rtc/ |
D | rtc-abx80x.c | 108 u16 pn; member 114 [AB0801] = {.pn = 0x0801}, 115 [AB0803] = {.pn = 0x0803}, 116 [AB0804] = {.pn = 0x0804, .has_tc = true, .has_wdog = true}, 117 [AB0805] = {.pn = 0x0805, .has_tc = true, .has_wdog = true}, 118 [AB1801] = {.pn = 0x1801}, 119 [AB1803] = {.pn = 0x1803}, 120 [AB1804] = {.pn = 0x1804, .has_tc = true, .has_wdog = true}, 121 [AB1805] = {.pn = 0x1805, .has_tc = true, .has_wdog = true}, 122 [RV1805] = {.pn = 0x1805, .has_tc = true, .has_wdog = true}, [all …]
|
/drivers/infiniband/sw/rdmavt/ |
D | mcast.c | 155 struct rb_node *pn = NULL; in rvt_mcast_add() local 164 pn = *n; in rvt_mcast_add() 165 tmcast = rb_entry(pn, struct rvt_mcast, rb_node); in rvt_mcast_add() 171 n = &pn->rb_left; in rvt_mcast_add() 175 n = &pn->rb_right; in rvt_mcast_add() 219 rb_link_node(&mcast->rb_node, pn, n); in rvt_mcast_add()
|
/drivers/net/wireless/mediatek/mt76/ |
D | mt76x02_mac.c | 87 u64 pn; in mt76x02_mac_wcid_sync_pn() local 93 pn = (u64)eiv << 16; in mt76x02_mac_wcid_sync_pn() 95 pn |= (iv >> 16) & 0xff; in mt76x02_mac_wcid_sync_pn() 96 pn |= (iv & 0xff) << 8; in mt76x02_mac_wcid_sync_pn() 98 pn |= iv & 0xffff; in mt76x02_mac_wcid_sync_pn() 103 atomic64_set(&key->tx_pn, pn); in mt76x02_mac_wcid_sync_pn() 112 u64 pn; in mt76x02_mac_wcid_set_key() local 126 pn = atomic64_read(&key->tx_pn); in mt76x02_mac_wcid_set_key() 131 put_unaligned_le32(pn >> 16, &iv_data[4]); in mt76x02_mac_wcid_set_key() 135 iv_data[0] = (pn >> 8) & 0xff; in mt76x02_mac_wcid_set_key() [all …]
|
/drivers/net/wireless/silabs/wfx/ |
D | key.c | 104 memcpy(msg->rx_sequence_counter, seq->ccmp.pn, sizeof(seq->ccmp.pn)); in fill_ccmp_group() 105 memreverse(msg->rx_sequence_counter, sizeof(seq->ccmp.pn)); in fill_ccmp_group() 144 memcpy(msg->ipn, seq->aes_cmac.pn, sizeof(seq->aes_cmac.pn)); in fill_aes_cmac_group() 145 memreverse(msg->ipn, sizeof(seq->aes_cmac.pn)); in fill_aes_cmac_group()
|
/drivers/net/ethernet/cortina/ |
D | gemini.c | 804 int pn) in geth_freeq_alloc_map_page() argument 834 freeq_entry = geth->freeq_ring + (pn << fpp_order); in geth_freeq_alloc_map_page() 836 pn, frag_len, (1 << fpp_order), freeq_entry); in geth_freeq_alloc_map_page() 844 gpage = &geth->freeq_pages[pn]; in geth_freeq_alloc_map_page() 846 mapping = geth->freeq_ring[pn << fpp_order].word2.buf_adr; in geth_freeq_alloc_map_page() 856 pn, (unsigned int)mapping, page); in geth_freeq_alloc_map_page() 874 unsigned int pn, epn; in geth_fill_freeq() local 885 pn = (refill ? rw.bits.wptr : rw.bits.rptr) >> fpp_order; in geth_fill_freeq() 890 while (pn != epn) { in geth_fill_freeq() 894 gpage = &geth->freeq_pages[pn]; in geth_fill_freeq() [all …]
|
/drivers/acpi/ |
D | glue.c | 230 struct acpi_device_physical_node *physical_node, *pn; in acpi_bind_one() local 263 list_for_each_entry(pn, &acpi_dev->physical_node_list, node) { in acpi_bind_one() 265 if (pn->dev == dev) { in acpi_bind_one() 277 if (pn->node_id == node_id) { in acpi_bind_one() 278 physnode_list = &pn->node; in acpi_bind_one()
|
D | scan.c | 111 struct acpi_device_physical_node *pn; in acpi_scan_is_offline() local 121 list_for_each_entry(pn, &adev->physical_node_list, node) in acpi_scan_is_offline() 122 if (device_supports_offline(pn->dev) && !pn->dev->offline) { in acpi_scan_is_offline() 124 kobject_uevent_env(&pn->dev->kobj, KOBJ_CHANGE, envp); in acpi_scan_is_offline() 138 struct acpi_device_physical_node *pn; in acpi_bus_offline() local 152 list_for_each_entry(pn, &device->physical_node_list, node) { in acpi_bus_offline() 157 if (pn->put_online) in acpi_bus_offline() 160 pn->put_online = false; in acpi_bus_offline() 162 ret = device_offline(pn->dev); in acpi_bus_offline() 164 pn->put_online = !ret; in acpi_bus_offline() [all …]
|
/drivers/net/ |
D | macsec.c | 69 __be64 pn; member 77 __be32 pn; member 289 const struct macsec_secy *secy, u32 pn, in macsec_fill_sectag() argument 308 h->packet_number = htonl(pn); in macsec_fill_sectag() 423 static void macsec_fill_iv_xpn(unsigned char *iv, ssci_t ssci, u64 pn, in macsec_fill_iv_xpn() argument 429 gcm_iv->pn = cpu_to_be64(pn) ^ salt.pn; in macsec_fill_iv_xpn() 432 static void macsec_fill_iv(unsigned char *iv, sci_t sci, u32 pn) in macsec_fill_iv() argument 437 gcm_iv->pn = htonl(pn); in macsec_fill_iv() 465 pn_t pn; in tx_sa_update_pn() local 469 pn = tx_sa->next_pn_halves; in tx_sa_update_pn() [all …]
|
/drivers/message/fusion/ |
D | mptfc.c | 428 u64 pn, nn; in mptfc_register_dev() local 441 pn = (u64)ri->pg0.WWPN.High << 32 | (u64)ri->pg0.WWPN.Low; in mptfc_register_dev() 442 if (pn == rport_ids.port_name) { /* match */ in mptfc_register_dev() 483 pn = (u64)ri->pg0.WWPN.High << 32 | (u64)ri->pg0.WWPN.Low; in mptfc_register_dev() 492 (unsigned long long)pn, in mptfc_register_dev() 571 u64 nn, pn; in mptfc_dump_lun_info() local 575 pn = (u64)ri->pg0.WWPN.High << 32 | (u64)ri->pg0.WWPN.Low; in mptfc_dump_lun_info() 585 (unsigned long long)pn, in mptfc_dump_lun_info() 1083 u64 pn; in mptfc_setup_reset() local 1101 pn = (u64)ri->pg0.WWPN.High << 32 | in mptfc_setup_reset() [all …]
|
/drivers/crypto/caam/ |
D | pdb.h | 281 u32 pn; member 293 u32 pn; member 315 u32 pn; member 327 u32 pn; member
|
/drivers/net/wireless/intel/iwlwifi/dvm/ |
D | lib.c | 967 aes_tx_sc->pn = cpu_to_le64(pn64); in iwlagn_wowlan_program_keys() 976 u8 *pn = seq.ccmp.pn; in iwlagn_wowlan_program_keys() local 979 aes_sc[i].pn = cpu_to_le64( in iwlagn_wowlan_program_keys() 980 (u64)pn[5] | in iwlagn_wowlan_program_keys() 981 ((u64)pn[4] << 8) | in iwlagn_wowlan_program_keys() 982 ((u64)pn[3] << 16) | in iwlagn_wowlan_program_keys() 983 ((u64)pn[2] << 24) | in iwlagn_wowlan_program_keys() 984 ((u64)pn[1] << 32) | in iwlagn_wowlan_program_keys() 985 ((u64)pn[0] << 40)); in iwlagn_wowlan_program_keys()
|
/drivers/media/i2c/ |
D | vpx3220.c | 465 u16 pn; in vpx3220_probe() local 499 pn = (i2c_smbus_read_byte_data(client, 0x02) << 8) + in vpx3220_probe() 502 switch (pn) { in vpx3220_probe() 519 ver, pn, client->addr << 1, client->adapter->name); in vpx3220_probe()
|
/drivers/net/wireless/ath/ath12k/ |
D | hal.c | 483 HAL_RX_MPDU_INFO_PN_GET_BYTE2(desc->u.qcn9274.mpdu_start.pn[0]); in ath12k_hw_qcn9274_rx_desc_get_crypto_hdr() 486 HAL_RX_MPDU_INFO_PN_GET_BYTE1(desc->u.qcn9274.mpdu_start.pn[0]); in ath12k_hw_qcn9274_rx_desc_get_crypto_hdr() 493 HAL_RX_MPDU_INFO_PN_GET_BYTE1(desc->u.qcn9274.mpdu_start.pn[0]); in ath12k_hw_qcn9274_rx_desc_get_crypto_hdr() 495 HAL_RX_MPDU_INFO_PN_GET_BYTE2(desc->u.qcn9274.mpdu_start.pn[0]); in ath12k_hw_qcn9274_rx_desc_get_crypto_hdr() 508 crypto_hdr[4] = HAL_RX_MPDU_INFO_PN_GET_BYTE3(desc->u.qcn9274.mpdu_start.pn[0]); in ath12k_hw_qcn9274_rx_desc_get_crypto_hdr() 509 crypto_hdr[5] = HAL_RX_MPDU_INFO_PN_GET_BYTE4(desc->u.qcn9274.mpdu_start.pn[0]); in ath12k_hw_qcn9274_rx_desc_get_crypto_hdr() 510 crypto_hdr[6] = HAL_RX_MPDU_INFO_PN_GET_BYTE1(desc->u.qcn9274.mpdu_start.pn[1]); in ath12k_hw_qcn9274_rx_desc_get_crypto_hdr() 511 crypto_hdr[7] = HAL_RX_MPDU_INFO_PN_GET_BYTE2(desc->u.qcn9274.mpdu_start.pn[1]); in ath12k_hw_qcn9274_rx_desc_get_crypto_hdr() 923 HAL_RX_MPDU_INFO_PN_GET_BYTE2(desc->u.wcn7850.mpdu_start.pn[0]); in ath12k_hw_wcn7850_rx_desc_get_crypto_hdr() 926 HAL_RX_MPDU_INFO_PN_GET_BYTE1(desc->u.wcn7850.mpdu_start.pn[0]); in ath12k_hw_wcn7850_rx_desc_get_crypto_hdr() [all …]
|