Searched refs:sgList (Results 1 - 4 of 4) sorted by relevance

/haiku/src/add-ons/kernel/bus_managers/ata/
H A DATAHelper.cpp29 const physical_entry *sgList = ccb->sg_list; local
33 while (sgCount > 0 && offset >= sgList->size) {
34 offset -= sgList->size;
35 ++sgList;
46 for (; size > 0 && requestSize > 0 && sgCount > 0; ++sgList, --sgCount) {
50 bytes = MIN(bytes, sgList->size);
53 vm_memcpy_from_physical(buffer, sgList->address + offset, bytes,
56 vm_memcpy_to_physical(sgList->address + offset, buffer, bytes,
/haiku/src/add-ons/kernel/busses/scsi/virtio/
H A DVirtioSCSIHelper.cpp30 const physical_entry *sgList = ccb->sg_list; local
34 while (sgCount > 0 && offset >= sgList->size) {
35 offset -= sgList->size;
36 ++sgList;
47 for (; size > 0 && requestSize > 0 && sgCount > 0; ++sgList, --sgCount) {
51 bytes = MIN(bytes, sgList->size);
54 vm_memcpy_from_physical(buffer, sgList->address + offset, bytes,
57 vm_memcpy_to_physical(sgList->address + offset, buffer, bytes,
/haiku/src/add-ons/kernel/busses/ata/it8211/
H A Dit8211.c79 it8211_prepare_dma(void *channelCookie, const physical_entry *sgList, argument
83 sgList, sgListCount, toDevice);
/haiku/src/add-ons/kernel/generic/ata_adapter/
H A Data_adapter.cpp240 const physical_entry *sgList, size_t sgListCount, bool writeToDevice)
252 for (i = sgListCount - 1, prd = channel->prdt; i >= 0; --i, ++prd, ++sgList) {
254 device, sgList->address));
256 prd->count = B_HOST_TO_LENDIAN_INT16((uint16)sgList->size);
261 sgList->address, sgList->size,
239 ata_adapter_prepare_dma(ata_adapter_channel_info *channel, const physical_entry *sgList, size_t sgListCount, bool writeToDevice) argument

Completed in 82 milliseconds