/Linux-v5.15/drivers/dma/ |
D | img-mdc-dma.c | 260 static void mdc_list_desc_free(struct mdc_tx_desc *mdesc) in mdc_list_desc_free() argument 262 struct mdc_dma *mdma = mdesc->chan->mdma; in mdc_list_desc_free() 266 curr = mdesc->list; in mdc_list_desc_free() 267 curr_phys = mdesc->list_phys; in mdc_list_desc_free() 279 struct mdc_tx_desc *mdesc = to_mdc_desc(&vd->tx); in mdc_desc_free() local 281 mdc_list_desc_free(mdesc); in mdc_desc_free() 282 kfree(mdesc); in mdc_desc_free() 291 struct mdc_tx_desc *mdesc; in mdc_prep_dma_memcpy() local 298 mdesc = kzalloc(sizeof(*mdesc), GFP_NOWAIT); in mdc_prep_dma_memcpy() 299 if (!mdesc) in mdc_prep_dma_memcpy() [all …]
|
D | mpc512x_dma.c | 259 struct mpc_dma_desc *mdesc; in mpc_dma_execute() local 263 mdesc = list_first_entry(&mchan->queued, in mpc_dma_execute() 271 if (mdesc->will_access_peripheral) { in mpc_dma_execute() 273 list_move_tail(&mdesc->node, &mchan->active); in mpc_dma_execute() 276 list_move_tail(&mdesc->node, &mchan->active); in mpc_dma_execute() 281 list_for_each_entry(mdesc, &mchan->active, node) { in mpc_dma_execute() 283 first = mdesc; in mpc_dma_execute() 286 prev = mdesc; in mpc_dma_execute() 290 prev->tcd->dlast_sga = mdesc->tcd_paddr; in mpc_dma_execute() 292 mdesc->tcd->start = 1; in mpc_dma_execute() [all …]
|
/Linux-v5.15/drivers/dma/qcom/ |
D | hidma.c | 114 struct hidma_desc *mdesc; in hidma_process_completed() local 127 list_for_each_entry_safe(mdesc, next, &list, node) { in hidma_process_completed() 132 desc = &mdesc->desc; in hidma_process_completed() 135 llstat = hidma_ll_status(mdma->lldev, mdesc->tre_ch); in hidma_process_completed() 153 list_move(&mdesc->node, &mchan->free); in hidma_process_completed() 167 struct hidma_desc *mdesc = data; in hidma_callback() local 168 struct hidma_chan *mchan = to_hidma_chan(mdesc->desc.chan); in hidma_callback() 175 if (mdesc->node.next) { in hidma_callback() 177 list_move_tail(&mdesc->node, &mchan->completed); in hidma_callback() 315 struct hidma_desc *mdesc; in hidma_tx_submit() local [all …]
|
D | hidma_dbg.c | 87 struct hidma_desc *mdesc; in hidma_chan_show() local 94 list_for_each_entry(mdesc, &mchan->prepared, node) in hidma_chan_show() 95 hidma_ll_chstats(s, mchan->dmadev->lldev, mdesc->tre_ch); in hidma_chan_show() 98 list_for_each_entry(mdesc, &mchan->active, node) in hidma_chan_show() 99 hidma_ll_chstats(s, mchan->dmadev->lldev, mdesc->tre_ch); in hidma_chan_show() 102 list_for_each_entry(mdesc, &mchan->completed, node) in hidma_chan_show() 103 hidma_ll_chstats(s, mchan->dmadev->lldev, mdesc->tre_ch); in hidma_chan_show()
|
/Linux-v5.15/arch/arc/kernel/ |
D | devtree.c | 41 static const struct machine_desc *mdesc = __arch_info_begin; in arch_get_next_mach() local 42 const struct machine_desc *m = mdesc; in arch_get_next_mach() 47 mdesc++; in arch_get_next_mach() 61 const struct machine_desc *mdesc; in setup_machine_fdt() local 67 mdesc = of_flat_dt_match_machine(NULL, arch_get_next_mach); in setup_machine_fdt() 68 if (!mdesc) in setup_machine_fdt() 74 return mdesc; in setup_machine_fdt()
|
/Linux-v5.15/arch/arm/kernel/ |
D | devtree.c | 193 static const struct machine_desc *mdesc = __arch_info_begin; in arch_get_next_mach() local 194 const struct machine_desc *m = mdesc; in arch_get_next_mach() 199 mdesc++; in arch_get_next_mach() 213 const struct machine_desc *mdesc, *mdesc_best = NULL; in setup_machine_fdt() local 227 mdesc = of_flat_dt_match_machine(mdesc_best, arch_get_next_mach); in setup_machine_fdt() 229 if (!mdesc) { in setup_machine_fdt() 250 if (mdesc->dt_fixup) in setup_machine_fdt() 251 mdesc->dt_fixup(); in setup_machine_fdt() 256 __machine_arch_type = mdesc->nr; in setup_machine_fdt() 258 return mdesc; in setup_machine_fdt()
|
D | setup.c | 848 static void __init request_standard_resources(const struct machine_desc *mdesc) in request_standard_resources() argument 906 if (mdesc->video_start) { in request_standard_resources() 907 video_ram.start = mdesc->video_start; in request_standard_resources() 908 video_ram.end = mdesc->video_end; in request_standard_resources() 916 if (mdesc->reserve_lp0) in request_standard_resources() 918 if (mdesc->reserve_lp1) in request_standard_resources() 920 if (mdesc->reserve_lp2) in request_standard_resources() 1096 const struct machine_desc *mdesc = NULL; in setup_arch() local 1104 mdesc = setup_machine_fdt(atags_vaddr); in setup_arch() 1105 if (mdesc) in setup_arch() [all …]
|
D | atags_parse.c | 180 const struct machine_desc *mdesc = NULL, *p; in setup_machine_tags() local 191 mdesc = p; in setup_machine_tags() 195 if (!mdesc) in setup_machine_tags() 200 else if (mdesc->atag_offset) in setup_machine_tags() 201 tags = (void *)(PAGE_OFFSET + mdesc->atag_offset); in setup_machine_tags() 216 if (mdesc->fixup) in setup_machine_tags() 217 mdesc->fixup(tags, &from); in setup_machine_tags() 229 return mdesc; in setup_machine_tags()
|
/Linux-v5.15/arch/sparc/kernel/ |
D | mdesc.c | 78 struct mdesc_hdr mdesc; member 153 BUG_ON(((unsigned long)&hp->mdesc) & (16UL - 1)); in mdesc_handle_init() 517 status = sun4v_mach_desc(__pa(&hp->mdesc), len, &real_len); in mdesc_update() 614 static struct mdesc_elem *node_block(struct mdesc_hdr *mdesc) in node_block() argument 616 return (struct mdesc_elem *) mdesc->data; in node_block() 619 static void *name_block(struct mdesc_hdr *mdesc) in name_block() argument 621 return ((void *) node_block(mdesc)) + mdesc->node_sz; in name_block() 624 static void *data_block(struct mdesc_hdr *mdesc) in data_block() argument 626 return ((void *) name_block(mdesc)) + mdesc->name_sz; in data_block() 632 struct mdesc_elem *ep = node_block(&hp->mdesc); in mdesc_node_by_name() [all …]
|
D | Makefile | 72 obj-$(CONFIG_SPARC64) += mdesc.o
|
/Linux-v5.15/drivers/crypto/ |
D | n2_core.c | 1673 static int spu_mdesc_walk_arcs(struct mdesc_handle *mdesc, in spu_mdesc_walk_arcs() argument 1680 mdesc_for_each_arc(arc, mdesc, node, MDESC_ARC_TYPE_BACK) { in spu_mdesc_walk_arcs() 1681 u64 tgt = mdesc_arc_target(mdesc, arc); in spu_mdesc_walk_arcs() 1682 const char *name = mdesc_node_name(mdesc, tgt); in spu_mdesc_walk_arcs() 1687 id = mdesc_get_property(mdesc, tgt, "id", NULL); in spu_mdesc_walk_arcs() 1701 struct platform_device *dev, struct mdesc_handle *mdesc, in handle_exec_unit() argument 1721 err = spu_mdesc_walk_arcs(mdesc, dev, node, p, table); in handle_exec_unit() 1732 static int spu_mdesc_scan(struct mdesc_handle *mdesc, struct platform_device *dev, in spu_mdesc_scan() argument 1740 mdesc_for_each_node_by_name(mdesc, node, "exec-unit") { in spu_mdesc_scan() 1743 type = mdesc_get_property(mdesc, node, "type", NULL); in spu_mdesc_scan() [all …]
|
/Linux-v5.15/arch/arm/mm/ |
D | init.c | 97 void __init setup_dma_zone(const struct machine_desc *mdesc) in setup_dma_zone() argument 100 if (mdesc->dma_zone_size) { in setup_dma_zone() 101 arm_dma_zone_size = mdesc->dma_zone_size; in setup_dma_zone() 224 void __init arm_memblock_init(const struct machine_desc *mdesc) in arm_memblock_init() argument 234 if (mdesc->reserve) in arm_memblock_init() 235 mdesc->reserve(); in arm_memblock_init()
|
D | mmu.c | 1337 static void __init devicemaps_init(const struct machine_desc *mdesc) in devicemaps_init() argument 1427 if (mdesc->map_io) in devicemaps_init() 1428 mdesc->map_io(); in devicemaps_init() 1597 static void __init early_paging_init(const struct machine_desc *mdesc) in early_paging_init() argument 1604 if (!mdesc->pv_fixup) in early_paging_init() 1607 offset = mdesc->pv_fixup(); in early_paging_init() 1670 static void __init early_paging_init(const struct machine_desc *mdesc) in early_paging_init() argument 1674 if (!mdesc->pv_fixup) in early_paging_init() 1677 offset = mdesc->pv_fixup(); in early_paging_init() 1722 void __init paging_init(const struct machine_desc *mdesc) in paging_init() argument [all …]
|
D | nommu.c | 149 void __init paging_init(const struct machine_desc *mdesc) in paging_init() argument
|
/Linux-v5.15/drivers/infiniband/ulp/iser/ |
D | iser_initiator.c | 505 struct iser_tx_desc *mdesc = &iser_task->desc; in iser_send_control() local 511 mdesc->type = ISCSI_TX_CONTROL; in iser_send_control() 512 mdesc->cqe.done = iser_ctrl_comp; in iser_send_control() 513 iser_create_send_desc(iser_conn, mdesc); in iser_send_control() 521 struct ib_sge *tx_dsg = &mdesc->tx_sg[1]; in iser_send_control() 539 mdesc->num_sge = 2; in iser_send_control() 553 err = iser_post_send(&iser_conn->ib_conn, mdesc, true); in iser_send_control()
|