/openbmc/linux/drivers/of/ |
H A D | irq.c | 571 desc = kzalloc(sizeof(*desc), GFP_KERNEL); in of_irq_init() 572 if (!desc) { in of_irq_init() 616 desc->dev, in of_irq_init() 617 desc->dev, desc->interrupt_parent); in of_irq_init() 618 ret = desc->irq_init_cb(desc->dev, in of_irq_init() 622 __func__, desc->dev, desc->dev, in of_irq_init() 625 kfree(desc); in of_irq_init() 639 if (!desc) { in of_irq_init() 645 kfree(desc); in of_irq_init() 650 kfree(desc); in of_irq_init() [all …]
|
/openbmc/qemu/target/riscv/ |
H A D | vector_internals.h | 34 static inline uint32_t vext_nf(uint32_t desc) in vext_nf() argument 36 return FIELD_EX32(simd_data(desc), VDATA, NF); in vext_nf() 71 static inline int32_t vext_lmul(uint32_t desc) in vext_lmul() argument 76 static inline uint32_t vext_vm(uint32_t desc) in vext_vm() argument 78 return FIELD_EX32(simd_data(desc), VDATA, VM); in vext_vm() 81 static inline uint32_t vext_vma(uint32_t desc) in vext_vma() argument 83 return FIELD_EX32(simd_data(desc), VDATA, VMA); in vext_vma() 86 static inline uint32_t vext_vta(uint32_t desc) in vext_vta() argument 88 return FIELD_EX32(simd_data(desc), VDATA, VTA); in vext_vta() 116 uint32_t vlenb = simd_maxsz(desc); in vext_get_total_elems() [all …]
|
/openbmc/linux/drivers/dma/dw/ |
H A D | core.c | 85 if (!desc) in dwc_desc_get() 94 return desc; in dwc_desc_get() 111 dma_pool_free(dw->desc_pool, desc, desc->txd.phys); in dwc_desc_put() 327 desc->residue -= desc->len; in dwc_scan_descriptors() 365 desc->residue = desc->total_len; in dwc_scan_descriptors() 381 desc->residue -= desc->len; in dwc_scan_descriptors() 578 if (!desc) in dwc_prep_dma_memcpy() 595 prev = desc; in dwc_prep_dma_memcpy() 666 if (!desc) in dwc_prep_slave_sg() 714 if (!desc) in dwc_prep_slave_sg() [all …]
|
/openbmc/u-boot/drivers/fpga/ |
H A D | cyclon2.c | 38 int CYC2_load(Altera_desc *desc, const void *buf, size_t bsize) in CYC2_load() argument 42 switch (desc->iface) { in CYC2_load() 45 ret_val = CYC2_ps_load (desc, buf, bsize); in CYC2_load() 55 ret_val = CYC2_ps_load(desc, buf, bsize); in CYC2_load() 62 __FUNCTION__, desc->iface); in CYC2_load() 72 switch (desc->iface) { in CYC2_dump() 75 ret_val = CYC2_ps_dump (desc, buf, bsize); in CYC2_dump() 82 __FUNCTION__, desc->iface); in CYC2_dump() 88 int CYC2_info( Altera_desc *desc ) in CYC2_info() argument 98 Altera_CYC2_Passive_Serial_fns *fn = desc->iface_fns; in CYC2_ps_load() [all …]
|
/openbmc/linux/drivers/regulator/ |
H A D | rt5190a-regulator.c | 265 desc->name = regu_name[rid]; in rt5190a_fillin_regulator_desc() 266 desc->supply_name = supply[rid]; in rt5190a_fillin_regulator_desc() 267 desc->owner = THIS_MODULE; in rt5190a_fillin_regulator_desc() 268 desc->type = REGULATOR_VOLTAGE; in rt5190a_fillin_regulator_desc() 269 desc->id = rid; in rt5190a_fillin_regulator_desc() 280 desc->n_voltages = 1; in rt5190a_fillin_regulator_desc() 301 desc->n_voltages = 1; in rt5190a_fillin_regulator_desc() 306 desc->n_voltages = 1; in rt5190a_fillin_regulator_desc() 307 desc->ops = &rt5190a_fixed_ldo_ops; in rt5190a_fillin_regulator_desc() 333 match->desc = reg_desc; in rt5190a_parse_regulator_dt_data() [all …]
|
H A D | rt4803.c | 118 vsel = (uV - rdev->desc->min_uV) / rdev->desc->uV_step; in rt4803_set_suspend_voltage() 156 struct regulator_desc *desc; in rt4803_probe() local 162 desc = devm_kzalloc(dev, sizeof(*desc), GFP_KERNEL); in rt4803_probe() 163 if (!desc) in rt4803_probe() 177 desc->name = "rt4803-regulator"; in rt4803_probe() 178 desc->type = REGULATOR_VOLTAGE; in rt4803_probe() 179 desc->owner = THIS_MODULE; in rt4803_probe() 180 desc->ops = &rt4803_regulator_ops; in rt4803_probe() 181 desc->min_uV = RT4803_VOUT_MINUV; in rt4803_probe() 182 desc->uV_step = RT4803_VOUT_STEPUV; in rt4803_probe() [all …]
|
H A D | as3722-regulator.c | 666 desc = &as3722_regs->desc[id]; in as3722_regulator_probe() 685 desc->min_uV = 825000; in as3722_regulator_probe() 686 desc->uV_step = 25000; in as3722_regulator_probe() 699 desc->min_uV = 620000; in as3722_regulator_probe() 700 desc->uV_step = 20000; in as3722_regulator_probe() 748 desc->uV_step = 10000; in as3722_regulator_probe() 756 desc->csel_mask = in as3722_regulator_probe() 760 desc->csel_mask = in as3722_regulator_probe() 764 desc->csel_mask = in as3722_regulator_probe() 777 desc->n_linear_ranges = in as3722_regulator_probe() [all …]
|
H A D | db8500-prcmu.c | 215 .desc = { 225 .desc = { 235 .desc = { 245 .desc = { 255 .desc = { 265 .desc = { 278 .desc = { 288 .desc = { 298 .desc = { 309 .desc = { [all …]
|
/openbmc/linux/drivers/dma/ |
H A D | at_xdmac.c | 572 if (desc) { in at_xdmac_alloc_desc() 584 memset(&desc->lld, 0, sizeof(desc->lld)); in at_xdmac_init_used_desc() 625 if (!desc) in at_xdmac_increment_block_count() 836 __func__, &desc->lld.mbr_sa, &desc->lld.mbr_da, desc->lld.mbr_ubc); in at_xdmac_prep_slave_sg() 908 __func__, desc, &desc->tx_dma_desc.phys); in at_xdmac_prep_dma_cyclic() 925 __func__, &desc->lld.mbr_sa, &desc->lld.mbr_da, desc->lld.mbr_ubc); in at_xdmac_prep_dma_cyclic() 1061 __func__, &desc->lld.mbr_sa, &desc->lld.mbr_da, in at_xdmac_interleaved_queue_desc() 1062 desc->lld.mbr_ubc, desc->lld.mbr_cfg); in at_xdmac_interleaved_queue_desc() 1254 __func__, &desc->lld.mbr_sa, &desc->lld.mbr_da, desc->lld.mbr_ubc, desc->lld.mbr_cfg); in at_xdmac_prep_dma_memcpy() 1346 __func__, &desc->lld.mbr_da, desc->lld.mbr_ds, desc->lld.mbr_ubc, in at_xdmac_memset_create_desc() [all …]
|
H A D | pl330.c | 1034 desc = req->desc; in _trigger() 1532 xs.desc = desc; in pl330_submit_req() 1546 thrd->req[idx].desc = desc; in pl330_submit_req() 1562 if (!desc) in dma_pl330_rqcb() 2050 if (desc->status == BUSY || desc->status == PAUSED) in fill_queue() 2556 desc = kcalloc(count, sizeof(*desc), flg); in add_desc() 2557 if (!desc) in add_desc() 2592 return desc; in pluck_desc() 2765 if (!desc) in pl330_prep_dma_cyclic() 2788 if (!desc) in pl330_prep_dma_memcpy() [all …]
|
H A D | at_hdmac.c | 563 atchan->desc = desc = to_atdma_desc(&vd->tx); in atc_dostart() 748 desc = atchan->desc; in atc_get_residue() 750 if (!desc) in atc_get_residue() 771 struct at_desc *desc = atchan->desc; in atc_handle_error() local 796 desc = atchan->desc; in atdma_handle_chan_done() 923 if (!desc) in atc_prep_dma_interleaved() 986 if (!desc) in atc_prep_dma_memcpy() 1125 if (!desc) in atc_prep_dma_memset() 1185 if (!desc) in atc_prep_dma_memset_sg() 1268 if (!desc) in atc_prep_slave_sg() [all …]
|
/openbmc/linux/arch/arm64/crypto/ |
H A D | sha256-glue.c | 48 return sha256_base_do_update(desc, data, len, in crypto_sha256_arm64_update() 56 sha256_base_do_update(desc, data, len, in crypto_sha256_arm64_finup() 60 return sha256_base_finish(desc, out); in crypto_sha256_arm64_finup() 65 return crypto_sha256_arm64_finup(desc, NULL, 0, out); in crypto_sha256_arm64_final() 97 struct sha256_state *sctx = shash_desc_ctx(desc); in sha256_update_neon() 100 return sha256_base_do_update(desc, data, len, in sha256_update_neon() 130 sha256_base_do_update(desc, data, len, in sha256_finup_neon() 135 sha256_update_neon(desc, data, len); in sha256_finup_neon() 137 sha256_base_do_finalize(desc, __sha256_block_neon); in sha256_finup_neon() 140 return sha256_base_finish(desc, out); in sha256_finup_neon() [all …]
|
/openbmc/linux/drivers/i3c/ |
H A D | device.c | 88 if (dev->desc) in i3c_device_get_info() 89 *info = dev->desc->info; in i3c_device_get_info() 108 if (dev->desc) { in i3c_device_disable_ibi() 109 mutex_lock(&dev->desc->ibi_lock); in i3c_device_disable_ibi() 111 mutex_unlock(&dev->desc->ibi_lock); in i3c_device_disable_ibi() 137 if (dev->desc) { in i3c_device_enable_ibi() 138 mutex_lock(&dev->desc->ibi_lock); in i3c_device_enable_ibi() 168 if (dev->desc) { in i3c_device_request_ibi() 169 mutex_lock(&dev->desc->ibi_lock); in i3c_device_request_ibi() 190 if (dev->desc) { in i3c_device_free_ibi() [all …]
|
/openbmc/linux/drivers/net/wireless/ath/ath11k/ |
H A D | hw.c | 254 return desc->u.ipq8074.hdr_status; in ath11k_hw_ipq8074_rx_desc_get_hdr_status() 397 return desc->u.ipq8074.mpdu_start.addr2; in ath11k_hw_ipq8074_rx_desc_mpdu_start_addr2() 403 return &desc->u.ipq8074.attention; in ath11k_hw_ipq8074_rx_desc_get_attention() 408 return &desc->u.ipq8074.msdu_payload[0]; in ath11k_hw_ipq8074_rx_desc_get_msdu_payload() 431 return desc->u.qcn9074.hdr_status; in ath11k_hw_qcn9074_rx_desc_get_hdr_status() 569 return &desc->u.qcn9074.attention; in ath11k_hw_qcn9074_rx_desc_get_attention() 574 return &desc->u.qcn9074.msdu_payload[0]; in ath11k_hw_qcn9074_rx_desc_get_msdu_payload() 585 return desc->u.qcn9074.mpdu_start.addr2; in ath11k_hw_ipq9074_rx_desc_mpdu_start_addr2() 608 return desc->u.wcn6855.hdr_status; in ath11k_hw_wcn6855_rx_desc_get_hdr_status() 740 return &desc->u.wcn6855.attention; in ath11k_hw_wcn6855_rx_desc_get_attention() [all …]
|
H A D | hal_rx.c | 80 desc->info0 |= in ath11k_hal_reo_cmd_flush_cache() 110 desc->info0 = in ath11k_hal_reo_cmd_update_rx_queue() 158 desc->info1 = in ath11k_hal_reo_cmd_update_rx_queue() 203 desc->info2 = in ath11k_hal_reo_cmd_update_rx_queue() 328 desc->info0); in ath11k_hal_desc_reo_parse_err() 456 desc->pn[0], desc->pn[1], desc->pn[2], desc->pn[3]); in ath11k_hal_reo_status_queue_stats() 463 desc->rx_bitmap[0], desc->rx_bitmap[1], desc->rx_bitmap[2], in ath11k_hal_reo_status_queue_stats() 464 desc->rx_bitmap[3], desc->rx_bitmap[4], desc->rx_bitmap[5], in ath11k_hal_reo_status_queue_stats() 465 desc->rx_bitmap[6], desc->rx_bitmap[7]); in ath11k_hal_reo_status_queue_stats() 484 desc->num_mpdu_frames, desc->num_msdu_frames, in ath11k_hal_reo_status_queue_stats() [all …]
|
/openbmc/u-boot/drivers/power/regulator/ |
H A D | pfuze100.c | 253 return desc; in se_desc() 286 if (!desc) { in pfuze100_regulator_probe() 291 plat->desc = desc; in pfuze100_regulator_probe() 318 struct pfuze100_regulator_desc *desc = plat->desc; in pfuze100_regulator_mode() local 324 desc->vsel_reg); in pfuze100_regulator_mode() 335 desc->vsel_reg + in pfuze100_regulator_mode() 452 struct pfuze100_regulator_desc *desc = plat->desc; in pfuze100_regulator_val() local 459 *uV = desc->voltage; in pfuze100_regulator_val() 464 val &= desc->vsel_mask; in pfuze100_regulator_val() 474 val &= desc->vsel_mask; in pfuze100_regulator_val() [all …]
|
/openbmc/u-boot/lib/efi_loader/ |
H A D | efi_disk.c | 41 struct blk_desc *desc; member 61 struct blk_desc *desc; in efi_disk_rw_blocks() local 67 desc = (struct blk_desc *) diskobj->desc; in efi_disk_rw_blocks() 68 blksz = desc->blksz; in efi_disk_rw_blocks() 235 struct blk_desc *desc, in efi_disk_add_dev() argument 245 if (!desc->lba) in efi_disk_add_dev() 286 diskobj->desc = desc; in efi_disk_add_dev() 374 desc, desc->devnum, 0, 0, &disk); in efi_disk_register() 406 struct blk_desc *desc; in efi_disk_register() local 410 if (!desc) in efi_disk_register() [all …]
|
/openbmc/linux/drivers/clk/mvebu/ |
H A D | common.c | 124 if (desc->get_refclk_freq) in mvebu_coreclk_setup() 137 rate = desc->get_tclk_freq(base); in mvebu_coreclk_setup() 145 rate = desc->get_cpu_freq(base); in mvebu_coreclk_setup() 147 if (desc->is_sscg_enabled && desc->fix_sscg_deviation in mvebu_coreclk_setup() 148 && desc->is_sscg_enabled(base)) in mvebu_coreclk_setup() 162 desc->get_clk_ratio(base, desc->ratios[n].id, &mult, &div); in mvebu_coreclk_setup() 169 if (desc->get_refclk_freq) { in mvebu_coreclk_setup() 173 rate = desc->get_refclk_freq(base); in mvebu_coreclk_setup() 267 for (n = 0; desc[n].name;) in mvebu_clk_gating_setup() 278 (desc[n].parent) ? desc[n].parent : default_parent; in mvebu_clk_gating_setup() [all …]
|
/openbmc/linux/drivers/clk/mediatek/ |
H A D | reset.c | 114 const struct mtk_clk_rst_desc *desc) in mtk_register_reset_controller() argument 121 if (!desc) { in mtk_register_reset_controller() 126 switch (desc->version) { in mtk_register_reset_controller() 148 data->desc = desc; in mtk_register_reset_controller() 154 if (data->desc->rst_idx_map_nr > 0) { in mtk_register_reset_controller() 156 data->rcdev.nr_resets = desc->rst_idx_map_nr; in mtk_register_reset_controller() 173 const struct mtk_clk_rst_desc *desc) in mtk_register_reset_controller_with_dev() argument 181 if (!desc) { in mtk_register_reset_controller_with_dev() 186 switch (desc->version) { in mtk_register_reset_controller_with_dev() 208 data->desc = desc; in mtk_register_reset_controller_with_dev() [all …]
|
/openbmc/linux/drivers/staging/greybus/ |
H A D | audio_manager_module.c | 88 return sprintf(buf, "%d", module->desc.vid); in gb_audio_module_vid_show() 97 return sprintf(buf, "%d", module->desc.pid); in gb_audio_module_pid_show() 177 module->desc.ip_devices); in send_add_uevent() 179 module->desc.op_devices); in send_add_uevent() 202 memcpy(&m->desc, desc, sizeof(*desc)); in gb_audio_manager_module_create() 235 module->desc.name, in gb_audio_manager_module_dump() 236 module->desc.vid, in gb_audio_manager_module_dump() 237 module->desc.pid, in gb_audio_manager_module_dump() 238 module->desc.intf_id, in gb_audio_manager_module_dump() 239 module->desc.ip_devices, in gb_audio_manager_module_dump() [all …]
|
/openbmc/linux/drivers/staging/media/atomisp/pci/runtime/queue/src/ |
H A D | queue.c | 27 if (NULL == qhandle || NULL == desc in ia_css_queue_local_init() 28 || NULL == desc->cb_elems || NULL == desc->cb_desc) { in ia_css_queue_local_init() 37 ia_css_circbuf_create(&qhandle->desc.cb_local, in ia_css_queue_local_init() 38 desc->cb_elems, in ia_css_queue_local_init() 39 desc->cb_desc); in ia_css_queue_local_init() 46 if (NULL == qhandle || NULL == desc) { in ia_css_queue_remote_init() 55 qhandle->location = desc->location; in ia_css_queue_remote_init() 56 qhandle->proc_id = desc->proc_id; in ia_css_queue_remote_init() 57 qhandle->desc.remote.cb_desc_addr = desc->cb_desc_addr; in ia_css_queue_remote_init() 58 qhandle->desc.remote.cb_elems_addr = desc->cb_elems_addr; in ia_css_queue_remote_init() [all …]
|
/openbmc/linux/include/linux/ |
H A D | elfnote.h | 56 #define ELFNOTE(name, type, desc) \ argument 58 desc ; \ 72 #define _ELFNOTE(size, name, unique, type, desc) \ argument 77 typeof(desc) _desc \ 86 sizeof(desc), \ 90 desc \ 92 #define ELFNOTE(size, name, type, desc) \ argument 93 _ELFNOTE(size, name, __LINE__, type, desc) 95 #define ELFNOTE32(name, type, desc) ELFNOTE(32, name, type, desc) argument 96 #define ELFNOTE64(name, type, desc) ELFNOTE(64, name, type, desc) argument
|
/openbmc/libpldm/src/transport/ |
H A D | test.c | 42 const struct pldm_transport_test_descriptor *desc; in pldm_transport_test_init_pollfd() local 54 desc = &test->seq[test->cursor]; in pldm_transport_test_init_pollfd() 106 const struct pldm_transport_test_descriptor *desc; in pldm_transport_test_recv() local 113 desc = &test->seq[test->cursor]; in pldm_transport_test_recv() 119 msg = malloc(desc->recv_msg.len); in pldm_transport_test_recv() 124 memcpy(msg, desc->recv_msg.msg, desc->recv_msg.len); in pldm_transport_test_recv() 126 *resp_msg_len = desc->recv_msg.len; in pldm_transport_test_recv() 127 *tid = desc->recv_msg.src; in pldm_transport_test_recv() 146 desc = &test->seq[test->cursor]; in pldm_transport_test_send() 152 if (desc->send_msg.dst != tid) { in pldm_transport_test_send() [all …]
|
/openbmc/linux/drivers/scsi/lpfc/ |
H A D | lpfc_attr.h | 27 MODULE_PARM_DESC(lpfc_##name, desc);\ 33 MODULE_PARM_DESC(lpfc_##name, desc);\ 41 MODULE_PARM_DESC(lpfc_##name, desc);\ 52 MODULE_PARM_DESC(lpfc_##name, desc);\ 62 MODULE_PARM_DESC(lpfc_##name, desc);\ 70 MODULE_PARM_DESC(lpfc_##name, desc);\ 81 MODULE_PARM_DESC(lpfc_##name, desc);\ 87 MODULE_PARM_DESC(lpfc_##name, desc);\ 95 MODULE_PARM_DESC(lpfc_##name, desc);\ 103 MODULE_PARM_DESC(lpfc_##name, desc);\ [all …]
|
/openbmc/qemu/plugins/ |
H A D | loader.c | 62 .desc = { 84 struct qemu_plugin_desc *desc; in plugin_find_desc() local 88 return desc; in plugin_find_desc() 191 ctx->desc = desc; in plugin_load() 207 desc->path); in plugin_load() 249 rc = install(ctx->id, info, desc->argc, desc->argv); in plugin_load() 279 g_free(desc->argv[i]); in plugin_desc_free() 281 g_free(desc->argv); in plugin_desc_free() 282 g_free(desc->path); in plugin_desc_free() 283 g_free(desc); in plugin_desc_free() [all …]
|