Home
last modified time | relevance | path

Searched refs:mdesc (Results 1 – 9 of 9) sorted by relevance

/linux/drivers/dma/
H A Dimg-mdc-dma.c259 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_obj(*mdesc, GFP_NOWAI in mdc_prep_dma_memcpy()
372 struct mdc_tx_desc *mdesc; mdc_prep_dma_cyclic() local
453 struct mdc_tx_desc *mdesc; mdc_prep_slave_sg() local
527 struct mdc_tx_desc *mdesc; mdc_issue_desc() local
574 struct mdc_tx_desc *mdesc; mdc_tx_status() local
758 struct mdc_tx_desc *mdesc; mdc_chan_irq() local
[all...]
H A Dmpc512x_dma.c259 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 in mpc_dma_execute()
321 struct mpc_dma_desc *mdesc; mpc_dma_irq_process() local
380 struct mpc_dma_desc *mdesc; mpc_dma_process_completed() local
463 struct mpc_dma_desc *mdesc; mpc_dma_tx_submit() local
490 struct mpc_dma_desc *mdesc; mpc_dma_alloc_chan_resources() local
548 struct mpc_dma_desc *mdesc, *tmp; mpc_dma_free_chan_resources() local
606 struct mpc_dma_desc *mdesc = NULL; mpc_dma_prep_memcpy() local
690 struct mpc_dma_desc *mdesc = NULL; mpc_dma_prep_slave_sg() local
[all...]
/linux/drivers/dma/qcom/
H A Dhidma.c112 struct hidma_desc *mdesc; in hidma_process_completed() local
125 list_for_each_entry_safe(mdesc, next, &list, node) { in hidma_process_completed()
130 desc = &mdesc->desc; in hidma_process_completed()
133 llstat = hidma_ll_status(mdma->lldev, mdesc->tre_ch); in hidma_process_completed()
151 list_move(&mdesc->node, &mchan->free); in hidma_process_completed()
165 struct hidma_desc *mdesc = data; in hidma_callback() local
166 struct hidma_chan *mchan = to_hidma_chan(mdesc->desc.chan); in hidma_callback()
173 if (mdesc->node.next) { in hidma_callback()
175 list_move_tail(&mdesc->node, &mchan->completed); in hidma_callback()
312 struct hidma_desc *mdesc; in hidma_tx_submit() local
343 struct hidma_desc *mdesc, *tmp; hidma_alloc_chan_resources() local
395 struct hidma_desc *mdesc = NULL; hidma_prep_dma_memcpy() local
428 struct hidma_desc *mdesc = NULL; hidma_prep_dma_memset() local
471 struct hidma_desc *tmp, *mdesc; hidma_terminate_channel() local
536 struct hidma_desc *mdesc, *tmp; hidma_free_chan_resources() local
[all...]
H A Dhidma_dbg.c87 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/x86/coco/sev/
H A Dcore.c1575 int snp_msg_init(struct snp_msg_desc *mdesc, int vmpck_id) in snp_msg_init() argument
1581 mdesc->vmpck = get_vmpck(vmpck_id, mdesc->secrets, &mdesc->os_area_msg_seqno); in snp_msg_init()
1582 if (!mdesc->vmpck) { in snp_msg_init()
1588 if (!memchr_inv(mdesc->vmpck, 0, VMPCK_KEY_LEN)) { in snp_msg_init()
1593 mdesc->vmpck_id = vmpck_id; in snp_msg_init()
1595 mdesc->gcm_key = snp_init_crypto(mdesc->vmpck, VMPCK_KEY_LEN); in snp_msg_init()
1596 if (!mdesc->gcm_key) in snp_msg_init()
1605 struct snp_msg_desc *mdesc; in snp_msg_alloc() local
1610 mdesc = kzalloc_obj(struct snp_msg_desc); in snp_msg_alloc()
1611 if (!mdesc) in snp_msg_alloc()
[all …]
/linux/arch/arm/kernel/
H A Dsetup.c855 static void __init request_standard_resources(const struct machine_desc *mdesc) in request_standard_resources() argument
907 if (mdesc->video_start) { in request_standard_resources()
908 video_ram.start = mdesc->video_start; in request_standard_resources()
909 video_ram.end = mdesc->video_end; in request_standard_resources()
917 if (mdesc->reserve_lp0) in request_standard_resources()
919 if (mdesc->reserve_lp1) in request_standard_resources()
921 if (mdesc->reserve_lp2) in request_standard_resources()
1098 const struct machine_desc *mdesc = NULL; in setup_arch() local
1106 mdesc = setup_machine_fdt(atags_vaddr); in setup_arch()
1107 if (mdesc) in setup_arch()
[all …]
H A Datags_parse.c180 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/x86/include/asm/
H A Dsev.h526 int snp_msg_init(struct snp_msg_desc *mdesc, int vmpck_id);
528 void snp_msg_free(struct snp_msg_desc *mdesc);
529 int snp_send_guest_request(struct snp_msg_desc *mdesc, struct snp_guest_req *req);
635 static inline int snp_msg_init(struct snp_msg_desc *mdesc, int vmpck_id) { return -1; } in snp_msg_init() argument
637 static inline void snp_msg_free(struct snp_msg_desc *mdesc) { } in snp_msg_free() argument
638 static inline int snp_send_guest_request(struct snp_msg_desc *mdesc, in snp_send_guest_request() argument
/linux/drivers/infiniband/ulp/iser/
H A Diser_initiator.c476 struct iser_tx_desc *mdesc = &iser_task->desc; in iser_send_control() local
482 iser_create_send_desc(iser_conn, mdesc, ISCSI_TX_CONTROL, in iser_send_control()
491 struct ib_sge *tx_dsg = &mdesc->tx_sg[1]; in iser_send_control()
509 mdesc->num_sge = 2; in iser_send_control()
523 err = iser_post_send(&iser_conn->ib_conn, mdesc); in iser_send_control()