Searched refs:dma_params (Results 1 – 4 of 4) sorted by relevance
/haiku/src/add-ons/kernel/bus_managers/scsi/ |
H A D | busses.cpp | 196 if (pnp->get_attr_uint32(node, B_DMA_ALIGNMENT, &bus->dma_params.alignment, in scsi_init_bus() 198 bus->dma_params.alignment = 0; in scsi_init_bus() 200 &bus->dma_params.max_blocks, true) != B_OK) in scsi_init_bus() 201 bus->dma_params.max_blocks = 0xffffffff; in scsi_init_bus() 203 &bus->dma_params.dma_boundary, true) != B_OK) in scsi_init_bus() 204 bus->dma_params.dma_boundary = ~0; in scsi_init_bus() 206 &bus->dma_params.max_sg_block_size, true) != B_OK) in scsi_init_bus() 207 bus->dma_params.max_sg_block_size = 0xffffffff; in scsi_init_bus() 209 &bus->dma_params.max_sg_blocks, true) != B_OK) in scsi_init_bus() 210 bus->dma_params.max_sg_blocks = ~0; in scsi_init_bus() [all …]
|
H A D | dma_buffer.cpp | 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() [all …]
|
H A D | scsi_internal.h | 75 typedef struct dma_params { struct 82 } dma_params; argument 114 struct dma_params dma_params; // dma restrictions of controller member
|
H A D | scatter_gather.cpp | 28 uint32 dma_boundary = bus->dma_params.dma_boundary; in fill_temp_sg() 29 uint32 max_sg_block_size = bus->dma_params.max_sg_block_size; in fill_temp_sg() 30 uint32 max_sg_blocks = min_c(bus->dma_params.max_sg_blocks, in fill_temp_sg()
|