/openbmc/linux/drivers/net/ethernet/renesas/ |
H A D | rswitch.c | 226 if ((desc->desc.die_dt & DT_MASK) != DT_FEMPTY) in rswitch_is_queue_rxed() 370 desc->desc.die_dt = DT_FEMPTY | DIE; in rswitch_gwca_queue_format() 372 desc->desc.die_dt = DT_EEMPTY | DIE; in rswitch_gwca_queue_format() 376 desc->desc.die_dt = DT_LINKFIX; in rswitch_gwca_queue_format() 409 desc->desc.die_dt = DT_FEMPTY_ND | DIE; in rswitch_gwca_ts_queue_fill() 435 desc->desc.die_dt = DT_FEMPTY | DIE; in rswitch_gwca_queue_ext_ts_fill() 438 desc->desc.die_dt = DT_EEMPTY | DIE; in rswitch_gwca_queue_ext_ts_fill() 474 desc->desc.die_dt = DT_LINKFIX; in rswitch_gwca_queue_ext_ts_format() 529 desc->desc.die_dt = DT_LINKFIX; in rswitch_gwca_ts_queue_alloc() 790 desc->desc.die_dt = DT_EEMPTY; in rswitch_tx_free() [all …]
|
/openbmc/linux/drivers/dma/ |
H A D | plx_dma.c | 137 struct plx_dma_desc *desc; in plx_dma_process_desc() local 159 dma_cookie_complete(&desc->txd); in plx_dma_process_desc() 162 desc->txd.callback = NULL; in plx_dma_process_desc() 174 struct plx_dma_desc *desc; in plx_dma_abort_desc() local 183 res.residue = desc->orig_size; in plx_dma_abort_desc() 186 dma_cookie_complete(&desc->txd); in plx_dma_abort_desc() 189 desc->txd.callback = NULL; in plx_dma_abort_desc() 378 struct plx_dma_desc *desc; in plx_dma_alloc_desc() local 387 desc = kzalloc(sizeof(*desc), GFP_KERNEL); in plx_dma_alloc_desc() 388 if (!desc) in plx_dma_alloc_desc() [all …]
|
H A D | stm32-mdma.c | 322 if (!desc) in stm32_mdma_alloc_desc() 335 return desc; in stm32_mdma_alloc_desc() 342 kfree(desc); in stm32_mdma_alloc_desc() 355 kfree(desc); in stm32_mdma_desc_free() 800 if (chan->desc && chan->desc->cyclic) { in stm32_mdma_prep_slave_sg() 807 if (!desc) in stm32_mdma_prep_slave_sg() 861 if (chan->desc && chan->desc->cyclic) { in stm32_mdma_prep_dma_cyclic() 880 if (!desc) in stm32_mdma_prep_dma_cyclic() 957 if (chan->desc && chan->desc->cyclic) { in stm32_mdma_prep_dma_memcpy() 965 if (!desc) in stm32_mdma_prep_dma_memcpy() [all …]
|
H A D | txx9dmac.h | 248 struct txx9dmac_desc *desc) in txx9dmac_desc_set_INTENT() argument 258 struct txx9dmac_desc *desc, in txx9dmac_desc_set_nosimple() argument 275 struct txx9dmac_desc *desc) in txx9dmac_desc_set_INTENT() argument 278 desc->hwdesc.CCR |= TXX9_DMA_CCR_INTENT; in txx9dmac_desc_set_INTENT() 288 struct txx9dmac_desc *desc, in txx9dmac_desc_set_nosimple() argument 292 desc->hwdesc.SAIR = sai; in txx9dmac_desc_set_nosimple() 293 desc->hwdesc.DAIR = dai; in txx9dmac_desc_set_nosimple() 294 desc->hwdesc.CCR = ccr; in txx9dmac_desc_set_nosimple() 296 desc->hwdesc32.SAIR = sai; in txx9dmac_desc_set_nosimple() 297 desc->hwdesc32.DAIR = dai; in txx9dmac_desc_set_nosimple() [all …]
|
/openbmc/linux/drivers/irqchip/ |
H A D | irq-gic-v3-its.c | 1186 struct its_cmd_desc desc; in BUILD_SINGLE_CMD_FUNC() local 1196 struct its_cmd_desc desc; in its_send_clear() local 1206 struct its_cmd_desc desc; in its_send_inv() local 1216 struct its_cmd_desc desc; in its_send_mapd() local 1227 struct its_cmd_desc desc; in its_send_mapc() local 1237 struct its_cmd_desc desc; in its_send_mapti() local 1249 struct its_cmd_desc desc; in its_send_movi() local 1260 struct its_cmd_desc desc; in its_send_discard() local 1270 struct its_cmd_desc desc; in its_send_invall() local 1280 struct its_cmd_desc desc; in its_send_vmapti() local [all …]
|
/openbmc/qemu/target/loongarch/tcg/ |
H A D | vec_helper.c | 43 int oprsz = simd_oprsz(desc); in HELPER() 61 int oprsz = simd_oprsz(desc); in HELPER() 79 int oprsz = simd_oprsz(desc); in HELPER() 97 int oprsz = simd_oprsz(desc); in HELPER() 141 int oprsz = simd_oprsz(desc); in HELPER() 159 int oprsz = simd_oprsz(desc); in HELPER() 177 int oprsz = simd_oprsz(desc); in HELPER() 195 int oprsz = simd_oprsz(desc); in HELPER() 213 int oprsz = simd_oprsz(desc); in HELPER() 231 int oprsz = simd_oprsz(desc); in HELPER() [all …]
|
/openbmc/linux/drivers/pmdomain/qcom/ |
H A D | cpr.c | 307 const struct cpr_desc *desc = drv->desc; in cpr_ctl_enable() local 367 const struct cpr_desc *desc = drv->desc; in cpr_corner_restore() local 465 const struct cpr_desc *desc = drv->desc; in cpr_scale() local 591 const struct cpr_desc *desc = drv->desc; in cpr_irq_handler() local 684 const struct cpr_desc *desc = drv->desc; in cpr_config() local 714 desc->timer_delay_us); in cpr_config() 849 const struct cpr_desc *desc = drv->desc; in cpr_fuse_corner_init() local 1077 const struct cpr_desc *desc = drv->desc; in cpr_corner_init() local 1228 const struct cpr_desc *desc = drv->desc; in cpr_get_fuses() local 1274 const struct cpr_desc *desc = drv->desc; in cpr_init_parameters() local [all …]
|
/openbmc/linux/arch/s390/crypto/ |
H A D | sha3_512_s390.c | 19 static int sha3_512_init(struct shash_desc *desc) in sha3_512_init() argument 21 struct s390_sha_ctx *sctx = shash_desc_ctx(desc); in sha3_512_init() 30 static int sha3_512_export(struct shash_desc *desc, void *out) in sha3_512_export() argument 32 struct s390_sha_ctx *sctx = shash_desc_ctx(desc); in sha3_512_export() 44 static int sha3_512_import(struct shash_desc *desc, const void *in) in sha3_512_import() argument 46 struct s390_sha_ctx *sctx = shash_desc_ctx(desc); in sha3_512_import() 60 static int sha3_384_import(struct shash_desc *desc, const void *in) in sha3_384_import() argument 62 struct s390_sha_ctx *sctx = shash_desc_ctx(desc); in sha3_384_import() 96 static int sha3_384_init(struct shash_desc *desc) in sha3_384_init() argument 98 struct s390_sha_ctx *sctx = shash_desc_ctx(desc); in sha3_384_init()
|
/openbmc/linux/drivers/dma/dw-edma/ |
H A D | dw-edma-core.c | 103 if (desc->chunk) { in dw_edma_alloc_chunk() 125 desc = kzalloc(sizeof(*desc), GFP_NOWAIT); in dw_edma_alloc_desc() 129 desc->chan = chan; in dw_edma_alloc_desc() 131 kfree(desc); in dw_edma_alloc_desc() 135 return desc; in dw_edma_alloc_desc() 158 if (!desc->chunk) in dw_edma_free_chunk() 177 kfree(desc); in dw_edma_free_desc() 197 if (!desc) in dw_edma_start_transfer() 350 if (desc) in dw_edma_device_tx_status() 351 residue = desc->alloc_sz - desc->xfer_sz; in dw_edma_device_tx_status() [all …]
|
/openbmc/linux/arch/arm/crypto/ |
H A D | sha256_glue.c | 30 int crypto_sha256_arm_update(struct shash_desc *desc, const u8 *data, in crypto_sha256_arm_update() argument 36 return sha256_base_do_update(desc, data, len, sha256_block_data_order); in crypto_sha256_arm_update() 40 static int crypto_sha256_arm_final(struct shash_desc *desc, u8 *out) in crypto_sha256_arm_final() argument 42 sha256_base_do_finalize(desc, sha256_block_data_order); in crypto_sha256_arm_final() 43 return sha256_base_finish(desc, out); in crypto_sha256_arm_final() 46 int crypto_sha256_arm_finup(struct shash_desc *desc, const u8 *data, in crypto_sha256_arm_finup() argument 49 sha256_base_do_update(desc, data, len, sha256_block_data_order); in crypto_sha256_arm_finup() 50 return crypto_sha256_arm_final(desc, out); in crypto_sha256_arm_finup()
|
H A D | sha512-glue.c | 31 int sha512_arm_update(struct shash_desc *desc, const u8 *data, in sha512_arm_update() argument 34 return sha512_base_do_update(desc, data, len, sha512_block_data_order); in sha512_arm_update() 37 static int sha512_arm_final(struct shash_desc *desc, u8 *out) in sha512_arm_final() argument 39 sha512_base_do_finalize(desc, sha512_block_data_order); in sha512_arm_final() 40 return sha512_base_finish(desc, out); in sha512_arm_final() 43 int sha512_arm_finup(struct shash_desc *desc, const u8 *data, in sha512_arm_finup() argument 46 sha512_base_do_update(desc, data, len, sha512_block_data_order); in sha512_arm_finup() 47 return sha512_arm_final(desc, out); in sha512_arm_finup()
|
/openbmc/linux/crypto/ |
H A D | jitterentropy-kcapi.c | 99 SHASH_DESC_ON_STACK(desc, hash_state_desc->tfm); in jent_hash_time() 104 desc->tfm = hash_state_desc->tfm; in jent_hash_time() 125 ret = crypto_shash_init(desc) ?: in jent_hash_time() 126 crypto_shash_update(desc, intermediary, in jent_hash_time() 128 crypto_shash_finup(desc, addtl, addtl_len, intermediary); in jent_hash_time() 156 shash_desc_zero(desc); in jent_hash_time() 323 SHASH_DESC_ON_STACK(desc, tfm); in jent_mod_init() 335 desc->tfm = tfm; in jent_mod_init() 336 crypto_shash_init(desc); in jent_mod_init() 337 ret = jent_entropy_init(desc); in jent_mod_init() [all …]
|
/openbmc/linux/drivers/gpu/drm/panel/ |
H A D | panel-sitronix-st7701.c | 160 const struct st7701_panel_desc *desc = st7701->desc; in st7701_vgls_map() local 177 if (desc->vgl_mv == map[i].vgl) in st7701_vgls_map() 197 const struct st7701_panel_desc *desc = st7701->desc; in st7701_init_sequence() local 215 desc->pv_gamma, ARRAY_SIZE(desc->pv_gamma)); in st7701_init_sequence() 217 desc->nv_gamma, ARRAY_SIZE(desc->nv_gamma)); in st7701_init_sequence() 280 desc->gamma_op_bias) | in st7701_init_sequence() 282 desc->input_op_bias) | in st7701_init_sequence() 284 desc->output_op_bias)); in st7701_init_sequence() 855 dsi->format = desc->format; in st7701_dsi_probe() 856 dsi->lanes = desc->lanes; in st7701_dsi_probe() [all …]
|
/openbmc/linux/drivers/dma/xilinx/ |
H A D | xilinx_dma.c | 835 desc = kzalloc(sizeof(*desc), GFP_NOWAIT); in xilinx_dma_alloc_tx_descriptor() 836 if (!desc) in xilinx_dma_alloc_tx_descriptor() 841 return desc; in xilinx_dma_alloc_tx_descriptor() 858 if (!desc) in xilinx_dma_free_tx_descriptor() 886 kfree(desc); in xilinx_dma_free_tx_descriptor() 1729 desc->residue = xilinx_dma_get_residue(chan, desc); in xilinx_dma_complete_descriptor() 2058 if (!desc) in xilinx_vdma_dma_prep_interleaved() 2133 if (!desc) in xilinx_cdma_prep_memcpy() 2196 if (!desc) in xilinx_dma_prep_slave_sg() 2305 if (!desc) in xilinx_dma_prep_dma_cyclic() [all …]
|
/openbmc/linux/drivers/dma/ptdma/ |
H A D | ptdma-dev.c | 71 bool soc = FIELD_GET(DWORD0_SOC, desc->dw0); in pt_core_execute_cmd() 77 desc->dw0 |= FIELD_PREP(DWORD0_IOC, desc->dw0); in pt_core_execute_cmd() 78 desc->dw0 &= ~DWORD0_SOC; in pt_core_execute_cmd() 83 memcpy(q_desc, desc, 32); in pt_core_execute_cmd() 103 struct ptdma_desc desc; in pt_core_perform_passthru() local 108 memset(&desc, 0, sizeof(desc)); in pt_core_perform_passthru() 109 desc.dw0 = CMD_DESC_DW0_VAL; in pt_core_perform_passthru() 110 desc.length = pt_engine->src_len; in pt_core_perform_passthru() 111 desc.src_lo = lower_32_bits(pt_engine->src_dma); in pt_core_perform_passthru() 113 desc.dst_lo = lower_32_bits(pt_engine->dst_dma); in pt_core_perform_passthru() [all …]
|
/openbmc/qemu/hw/virtio/ |
H A D | virtio.c | 109 hwaddr desc; member 609 &desc->addr, sizeof(desc->addr)); in vring_packed_desc_read() 611 &desc->id, sizeof(desc->id)); in vring_packed_desc_read() 613 &desc->len, sizeof(desc->len)); in vring_packed_desc_read() 770 vring_packed_desc_read(vq->vdev, &desc, &caches->desc, in virtio_queue_packed_poll() 1242 vring_split_desc_read(vdev, desc, desc_cache, desc->next); in virtqueue_split_read_next_desc() 1732 if (!desc.len || (desc.len % sizeof(VRingDesc))) { in virtqueue_split_pop() 1759 desc.addr, desc.len); in virtqueue_split_pop() 1767 desc.addr, desc.len); in virtqueue_split_pop() 1896 desc.addr, desc.len); in virtqueue_packed_pop() [all …]
|
/openbmc/linux/include/linux/ |
H A D | msi.h | 96 typedef void (*irq_write_msi_msg_t)(struct msi_desc *desc, 288 #define msi_domain_for_each_desc(desc, dev, domid, filter) \ argument 289 for ((desc) = msi_domain_first_desc((dev), (domid), (filter)); (desc); \ 290 (desc) = msi_next_desc((dev), (domid), (filter))) 304 #define msi_for_each_desc(desc, dev, filter) \ argument 307 #define msi_desc_to_dev(desc) ((desc)->dev) argument 312 return desc->iommu_cookie; in msi_desc_get_iommu_cookie() 318 desc->iommu_cookie = iommu_cookie; in msi_desc_set_iommu_cookie() 462 struct msi_desc *desc); 464 struct msi_desc *desc); [all …]
|
/openbmc/linux/drivers/regulator/ |
H A D | hi6421-regulator.c | 132 .desc = { \ 171 .desc = { \ 211 .desc = { \ 248 .desc = { \ 285 .desc = { \ 390 info = container_of(rdev->desc, struct hi6421_regulator_info, desc); in hi6421_regulator_ldo_get_mode() 403 info = container_of(rdev->desc, struct hi6421_regulator_info, desc); in hi6421_regulator_buck_get_mode() 417 info = container_of(rdev->desc, struct hi6421_regulator_info, desc); in hi6421_regulator_ldo_set_mode() 442 info = container_of(rdev->desc, struct hi6421_regulator_info, desc); in hi6421_regulator_buck_set_mode() 467 info = container_of(rdev->desc, struct hi6421_regulator_info, desc); in hi6421_regulator_ldo_get_optimum_mode() [all …]
|
/openbmc/linux/drivers/input/misc/ |
H A D | soc_button_array.c | 138 struct gpio_desc *desc; in soc_button_lookup_gpio() local 141 if (IS_ERR(desc)) in soc_button_lookup_gpio() 142 return PTR_ERR(desc); in soc_button_lookup_gpio() 144 *gpio_ret = desc_to_gpio(desc); in soc_button_lookup_gpio() 145 *irq_ret = gpiod_to_irq(desc); in soc_button_lookup_gpio() 147 gpiod_put(desc); in soc_button_lookup_gpio() 264 const union acpi_object *desc, in soc_button_parse_btn_desc() argument 270 if (desc->type != ACPI_TYPE_PACKAGE || in soc_button_parse_btn_desc() 271 desc->package.count != 5 || in soc_button_parse_btn_desc() 356 desc = buf.pointer; in soc_button_get_button_info() [all …]
|
/openbmc/linux/tools/testing/selftests/mm/ |
H A D | cow.c | 880 ksft_print_msg("[RUN] %s ... with THP\n", desc); in run_with_thp() 962 const char *desc; member 1092 run_with_base_page(test_case->fn, test_case->desc); in run_anon_test_case() 1095 run_with_thp(test_case->fn, test_case->desc); in run_anon_test_case() 1105 run_with_hugetlb(test_case->fn, test_case->desc, in run_anon_test_case() 1340 ksft_print_msg("[RUN] %s\n", test_case->desc); in run_anon_thp_test_cases() 1472 ksft_print_msg("[RUN] %s ... with memfd\n", desc); in run_with_memfd() 1613 const char *desc; member 1650 run_with_zeropage(test_case->fn, test_case->desc); in run_non_anon_test_case() 1651 run_with_memfd(test_case->fn, test_case->desc); in run_non_anon_test_case() [all …]
|
/openbmc/linux/drivers/gpu/drm/i915/ |
H A D | i915_cmd_parser.c | 820 u32 curr = desc->cmd.value & desc->cmd.mask; in validate_cmds_sorted() 926 desc_node->desc = desc; in init_hash_table() 1086 return desc; in find_cmd_in_table() 1108 if (((cmd_header ^ desc->cmd.value) & desc->cmd.mask) == 0) in find_cmd() 1109 return desc; in find_cmd() 1112 if (desc) in find_cmd() 1113 return desc; in find_cmd() 1239 return desc->cmd.value == (cmd & desc->cmd.mask); in cmd_desc_is() 1260 const u32 step = desc->reg.step ? desc->reg.step : length; in check_cmd() 1489 desc = find_cmd(engine, *cmd, desc, &default_desc); in intel_engine_cmd_parser() [all …]
|
/openbmc/u-boot/arch/mips/mach-ath79/ |
H A D | cpu.c | 20 static const struct ath79_soc_desc desc[] = { variable 88 for (i = 0; i < ARRAY_SIZE(desc); i++) { in mach_cpu_init() 89 if ((desc[i].major == major) && in mach_cpu_init() 90 (desc[i].minor == minor)) { in mach_cpu_init() 91 soc = desc[i].soc; in mach_cpu_init() 110 for (i = 0; i < ARRAY_SIZE(desc); i++) { in print_cpuinfo() 111 if (desc[i].soc == gd->arch.soc) { in print_cpuinfo() 112 chip = desc[i].chip; in print_cpuinfo() 113 soc = desc[i].soc; in print_cpuinfo()
|
/openbmc/linux/sound/sparc/ |
H A D | dbri.c | 849 dbri->dma->desc[desc].ba = 0; in reset_pipe() 850 dbri->dma->desc[desc].nda = 0; in reset_pipe() 851 desc = dbri->next_desc[desc]; in reset_pipe() 1139 dbri->dma->desc[desc].ba = 0; in setup_descs() 1141 desc = dbri->next_desc[desc]; in setup_descs() 1172 dbri->dma->desc[desc].nda = 0; in setup_descs() 1180 dbri->dma->desc[desc].word4 = in setup_descs() 1213 dbri->dma->desc[desc].word1, in setup_descs() 1214 dbri->dma->desc[desc].ba, in setup_descs() 1215 dbri->dma->desc[desc].nda, dbri->dma->desc[desc].word4); in setup_descs() [all …]
|
/openbmc/u-boot/drivers/crypto/fsl/ |
H A D | jobdesc.h | 26 int inline_cnstr_jobdesc_blob_dek(uint32_t *desc, const uint8_t *plain_txt, 30 void inline_cnstr_jobdesc_hash(uint32_t *desc, 34 void inline_cnstr_jobdesc_blob_encap(uint32_t *desc, uint8_t *key_idnfr, 38 void inline_cnstr_jobdesc_blob_decap(uint32_t *desc, uint8_t *key_idnfr, 42 void inline_cnstr_jobdesc_rng_instantiation(uint32_t *desc, int handle); 44 void inline_cnstr_jobdesc_pkha_rsaexp(uint32_t *desc,
|
/openbmc/linux/arch/powerpc/crypto/ |
H A D | md5-glue.c | 30 static int ppc_md5_init(struct shash_desc *desc) in ppc_md5_init() argument 32 struct md5_state *sctx = shash_desc_ctx(desc); in ppc_md5_init() 43 static int ppc_md5_update(struct shash_desc *desc, const u8 *data, in ppc_md5_update() argument 46 struct md5_state *sctx = shash_desc_ctx(desc); in ppc_md5_update() 75 static int ppc_md5_final(struct shash_desc *desc, u8 *out) in ppc_md5_final() argument 77 struct md5_state *sctx = shash_desc_ctx(desc); in ppc_md5_final() 107 static int ppc_md5_export(struct shash_desc *desc, void *out) in ppc_md5_export() argument 109 struct md5_state *sctx = shash_desc_ctx(desc); in ppc_md5_export() 115 static int ppc_md5_import(struct shash_desc *desc, const void *in) in ppc_md5_import() argument 117 struct md5_state *sctx = shash_desc_ctx(desc); in ppc_md5_import()
|