Lines Matching defs:device
39 struct dma_device *dma = chan->device;
200 if (dma_src && chan && is_dma_xor_aligned(chan->device, offset, 0, len)) {
270 struct dma_device *device = chan ? chan->device : NULL;
281 if (dma_src && device && src_cnt <= device->max_xor &&
282 is_dma_xor_aligned(device, offset, 0, len)) {
293 dma_src[i] = dma_map_page(device->dev, src_list[i],
296 tx = device->device_prep_dma_xor_val(chan, dma_src, src_cnt,
304 tx = device->device_prep_dma_xor_val(chan,
315 WARN_ONCE(device && src_cnt <= device->max_xor,