Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/r128/
A Dati_pcigart.c50 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
73 dma_free_coherent(dev->dev, dmah->size, dmah->vaddr, dmah->busaddr); in drm_ati_free_pcigart_table()
[all …]
/linux/drivers/gpu/drm/
A 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()
A Ddrm_bufs.c677 drm_dma_handle_t *dmah; in drm_cleanup_buf_error() local
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()
988 if (!dmah) { in drm_legacy_addbufs_pci()
999 dmah->size = total; in drm_legacy_addbufs_pci()
1001 dmah->size, in drm_legacy_addbufs_pci()
1002 &dmah->busaddr, in drm_legacy_addbufs_pci()
1004 if (!dmah->vaddr) { in drm_legacy_addbufs_pci()
[all …]
/linux/drivers/usb/class/
A Dcdc-acm.h70 dma_addr_t dmah; member
A Dcdc-acm.c235 wb->urb->transfer_dma = wb->dmah; in acm_start_wb()
1112 usb_free_coherent(acm->dev, acm->writesize, wb->buf, wb->dmah); in acm_write_buffers_free()
1132 &wb->dmah); in acm_write_buffers_alloc()
1138 wb->buf, wb->dmah); in acm_write_buffers_alloc()
/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
A Ddma.h104 void dma_walk_packets(struct dma_pub *dmah, void (*callback_fnc)
A 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()
A 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/include/drm/
A Ddrm_legacy.h216 struct drm_dma_handle *dmah) in drm_pci_free() argument

Completed in 33 milliseconds