Home
last modified time | relevance | path

Searched refs:__write8b (Results 1 – 4 of 4) sorted by relevance

/DragonOS-0.1.7/kernel/src/driver/timers/HPET/
DHPET.c137 __write8b(HPET_REG_BASE + MAIN_CNT, 0); in HPET_measure_freq()
139 __write8b((HPET_REG_BASE + TIM0_CONF), 0x0044); // 设置定时器0为非周期,边沿触发,默认投递到IO APIC的2号引脚 in HPET_measure_freq()
141 __write8b(HPET_REG_BASE + TIM0_COMP, clks_to_intr); in HPET_measure_freq()
160 __write8b(HPET_REG_BASE + GEN_CONF, 3); // 置位旧设备中断路由兼容标志位、定时器组使能标志位,开始计时 in HPET_measure_freq()
199 __write8b(HPET_REG_BASE + MAIN_CNT, 0); in HPET_enable()
201__write8b(HPET_REG_BASE + TIM0_CONF, 0x004c); // 设置定时器0为周期定时,边沿触发,默认投递到IO APIC的2号引脚(看conf寄存器的高32bi… in HPET_enable()
203 __write8b(HPET_REG_BASE + TIM0_COMP, clks_to_intr); in HPET_enable()
212 __write8b(HPET_REG_BASE + GEN_CONF, 3); // 置位旧设备中断路由兼容标志位、定时器组使能标志位 in HPET_enable()
/DragonOS-0.1.7/kernel/src/driver/usb/xhci/
Dinternal.h19 #define xhci_write_cap_reg64(id, offset, value) (__write8b(xhci_hc[id].vbase + (offset), (value)))
31 #define xhci_write_op_reg64(id, offset, value) (__write8b(xhci_hc[id].vbase_op + (offset), (value)))
48 #define xhci_write_intr_reg64(id, num, intr_offset, value) (__write8b(xhci_calc_intr_vaddr(id, num)…
Dxhci.c124 __write8b(address, trb->param); in xhci_set_trb()
899 __write8b(xhci_hc[id].dcbaap_vaddr + (xhci_hc[id].ports[port].slot_id * sizeof(uint64_t)), in xhci_initialize_slot()
1975 __write8b(xhci_hc[id].cmd_trb_vaddr, trb->param); // 参数 in xhci_send_command()
2201 __write8b(xhci_hc[cid].dcbaap_vaddr, virt_2_phys(xhci_hc[cid].scratchpad_buf_array_vaddr)); in xhci_init()
2207 __write8b(xhci_hc[cid].scratchpad_buf_array_vaddr, virt_2_phys(buf_vaddr)); in xhci_init()
/DragonOS-0.1.7/kernel/src/common/
Dglib.h284 static __always_inline void __write8b(uint64_t vaddr, uint64_t value) in __write8b() function