Searched refs:dmem (Results 1 – 5 of 5) sorted by relevance
/drivers/net/ethernet/cavium/thunder/ |
D | nicvf_queues.c | 53 static int nicvf_alloc_q_desc_mem(struct nicvf *nic, struct q_desc_mem *dmem, in nicvf_alloc_q_desc_mem() argument 56 dmem->q_len = q_len; in nicvf_alloc_q_desc_mem() 57 dmem->size = (desc_size * q_len) + align_bytes; in nicvf_alloc_q_desc_mem() 59 dmem->unalign_base = dma_zalloc_coherent(&nic->pdev->dev, dmem->size, in nicvf_alloc_q_desc_mem() 60 &dmem->dma, GFP_KERNEL); in nicvf_alloc_q_desc_mem() 61 if (!dmem->unalign_base) in nicvf_alloc_q_desc_mem() 65 dmem->phys_base = NICVF_ALIGNED_ADDR((u64)dmem->dma, align_bytes); in nicvf_alloc_q_desc_mem() 66 dmem->base = dmem->unalign_base + (dmem->phys_base - dmem->dma); in nicvf_alloc_q_desc_mem() 71 static void nicvf_free_q_desc_mem(struct nicvf *nic, struct q_desc_mem *dmem) in nicvf_free_q_desc_mem() argument 73 if (!dmem) in nicvf_free_q_desc_mem() [all …]
|
D | nicvf_queues.h | 202 struct q_desc_mem dmem; member 225 struct q_desc_mem dmem; member 246 struct q_desc_mem dmem; member
|
D | nicvf_main.c | 661 cqe_head &= (cq->dmem.q_len - 1); in nicvf_cq_intr_handler()
|
/drivers/usb/host/ |
D | imx21-dbg.c | 213 struct imx21_dmem_area *dmem; in debug_status_show() local 228 list_for_each_entry(dmem, &imx21->dmem_list, list) { in debug_status_show() 229 dmem_bytes += dmem->size; in debug_status_show() 265 struct imx21_dmem_area *dmem; in debug_dmem_show() local 271 list_for_each_entry(dmem, &imx21->dmem_list, list) in debug_dmem_show() 275 dmem->offset, dmem->size, in debug_dmem_show() 276 format_ep(dmem->ep, ep_text, sizeof(ep_text))); in debug_dmem_show()
|
D | imx21-hcd.c | 247 void __iomem *dmem = imx21->regs + USBOTG_DMEM + dmem_offset; in copy_to_dmem() local 257 writel(word, dmem); in copy_to_dmem() 258 dmem += 4; in copy_to_dmem() 264 writel(word, dmem); in copy_to_dmem()
|