AmlField.AmlUnit.hole: def of bend-osdev-acpi@0.1.1.0 Import: import bend-osdev-acpi@0.1.1.0/aml_field.bend as AmlField Lines 113-117 of bend-osdev-acpi@0.1.1.0/aml_field.bend: https://jend.leeeet.dev/read.txt?path=bend-osdev-acpi@0.1.1.0/aml_field.bend&start_line=113&end_line=117 import Base import bend-osdev-word64@0.1.1.0/word64.bend as W # the unit's own bits that belong to the field def AmlUnit.hole(u: AmlUnit) -> W.W64: match u: case AmlUnit{a, +s, +n, d, ok}: W.W64.shl(fld.mask(n), s) Uses (4): https://jend.leeeet.dev/definition.txt?path=bend-osdev-acpi@0.1.1.0/aml_field.bend&name=AmlUnit https://jend.leeeet.dev/definition.txt?path=bend-osdev-acpi@0.1.1.0/aml_field.bend&name=fld.mask https://jend.leeeet.dev/definition.txt?path=bend-osdev-word64@0.1.1.0/word64.bend&name=W64 https://jend.leeeet.dev/definition.txt?path=bend-osdev-word64@0.1.1.0/word64.bend&name=W64.shl