Fork me on GitHub
outport_b          45 drivers/block/dma.c 	outport_b(dma_mask[channel], DMA_MASK_CHANNEL | channel);
outport_b          48 drivers/block/dma.c 	outport_b(dma_clear[channel], 0);
outport_b          51 drivers/block/dma.c 	outport_b(dma_mode[channel], mode | channel);
outport_b          54 drivers/block/dma.c 	outport_b(dma_address[channel], LOW_BYTE((unsigned int)address));
outport_b          55 drivers/block/dma.c 	outport_b(dma_address[channel], HIGH_BYTE((unsigned int)address));
outport_b          58 drivers/block/dma.c 	outport_b(dma_page[channel], (unsigned int)address >> 16);
outport_b          64 drivers/block/dma.c 	outport_b(dma_count[channel], LOW_BYTE(count));
outport_b          65 drivers/block/dma.c 	outport_b(dma_count[channel], HIGH_BYTE(count));
outport_b          68 drivers/block/dma.c 	outport_b(dma_mask[channel], DMA_UNMASK_CHANNEL | channel);
outport_b         165 drivers/block/floppy.c 			outport_b(FDC_DATA, value);
outport_b         195 drivers/block/floppy.c 	outport_b(FDC_DOR, (FDC_DRIVE0 << current_fdd) | FDC_DMA_ENABLE | FDC_ENABLE | current_fdd);
outport_b         217 drivers/block/floppy.c 	outport_b(FDC_DOR, FDC_DMA_ENABLE | FDC_ENABLE | fdd);
outport_b         239 drivers/block/floppy.c 	outport_b(FDC_DOR, 0);			/* enter in reset mode */
outport_b         244 drivers/block/floppy.c 	outport_b(FDC_DOR, FDC_DMA_ENABLE | FDC_ENABLE);
outport_b         274 drivers/block/floppy.c 	outport_b(FDC_CCR, current_fdd_type->rate);
outport_b         137 drivers/block/ide.c 		outport_b(ide->base + IDE_COMMAND, (ide->drive[drive].flags & DEVICE_IS_ATAPI) ? ATA_IDENTIFY_PACKET : ATA_IDENTIFY);
outport_b         154 drivers/block/ide.c 		outport_b(ide->base + IDE_COMMAND, (ide->drive[drive].flags & DEVICE_IS_ATAPI) ? ATA_IDENTIFY_PACKET : ATA_IDENTIFY);
outport_b         535 drivers/block/ide.c 	outport_b(ide->base + IDE_DRVHD, selected);
outport_b         554 drivers/block/ide.c 	outport_b(ide->base + IDE_DRVHD, IDE_CHS_MODE);
outport_b         557 drivers/block/ide.c 	outport_b(ide->ctrl + IDE_DEV_CTRL, IDE_DEVCTR_SRST | IDE_DEVCTR_NIEN);
outport_b         559 drivers/block/ide.c 	outport_b(ide->ctrl + IDE_DEV_CTRL, 0);
outport_b         562 drivers/block/ide.c 	outport_b(ide->base + IDE_DRVHD, IDE_CHS_MODE);
outport_b         582 drivers/block/ide.c 	outport_b(ide->base + IDE_DRVHD, IDE_CHS_MODE + (1 << 4));
outport_b         586 drivers/block/ide.c 		outport_b(ide->base + IDE_DRVHD, IDE_CHS_MODE);
outport_b         592 drivers/block/ide.c 	outport_b(ide->ctrl + IDE_DEV_CTRL, 0);
outport_b         109 drivers/block/ide_cd.c 	outport_b(ide->ctrl + IDE_DEV_CTRL, 0);
outport_b         111 drivers/block/ide_cd.c 	outport_b(ide->base + IDE_DRVHD, IDE_CHS_MODE);
outport_b         119 drivers/block/ide_cd.c 	outport_b(ide->base + IDE_FEATURES, 0);
outport_b         120 drivers/block/ide_cd.c 	outport_b(ide->base + IDE_SECCNT, 0);
outport_b         121 drivers/block/ide_cd.c 	outport_b(ide->base + IDE_SECNUM, 0);
outport_b         122 drivers/block/ide_cd.c 	outport_b(ide->base + IDE_LCYL, blksize & 0xFF);
outport_b         123 drivers/block/ide_cd.c 	outport_b(ide->base + IDE_HCYL, blksize >> 8);
outport_b         124 drivers/block/ide_cd.c 	outport_b(ide->base + IDE_DRVHD, drive << 4);
outport_b         125 drivers/block/ide_cd.c 	outport_b(ide->base + IDE_COMMAND, ATA_PACKET);
outport_b         164 drivers/block/ide_hd.c 			outport_b(ide->base + IDE_SECCNT, sectors_to_read);
outport_b         167 drivers/block/ide_hd.c 			outport_b(ide->base + IDE_SECCNT, 1);
outport_b         172 drivers/block/ide_hd.c 			outport_b(ide->base + IDE_SECNUM, offset & 0xFF);
outport_b         173 drivers/block/ide_hd.c 			outport_b(ide->base + IDE_LCYL, (offset >> 8) & 0xFF);
outport_b         174 drivers/block/ide_hd.c 			outport_b(ide->base + IDE_HCYL, (offset >> 16) & 0xFF);
outport_b         182 drivers/block/ide_hd.c 			outport_b(ide->base + IDE_SECNUM, sector);
outport_b         183 drivers/block/ide_hd.c 			outport_b(ide->base + IDE_LCYL, cyl);
outport_b         184 drivers/block/ide_hd.c 			outport_b(ide->base + IDE_HCYL, (cyl >> 8));
outport_b         191 drivers/block/ide_hd.c 		outport_b(ide->base + IDE_COMMAND, cmd);
outport_b         292 drivers/block/ide_hd.c 			outport_b(ide->base + IDE_SECCNT, sectors_to_write);
outport_b         295 drivers/block/ide_hd.c 			outport_b(ide->base + IDE_SECCNT, 1);
outport_b         300 drivers/block/ide_hd.c 			outport_b(ide->base + IDE_SECNUM, offset & 0xFF);
outport_b         301 drivers/block/ide_hd.c 			outport_b(ide->base + IDE_LCYL, (offset >> 8) & 0xFF);
outport_b         302 drivers/block/ide_hd.c 			outport_b(ide->base + IDE_HCYL, (offset >> 16) & 0xFF);
outport_b         310 drivers/block/ide_hd.c 			outport_b(ide->base + IDE_SECNUM, sector);
outport_b         311 drivers/block/ide_hd.c 			outport_b(ide->base + IDE_LCYL, cyl);
outport_b         312 drivers/block/ide_hd.c 			outport_b(ide->base + IDE_HCYL, (cyl >> 8));
outport_b         319 drivers/block/ide_hd.c 		outport_b(ide->base + IDE_COMMAND, cmd);
outport_b         511 drivers/block/ide_hd.c 	outport_b(ide->ctrl + IDE_DEV_CTRL, IDE_DEVCTR_NIEN);
outport_b         514 drivers/block/ide_hd.c 		outport_b(ide->base + IDE_SECCNT, PAGE_SIZE / IDE_HD_SECTSIZE);
outport_b         515 drivers/block/ide_hd.c 		outport_b(ide->base + IDE_COMMAND, ATA_SET_MULTIPLE_MODE);
outport_b         519 drivers/block/ide_hd.c 	outport_b(ide->ctrl + IDE_DEV_CTRL, IDE_DEVCTR_DRQ);
outport_b         246 drivers/char/keyboard.c 		outport_b(port, byte);
outport_b         102 drivers/char/lp.c 	outport_b(lp_table[minor].data, 0x55);
outport_b         109 drivers/char/lp.c 	outport_b(lp_table[minor].data, 0xAA);
outport_b         124 drivers/char/lp.c 	outport_b(lp_table[minor].data, c);
outport_b         126 drivers/char/lp.c 	outport_b(lp_table[minor].ctrl, ctrl | LP_CTRL_STR);
outport_b         128 drivers/char/lp.c 	outport_b(lp_table[minor].ctrl, ctrl);
outport_b         201 drivers/char/lp.c 			outport_b(lp_table[n].ctrl, ctrl);
outport_b         130 drivers/char/serial.c 	outport_b(s->addr + UART_FCR, (UART_FCR_FIFO |
outport_b         154 drivers/char/serial.c 		outport_b(s->addr + UART_SR, 0xAA);	/* put a random value */
outport_b         159 drivers/char/serial.c 			outport_b(s->addr + UART_SR, value);	/* restore it */
outport_b         171 drivers/char/serial.c 	outport_b(s->addr + UART_IER, 0);	/* disable all interrupts */
outport_b         174 drivers/char/serial.c 	outport_b(s->addr + UART_LCR, UART_LCR_DLAB);	/* enable DLAB */
outport_b         175 drivers/char/serial.c 	outport_b(s->addr + UART_DLL, divisor & 0xFF);	/* LSB of divisor */
outport_b         176 drivers/char/serial.c 	outport_b(s->addr + UART_DLH, divisor >> 8);	/* MSB of divisor */
outport_b         177 drivers/char/serial.c 	outport_b(s->addr + UART_LCR, s->lctrl);	/* line control */
outport_b         188 drivers/char/serial.c 	outport_b(s->addr + UART_IER, UART_IER_RDAI);
outport_b         200 drivers/char/serial.c 	outport_b(s->addr + UART_IER, UART_IER_RDAI | UART_IER_THREI);
outport_b         286 drivers/char/serial.c 		outport_b(s->addr + UART_IER, UART_IER_RDAI);
outport_b         293 drivers/char/serial.c 		outport_b(s->addr + UART_TD, ch);
outport_b         298 drivers/char/serial.c 		outport_b(s->addr + UART_IER, UART_IER_RDAI);
outport_b         368 drivers/char/serial.c 		outport_b(s->addr + UART_FCR, UART_FCR_FIFO | UART_FCR_FIFO14);
outport_b         370 drivers/char/serial.c 	outport_b(s->addr + UART_MCR, UART_MCR_OUT2 | UART_MCR_RTS | UART_MCR_DTR);
outport_b         373 drivers/char/serial.c 	outport_b(s->addr + UART_IER, UART_IER_RDAI);
outport_b         401 drivers/char/serial.c 	outport_b(s->addr + UART_IER, 0);
outport_b         404 drivers/char/serial.c 	outport_b(s->addr + UART_FCR, UART_FCR_CRCVR | UART_FCR_CXMTR);
outport_b         427 drivers/char/serial.c 	outport_b(s->addr + UART_LCR, UART_LCR_DLAB);	/* enable DLAB */
outport_b         428 drivers/char/serial.c 	outport_b(s->addr + UART_DLL, divisor & 0xFF);	/* LSB of divisor */
outport_b         429 drivers/char/serial.c 	outport_b(s->addr + UART_DLH, divisor >> 8);	/* MSB of divisor */
outport_b         467 drivers/char/serial.c 	outport_b(s->addr + UART_LCR, lctrl);	/* line control */
outport_b         477 drivers/char/serial.c 	outport_b(s->addr + UART_IER, UART_IER_RDAI | UART_IER_THREI);
outport_b         102 drivers/video/vgacon.c 		outport_b(video.port + CRT_INDEX, CRT_CURSOR_POS_HI);
outport_b         103 drivers/video/vgacon.c 		outport_b(video.port + CRT_DATA, (curpos >> 8) & 0xFF);
outport_b         104 drivers/video/vgacon.c 		outport_b(video.port + CRT_INDEX, CRT_CURSOR_POS_LO);
outport_b         105 drivers/video/vgacon.c 		outport_b(video.port + CRT_DATA, (curpos & 0xFF));
outport_b         120 drivers/video/vgacon.c 			outport_b(video.port + CRT_INDEX, CRT_CURSOR_STR);
outport_b         122 drivers/video/vgacon.c 			outport_b(video.port + CRT_DATA, status & CURSOR_MASK);
outport_b         126 drivers/video/vgacon.c 			outport_b(video.port + CRT_INDEX, CRT_CURSOR_STR);
outport_b         128 drivers/video/vgacon.c 			outport_b(video.port + CRT_DATA, status | CURSOR_DISABLE);
outport_b         138 drivers/video/vgacon.c 	outport_b(video.port + CRT_INDEX, CRT_CURSOR_POS_HI);
outport_b         140 drivers/video/vgacon.c 	outport_b(video.port + CRT_INDEX, CRT_CURSOR_POS_LO);
outport_b         237 drivers/video/vgacon.c 		outport_b(ATTR_CONTROLLER, ATTR_CONTROLLER_PAS);
outport_b         256 drivers/video/vgacon.c 	outport_b(ATTR_CONTROLLER, 0);
outport_b          79 include/fiwix/asm.h void outport_b(unsigned int, unsigned char);
outport_b          43 kernel/cmos.c  	outport_b(CMOS_INDEX, addr);
outport_b          54 kernel/cmos.c  	outport_b(CMOS_INDEX, addr);
outport_b          55 kernel/cmos.c  	outport_b(CMOS_DATA, value);
outport_b          49 kernel/cpu.c   	outport_b(MODEREG, SEL_CHAN2 | LSB_MSB | TERM_COUNT | BINARY_CTR);
outport_b          50 kernel/cpu.c   	outport_b(CHANNEL2, (OSCIL / HZ) & 0xFF);
outport_b          51 kernel/cpu.c   	outport_b(CHANNEL2, (OSCIL / HZ) >> 8);
outport_b          52 kernel/cpu.c   	outport_b(PS2_SYSCTRL_B, inport_b(PS2_SYSCTRL_B) | ENABLE_SDATA | ENABLE_TMR2G);
outport_b          62 kernel/cpu.c   	outport_b(PS2_SYSCTRL_B, inport_b(PS2_SYSCTRL_B) & ~(ENABLE_SDATA | ENABLE_TMR2G));
outport_b          33 kernel/pic.c   	outport_b(PIC_MASTER, ocw3);
outport_b          34 kernel/pic.c   	outport_b(PIC_SLAVE, ocw3);
outport_b         112 kernel/pic.c   	outport_b(addr, inport_b(addr) & ~(1 << irq));
outport_b         122 kernel/pic.c   	outport_b(addr, inport_b(addr) | (1 << irq));
outport_b         143 kernel/pic.c   				outport_b(PIC_MASTER, EOI);
outport_b         154 kernel/pic.c   			outport_b(PIC_SLAVE, EOI);
outport_b         156 kernel/pic.c   		outport_b(PIC_MASTER, EOI);
outport_b         161 kernel/pic.c   		outport_b(PIC_SLAVE, EOI);
outport_b         163 kernel/pic.c   	outport_b(PIC_MASTER, EOI);
outport_b         204 kernel/pic.c   	outport_b(PIC_MASTER, ICW1_RESET);
outport_b         205 kernel/pic.c   	outport_b(PIC_MASTER + DATA, IRQ0_ADDR);	/* ICW2 */
outport_b         206 kernel/pic.c   	outport_b(PIC_MASTER + DATA, 1 << CASCADE_IRQ);	/* ICW3 */
outport_b         207 kernel/pic.c   	outport_b(PIC_MASTER + DATA, ICW4_8086EOI);
outport_b         210 kernel/pic.c   	outport_b(PIC_SLAVE, ICW1_RESET);
outport_b         211 kernel/pic.c   	outport_b(PIC_SLAVE + DATA, IRQ8_ADDR);		/* ICW2 */
outport_b         212 kernel/pic.c   	outport_b(PIC_SLAVE + DATA, CASCADE_IRQ);	/* ICW3 */
outport_b         213 kernel/pic.c   	outport_b(PIC_SLAVE + DATA, ICW4_8086EOI);
outport_b         216 kernel/pic.c   	outport_b(PIC_MASTER + DATA, ~(1 << CASCADE_IRQ));
outport_b         219 kernel/pic.c   	outport_b(PIC_SLAVE + DATA, OCW1);
outport_b          13 kernel/pit.c   	outport_b(MODEREG, SEL_CHAN2 | LSB_MSB | SQUARE_WAVE | BINARY_CTR);
outport_b          14 kernel/pit.c   	outport_b(CHANNEL2, (OSCIL / BEEP_FREQ) & 0xFF);	/* LSB */
outport_b          15 kernel/pit.c   	outport_b(CHANNEL2, (OSCIL / BEEP_FREQ) >> 8);		/* MSB */
outport_b          16 kernel/pit.c   	outport_b(PS2_SYSCTRL_B, inport_b(PS2_SYSCTRL_B) | ENABLE_SDATA | ENABLE_TMR2G);
outport_b          21 kernel/pit.c   	outport_b(PS2_SYSCTRL_B, inport_b(PS2_SYSCTRL_B) & ~(ENABLE_SDATA | ENABLE_TMR2G));
outport_b          26 kernel/pit.c   	outport_b(MODEREG, SEL_CHAN0 | LSB_MSB | RATE_GEN | BINARY_CTR);
outport_b          27 kernel/pit.c   	outport_b(CHANNEL0, (OSCIL / hertz) & 0xFF);	/* LSB */
outport_b          28 kernel/pit.c   	outport_b(CHANNEL0, (OSCIL / hertz) >> 8);	/* MSB */