/haiku-fatelf/src/add-ons/kernel/bus_managers/scsi/ |
H A D | dma_buffer.cpp | 40 const physical_entry *sg_list = request->sg_list; local 58 for (cur_idx = sg_count; cur_idx >= 1; --cur_idx, ++sg_list) { 63 max_len = (dma_boundary + 1) - (sg_list->address & dma_boundary); 65 if (max_len < sg_list->size) { 67 sg_list->address + max_len); 72 if ((sg_list->address & alignment) != 0) { 74 sg_list->address); 78 if (((sg_list->address + sg_list 102 const physical_entry *sg_list = buffer->sg_list_orig; local 309 dump_sg_table(const physical_entry *sg_list, uint32 sg_list_count) argument [all...] |
H A D | emulation.cpp | 469 const physical_entry *sg_list = request->sg_list; local 473 SHOW_FLOW(3, "offset=%u, req_size_limit=%d, size=%d, sg_list=%p, sg_count=%d, %s buffer", 474 offset, allocation_length, size, sg_list, sg_count, to_buffer ? "to" : "from"); 477 while (sg_count > 0 && offset >= sg_list->size) { 478 offset -= sg_list->size; 479 ++sg_list; 490 for (; size > 0 && req_size > 0 && sg_count > 0; ++sg_list, --sg_count) { 494 bytes = min_c(bytes, sg_list->size); 497 B_PRIuSIZE ", to_buffer = %d", buffer, sg_list [all...] |
H A D | scatter_gather.cpp | 41 physical_entry *temp_sg = (physical_entry *)ccb->sg_list; 113 ccb->sg_list = temp_sg = (physical_entry*)locked_pool->alloc(temp_sg_pool); 167 locked_pool->free(temp_sg_pool, (physical_entry *)ccb->sg_list); 170 ccb->sg_list = NULL;
|
H A D | device_scan.cpp | 38 worker_req->sg_list = NULL; 82 worker_req->sg_list = NULL;
|
H A D | ccb.cpp | 42 ccb->sg_list = NULL;
|
H A D | devices.cpp | 231 request->sg_list = (physical_entry *)(buffer + SCSI_MAX_SENSE_SIZE); 235 (physical_entry *)request->sg_list, 1);
|
/haiku-fatelf/src/add-ons/kernel/generic/scsi_periph/ |
H A D | removable.cpp | 50 backup_sg_list = request->sg_list; 63 request->sg_list = backup_sg_list; 95 request->sg_list = NULL; 99 request->sg_list = NULL; 210 request->sg_list = NULL; 214 request->sg_list = NULL;
|
H A D | sync.cpp | 29 request->sg_list = NULL;
|
H A D | scsi_periph.cpp | 40 ccb->sg_list = NULL; 83 backup_sg_list = request->sg_list; 97 request->sg_list = backup_sg_list;
|
H A D | block.cpp | 39 request->sg_list = NULL;
|
H A D | io.cpp | 72 request->sg_list = NULL; 154 request->sg_list = vecs;
|
/haiku-fatelf/headers/os/drivers/bus/ |
H A D | ATA.h | 49 status_t (*prepare_dma)(void *channelCookie, const physical_entry *sg_list,
|
H A D | IDE.h | 54 const physical_entry *sg_list, size_t sg_list_count,
|
/haiku-fatelf/src/add-ons/kernel/bus_managers/ata/ |
H A D | ATAHelper.cpp | 29 const physical_entry *sgList = ccb->sg_list;
|
H A D | ATARequest.cpp | 169 fCurrentSGElement = fCCB->sg_list;
|
/haiku-fatelf/src/add-ons/kernel/busses/ata/generic_ide_pci/ |
H A D | generic_ide_pci.c | 75 const physical_entry *sg_list, size_t sg_list_count, 78 return sATAAdapter->prepare_dma((ata_adapter_channel_info *)channel_cookie, sg_list, sg_list_count, to_device); 74 prepare_dma(void *channel_cookie, const physical_entry *sg_list, size_t sg_list_count, bool to_device) argument
|
/haiku-fatelf/src/add-ons/kernel/busses/ide/generic_ide_pci/ |
H A D | generic_ide_pci.c | 75 const physical_entry *sg_list, size_t sg_list_count, 78 return ide_adapter->prepare_dma((ide_adapter_channel_info *)channel_cookie, sg_list, sg_list_count, to_device); 74 prepare_dma(void *channel_cookie, const physical_entry *sg_list, size_t sg_list_count, bool to_device) argument
|
/haiku-fatelf/src/add-ons/kernel/bus_managers/ide/ |
H A D | emulation.cpp | 67 const physical_entry *sgList = request->sg_list; 71 SHOW_FLOW(3, "offset=%u, req_size_limit=%d, size=%d, sg_list=%p, sg_cnt=%d, %s buffer",
|
H A D | dma.c | 100 res = bus->controller->prepare_dma(bus->channel_cookie, request->sg_list,
|
/haiku-fatelf/src/add-ons/kernel/busses/ata/promise_tx2/ |
H A D | promise_tx2.c | 104 prepare_dma(void *channel_cookie, const physical_entry *sg_list, argument 107 return sATAAdapter->prepare_dma((ata_adapter_channel_info *)channel_cookie, sg_list, sg_list_count, to_device);
|
/haiku-fatelf/headers/private/drivers/ |
H A D | ata_adapter.h | 148 status_t (*prepare_dma)(ata_adapter_channel_info *channel, const physical_entry *sg_list,
|
H A D | ide_adapter.h | 149 status_t (*prepare_dma)(ide_adapter_channel_info *channel, const physical_entry *sg_list,
|
/haiku-fatelf/src/add-ons/kernel/busses/ata/legacy_sata/ |
H A D | legacy_sata.c | 323 dma_prepare(void *channel_cookie, const physical_entry *sg_list, size_t sg_list_count, bool write) argument 325 return sATAAdapter->prepare_dma(channel_cookie,sg_list,sg_list_count,write);
|
/haiku-fatelf/src/add-ons/kernel/busses/ide/legacy_sata/ |
H A D | legacy_sata.c | 325 dma_prepare(void *channel_cookie, const physical_entry *sg_list, size_t sg_list_count, bool write) argument 327 return ide_adapter->prepare_dma(channel_cookie,sg_list,sg_list_count,write);
|
/haiku-fatelf/src/add-ons/kernel/busses/ide/promise_tx2/ |
H A D | promise_tx2.c | 112 prepare_dma(void *channel_cookie, const physical_entry *sg_list, argument 115 return ide_adapter->prepare_dma((ide_adapter_channel_info *)channel_cookie, sg_list, sg_list_count, to_device);
|