/linux/drivers/dma/ |
A D | img-mdc-dma.c | 282 kfree(mdesc); in mdc_desc_free() 298 mdesc = kzalloc(sizeof(*mdesc), GFP_NOWAIT); in mdc_prep_dma_memcpy() 299 if (!mdesc) in mdc_prep_dma_memcpy() 386 mdesc = kzalloc(sizeof(*mdesc), GFP_NOWAIT); in mdc_prep_dma_cyclic() 387 if (!mdesc) in mdc_prep_dma_cyclic() 469 mdesc = kzalloc(sizeof(*mdesc), GFP_NOWAIT); in mdc_prep_slave_sg() 470 if (!mdesc) in mdc_prep_slave_sg() 772 if (!mdesc) { in mdc_chan_irq() 792 mdesc->list_cmds_done %= mdesc->list_len; in mdc_chan_irq() 793 if (mdesc->list_cmds_done % mdesc->list_period_len == 0) in mdc_chan_irq() [all …]
|
A D | mpc512x_dma.c | 283 first = mdesc; in mpc_dma_execute() 286 prev = mdesc; in mpc_dma_execute() 294 prev = mdesc; in mpc_dma_execute() 507 if (!mdesc) { in mpc_dma_alloc_chan_resources() 576 kfree(mdesc); in mpc_dma_free_chan_resources() 619 if (!mdesc) { in mpc_dma_prep_memcpy() 625 mdesc->error = 0; in mpc_dma_prep_memcpy() 627 tcd = mdesc->tcd; in mpc_dma_prep_memcpy() 711 if (!mdesc) { in mpc_dma_prep_slave_sg() 733 mdesc->error = 0; in mpc_dma_prep_slave_sg() [all …]
|
/linux/drivers/dma/qcom/ |
A D | hidma.c | 114 struct hidma_desc *mdesc; in hidma_process_completed() local 132 desc = &mdesc->desc; in hidma_process_completed() 175 if (mdesc->node.next) { in hidma_callback() 358 if (!mdesc) { in hidma_alloc_chan_resources() 371 kfree(mdesc); in hidma_alloc_chan_resources() 381 kfree(mdesc); in hidma_alloc_chan_resources() 410 if (!mdesc) in hidma_prep_dma_memcpy() 423 return &mdesc->desc; in hidma_prep_dma_memcpy() 443 if (!mdesc) in hidma_prep_dma_memset() 456 return &mdesc->desc; in hidma_prep_dma_memset() [all …]
|
A 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/arch/arm/kernel/ |
A 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 209 mdesc = of_flat_dt_match_machine(mdesc_best, arch_get_next_mach); in setup_machine_fdt() 211 if (!mdesc) { in setup_machine_fdt() 232 if (mdesc->dt_fixup) in setup_machine_fdt() 233 mdesc->dt_fixup(); in setup_machine_fdt() 238 __machine_arch_type = mdesc->nr; in setup_machine_fdt() 240 return mdesc; in setup_machine_fdt()
|
A D | setup.c | 1105 if (mdesc) in setup_arch() 1109 if (!mdesc) in setup_arch() 1111 if (!mdesc) { in setup_arch() 1120 machine_desc = mdesc; in setup_arch() 1139 early_mm_init(mdesc); in setup_arch() 1141 setup_dma_zone(mdesc); in setup_arch() 1155 paging_init(mdesc); in setup_arch() 1159 if (mdesc->restart) { in setup_arch() 1170 if (!mdesc->smp_init || !mdesc->smp_init()) { in setup_arch() 1173 else if (mdesc->smp) in setup_arch() [all …]
|
A 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/arch/arc/kernel/ |
A 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/arch/sparc/kernel/ |
A D | mdesc.c | 78 struct mdesc_hdr mdesc; member 621 return ((void *) node_block(mdesc)) + mdesc->node_sz; in name_block() 626 return ((void *) name_block(mdesc)) + mdesc->name_sz; in data_block() 634 u64 last_node = hp->mdesc.node_sz / 16; in mdesc_node_by_name() 662 u64 last_node = hp->mdesc.node_sz / 16; in mdesc_get_property() 663 void *data = data_block(&hp->mdesc); in mdesc_get_property() 669 ep = node_block(&hp->mdesc) + node; in mdesc_get_property() 708 u64 last_node = hp->mdesc.node_sz / 16; in mdesc_next_arc() 1268 unsigned char *mdesc; in mdesc_read() local 1278 mdesc = (unsigned char *)&hp->mdesc; in mdesc_read() [all …]
|
A D | Makefile | 72 obj-$(CONFIG_SPARC64) += mdesc.o
|
/linux/drivers/crypto/ |
A D | n2_core.c | 1810 return get_irq_props(mdesc, node, ip); in grab_mdesc_irq_props() 1937 struct mdesc_handle *mdesc; in n2_crypto_probe() local 1959 mdesc = mdesc_grab(); in n2_crypto_probe() 1961 if (!mdesc) { in n2_crypto_probe() 1971 mdesc_release(mdesc); in n2_crypto_probe() 1978 mdesc_release(mdesc); in n2_crypto_probe() 2044 struct mdesc_handle *mdesc; in n2_mau_probe() local 2066 mdesc = mdesc_grab(); in n2_mau_probe() 2068 if (!mdesc) { in n2_mau_probe() 2079 mdesc_release(mdesc); in n2_mau_probe() [all …]
|
/linux/arch/arm/mm/ |
A 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()
|
A 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() 1604 if (!mdesc->pv_fixup) in early_paging_init() 1607 offset = mdesc->pv_fixup(); in early_paging_init() 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 1740 devicemaps_init(mdesc); in paging_init() 1755 void __init early_mm_init(const struct machine_desc *mdesc) in early_mm_init() argument [all …]
|
A D | nommu.c | 149 void __init paging_init(const struct machine_desc *mdesc) in paging_init() argument
|
/linux/drivers/infiniband/ulp/iser/ |
A 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()
|