Home
last modified time | relevance | path

Searched refs:sgdata (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/misc/bcm-vk/
H A Dbcm_vk_sg.c49 struct _vk_data *sgdata; in bcm_vk_dma_alloc() local
87 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()
/openbmc/linux/crypto/
H A Dscatterwalk.c18 static inline void memcpy_dir(void *buf, void *sgdata, size_t nbytes, int out) in memcpy_dir() argument
20 void *src = out ? buf : sgdata; in memcpy_dir()
21 void *dst = out ? sgdata : buf; in memcpy_dir()