Home
last modified time | relevance | path

Searched refs:outb (Results 1 – 10 of 10) sorted by relevance

/sys/dev/x86/
Dide.c133 outb(ide->base + IDE_LBALOW, 0x41); in IDE_HasController()
134 outb(ide->base + IDE_LBAMID, 0x4D); in IDE_HasController()
149 outb(ide->devctl, IDE_CONTROL_SRST); in IDE_Reset()
150 outb(ide->devctl, 0); in IDE_Reset()
195 outb(ide->base + IDE_DRIVE, driveCode); in IDE_Identify()
204 outb(ide->base + IDE_SECTORCOUNT, 0x00); in IDE_Identify()
205 outb(ide->base + IDE_LBALOW, 0x00); in IDE_Identify()
206 outb(ide->base + IDE_LBAMID, 0x00); in IDE_Identify()
207 outb(ide->base + IDE_LBAHIGH, 0x00); in IDE_Identify()
208 outb(ide->base + IDE_COMMAND, IDE_CMD_IDENTIFY); in IDE_Identify()
[all …]
Dsercons.c46 outb(base + UART_OFFSET_IER, 0); in Serial_Init()
49 outb(base + UART_OFFSET_LCR, UART_LCR_DLAB); in Serial_Init()
50 outb(base + UART_OFFSET_DIVLO, 1); // 115200 Baud in Serial_Init()
51 outb(base + UART_OFFSET_DIVLO, 0); in Serial_Init()
52 outb(base + UART_OFFSET_LCR, UART_LCR_8N1); in Serial_Init()
55 outb(base + UART_OFFSET_IIR, 0xC7); in Serial_Init()
56 outb(base + UART_OFFSET_MCR, 0x0B); in Serial_Init()
93 outb(base + UART_OFFSET_DATA, ch); in Serial_Putc()
Dvgacons.c48 outb(VGA_SEQ_INDEX,0x02); in EnterFontMode()
51 outb(VGA_SEQ_INDEX,0x04); in EnterFontMode()
54 outb(VGA_GDC_INDEX,0x04); in EnterFontMode()
57 outb(VGA_GDC_INDEX,0x05); in EnterFontMode()
60 outb(VGA_GDC_INDEX,0x06); in EnterFontMode()
63 outb(VGA_ATC_INDEX,0x10); in EnterFontMode()
Dps2.c280 outb(PS2_COMMAND_PORT, PS2_COMMAND_KBDDISABLE); in PS2_Init()
291 outb(PS2_COMMAND_PORT, PS2_COMMAND_SELFTEST); in PS2_Init()
297 outb(PS2_COMMAND_PORT, PS2_COMMAND_KBDENABLE); in PS2_Init()
Ddebugcons.c19 outb(0xe9, (uint8_t)c); in DebugConsole_Putc()
Dioport.h35 static __inline__ void outb(int port, unsigned char val) in outb() function
Drtc.c56 outb(0x70, reg); in RTC_ReadReg()
/sys/amd64/
Dlapic.c119 outb(0x70, 0x0F); in LAPIC_StartAP()
120 outb(0x71, 0x0A); in LAPIC_StartAP()
192 outb(0xA1, 0xFF); in LAPIC_Init()
193 outb(0x21, 0xFF); in LAPIC_Init()
Dpci.c62 outb(port, data); in PCICfgWrite8()
/sys/amd64/include/
Damd64op.h431 static INLINE void outb(uint16_t port, uint8_t data) in outb() function