Home
last modified time | relevance | path

Searched refs:ent (Results 1 – 6 of 6) sorted by relevance

/DragonOS-0.1.3/kernel/src/driver/interrupt/apic/
Dapic.c64 void *ent = (void *)(madt_addr) + sizeof(struct acpi_Multiple_APIC_Description_Table_t); in apic_io_apic_init() local
65 …Controller_Structure_header_t *header = (struct apic_Interrupt_Controller_Structure_header_t *)ent; in apic_io_apic_init()
68 header = (struct apic_Interrupt_Controller_Structure_header_t *)ent; in apic_io_apic_init()
71 struct acpi_IO_APIC_Structure_t *t = (struct acpi_IO_APIC_Structure_t *)ent; in apic_io_apic_init()
77 ent += header->length; in apic_io_apic_init()
590 void *ent = (void *)(madt) + sizeof(struct acpi_Multiple_APIC_Description_Table_t); in apic_get_ics() local
591 …Controller_Structure_header_t *header = (struct apic_Interrupt_Controller_Structure_header_t *)ent; in apic_get_ics()
598 header = (struct apic_Interrupt_Controller_Structure_header_t *)ent; in apic_get_ics()
601 ret_vaddr[cnt++] = (ul)ent; in apic_get_ics()
604 ent += header->length; in apic_get_ics()
/DragonOS-0.1.3/kernel/src/driver/acpi/
Dacpi.c44 ul *ent = &(xsdt->Entry); in acpi_iter_SDT() local
47 …mm_map_phys_addr(acpi_description_header_base + PAGE_2M_SIZE * i, (*(ent + i)) & PAGE_2M_MASK, PAG… in acpi_iter_SDT()
56 uint *ent = &(rsdt->Entry); in acpi_iter_SDT() local
60 …r = (struct acpi_system_description_table_header_t *)(acpi_get_RSDT_entry_vaddr((ul)(*(ent + i)))); in acpi_iter_SDT()
/DragonOS-0.1.3/kernel/src/mm/
Dmmap.c27 static void mm_calculate_entry_num(uint64_t length, mm_pgt_entry_num_t *ent) in mm_calculate_entry_num() argument
29 if (ent == NULL) in mm_calculate_entry_num()
31 ent->num_PML4E = (length + (1UL << PAGE_GDT_SHIFT) - 1) >> PAGE_GDT_SHIFT; in mm_calculate_entry_num()
32 ent->num_PDPTE = (length + PAGE_1G_SIZE - 1) >> PAGE_1G_SHIFT; in mm_calculate_entry_num()
33 ent->num_PDE = (length + PAGE_2M_SIZE - 1) >> PAGE_2M_SHIFT; in mm_calculate_entry_num()
34 ent->num_PTE = (length + PAGE_4K_SIZE - 1) >> PAGE_4K_SHIFT; in mm_calculate_entry_num()
/DragonOS-0.1.3/kernel/src/driver/usb/xhci/
Dxhci.h214 unsigned ent : 1; // evaluate next TRB before updating the endpoint's state member
260 unsigned ent : 1; // evaluate next TRB before updating the endpoint's state member
282 unsigned ent : 1; // evaluate next TRB before updating the endpoint's state member
Dinternal.h80 ptr->ent = 0; \
Dxhci.c1119 trb.ent = (remain_packets == 0); in xhci_data_stage()
1165 trb.ent = 0; in xhci_status_stage()