Home
last modified time | relevance | path

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

/openbmc/qemu/hw/block/
H A Dfdc-isa.c131 uint8_t *maxh, uint8_t *maxs) in isa_fdc_get_drive_max_chs() argument
135 *maxc = *maxh = *maxs = 0; in isa_fdc_get_drive_max_chs()
143 if (*maxh < fdf->max_head) { in isa_fdc_get_drive_max_chs()
144 *maxh = fdf->max_head; in isa_fdc_get_drive_max_chs()
158 uint8_t maxc, maxh, maxs; in build_fdinfo_aml() local
160 isa_fdc_get_drive_max_chs(type, &maxc, &maxh, &maxs); in build_fdinfo_aml()
176 aml_append(fdi, aml_int(maxh)); /* Maximum Head Number */ in build_fdinfo_aml()
/openbmc/qemu/hw/acpi/
H A Dmemory_hotplug.c533 Aml *maxh = aml_name("MAXH"); in build_memory_hotplug_aml() local
571 aml_append(method, aml_add(minh, lenh, maxh)); in build_memory_hotplug_aml()
574 aml_append(ifctx, aml_add(maxh, one, maxh)); in build_memory_hotplug_aml()
579 aml_append(ifctx, aml_subtract(maxh, one, maxh)); in build_memory_hotplug_aml()
586 ifctx = aml_if(aml_equal(maxh, zero)); in build_memory_hotplug_aml()