Home
last modified time | relevance | path

Searched refs:io_buffer_index (Results 1 – 6 of 6) sorted by relevance

/openbmc/qemu/hw/ide/
H A Datapi.c122 s->io_buffer_index = 0; in cd_read_sector_sync()
147 s->io_buffer_index = 0; in cd_read_sector_cb()
228 s->io_buffer_index); in ide_atapi_cmd_reply_end()
252 size = s->cd_sector_size - s->io_buffer_index; in ide_atapi_cmd_reply_end()
273 if (size > (s->cd_sector_size - s->io_buffer_index)) in ide_atapi_cmd_reply_end()
274 size = (s->cd_sector_size - s->io_buffer_index); in ide_atapi_cmd_reply_end()
280 s->io_buffer_index += size; in ide_atapi_cmd_reply_end()
282 assert(s->io_buffer_index <= s->io_buffer_total_len); in ide_atapi_cmd_reply_end()
318 s->io_buffer_index = 0; in ide_atapi_cmd_reply()
332 s->io_buffer_index = sector_size; in ide_atapi_cmd_read_pio()
[all …]
H A Dmacio.c108 offset = ((int64_t)s->lba << 11) + s->io_buffer_index; in pmac_ide_atapi_transfer_cb()
114 s->io_buffer_index += io->len; in pmac_ide_atapi_transfer_cb()
171 offset = (ide_get_sector(s) << 9) + s->io_buffer_index; in pmac_ide_transfer_cb()
177 s->io_buffer_index += io->len; in pmac_ide_transfer_cb()
390 s->io_buffer_index = 0; in ide_dbdma_start()
399 s->io_buffer_size, s->io_buffer_index); in ide_dbdma_start()
H A Dpci.c285 l = s->io_buffer_size - s->io_buffer_index; in bmdma_rw_buf()
309 s->io_buffer + s->io_buffer_index, l); in bmdma_rw_buf()
312 s->io_buffer + s->io_buffer_index, l); in bmdma_rw_buf()
316 s->io_buffer_index += l; in bmdma_rw_buf()
H A Dahci.c1532 uint8_t *p = s->io_buffer + s->io_buffer_index; in ahci_dma_rw_buf()
1533 int l = s->io_buffer_size - s->io_buffer_index; in ahci_dma_rw_buf()
1547 s->io_buffer_index += l; in ahci_dma_rw_buf()
H A Dcore.c930 s->io_buffer_index = 0; in ide_dma_cb()
1012 s->io_buffer_index = 0; in ide_start_dma()
1393 s->io_buffer_index = 0; in ide_reset()
/openbmc/qemu/include/hw/ide/
H A Dide-dev.h103 int32_t io_buffer_index; member