Searched refs:__write8b (Results 1 – 4 of 4) sorted by relevance
/DragonOS-0.1.2/kernel/src/driver/timers/HPET/ |
D | HPET.c | 137 __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() 214 __write8b(HPET_REG_BASE + GEN_CONF, 3); // 置位旧设备中断路由兼容标志位、定时器组使能标志位 in HPET_enable()
|
/DragonOS-0.1.2/kernel/src/driver/usb/xhci/ |
D | internal.h | 19 #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)…
|
D | xhci.c | 124 __write8b(address, trb->param); in xhci_set_trb() 897 __write8b(xhci_hc[id].dcbaap_vaddr + (xhci_hc[id].ports[port].slot_id * sizeof(uint64_t)), in xhci_initialize_slot() 1973 __write8b(xhci_hc[id].cmd_trb_vaddr, trb->param); // 参数 in xhci_send_command() 2199 __write8b(xhci_hc[cid].dcbaap_vaddr, virt_2_phys(xhci_hc[cid].scratchpad_buf_array_vaddr)); in xhci_init() 2205 __write8b(xhci_hc[cid].scratchpad_buf_array_vaddr, virt_2_phys(buf_vaddr)); in xhci_init()
|
/DragonOS-0.1.2/kernel/src/common/ |
D | glib.h | 284 static __always_inline void __write8b(uint64_t vaddr, uint64_t value) in __write8b() function
|