Home
last modified time | relevance | path

Searched refs:lba (Results 1 – 16 of 16) sorted by relevance

/external/qemu/hw/
Dcdrom.c31 static void lba_to_msf(uint8_t *buf, int lba) in lba_to_msf() argument
33 lba += 150; in lba_to_msf()
34 buf[0] = (lba / 75) / 60; in lba_to_msf()
35 buf[1] = (lba / 75) % 60; in lba_to_msf()
36 buf[2] = lba % 75; in lba_to_msf()
Dscsi-disk.c352 uint64_t lba; in scsi_send_command() local
374 lba = (uint64_t) buf[3] | ((uint64_t) buf[2] << 8) | in scsi_send_command()
381 lba = (uint64_t) buf[5] | ((uint64_t) buf[4] << 8) | in scsi_send_command()
387 lba = (uint64_t) buf[9] | ((uint64_t) buf[8] << 8) | in scsi_send_command()
395 lba = (uint64_t) buf[5] | ((uint64_t) buf[4] << 8) | in scsi_send_command()
781 DPRINTF("Read (sector %lld, count %d)\n", lba, len); in scsi_send_command()
782 if (lba > s->max_lba) in scsi_send_command()
784 r->sector = lba * s->cluster_size; in scsi_send_command()
790 DPRINTF("Write (sector %lld, count %d)\n", lba, len); in scsi_send_command()
791 if (lba > s->max_lba) in scsi_send_command()
[all …]
/external/qemu/distrib/sdl-1.2.15/src/cdrom/osf/
DSDL_syscdrom.c292 cdte[i].te_absaddr.lba.addr3 << 24 | in SDL_SYS_CDGetTOC()
293 cdte[i].te_absaddr.lba.addr2 << 16 | in SDL_SYS_CDGetTOC()
294 cdte[i].te_absaddr.lba.addr1 << 8 | in SDL_SYS_CDGetTOC()
295 cdte[i].te_absaddr.lba.addr0; in SDL_SYS_CDGetTOC()
367 scd.scd_position_data.scp_absaddr.lba.addr3 << 24 | in SDL_SYS_CDStatus()
368 scd.scd_position_data.scp_absaddr.lba.addr2 << 16 | in SDL_SYS_CDStatus()
369 scd.scd_position_data.scp_absaddr.lba.addr1 << 8 | in SDL_SYS_CDStatus()
370 scd.scd_position_data.scp_absaddr.lba.addr0; in SDL_SYS_CDStatus()
/external/grub/util/
Dgrub-install70 --force-lba force GRUB to use LBA mode even for a buggy
246 --force-lba)
Dgrub-install.in70 --force-lba force GRUB to use LBA mode even for a buggy
246 --force-lba)
/external/kernel-headers/original/linux/
Dcdrom.h164 int lba; member
653 int lba; member
/external/qemu/distrib/sdl-1.2.15/src/cdrom/qnx/
DSDL_syscdrom.c298 cdrom->track[i].offset = toc.toc_entry[i].addr.lba; in SDL_SYS_CDGetTOC()
/external/grub/stage2/
Dbuiltins.c2758 auto void lba_to_chs (int lba, int *cl, int *ch, int *dh); in partnew_func()
2759 void lba_to_chs (int lba, int *cl, int *ch, int *dh) in partnew_func()
2763 sector = lba % buf_geom.sectors + 1; in partnew_func()
2764 head = (lba / buf_geom.sectors) % buf_geom.heads; in partnew_func()
2765 cylinder = lba / (buf_geom.sectors * buf_geom.heads); in partnew_func()
/external/qemu-pc-bios/bochs/bios/
Drombios.c3595 Bit32u lba;
3631 lba=buffer[0x4A]*0x1000000+buffer[0x49]*0x10000+buffer[0x48]*0x100+buffer[0x47];
3638 atacmd[2]=(lba & 0xff000000) >> 24; // LBA
3639 atacmd[3]=(lba & 0x00ff0000) >> 16;
3640 atacmd[4]=(lba & 0x0000ff00) >> 8;
3641 atacmd[5]=(lba & 0x000000ff);
3677 lba=buffer[0x2B]*0x1000000+buffer[0x2A]*0x10000+buffer[0x29]*0x100+buffer[0x28];
3678 write_dword(ebda_seg,&EbdaData->cdemu.ilba,lba);
3685 atacmd[2]=(lba & 0xff000000) >> 24; // LBA
3686 atacmd[3]=(lba & 0x00ff0000) >> 16;
[all …]
/external/qemu/block/
Dvvfat.c383 int lba; in init_mbr() local
393 lba = sector2CHS(s->bs, &partition->start_CHS, s->first_sectors_number-1); in init_mbr()
394 lba|= sector2CHS(s->bs, &partition->end_CHS, s->sector_count); in init_mbr()
404 s->fat_type==16 ? (lba?0xe:0x06): in init_mbr()
405 /*fat_tyoe==32*/ (lba?0xc:0x0b); in init_mbr()
/external/grub/
DNEWS209 * Added a new option `--force-lba' into the command "install". This
216 accept `--force-lba' option. Specifying this option to "setup" or
219 `--disable-lba-support-bitmap-check' any longer. Use the option above.
274 * Now configure accepts the option `--disable-lba-support-bitmap-check'
DChangeLog1028 * stage2/builtins.c (setup_func): Added missing space to --force-lba
4021 the --force-lba switch in stage2/stage1_5.
4536 Added a description about the option `--force-lba' of
4860 `--force-lba' is specified. If specified, set IS_FORCE_LBA to 1
4871 (builtin_install): Added description about `--force-lba' into
4873 (setup_func): Check if `--force-lba' is specified in ARG. If
4876 If IS_FORCE_LBA is true, prepend "--force-lba " to CMD_ARG.
4877 (builtin_setup): Added descriptions about `--force-lba' into the
4884 (usage): Added a description about `--force-lba'.
4885 (--force-lba): Checked in the option handling code. If
[all …]
/external/valgrind/main/include/vki/
Dvki-linux.h1763 int lba; member
/external/grub/docs/
Dgrub.texi2912 @deffn Command install [@option{--force-lba}] [@option{--stage2=os_stage2_file}] stage1_file [@opti…
2957 ignore the wrong bitmap, that is, the option @option{--force-lba}. Don't
3190 @deffn Command setup [@option{--force-lba}] [@option{--stage2=os_stage2_file}] [@option{--prefix=di…
3204 The options @option{--force-lba} and @option{--stage2} are just passed
3679 @item --force-lba
Dgrub.info2747 -- Command: install [`--force-lba'] [`--stage2=os_stage2_file']
2793 `--force-lba'. Don't use this option if you know that your BIOS
3039 -- Command: setup [`--force-lba'] [`--stage2=os_stage2_file']
3054 The options `--force-lba' and `--stage2' are just passed to
3532 `--force-lba'
/external/qemu/
Dqemu-options.hx1307 " translation (t=none or lba) (usually qemu can guess them)\n")
1312 translation mode (@var{t}=none, lba or auto). Usually QEMU can guess