/openbmc/linux/drivers/crypto/ccree/ |
H A D | cc_hw_queue_defs.h | 240 pdesc->word[0] = lower_32_bits(addr); in set_din_type() 259 pdesc->word[0] = addr; in set_din_no_dma() 271 pdesc->word[0] |= CC_CPP_DIN_ADDR; in set_cpp_crypto_key() 290 pdesc->word[0] = addr; in set_din_sram() 304 pdesc->word[0] = val; in set_din_const() 389 pdesc->word[2] = addr; in set_dout_no_dma() 402 pdesc->word[2] = val; in set_xor_val() 448 pdesc->word[2] = addr; in set_dout_sram() 462 pdesc->word[2] = size; in set_xex_data_unit_size() 474 pdesc->word[2] = num; in set_multi2_num_rounds() [all …]
|
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/ |
H A D | trx.c | 414 set_tx_desc_cts2self(pdesc, in rtl8723e_tx_fill_desc() 416 set_tx_desc_rts_stbc(pdesc, in rtl8723e_tx_fill_desc() 516 set_tx_desc_bmc(pdesc, 1); in rtl8723e_tx_fill_desc() 549 set_tx_desc_seq(pdesc, 0); in rtl8723e_tx_fill_cmddesc() 551 set_tx_desc_linip(pdesc, 0); in rtl8723e_tx_fill_cmddesc() 563 set_tx_desc_macid(pdesc, 0); in rtl8723e_tx_fill_cmddesc() 565 set_tx_desc_own(pdesc, 1); in rtl8723e_tx_fill_cmddesc() 584 pdesc, TX_DESC_SIZE); in rtl8723e_tx_fill_cmddesc() 595 set_tx_desc_own(pdesc, 1); in rtl8723e_set_desc() 608 set_rx_desc_own(pdesc, 1); in rtl8723e_set_desc() [all …]
|
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723be/ |
H A D | trx.c | 30 __le32 *pdesc, in _rtl8723be_query_rxphystatus() argument 191 __le32 *pdesc, in _rtl8723be_translate_rx_signal_stuff() argument 390 pdesc, p_drvinfo); in rtl8723be_rx_query_desc() 581 set_tx_desc_bmc(pdesc, 1); in rtl8723be_tx_fill_desc() 610 set_tx_desc_seq(pdesc, 0); in rtl8723be_tx_fill_cmddesc() 612 set_tx_desc_linip(pdesc, 0); in rtl8723be_tx_fill_cmddesc() 624 set_tx_desc_macid(pdesc, 0); in rtl8723be_tx_fill_cmddesc() 626 set_tx_desc_own(pdesc, 1); in rtl8723be_tx_fill_cmddesc() 647 set_tx_desc_own(pdesc, 1); in rtl8723be_set_desc() 660 set_rx_desc_own(pdesc, 1); in rtl8723be_set_desc() [all …]
|
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/ |
H A D | trx.c | 274 __le32 *pdesc, in _rtl88ee_translate_rx_signal_stuff() argument 463 skb, status, pdesc, in rtl88ee_rx_query_desc() 654 set_tx_desc_qos(pdesc, 1); in rtl88ee_tx_fill_desc() 661 set_tx_desc_bmc(pdesc, 1); in rtl88ee_tx_fill_desc() 695 set_tx_desc_seq(pdesc, 0); in rtl88ee_tx_fill_cmddesc() 697 set_tx_desc_linip(pdesc, 0); in rtl88ee_tx_fill_cmddesc() 709 set_tx_desc_macid(pdesc, 0); in rtl88ee_tx_fill_cmddesc() 711 set_tx_desc_own(pdesc, 1); in rtl88ee_tx_fill_cmddesc() 727 pdesc, TX_DESC_SIZE); in rtl88ee_tx_fill_cmddesc() 738 set_tx_desc_own(pdesc, 1); in rtl88ee_set_desc() [all …]
|
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/ |
H A D | trx.c | 332 skb, stats, pdesc, in rtl92ce_rx_query_desc() 421 set_tx_desc_rts_short(pdesc, in rtl92ce_tx_fill_desc() 508 set_tx_desc_qos(pdesc, 1); in rtl92ce_tx_fill_desc() 515 set_tx_desc_bmc(pdesc, 1); in rtl92ce_tx_fill_desc() 548 set_tx_desc_seq(pdesc, 0); in rtl92ce_tx_fill_cmddesc() 550 set_tx_desc_linip(pdesc, 0); in rtl92ce_tx_fill_cmddesc() 562 set_tx_desc_macid(pdesc, 0); in rtl92ce_tx_fill_cmddesc() 564 set_tx_desc_own(pdesc, 1); in rtl92ce_tx_fill_cmddesc() 593 set_tx_desc_own(pdesc, 1); in rtl92ce_set_desc() 607 set_rx_desc_own(pdesc, 1); in rtl92ce_set_desc() [all …]
|
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192se/ |
H A D | trx.c | 238 __le32 *pdesc = (__le32 *)pdesc8; in rtl92se_rx_query_desc() local 323 __le32 *pdesc = (__le32 *)pdesc8; in rtl92se_tx_fill_desc() local 430 set_tx_desc_linip(pdesc, 0); in rtl92se_tx_fill_desc() 431 set_tx_desc_offset(pdesc, 32); in rtl92se_tx_fill_desc() 470 set_tx_desc_user_rate(pdesc, in rtl92se_tx_fill_desc() 475 set_tx_desc_non_qos(pdesc, 1); in rtl92se_tx_fill_desc() 521 set_tx_desc_last_seg(pdesc, 1); in rtl92se_tx_fill_cmddesc() 529 set_tx_desc_own(pdesc, 1); in rtl92se_tx_fill_cmddesc() 533 set_tx_desc_last_seg(pdesc, 1); in rtl92se_tx_fill_cmddesc() 548 set_tx_desc_own(pdesc, 1); in rtl92se_tx_fill_cmddesc() [all …]
|
H A D | trx.h | 8 struct ieee80211_hdr *hdr, u8 *pdesc, 13 void rtl92se_tx_fill_cmddesc(struct ieee80211_hw *hw, u8 *pdesc, bool firstseg, 16 struct ieee80211_rx_status *rx_status, u8 *pdesc, 18 void rtl92se_set_desc(struct ieee80211_hw *hw, u8 *pdesc, bool istx,
|
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192de/ |
H A D | trx.c | 38 __le32 *pdesc, in _rtl92de_query_rxphystatus() argument 54 rxmcs = get_rx_desc_rxmcs(pdesc); in _rtl92de_query_rxphystatus() 370 __le32 *pdesc, in _rtl92de_translate_rx_signal_stuff() argument 433 if (get_rx_desc_bw(pdesc)) in rtl92de_rx_query_desc() 435 if (get_rx_desc_rxht(pdesc)) in rtl92de_rx_query_desc() 647 set_tx_desc_qos(pdesc, 1); in rtl92de_tx_fill_desc() 691 set_tx_desc_seq(pdesc, 0); in rtl92de_tx_fill_cmddesc() 692 set_tx_desc_linip(pdesc, 0); in rtl92de_tx_fill_cmddesc() 699 set_tx_desc_macid(pdesc, 0); in rtl92de_tx_fill_cmddesc() 714 set_tx_desc_own(pdesc, 1); in rtl92de_tx_fill_cmddesc() [all …]
|
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/ |
H A D | trx.c | 739 set_tx_desc_rts_enable(pdesc, in rtl8821ae_tx_fill_desc() 755 set_tx_desc_data_bw(pdesc, in rtl8821ae_tx_fill_desc() 761 set_tx_desc_linip(pdesc, 0); in rtl8821ae_tx_fill_desc() 798 set_tx_desc_htc(pdesc, 1); in rtl8821ae_tx_fill_desc() 824 set_tx_desc_bmc(pdesc, 1); in rtl8821ae_tx_fill_desc() 861 set_tx_desc_data_bw(pdesc, 0); in rtl8821ae_tx_fill_cmddesc() 871 set_tx_desc_macid(pdesc, 0); in rtl8821ae_tx_fill_cmddesc() 873 set_tx_desc_own(pdesc, 1); in rtl8821ae_tx_fill_cmddesc() 888 set_tx_desc_own(pdesc, 1); in rtl8821ae_set_desc() 902 set_rx_desc_own(pdesc, 1); in rtl8821ae_set_desc() [all …]
|
/openbmc/linux/tools/testing/selftests/kvm/ |
H A D | kvm_binary_stats_test.c | 34 struct kvm_stats_desc *pdesc; in stats_test() local 110 pdesc->name, pdesc->exponent); in stats_test() 115 pdesc->name, pdesc->exponent); in stats_test() 120 pdesc->name, pdesc->exponent); in stats_test() 125 TEST_ASSERT(pdesc->size, in stats_test() 130 TEST_ASSERT(pdesc->bucket_size, in stats_test() 132 pdesc->name); in stats_test() 135 TEST_ASSERT(!pdesc->bucket_size, in stats_test() 137 pdesc->name); in stats_test() 139 size_data = max(size_data, pdesc->offset + pdesc->size * sizeof(*stats_data)); in stats_test() [all …]
|
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/ |
H A D | trx.c | 217 u8 *pdesc, in _rtl92ee_translate_rx_signal_stuff() argument 697 set_tx_desc_offset(pdesc, in rtl92ee_tx_fill_desc() 733 set_tx_desc_cts2self(pdesc, in rtl92ee_tx_fill_desc() 738 set_tx_desc_rts_short(pdesc, in rtl92ee_tx_fill_desc() 760 set_tx_desc_linip(pdesc, 0); in rtl92ee_tx_fill_desc() 825 set_tx_desc_bmc(pdesc, 1); in rtl92ee_tx_fill_desc() 854 set_tx_desc_seq(pdesc, 0); in rtl92ee_tx_fill_cmddesc() 856 set_tx_desc_linip(pdesc, 0); in rtl92ee_tx_fill_cmddesc() 868 set_tx_desc_macid(pdesc, 0); in rtl92ee_tx_fill_cmddesc() 870 set_tx_desc_own(pdesc, 1); in rtl92ee_tx_fill_cmddesc() [all …]
|
/openbmc/u-boot/drivers/dma/ |
H A D | apbh_dma.c | 114 struct mxs_dma_desc *pdesc; in mxs_dma_enable() local 129 if (pdesc == NULL) in mxs_dma_enable() 141 pdesc = list_entry(pdesc->node.next, in mxs_dma_enable() 346 if (pdesc == NULL) in mxs_dma_desc_alloc() 349 memset(pdesc, 0, sizeof(*pdesc)); in mxs_dma_desc_alloc() 350 pdesc->address = (dma_addr_t)pdesc; in mxs_dma_desc_alloc() 352 return pdesc; in mxs_dma_desc_alloc() 360 if (pdesc == NULL) in mxs_dma_desc_free() 363 free(pdesc); in mxs_dma_desc_free() 417 pdesc->cmd.next = mxs_dma_cmd_address(pdesc); in mxs_dma_desc_append() [all …]
|
/openbmc/u-boot/cmd/ |
H A D | mii.c | 158 pdesc = &pdl->pdesc[i]; in dump_reg() 160 mask_in_place = pdesc->mask << pdesc->lo; in dump_reg() 170 if (pdesc->hi == pdesc->lo) in dump_reg() 173 printf("%2u-%2u", pdesc->hi, pdesc->lo); in dump_reg() 176 pdesc->name); in dump_reg() 212 pdesc->lo, in special_field() 213 (regval >> pdesc->lo) & 1, in special_field() 219 ushort sel_bits = (regval >> pdesc->lo) & pdesc->mask; in special_field() 221 pdesc->hi, pdesc->lo, sel_bits, in special_field() 231 ushort sel_bits = (regval >> pdesc->lo) & pdesc->mask; in special_field() [all …]
|
/openbmc/linux/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_msg.c | 756 pdesc = page_address(page); in mksstat_init_kern_id() 771 pdesc->reservedMBZ = 0; in mksstat_init_kern_id() 777 snprintf(pdesc->description, ARRAY_SIZE(pdesc->description) - 1, "%s pid=%d", in mksstat_init_kern_id() 781 reset_ppn_array(pdesc->statPPNs + 1, ARRAY_SIZE(pdesc->statPPNs) - 1); in mksstat_init_kern_id() 784 reset_ppn_array(pdesc->infoPPNs + 1, ARRAY_SIZE(pdesc->infoPPNs) - 1); in mksstat_init_kern_id() 787 reset_ppn_array(pdesc->strsPPNs + 1, ARRAY_SIZE(pdesc->strsPPNs) - 1); in mksstat_init_kern_id() 1053 pdesc = page_address(page); in vmw_mksstat_add_ioctl() 1055 pdesc->reservedMBZ = 0; in vmw_mksstat_add_ioctl() 1069 reset_ppn_array(pdesc->statPPNs, ARRAY_SIZE(pdesc->statPPNs)); in vmw_mksstat_add_ioctl() 1070 reset_ppn_array(pdesc->infoPPNs, ARRAY_SIZE(pdesc->infoPPNs)); in vmw_mksstat_add_ioctl() [all …]
|
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/ |
H A D | trx.c | 310 if (get_rx_desc_crc32(pdesc)) in rtl92cu_rx_query_desc() 312 if (!get_rx_desc_swdec(pdesc)) in rtl92cu_rx_query_desc() 314 if (get_rx_desc_bw(pdesc)) in rtl92cu_rx_query_desc() 316 if (get_rx_desc_rx_ht(pdesc)) in rtl92cu_rx_query_desc() 624 set_tx_desc_own(pdesc, 1); in rtl92cu_fill_fake_txdesc() 626 _rtl_tx_desc_checksum(pdesc); in rtl92cu_fill_fake_txdesc() 643 set_tx_desc_seq(pdesc, 0); in rtl92cu_tx_fill_cmddesc() 644 set_tx_desc_linip(pdesc, 0); in rtl92cu_tx_fill_cmddesc() 648 set_tx_desc_rate_id(pdesc, 7); in rtl92cu_tx_fill_cmddesc() 649 set_tx_desc_macid(pdesc, 0); in rtl92cu_tx_fill_cmddesc() [all …]
|
/openbmc/linux/drivers/pinctrl/aspeed/ |
H A D | pinctrl-aspeed.c | 167 prios = pdesc->prios; in get_defined_attribute() 240 if (!pdesc) in aspeed_pinmux_set_mux() 245 prios = pdesc->prios; in aspeed_pinmux_set_mux() 265 char *functions = get_defined_functions(pdesc); in aspeed_pinmux_set_mux() 266 char *signals = get_defined_signals(pdesc); in aspeed_pinmux_set_mux() 269 pfunc->name, pdesc->name, pin, signals, in aspeed_pinmux_set_mux() 386 if (!pdesc) in aspeed_gpio_request_enable() 389 prios = pdesc->prios; in aspeed_gpio_request_enable() 409 char *signals = get_defined_signals(pdesc); in aspeed_gpio_request_enable() 412 pdesc->name, offset, signals); in aspeed_gpio_request_enable() [all …]
|
/openbmc/linux/crypto/ |
H A D | hmac.c | 89 struct shash_desc *desc = shash_desc_ctx(pdesc); in hmac_export() 96 struct shash_desc *desc = shash_desc_ctx(pdesc); in hmac_import() 97 struct hmac_ctx *ctx = hmac_ctx(pdesc->tfm); in hmac_import() 104 static int hmac_init(struct shash_desc *pdesc) in hmac_init() argument 106 return hmac_import(pdesc, crypto_shash_ctx_aligned(pdesc->tfm)); in hmac_init() 109 static int hmac_update(struct shash_desc *pdesc, in hmac_update() argument 112 struct shash_desc *desc = shash_desc_ctx(pdesc); in hmac_update() 119 struct crypto_shash *parent = pdesc->tfm; in hmac_final() 123 struct shash_desc *desc = shash_desc_ctx(pdesc); in hmac_final() 134 struct crypto_shash *parent = pdesc->tfm; in hmac_finup() [all …]
|
H A D | xcbc.c | 72 static int crypto_xcbc_digest_init(struct shash_desc *pdesc) in crypto_xcbc_digest_init() argument 74 unsigned long alignmask = crypto_shash_alignmask(pdesc->tfm); in crypto_xcbc_digest_init() 75 struct xcbc_desc_ctx *ctx = shash_desc_ctx(pdesc); in crypto_xcbc_digest_init() 76 int bs = crypto_shash_blocksize(pdesc->tfm); in crypto_xcbc_digest_init() 85 static int crypto_xcbc_digest_update(struct shash_desc *pdesc, const u8 *p, in crypto_xcbc_digest_update() argument 88 struct crypto_shash *parent = pdesc->tfm; in crypto_xcbc_digest_update() 91 struct xcbc_desc_ctx *ctx = shash_desc_ctx(pdesc); in crypto_xcbc_digest_update() 132 static int crypto_xcbc_digest_final(struct shash_desc *pdesc, u8 *out) in crypto_xcbc_digest_final() argument 134 struct crypto_shash *parent = pdesc->tfm; in crypto_xcbc_digest_final() 137 struct xcbc_desc_ctx *ctx = shash_desc_ctx(pdesc); in crypto_xcbc_digest_final()
|
H A D | cmac.c | 105 static int crypto_cmac_digest_init(struct shash_desc *pdesc) in crypto_cmac_digest_init() argument 107 unsigned long alignmask = crypto_shash_alignmask(pdesc->tfm); in crypto_cmac_digest_init() 108 struct cmac_desc_ctx *ctx = shash_desc_ctx(pdesc); in crypto_cmac_digest_init() 109 int bs = crypto_shash_blocksize(pdesc->tfm); in crypto_cmac_digest_init() 118 static int crypto_cmac_digest_update(struct shash_desc *pdesc, const u8 *p, in crypto_cmac_digest_update() argument 121 struct crypto_shash *parent = pdesc->tfm; in crypto_cmac_digest_update() 124 struct cmac_desc_ctx *ctx = shash_desc_ctx(pdesc); in crypto_cmac_digest_update() 165 static int crypto_cmac_digest_final(struct shash_desc *pdesc, u8 *out) in crypto_cmac_digest_final() argument 167 struct crypto_shash *parent = pdesc->tfm; in crypto_cmac_digest_final() 170 struct cmac_desc_ctx *ctx = shash_desc_ctx(pdesc); in crypto_cmac_digest_final()
|
/openbmc/linux/arch/ia64/kernel/ |
H A D | esi.c | 40 struct pdesc { struct 107 struct pdesc pdesc; in ia64_esi_call() local 109 pdesc.addr = __va(esi->esi_proc); in ia64_esi_call() 110 pdesc.gp = __va(esi->gp); in ia64_esi_call() 112 esi_proc = (ia64_sal_handler) &pdesc; in ia64_esi_call() 159 struct pdesc pdesc; in ia64_esi_call_phys() local 161 pdesc.addr = (void *)esi->esi_proc; in ia64_esi_call_phys() 162 pdesc.gp = (void *)esi->gp; in ia64_esi_call_phys() 164 esi_proc = (ia64_sal_handler) &pdesc; in ia64_esi_call_phys()
|
/openbmc/linux/drivers/mtd/parsers/ |
H A D | scpart.c | 40 static uint32_t scpart_desc_is_valid(struct sc_part_desc *pdesc) in scpart_desc_is_valid() argument 42 return ((pdesc->part_id != 0xffffffffUL) && in scpart_desc_is_valid() 43 (pdesc->part_offs != 0xffffffffUL) && in scpart_desc_is_valid() 44 (pdesc->part_bytes != 0xffffffffUL)); in scpart_desc_is_valid() 55 struct sc_part_desc *pdesc = NULL; in scpart_scan_partmap() local 81 int bytes = cnt * sizeof(*pdesc); in scpart_scan_partmap() 83 pdesc = kcalloc(cnt, sizeof(*pdesc), GFP_KERNEL); in scpart_scan_partmap() 84 if (!pdesc) { in scpart_scan_partmap() 88 memcpy(pdesc, &(buf[MAP_OFFS_IN_BLK]), bytes); in scpart_scan_partmap() 90 *ppdesc = pdesc; in scpart_scan_partmap()
|
/openbmc/openbmc/poky/meta/recipes-extended/cracklib/cracklib/ |
H A D | 0001-packlib.c-support-dictionary-byte-order-dependent.patch | 240 pdesc.header.pih_blocklen = NUMWORDS; 241 pdesc.header.pih_numwords = 0; 243 - fwrite((char *) &pdesc.header, sizeof(pdesc.header), 1, ifp); 246 + memcpy(&tmpheader32, &pdesc.header, sizeof(pdesc.header)); 251 pdesc.flags &= ~PFOR_WRITE; 257 if ((pdesc.header.pih_magic == 0) || (pdesc.header.pih_numwords == 0)) 270 pdesc.flags &= ~PFOR_USEHWMS; 273 for (i = 0; i < sizeof(pdesc.hwms) / sizeof(pdesc.hwms[0]); i++) 275 pdesc.hwms[i] = pdesc64.hwms[i]; 278 pdesc.flags &= ~PFOR_USEHWMS; [all …]
|
/openbmc/linux/drivers/s390/char/ |
H A D | hmcdrv_ftp.c | 84 const struct hmcdrv_ftp_cmd_desc *pdesc; in hmcdrv_ftp_cmd_getid() local 92 pdesc = ftpcmds + (crc % ARRAY_SIZE(ftpcmds)); in hmcdrv_ftp_cmd_getid() 96 if (!pdesc->str || strncmp(pdesc->str, cmd, len)) in hmcdrv_ftp_cmd_getid() 100 pdesc->str, pdesc->cmd); in hmcdrv_ftp_cmd_getid() 102 return pdesc->cmd; in hmcdrv_ftp_cmd_getid()
|
/openbmc/linux/drivers/staging/rtl8192e/rtl8192e/ |
H A D | r8192E_dev.c | 991 pdesc->LINIP = 0; in rtl92e_fill_tx_desc() 992 pdesc->CmdInit = 1; in rtl92e_fill_tx_desc() 996 pdesc->SecCAMID = 0; in rtl92e_fill_tx_desc() 999 pdesc->NoEnc = 1; in rtl92e_fill_tx_desc() 1010 pdesc->NoEnc = 0; in rtl92e_fill_tx_desc() 1014 pdesc->NoEnc = 0; in rtl92e_fill_tx_desc() 1018 pdesc->NoEnc = 0; in rtl92e_fill_tx_desc() 1022 pdesc->NoEnc = 1; in rtl92e_fill_tx_desc() 1027 pdesc->PktId = 0x0; in rtl92e_fill_tx_desc() 1038 pdesc->LastSeg = 1; in rtl92e_fill_tx_desc() [all …]
|
/openbmc/linux/drivers/staging/rtl8712/ |
H A D | rtl8712_cmd.c | 259 struct tx_desc *pdesc; in r8712_cmd_thread() local 282 pdesc = (struct tx_desc *)pcmdbuf; in r8712_cmd_thread() 283 memset(pdesc, 0, TXDESC_SIZE); in r8712_cmd_thread() 293 pdesc->txdw0 |= cpu_to_le32((wr_sz - TXDESC_SIZE) & in r8712_cmd_thread() 303 pdesc->txdw0 |= cpu_to_le32(((TXDESC_SIZE + in r8712_cmd_thread() 307 pdesc->txdw0 |= cpu_to_le32(((TXDESC_SIZE + in r8712_cmd_thread() 312 pdesc->txdw0 |= cpu_to_le32(OWN | FSG | LSG); in r8712_cmd_thread() 313 pdesc->txdw1 |= cpu_to_le32((0x13 << QSEL_SHT) & in r8712_cmd_thread() 324 (u8 *)pdesc); in r8712_cmd_thread()
|