/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/mxm/ |
H A D | mxms.c | 101 u8 *desc = mxms + mxms_headerlen(mxm); in mxms_foreach() local 102 u8 *fini = desc + mxms_structlen(mxm) - 1; in mxms_foreach() 103 while (desc < fini) { in mxms_foreach() 104 u8 type = desc[0] & 0x0f; in mxms_foreach() 124 entries = (ROM32(desc[0]) & 0x01f00000) >> 20; in mxms_foreach() 133 entries = (desc[1] & 0xf0) >> 4; in mxms_foreach() 141 entries = desc[1] & 0x07; in mxms_foreach() 153 u8 *dump = desc; in mxms_foreach() 170 if (!exec(mxm, desc, info)) in mxms_foreach() 174 desc += headerlen + (entries * recordlen); in mxms_foreach() [all …]
|
/openbmc/linux/drivers/dma/ |
H A D | nbpfaxi.c | 137 struct nbpf_desc *desc; member 510 struct nbpf_desc *desc = ldesc->desc; in nbpf_prep_one() local 719 for (i = 0, desc = dpage->desc; in nbpf_desc_page_alloc() 721 i++, desc++) { in nbpf_desc_page_alloc() 724 desc->chan = chan; in nbpf_desc_page_alloc() 764 if (async_tx_test_ack(&desc->async_tx) && desc->user_wait) { in nbpf_scan_acked() 821 ldesc->desc = desc; in nbpf_desc_get() 830 } while (!desc); in nbpf_desc_get() 836 return desc; in nbpf_desc_get() 857 __func__, desc, desc->async_tx.cookie); in nbpf_chan_idle() [all …]
|
/openbmc/u-boot/drivers/mtd/ubi/ |
H A D | kapi.c | 99 ubi_do_get_volume_info(desc->vol->ubi, desc->vol, vi); in ubi_get_volume_info() 124 struct ubi_volume_desc *desc; in ubi_open_volume() local 150 if (!desc) { in ubi_open_volume() 195 desc->vol = vol; in ubi_open_volume() 196 desc->mode = mode; in ubi_open_volume() 204 ubi_close_volume(desc); in ubi_open_volume() 216 return desc; in ubi_open_volume() 222 kfree(desc); in ubi_open_volume() 333 struct ubi_volume *vol = desc->vol; in ubi_close_volume() 340 switch (desc->mode) { in ubi_close_volume() [all …]
|
/openbmc/linux/drivers/mtd/ubi/ |
H A D | kapi.c | 93 ubi_do_get_volume_info(desc->vol->ubi, desc->vol, vi); in ubi_get_volume_info() 118 struct ubi_volume_desc *desc; in ubi_open_volume() local 144 if (!desc) { in ubi_open_volume() 189 desc->vol = vol; in ubi_open_volume() 190 desc->mode = mode; in ubi_open_volume() 198 ubi_close_volume(desc); in ubi_open_volume() 210 return desc; in ubi_open_volume() 216 kfree(desc); in ubi_open_volume() 328 struct ubi_volume *vol = desc->vol; in ubi_close_volume() 335 switch (desc->mode) { in ubi_close_volume() [all …]
|
/openbmc/linux/drivers/spi/ |
H A D | spi-mem.c | 550 desc = kzalloc(sizeof(*desc), GFP_KERNEL); in spi_mem_dirmap_create() 551 if (!desc) in spi_mem_dirmap_create() 554 desc->mem = mem; in spi_mem_dirmap_create() 555 desc->info = *info; in spi_mem_dirmap_create() 561 if (!spi_mem_supports_op(desc->mem, &desc->info.op_tmpl)) in spi_mem_dirmap_create() 568 kfree(desc); in spi_mem_dirmap_create() 572 return desc; in spi_mem_dirmap_create() 590 kfree(desc); in spi_mem_dirmap_destroy() 625 if (IS_ERR(desc)) { in devm_spi_mem_dirmap_create() 628 *ptr = desc; in devm_spi_mem_dirmap_create() [all …]
|
/openbmc/u-boot/lib/efi_loader/ |
H A D | efi_memory.c | 22 struct efi_mem_desc desc; member 61 if (mema->desc.physical_start == memb->desc.physical_start) in efi_mem_cmp() 63 else if (mema->desc.physical_start < memb->desc.physical_start) in efi_mem_cmp() 71 return desc->physical_start + (desc->num_pages << EFI_PAGE_SHIFT); in desc_get_end() 97 cur = &lmem->desc; in efi_mem_sort() 187 newmap->desc = map->desc; in efi_mem_carve_out() 218 newlist->desc.type = memory_type; in efi_add_memory_map() 221 newlist->desc.num_pages = pages; in efi_add_memory_map() 307 struct efi_mem_desc *desc = &lmem->desc; in efi_find_free_memory() local 326 if (ret < desc->physical_start) in efi_find_free_memory() [all …]
|
/openbmc/linux/drivers/crypto/ccree/ |
H A D | cc_cipher.c | 533 hw_desc_init(&desc[*seq_size]); in cc_setup_readiv_desc() 550 hw_desc_init(&desc[*seq_size]); in cc_setup_readiv_desc() 569 struct cc_hw_desc desc[], in cc_setup_state_desc() argument 587 hw_desc_init(&desc[*seq_size]); in cc_setup_state_desc() 613 struct cc_hw_desc desc[], in cc_setup_xex_state_desc() argument 641 hw_desc_init(&desc[*seq_size]); in cc_setup_xex_state_desc() 659 hw_desc_init(&desc[*seq_size]); in cc_setup_xex_state_desc() 709 hw_desc_init(&desc[*seq_size]); in cc_setup_key_desc() 750 hw_desc_init(&desc[*seq_size]); in cc_setup_key_desc() 785 hw_desc_init(&desc[*seq_size]); in cc_setup_mlli_desc() [all …]
|
/openbmc/linux/kernel/irq/ |
H A D | migration.c | 18 bool irq_fixup_move_pending(struct irq_desc *desc, bool force_clear) in irq_fixup_move_pending() argument 20 struct irq_data *data = irq_desc_get_irq_data(desc); in irq_fixup_move_pending() 29 if (cpumask_any_and(desc->pending_mask, cpu_online_mask) >= nr_cpu_ids) { in irq_fixup_move_pending() 40 struct irq_desc *desc = irq_data_to_desc(idata); in irq_move_masked_irq() local 41 struct irq_data *data = &desc->irq_data; in irq_move_masked_irq() 57 if (unlikely(cpumask_empty(desc->pending_mask))) in irq_move_masked_irq() 63 assert_raw_spin_locked(&desc->lock); in irq_move_masked_irq() 77 if (cpumask_any_and(desc->pending_mask, cpu_online_mask) < nr_cpu_ids) { in irq_move_masked_irq() 80 ret = irq_do_set_affinity(data, desc->pending_mask, false); in irq_move_masked_irq() 91 cpumask_clear(desc->pending_mask); in irq_move_masked_irq()
|
/openbmc/phosphor-debug-collector/tools/dreport.d/openpower.d/plugins.d/ |
H A D | phal_devtree | 17 desc="Attribute list" 19 add_cmd_output "$attr_cmd" "$file_name" "$desc" 23 desc="Device tree file" 25 add_copy_file "$file_name" "$desc" 30 desc="Exported device tree file" 32 add_copy_file "$file_name" "$desc" 37 desc="Attribute info db" 39 add_copy_file "$file_name" "$desc"
|
/openbmc/openpower-debug-collector/dump/tools/bmcdump/plugins/ |
H A D | phal_devtree | 17 desc="Attribute list" 19 add_cmd_output "$attr_cmd" "$file_name" "$desc" 23 desc="Device tree file" 25 add_copy_file "$file_name" "$desc" 30 desc="Exported device tree file" 32 add_copy_file "$file_name" "$desc" 37 desc="Attribute info db" 39 add_copy_file "$file_name" "$desc"
|
/openbmc/u-boot/drivers/fpga/ |
H A D | spartan3.c | 52 switch (desc->iface) { in spartan3_load() 55 ret_val = spartan3_ss_load(desc, buf, bsize); in spartan3_load() 60 ret_val = spartan3_sp_load(desc, buf, bsize); in spartan3_load() 65 __FUNCTION__, desc->iface); in spartan3_load() 75 switch (desc->iface) { in spartan3_dump() 78 ret_val = spartan3_ss_dump(desc, buf, bsize); in spartan3_dump() 83 ret_val = spartan3_sp_dump(desc, buf, bsize); in spartan3_dump() 88 __FUNCTION__, desc->iface); in spartan3_dump() 94 static int spartan3_info(xilinx_desc *desc) in spartan3_info() argument 114 int cookie = desc->cookie; /* make a local copy */ in spartan3_sp_load() [all …]
|
H A D | ACEX1K.c | 40 int ACEX1K_load(Altera_desc *desc, const void *buf, size_t bsize) in ACEX1K_load() argument 44 switch (desc->iface) { in ACEX1K_load() 47 ret_val = ACEX1K_ps_load (desc, buf, bsize); in ACEX1K_load() 54 __FUNCTION__, desc->iface); in ACEX1K_load() 60 int ACEX1K_dump(Altera_desc *desc, const void *buf, size_t bsize) in ACEX1K_dump() argument 64 switch (desc->iface) { in ACEX1K_dump() 67 ret_val = ACEX1K_ps_dump (desc, buf, bsize); in ACEX1K_dump() 74 __FUNCTION__, desc->iface); in ACEX1K_dump() 80 int ACEX1K_info( Altera_desc *desc ) in ACEX1K_info() argument 92 Altera_ACEX1K_Passive_Serial_fns *fn = desc->iface_fns; in ACEX1K_ps_load() [all …]
|
/openbmc/linux/fs/nfs_common/ |
H A D | nfsacl.c | 35 struct xdr_array2_desc desc; member 52 (struct nfsacl_encode_desc *) desc; in xdr_nfsace_encode() 97 .desc = { in nfsacl_encode() 133 err = 8 + nfsacl_desc.desc.elem_size * in nfsacl_encode() 134 nfsacl_desc.desc.array_len; in nfsacl_encode() 159 .desc = { in nfs_stream_encode_acl() 211 struct xdr_array2_desc desc; member 220 (struct nfsacl_decode_desc *) desc; in xdr_nfsace_decode() 340 .desc = { in nfsacl_decode() 366 nfsacl_desc.desc.array_len; in nfsacl_decode() [all …]
|
/openbmc/linux/drivers/gpio/ |
H A D | gpio-ich.c | 269 chip->get = ichx_priv.desc->get ? in ichx_gpiolib_setup() 277 chip->ngpio = ichx_priv.desc->ngpio; in ichx_gpiolib_setup() 397 ichx_priv.desc = &i3100_desc; in ichx_gpio_probe() 400 ichx_priv.desc = &intel5_desc; in ichx_gpio_probe() 403 ichx_priv.desc = &ich6_desc; in ichx_gpio_probe() 406 ichx_priv.desc = &ich7_desc; in ichx_gpio_probe() 409 ichx_priv.desc = &ich9_desc; in ichx_gpio_probe() 412 ichx_priv.desc = &ich10_corp_desc; in ichx_gpio_probe() 415 ichx_priv.desc = &ich10_cons_desc; in ichx_gpio_probe() 418 ichx_priv.desc = &avoton_desc; in ichx_gpio_probe() [all …]
|
/openbmc/linux/drivers/media/i2c/ |
H A D | tvaudio.c | 328 struct CHIPDESC *desc = chip->desc; in chip_thread() local 1747 struct CHIPDESC *desc = chip->desc; in tvaudio_s_ctrl() local 1753 chip_write_masked(chip,desc->inputreg,desc->inputmute,desc->inputmask); in tvaudio_s_ctrl() 1798 struct CHIPDESC *desc = chip->desc; in tvaudio_s_routing() local 1816 struct CHIPDESC *desc = chip->desc; in tvaudio_s_tuner() local 1846 struct CHIPDESC *desc = chip->desc; in tvaudio_g_tuner() local 1872 struct CHIPDESC *desc = chip->desc; in tvaudio_s_frequency() local 1893 struct CHIPDESC *desc = chip->desc; in tvaudio_log_status() local 1947 for (desc = chiplist; desc->name != NULL; desc++) in tvaudio_probe() 1961 for (desc = chiplist; desc->name != NULL; desc++) { in tvaudio_probe() [all …]
|
/openbmc/linux/sound/usb/ |
H A D | implicit.c | 124 alts->desc.bNumEndpoints < 1) in add_generic_uac2_implicit_fb() 140 alts->desc.bNumEndpoints < 1) in roland_sanity_check_iface() 162 alts->desc.bInterfaceNumber + 1, in add_roland_implicit_fb() 163 alts->desc.bAlternateSetting); in add_roland_implicit_fb() 191 alts->desc.bAlternateSetting); in add_roland_capture_quirk() 215 if (alts->desc.bNumEndpoints != 2) in is_pioneer_implicit_fb() 248 alts->desc.bNumEndpoints < 1) in __add_generic_implicit_fb() 271 alts->desc.bInterfaceNumber - 1, in add_generic_implicit_fb() 272 alts->desc.bAlternateSetting); in add_generic_implicit_fb() 328 alts->desc.bNumEndpoints == 1) { in audioformat_implicit_fb_quirk() [all …]
|
/openbmc/linux/net/xfrm/ |
H A D | xfrm_algo.c | 39 .desc = { 58 .desc = { 77 .desc = { 96 .desc = { 115 .desc = { 134 .desc = { 153 .desc = { 187 .desc = { 207 .desc = { 227 .desc = { [all …]
|
/openbmc/linux/arch/x86/crypto/ |
H A D | crc32c-intel_glue.c | 94 static int crc32c_intel_init(struct shash_desc *desc) in crc32c_intel_init() argument 96 u32 *mctx = crypto_shash_ctx(desc->tfm); in crc32c_intel_init() 97 u32 *crcp = shash_desc_ctx(desc); in crc32c_intel_init() 104 static int crc32c_intel_update(struct shash_desc *desc, const u8 *data, in crc32c_intel_update() argument 107 u32 *crcp = shash_desc_ctx(desc); in crc32c_intel_update() 120 static int crc32c_intel_finup(struct shash_desc *desc, const u8 *data, in crc32c_intel_finup() argument 123 return __crc32c_intel_finup(shash_desc_ctx(desc), data, len, out); in crc32c_intel_finup() 126 static int crc32c_intel_final(struct shash_desc *desc, u8 *out) in crc32c_intel_final() argument 128 u32 *crcp = shash_desc_ctx(desc); in crc32c_intel_final() 137 return __crc32c_intel_finup(crypto_shash_ctx(desc->tfm), data, len, in crc32c_intel_digest() [all …]
|
/openbmc/linux/drivers/regulator/ |
H A D | hi6421v600-regulator.c | 25 struct regulator_desc desc; member 77 .desc = { \ 108 rdev->desc->enable_mask, in hi6421_spmi_regulator_enable() 109 rdev->desc->enable_mask); in hi6421_spmi_regulator_enable() 112 usleep_range(rdev->desc->off_on_delay, rdev->desc->off_on_delay + 60); in hi6421_spmi_regulator_enable() 124 sreg = container_of(rdev->desc, struct hi6421_spmi_reg_info, desc); in hi6421_spmi_regulator_get_mode() 125 regmap_read(rdev->regmap, rdev->desc->enable_reg, ®_val); in hi6421_spmi_regulator_get_mode() 139 sreg = container_of(rdev->desc, struct hi6421_spmi_reg_info, desc); in hi6421_spmi_regulator_set_mode() 165 sreg = container_of(rdev->desc, struct hi6421_spmi_reg_info, desc); in hi6421_spmi_regulator_get_optimum_mode() 266 rdev = devm_regulator_register(dev, &info->desc, &config); in hi6421_spmi_regulator_probe() [all …]
|
/openbmc/linux/drivers/net/ethernet/ |
H A D | lantiq_xrx200.c | 135 struct ltq_dma_desc *desc = &ch->dma.desc_base[ch->dma.desc]; in xrx200_flush_dma() local 142 ch->dma.desc++; in xrx200_flush_dma() 223 struct ltq_dma_desc *desc = &ch->dma.desc_base[ch->dma.desc]; in xrx200_hw_receive() local 225 u32 ctl = desc->ctl; in xrx200_hw_receive() 233 ch->dma.desc++; in xrx200_hw_receive() 291 struct ltq_dma_desc *desc = &ch->dma.desc_base[ch->dma.desc]; in xrx200_poll_rx() local 362 struct ltq_dma_desc *desc = &ch->dma.desc_base[ch->dma.desc]; in xrx200_start_xmit() local 375 if ((desc->ctl & (LTQ_DMA_OWN | LTQ_DMA_C)) || ch->skb[ch->dma.desc]) { in xrx200_start_xmit() 395 ch->dma.desc++; in xrx200_start_xmit() 438 for (ch_rx->dma.desc = 0; ch_rx->dma.desc < LTQ_DESC_NUM; in xrx200_change_mtu() [all …]
|
/openbmc/linux/drivers/scsi/ |
H A D | ses.c | 223 if (desc) in ses_get_fault() 246 desc[3] &= 0xdf; in ses_set_fault() 249 desc[3] |= 0x20; in ses_set_fault() 269 if (desc) in ses_get_status() 283 if (desc) in ses_get_locate() 306 desc[2] &= 0xfd; in ses_set_locate() 370 if (desc) in ses_get_power_status() 461 d = desc + 4; in ses_process_descriptor() 470 d = desc + 4; in ses_process_descriptor() 472 d = desc + 8; in ses_process_descriptor() [all …]
|
/openbmc/linux/drivers/pci/msi/ |
H A D | legacy.c | 10 int __weak arch_setup_msi_irq(struct pci_dev *dev, struct msi_desc *desc) in arch_setup_msi_irq() argument 21 struct msi_desc *desc; in arch_setup_msi_irqs() local 31 msi_for_each_desc(desc, &dev->dev, MSI_DESC_NOTASSOCIATED) { in arch_setup_msi_irqs() 32 ret = arch_setup_msi_irq(dev, desc); in arch_setup_msi_irqs() 42 struct msi_desc *desc; in arch_teardown_msi_irqs() local 45 msi_for_each_desc(desc, &dev->dev, MSI_DESC_ASSOCIATED) { in arch_teardown_msi_irqs() 46 for (i = 0; i < desc->nvec_used; i++) in arch_teardown_msi_irqs() 47 arch_teardown_msi_irq(desc->irq + i); in arch_teardown_msi_irqs() 53 struct msi_desc *desc; in pci_msi_setup_check_result() local 60 msi_for_each_desc(desc, &dev->dev, MSI_DESC_ASSOCIATED) in pci_msi_setup_check_result()
|
/openbmc/qemu/target/arm/tcg/ |
H A D | crypto_helper.c | 179 clear_tail_16(vd, desc); in HELPER() 206 clear_tail_16(rd, desc); in crypto_sha1_3reg() 251 clear_tail_16(vd, desc); in HELPER() 269 clear_tail_16(vd, desc); in HELPER() 329 clear_tail_16(vd, desc); in HELPER() 356 clear_tail_16(vd, desc); in HELPER() 374 clear_tail_16(vd, desc); in HELPER() 394 clear_tail_16(vd, desc); in HELPER() 445 clear_tail_16(vd, desc); in HELPER() 462 clear_tail_16(vd, desc); in HELPER() [all …]
|
/openbmc/linux/drivers/media/platform/nxp/imx-jpeg/ |
H A D | mxc-jpeg-hw.c | 24 desc->next_descpt_ptr); in print_descriptor_info() 25 dev_dbg(dev, " MXC JPEG BUF_BASE0 0x%x\n", desc->buf_base0); in print_descriptor_info() 26 dev_dbg(dev, " MXC JPEG BUF_BASE1 0x%x\n", desc->buf_base1); in print_descriptor_info() 27 dev_dbg(dev, " MXC JPEG LINE_PITCH %d\n", desc->line_pitch); in print_descriptor_info() 29 dev_dbg(dev, " MXC JPEG STM_BUFSIZE %d\n", desc->stm_bufsize); in print_descriptor_info() 31 desc->imgsize >> 16, desc->imgsize & 0xFFFF); in print_descriptor_info() 32 dev_dbg(dev, " MXC JPEG STM_CTRL 0x%x\n", desc->stm_ctrl); in print_descriptor_info() 169 desc->stm_bufsize = bufsize; in mxc_jpeg_set_bufsize() 174 desc->imgsize = w << 16 | h; in mxc_jpeg_set_res() 179 desc->line_pitch = line_pitch; in mxc_jpeg_set_line_pitch() [all …]
|
/openbmc/linux/arch/arm/crypto/ |
H A D | sha2-ce-glue.c | 30 static int sha2_ce_update(struct shash_desc *desc, const u8 *data, in sha2_ce_update() argument 33 struct sha256_state *sctx = shash_desc_ctx(desc); in sha2_ce_update() 37 return crypto_sha256_arm_update(desc, data, len); in sha2_ce_update() 40 sha256_base_do_update(desc, data, len, in sha2_ce_update() 47 static int sha2_ce_finup(struct shash_desc *desc, const u8 *data, in sha2_ce_finup() argument 51 return crypto_sha256_arm_finup(desc, data, len, out); in sha2_ce_finup() 55 sha256_base_do_update(desc, data, len, in sha2_ce_finup() 57 sha256_base_do_finalize(desc, (sha256_block_fn *)sha2_ce_transform); in sha2_ce_finup() 60 return sha256_base_finish(desc, out); in sha2_ce_finup() 63 static int sha2_ce_final(struct shash_desc *desc, u8 *out) in sha2_ce_final() argument [all …]
|