Searched refs:loaf (Results 1 – 1 of 1) sorted by relevance
220 static bool init_dma_loaf(struct pci_dev *dev, struct dma_loaf *loaf, in init_dma_loaf() argument230 loaf->cpu_free = loaf->cpu_base = cpu_addr; in init_dma_loaf()231 loaf->dma_free =loaf->dma_base = dma_handle; in init_dma_loaf()232 loaf->length = len; in init_dma_loaf()237 static void *slice_dma_loaf(struct dma_loaf *loaf, size_t len, in slice_dma_loaf() argument240 void *cpu_end = loaf->cpu_free + len; in slice_dma_loaf()241 void *cpu_addr = loaf->cpu_free; in slice_dma_loaf()243 BUG_ON(cpu_end > loaf->cpu_base + loaf->length); in slice_dma_loaf()244 *dma_handle = loaf->dma_free; in slice_dma_loaf()245 loaf->cpu_free = cpu_end; in slice_dma_loaf()[all …]