Home
last modified time | relevance | path

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

/DragonOS-0.1.7/kernel/src/driver/interrupt/apic/
Dapic_timer.h26 __write4b(APIC_LOCAL_APIC_VIRT_BASE_ADDR + LOCAL_APIC_OFFSET_Local_APIC_CLKDIV, divider); in apic_timer_set_div()
39__write4b(APIC_LOCAL_APIC_VIRT_BASE_ADDR + LOCAL_APIC_OFFSET_Local_APIC_INITIAL_COUNT_REG, init_cn… in apic_timer_set_init_cnt()
55 __write4b(APIC_LOCAL_APIC_VIRT_BASE_ADDR + LOCAL_APIC_OFFSET_Local_APIC_LVT_TIMER, val); in apic_timer_set_LVT()
63 __write4b(APIC_LOCAL_APIC_VIRT_BASE_ADDR + LOCAL_APIC_OFFSET_Local_APIC_LVT_TIMER, value); in apic_timer_write_LVT()
Dapic.c45 __write4b(APIC_LOCAL_APIC_VIRT_BASE_ADDR + LOCAL_APIC_OFFSET_Local_APIC_EOI, 0); in __send_eoi()
/DragonOS-0.1.7/kernel/src/driver/usb/xhci/
Dinternal.h15 #define xhci_write_cap_reg32(id, offset, value) (__write4b(xhci_hc[id].vbase + (offset), (value)))
27 #define xhci_write_op_reg32(id, offset, value) (__write4b(xhci_hc[id].vbase_op + (offset), (value)))
46 #define xhci_write_intr_reg32(id, num, intr_offset, value) (__write4b(xhci_calc_intr_vaddr(id, num)…
Dxhci.c125 __write4b(address + 8, trb->status); in xhci_set_trb()
126 __write4b(address + 12, trb->command); in xhci_set_trb()
749 __write4b((uint64_t)phys_2_virt(event_trb.param), in xhci_hc_irq_handler()
1012 __write4b(input_ctx_buffer + 4, 0x3); in xhci_set_address()
1738 __write4b(input_ctx_buffer + 4, (1 << ep_num) | 1); in xhci_configure_endpoint()
1739 __write4b(input_ctx_buffer + 0x1c, 1); in xhci_configure_endpoint()
1976 __write4b(xhci_hc[id].cmd_trb_vaddr + 8, trb->status); // 状态 in xhci_send_command()
1977 __write4b(xhci_hc[id].cmd_trb_vaddr + 12, trb->command | xhci_hc[id].cmd_trb_cycle); // 命令 in xhci_send_command()
/DragonOS-0.1.7/kernel/src/common/
Dglib.h298 static __always_inline void __write4b(uint64_t vaddr, uint32_t value) in __write4b() function
/DragonOS-0.1.7/kernel/src/driver/timers/HPET/
DHPET.c255 __write4b(hptc_vaddr, 0x80); in HPET_init()