Searched refs:lba (Results 1 - 11 of 11) sorted by relevance

/external/qemu/hw/
H A Dcdrom.c31 static void lba_to_msf(uint8_t *buf, int lba) argument
33 lba += 150;
34 buf[0] = (lba / 75) / 60;
35 buf[1] = (lba / 75) % 60;
36 buf[2] = lba % 75;
H A Dscsi-disk.c352 uint64_t lba; local
374 lba = (uint64_t) buf[3] | ((uint64_t) buf[2] << 8) |
381 lba = (uint64_t) buf[5] | ((uint64_t) buf[4] << 8) |
387 lba = (uint64_t) buf[9] | ((uint64_t) buf[8] << 8) |
395 lba = (uint64_t) buf[5] | ((uint64_t) buf[4] << 8) |
781 DPRINTF("Read (sector %lld, count %d)\n", lba, len);
782 if (lba > s->max_lba)
784 r->sector = lba * s->cluster_size;
790 DPRINTF("Write (sector %lld, count %d)\n", lba, len);
791 if (lba >
[all...]
/external/qemu/distrib/sdl-1.2.12/src/cdrom/osf/
H A DSDL_syscdrom.c292 cdte[i].te_absaddr.lba.addr3 << 24 |
293 cdte[i].te_absaddr.lba.addr2 << 16 |
294 cdte[i].te_absaddr.lba.addr1 << 8 |
295 cdte[i].te_absaddr.lba.addr0;
367 scd.scd_position_data.scp_absaddr.lba.addr3 << 24 |
368 scd.scd_position_data.scp_absaddr.lba.addr2 << 16 |
369 scd.scd_position_data.scp_absaddr.lba.addr1 << 8 |
370 scd.scd_position_data.scp_absaddr.lba.addr0;
/external/grub/util/
H A Dgrub-install.in70 --force-lba force GRUB to use LBA mode even for a buggy
246 --force-lba)
247 force_lba="--force-lba" ;;
H A Dgrub-install70 --force-lba force GRUB to use LBA mode even for a buggy
246 --force-lba)
247 force_lba="--force-lba" ;;
/external/qemu/distrib/sdl-1.2.12/src/cdrom/qnx/
H A DSDL_syscdrom.c298 cdrom->track[i].offset = toc.toc_entry[i].addr.lba;
/external/kernel-headers/original/linux/
H A Dcdrom.h164 int lba; member in union:cdrom_addr
653 int lba; member in struct:dvd_lu_send_title_key
/external/grub/stage2/
H A Dbuiltins.c1866 if (grub_memcmp ("--force-lba", arg, sizeof ("--force-lba") - 1) == 0)
2295 "install [--stage2=STAGE2_FILE] [--force-lba] STAGE1 [d] DEVICE STAGE2 [ADDR] [p] [CONFIG_FILE] [REAL_CONFIG_FILE]",
2307 " If the option `--force-lba' is specified, disable some sanity checks"
2796 auto void lba_to_chs (int lba, int *cl, int *ch, int *dh);
2797 void lba_to_chs (int lba, int *cl, int *ch, int *dh)
2801 sector = lba % buf_geom.sectors + 1;
2802 head = (lba / buf_geom.sectors) % buf_geom.heads;
2803 cylinder = lba / (buf_geom.sectors * buf_geom.heads);
3995 /* Check if the user specifies --force-lba
2759 lba_to_chs(int lba, int *cl, int *ch, int *dh) argument
[all...]
/external/qemu-pc-bios/bochs/bios/
H A Drombios.c67 // - pchs/lba access
2620 BX_INFO("lba");
2882 // sector will be 0 only on lba access. Convert to lba-chs
3033 // sector will be 0 only on lba access. Convert to lba-chs
3595 Bit32u lba; local
3631 lba=buffer[0x4A]*0x1000000+buffer[0x49]*0x10000+buffer[0x48]*0x100+buffer[0x47];
3638 atacmd[2]=(lba & 0xff000000) >> 24; // LBA
3639 atacmd[3]=(lba
5627 Bit32u lba; local
6319 Bit32u lba; local
[all...]
/external/qemu/block/
H A Dvvfat.c383 int lba; local
393 lba = sector2CHS(s->bs, &partition->start_CHS, s->first_sectors_number-1);
394 lba|= sector2CHS(s->bs, &partition->end_CHS, s->sector_count);
404 s->fat_type==16 ? (lba?0xe:0x06):
405 /*fat_tyoe==32*/ (lba?0xc:0x0b);
/external/valgrind/main/include/vki/
H A Dvki-linux.h1763 int lba; member in union:vki_cdrom_addr

Completed in 956 milliseconds