/linux-6.6.21/drivers/dma/ |
D | img-mdc-dma.c | 259 static void mdc_list_desc_free(struct mdc_tx_desc *mdesc) in mdc_list_desc_free() argument 261 struct mdc_dma *mdma = mdesc->chan->mdma; in mdc_list_desc_free() 265 curr = mdesc->list; in mdc_list_desc_free() 266 curr_phys = mdesc->list_phys; in mdc_list_desc_free() 278 struct mdc_tx_desc *mdesc = to_mdc_desc(&vd->tx); in mdc_desc_free() local 280 mdc_list_desc_free(mdesc); in mdc_desc_free() 281 kfree(mdesc); in mdc_desc_free() 290 struct mdc_tx_desc *mdesc; in mdc_prep_dma_memcpy() local 297 mdesc = kzalloc(sizeof(*mdesc), GFP_NOWAIT); in mdc_prep_dma_memcpy() 298 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-6.6.21/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() 314 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-6.6.21/arch/arc/kernel/ |
D | devtree.c | 42 static const struct machine_desc *mdesc = __arch_info_begin; in arch_get_next_mach() local 43 const struct machine_desc *m = mdesc; in arch_get_next_mach() 48 mdesc++; in arch_get_next_mach() 62 const struct machine_desc *mdesc; in setup_machine_fdt() local 68 mdesc = of_flat_dt_match_machine(NULL, arch_get_next_mach); in setup_machine_fdt() 69 if (!mdesc) in setup_machine_fdt() 75 return mdesc; in setup_machine_fdt()
|
/linux-6.6.21/arch/arm/kernel/ |
D | devtree.c | 175 static const struct machine_desc *mdesc = __arch_info_begin; in arch_get_next_mach() local 176 const struct machine_desc *m = mdesc; in arch_get_next_mach() 181 mdesc++; in arch_get_next_mach() 195 const struct machine_desc *mdesc, *mdesc_best = NULL; in setup_machine_fdt() local 207 mdesc = of_flat_dt_match_machine(mdesc_best, arch_get_next_mach); in setup_machine_fdt() 209 if (!mdesc) { in setup_machine_fdt() 230 if (mdesc->dt_fixup) in setup_machine_fdt() 231 mdesc->dt_fixup(); in setup_machine_fdt() 236 __machine_arch_type = mdesc->nr; in setup_machine_fdt() 238 return mdesc; in setup_machine_fdt()
|
D | setup.c | 855 static void __init request_standard_resources(const struct machine_desc *mdesc) in request_standard_resources() argument 913 if (mdesc->video_start) { in request_standard_resources() 914 video_ram.start = mdesc->video_start; in request_standard_resources() 915 video_ram.end = mdesc->video_end; in request_standard_resources() 923 if (mdesc->reserve_lp0) in request_standard_resources() 925 if (mdesc->reserve_lp1) in request_standard_resources() 927 if (mdesc->reserve_lp2) in request_standard_resources() 1104 const struct machine_desc *mdesc = NULL; in setup_arch() local 1112 mdesc = setup_machine_fdt(atags_vaddr); in setup_arch() 1113 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-6.6.21/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 | 71 obj-$(CONFIG_SPARC64) += mdesc.o
|
/linux-6.6.21/drivers/crypto/ |
D | n2_core.c | 1680 static int spu_mdesc_walk_arcs(struct mdesc_handle *mdesc, in spu_mdesc_walk_arcs() argument 1687 mdesc_for_each_arc(arc, mdesc, node, MDESC_ARC_TYPE_BACK) { in spu_mdesc_walk_arcs() 1688 u64 tgt = mdesc_arc_target(mdesc, arc); in spu_mdesc_walk_arcs() 1689 const char *name = mdesc_node_name(mdesc, tgt); in spu_mdesc_walk_arcs() 1694 id = mdesc_get_property(mdesc, tgt, "id", NULL); in spu_mdesc_walk_arcs() 1708 struct platform_device *dev, struct mdesc_handle *mdesc, in handle_exec_unit() argument 1728 err = spu_mdesc_walk_arcs(mdesc, dev, node, p, table); in handle_exec_unit() 1739 static int spu_mdesc_scan(struct mdesc_handle *mdesc, struct platform_device *dev, in spu_mdesc_scan() argument 1747 mdesc_for_each_node_by_name(mdesc, node, "exec-unit") { in spu_mdesc_scan() 1750 type = mdesc_get_property(mdesc, node, "type", NULL); in spu_mdesc_scan() [all …]
|
/linux-6.6.21/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() 183 void __init arm_memblock_init(const struct machine_desc *mdesc) in arm_memblock_init() argument 193 if (mdesc->reserve) in arm_memblock_init() 194 mdesc->reserve(); in arm_memblock_init()
|
D | mmu.c | 1377 static void __init devicemaps_init(const struct machine_desc *mdesc) in devicemaps_init() argument 1467 if (mdesc->map_io) in devicemaps_init() 1468 mdesc->map_io(); in devicemaps_init() 1637 static void __init early_paging_init(const struct machine_desc *mdesc) in early_paging_init() argument 1644 if (!mdesc->pv_fixup) in early_paging_init() 1647 offset = mdesc->pv_fixup(); in early_paging_init() 1710 static void __init early_paging_init(const struct machine_desc *mdesc) in early_paging_init() argument 1714 if (!mdesc->pv_fixup) in early_paging_init() 1717 offset = mdesc->pv_fixup(); in early_paging_init() 1762 void __init paging_init(const struct machine_desc *mdesc) in paging_init() argument [all …]
|
D | nommu.c | 157 void __init paging_init(const struct machine_desc *mdesc) in paging_init() argument
|
/linux-6.6.21/drivers/infiniband/ulp/iser/ |
D | iser_initiator.c | 477 struct iser_tx_desc *mdesc = &iser_task->desc; in iser_send_control() local 483 iser_create_send_desc(iser_conn, mdesc, ISCSI_TX_CONTROL, in iser_send_control() 492 struct ib_sge *tx_dsg = &mdesc->tx_sg[1]; in iser_send_control() 510 mdesc->num_sge = 2; in iser_send_control() 524 err = iser_post_send(&iser_conn->ib_conn, mdesc); in iser_send_control()
|