Home
last modified time | relevance | path

Searched refs:ATAPI_SECTOR_SIZE (Results 1 – 4 of 4) sorted by relevance

/openbmc/qemu/hw/ide/
H A Datapi.c35 #define ATAPI_SECTOR_SIZE (1 << ATAPI_SECTOR_BITS) macro
96 ATAPI_SECTOR_SIZE, BLOCK_ACCT_READ); in cd_read_sector_sync()
103 ATAPI_SECTOR_SIZE, s->io_buffer, 0); in cd_read_sector_sync()
107 ATAPI_SECTOR_SIZE, s->io_buffer + 16, 0); in cd_read_sector_sync()
163 qemu_iovec_init_buf(&s->qiov, buf, ATAPI_SECTOR_SIZE); in cd_read_sector()
168 ATAPI_SECTOR_SIZE, BLOCK_ACCT_READ); in cd_read_sector()
406 n * ATAPI_SECTOR_SIZE); in ide_atapi_cmd_read_dma_cb()
/openbmc/qemu/tests/qtest/
H A Dahci-test.c1534 generate_pattern(patt, size, ATAPI_SECTOR_SIZE); in prepare_iso()
1576 .size = ((uint64_t)ATAPI_SECTOR_SIZE * nsectors), in ahci_test_cdrom()
1583 uint64_t iso_size = (uint64_t)ATAPI_SECTOR_SIZE * (nsectors + 1); in ahci_test_cdrom()
1656 uint64_t iso_size = ATAPI_SECTOR_SIZE; in test_atapi_tray()
/openbmc/qemu/tests/qtest/libqos/
H A Dahci.c708 uint16_t bcl = opts->set_bcl ? opts->bcl : ATAPI_SECTOR_SIZE; in ahci_exec()
920 cmd->sector_size = props->atapi ? ATAPI_SECTOR_SIZE : AHCI_SECTOR_SIZE; in ahci_command_create()
1101 uint64_t nsectors = xbytes / ATAPI_SECTOR_SIZE; in ahci_atapi_set_size()
H A Dahci.h244 #define ATAPI_SECTOR_SIZE (2048) macro