Home
last modified time | relevance | path

Searched refs:buflist (Results 1 – 15 of 15) sorted by relevance

/drivers/gpu/drm/
Ddrm_dma.c94 kfree(dma->bufs[i].buflist[j].dev_private); in drm_dma_takedown()
96 kfree(dma->bufs[i].buflist); in drm_dma_takedown()
100 kfree(dma->buflist); in drm_dma_takedown()
141 if (dma->buflist[i]->file_priv == file_priv) { in drm_core_reclaim_buffers()
142 switch (dma->buflist[i]->list) { in drm_core_reclaim_buffers()
144 drm_free_buffer(dev, dma->buflist[i]); in drm_core_reclaim_buffers()
147 dma->buflist[i]->list = DRM_LIST_RECLAIM; in drm_core_reclaim_buffers()
Ddrm_bufs.c581 kfree(entry->buflist[i].dev_private); in drm_cleanup_buf_error()
583 kfree(entry->buflist); in drm_cleanup_buf_error()
680 entry->buflist = kzalloc(count * sizeof(*entry->buflist), GFP_KERNEL); in drm_addbufs_agp()
681 if (!entry->buflist) { in drm_addbufs_agp()
693 buf = &entry->buflist[entry->buf_count]; in drm_addbufs_agp()
727 temp_buflist = krealloc(dma->buflist, in drm_addbufs_agp()
729 sizeof(*dma->buflist), GFP_KERNEL); in drm_addbufs_agp()
737 dma->buflist = temp_buflist; in drm_addbufs_agp()
740 dma->buflist[i + dma->buf_count] = &entry->buflist[i]; in drm_addbufs_agp()
829 entry->buflist = kzalloc(count * sizeof(*entry->buflist), GFP_KERNEL); in drm_addbufs_pci()
[all …]
Ddrm_info.c147 seq_printf(m, " %d", dma->buflist[i]->list); in drm_bufs_info()
/drivers/message/fusion/
Dmptctl.c94 struct buflist { struct
129 struct buflist **blp, dma_addr_t *sglbuf_dma, MPT_ADAPTER *ioc);
131 struct buflist *buflist, MPT_ADAPTER *ioc);
795 struct buflist *buflist; in mptctl_do_fw_download() local
796 struct buflist *bl; in mptctl_do_fw_download()
879 &numfrags, &buflist, &sgl_dma, iocp)) == NULL) in mptctl_do_fw_download()
910 bl = buflist; in mptctl_do_fw_download()
976 kfree_sgl(sgl, sgl_dma, buflist, iocp); in mptctl_do_fw_download()
1005 kfree_sgl(sgl, sgl_dma, buflist, iocp); in mptctl_do_fw_download()
1026 struct buflist **blp, dma_addr_t *sglbuf_dma, MPT_ADAPTER *ioc) in kbuf_alloc_2_sgl()
[all …]
/drivers/gpu/drm/i810/
Di810_dma.c57 struct drm_buf *buf = dma->buflist[i]; in i810_freelist_get()
227 struct drm_buf *buf = dma->buflist[i]; in i810_dma_cleanup()
295 struct drm_buf *buf = dma->buflist[i]; in i810_freelist_init()
870 struct drm_buf *buf = dma->buflist[i]; in i810_flush_queue()
896 if (!dma->buflist) in i810_driver_reclaim_buffers()
902 struct drm_buf *buf = dma->buflist[i]; in i810_driver_reclaim_buffers()
945 dma->buflist[vertex->idx], in i810_dma_vertex()
1106 i810_dma_dispatch_mc(dev, dma->buflist[mc->idx], mc->used, in i810_dma_mc()
/drivers/staging/rtl8187se/
Dr8180_core.c1697 struct buffer *buflist; in rtl8180_tx() local
1713 buflist = priv->txmapbufstail; in rtl8180_tx()
1719 buflist = priv->txbkpbufstail; in rtl8180_tx()
1725 buflist = priv->txbepbufstail; in rtl8180_tx()
1731 buflist = priv->txvipbufstail; in rtl8180_tx()
1737 buflist = priv->txvopbufstail; in rtl8180_tx()
1743 buflist = priv->txhpbufstail; in rtl8180_tx()
1749 buflist = priv->txbeaconbufstail; in rtl8180_tx()
1832 if (!buflist) { in rtl8180_tx()
1836 buf = buflist->buf; in rtl8180_tx()
[all …]
/drivers/gpu/drm/r128/
Dr128_cce.c781 buf = dma->buflist[i];
821 buf = dma->buflist[i]; in r128_freelist_get()
831 buf = dma->buflist[i]; in r128_freelist_get()
854 struct drm_buf *buf = dma->buflist[i]; in r128_freelist_reset()
Dr128_state.c822 buf = dma->buflist[blit->idx]; in r128_cce_dispatch_blit()
1369 buf = dma->buflist[vertex->idx]; in r128_cce_vertex()
1422 buf = dma->buflist[elts->idx]; in r128_cce_indices()
1563 buf = dma->buflist[indirect->idx]; in r128_cce_indirect()
/drivers/gpu/drm/savage/
Dsavage_bci.c224 buf = dma->buflist[i]; in savage_freelist_init()
765 if (dev->dma && dev->dma->buflist) { in savage_do_init_bci()
1062 if (!dma->buflist) in savage_reclaim_buffers()
1071 struct drm_buf *buf = dma->buflist[i]; in savage_reclaim_buffers()
Dsavage_state.c973 if (dma && dma->buflist) { in savage_bci_cmdbuf()
980 dmabuf = dma->buflist[cmdbuf->dma_idx]; in savage_bci_cmdbuf()
/drivers/gpu/drm/mga/
Dmga_state.c884 buf = dma->buflist[vertex->idx]; in mga_dma_vertex()
920 buf = dma->buflist[indices->idx]; in mga_dma_indices()
963 buf = dma->buflist[iload->idx]; in mga_dma_iload()
Dmga_dma.c260 buf = dma->buflist[i]; in mga_freelist_init()
315 buf = dma->buflist[i];
/drivers/gpu/drm/radeon/
Dradeon_state.c2285 buf = dma->buflist[vertex->idx]; in radeon_cp_vertex()
2366 buf = dma->buflist[elts->idx]; in radeon_cp_indices()
2494 buf = dma->buflist[indirect->idx]; in radeon_cp_indirect()
2568 buf = dma->buflist[vertex->idx]; in radeon_cp_vertex2()
2959 buf = dma->buflist[idx]; in radeon_cp_cmdbuf()
Dr300_cmdbuf.c1114 buf = dma->buflist[idx]; in r300_do_cp_cmdbuf()
Dradeon_cp.c1937 buf = dma->buflist[start]; in radeon_freelist_get()
1967 struct drm_buf *buf = dma->buflist[i]; in radeon_freelist_reset()