Home
last modified time | relevance | path

Searched refs:disk_type (Results 1 – 2 of 2) sorted by relevance

/openbmc/u-boot/disk/
H A Dpart_amiga.c93 static void print_disk_type(u32 disk_type) in print_disk_type() argument
96 buffer[0] = (disk_type & 0xFF000000)>>24; in print_disk_type()
97 buffer[1] = (disk_type & 0x00FF0000)>>16; in print_disk_type()
98 buffer[2] = (disk_type & 0x0000FF00)>>8; in print_disk_type()
100 buffer[4] = (disk_type & 0x000000FF) + '0'; in print_disk_type()
297 u32 disk_type; in part_get_info_amiga() local
308 disk_type = g->dos_type; in part_get_info_amiga()
310 info->type[0] = (disk_type & 0xFF000000)>>24; in part_get_info_amiga()
311 info->type[1] = (disk_type & 0x00FF0000)>>16; in part_get_info_amiga()
312 info->type[2] = (disk_type & 0x0000FF00)>>8; in part_get_info_amiga()
[all …]
/openbmc/qemu/block/
H A Dvpc.c265 int disk_type = VHD_DYNAMIC; in vpc_open() local
320 disk_type = VHD_FIXED; in vpc_open()
354 if (disk_type == VHD_DYNAMIC) { in vpc_open()
990 int disk_type; in vpc_co_create() local
1005 disk_type = VHD_DYNAMIC; in vpc_co_create()
1008 disk_type = VHD_FIXED; in vpc_co_create()
1059 if (disk_type == VHD_DYNAMIC) { in vpc_co_create()
1075 footer.type = cpu_to_be32(disk_type); in vpc_co_create()
1082 if (disk_type == VHD_DYNAMIC) { in vpc_co_create()