Lines Matching refs:dma_params
42 const uint32 dma_boundary = bus->dma_params.dma_boundary; in is_sg_list_dma_safe()
43 const uint32 alignment = bus->dma_params.alignment; in is_sg_list_dma_safe()
44 const uint32 max_sg_block_size = bus->dma_params.max_sg_block_size; in is_sg_list_dma_safe()
45 const uint64 high_address = bus->dma_params.high_address; in is_sg_list_dma_safe()
48 if (sg_count > bus->dma_params.max_sg_blocks) { in is_sg_list_dma_safe()
161 scsi_alloc_dma_buffer(dma_buffer *buffer, dma_params *dma_params, uint32 size) in scsi_alloc_dma_buffer() argument
167 size = (size + dma_params->alignment) & ~dma_params->alignment; in scsi_alloc_dma_buffer()
173 if (size / B_PAGE_SIZE > dma_params->max_sg_blocks in scsi_alloc_dma_buffer()
175 uint32 boundary = dma_params->dma_boundary; in scsi_alloc_dma_buffer()
193 if (dma_params->alignment != ~(uint32)0) in scsi_alloc_dma_buffer()
194 physicalRestrictions.alignment = dma_params->alignment + 1; in scsi_alloc_dma_buffer()
388 if (!scsi_alloc_dma_buffer(buffer, &device->bus->dma_params, in scsi_get_dma_buffer()