Searched refs:sgdata (Results 1 – 2 of 2) sorted by relevance
49 struct _vk_data *sgdata; in bcm_vk_dma_alloc() local87 dma->sglen = (dma->nr_pages * sizeof(*sgdata)) + in bcm_vk_dma_alloc()101 sgdata = (struct _vk_data *)&dma->sglist[SGLIST_VKDATA_START]; in bcm_vk_dma_alloc()140 sgdata->size = transfer_size; in bcm_vk_dma_alloc()141 put_unaligned(sg_addr, (u64 *)&sgdata->address); in bcm_vk_dma_alloc()145 sgdata++; in bcm_vk_dma_alloc()151 sgdata->size = transfer_size; in bcm_vk_dma_alloc()152 put_unaligned(sg_addr, (u64 *)&sgdata->address); in bcm_vk_dma_alloc()157 vkdata->size = (dma->sglist[SGLIST_NUM_SG] * sizeof(*sgdata)) + in bcm_vk_dma_alloc()
18 static inline void memcpy_dir(void *buf, void *sgdata, size_t nbytes, int out) in memcpy_dir() argument20 void *src = out ? buf : sgdata; in memcpy_dir()21 void *dst = out ? sgdata : buf; in memcpy_dir()