Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/r128/
Dati_pcigart.c48 drm_dma_handle_t *dmah = kmalloc(sizeof(drm_dma_handle_t), GFP_KERNEL); in drm_ati_alloc_pcigart_table() local
50 if (!dmah) in drm_ati_alloc_pcigart_table()
53 dmah->size = gart_info->table_size; in drm_ati_alloc_pcigart_table()
54 dmah->vaddr = dma_alloc_coherent(dev->dev, in drm_ati_alloc_pcigart_table()
55 dmah->size, in drm_ati_alloc_pcigart_table()
56 &dmah->busaddr, in drm_ati_alloc_pcigart_table()
59 if (!dmah->vaddr) { in drm_ati_alloc_pcigart_table()
60 kfree(dmah); in drm_ati_alloc_pcigart_table()
64 gart_info->table_handle = dmah; in drm_ati_alloc_pcigart_table()
71 drm_dma_handle_t *dmah = gart_info->table_handle; in drm_ati_free_pcigart_table() local
[all …]
/linux-6.1.9/drivers/gpu/drm/
Ddrm_dma.c84 drm_dma_handle_t *dmah; in drm_legacy_dma_takedown() local
104 dmah = dma->bufs[i].seglist[j]; in drm_legacy_dma_takedown()
106 dmah->size, in drm_legacy_dma_takedown()
107 dmah->vaddr, in drm_legacy_dma_takedown()
108 dmah->busaddr); in drm_legacy_dma_takedown()
109 kfree(dmah); in drm_legacy_dma_takedown()
Ddrm_bufs.c677 drm_dma_handle_t *dmah; in drm_cleanup_buf_error() local
683 dmah = entry->seglist[i]; in drm_cleanup_buf_error()
685 dmah->size, in drm_cleanup_buf_error()
686 dmah->vaddr, in drm_cleanup_buf_error()
687 dmah->busaddr); in drm_cleanup_buf_error()
688 kfree(dmah); in drm_cleanup_buf_error()
892 drm_dma_handle_t *dmah; in drm_legacy_addbufs_pci() local
987 dmah = kmalloc(sizeof(drm_dma_handle_t), GFP_KERNEL); in drm_legacy_addbufs_pci()
988 if (!dmah) { in drm_legacy_addbufs_pci()
999 dmah->size = total; in drm_legacy_addbufs_pci()
[all …]
/linux-6.1.9/drivers/usb/class/
Dcdc-acm.h42 dma_addr_t dmah; member
Dcdc-acm.c235 wb->urb->transfer_dma = wb->dmah; in acm_start_wb()
1108 usb_free_coherent(acm->dev, acm->writesize, wb->buf, wb->dmah); in acm_write_buffers_free()
1128 &wb->dmah); in acm_write_buffers_alloc()
1134 wb->buf, wb->dmah); in acm_write_buffers_alloc()
/linux-6.1.9/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
Ddma.h104 void dma_walk_packets(struct dma_pub *dmah, void (*callback_fnc)
Ddma.c1549 void dma_walk_packets(struct dma_pub *dmah, void (*callback_fnc) in dma_walk_packets() argument
1552 struct dma_info *di = container_of(dmah, struct dma_info, dma); in dma_walk_packets()
Dmain.c7512 struct dma_pub *dmah; in brcms_c_inval_dma_pkts() local
7515 dmah = hw->di[i]; in brcms_c_inval_dma_pkts()
7516 if (dmah != NULL) in brcms_c_inval_dma_pkts()
7517 dma_walk_packets(dmah, dma_callback_fn, sta); in brcms_c_inval_dma_pkts()
/linux-6.1.9/include/drm/
Ddrm_legacy.h229 struct drm_dma_handle *dmah) in drm_pci_free() argument