MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / outb

Function outb

bsp/x86/drivers/include/i386.h:53–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51}
52
53static __inline void outb(int port, unsigned char data)
54{
55 __asm __volatile("outb %0,%w1" : : "a" (data), "d" (port));
56}
57
58
59static __inline void outb_p(char value, unsigned short port)

Callers 12

set_ledsFunction · 0.85
rt_hw_board_initFunction · 0.85
rebootFunction · 0.85
rt_serial_initFunction · 0.85
rt_serial_putcFunction · 0.85
rt_cga_initFunction · 0.85
rt_cga_putcFunction · 0.85
readcmosFunction · 0.85
serial8250_outFunction · 0.85
rt_hw_pic_initFunction · 0.85
rt_hw_interrupt_umaskFunction · 0.85
rt_hw_interrupt_maskFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected