Home
last modified time | relevance | path

Searched refs:inb (Results 1 – 25 of 114) sorted by relevance

12345

/arch/alpha/kernel/
Des1888.c16 inb(0x0229); in es1888_init()
17 inb(0x0229); in es1888_init()
18 inb(0x0229); in es1888_init()
19 inb(0x022b); in es1888_init()
20 inb(0x0229); in es1888_init()
21 inb(0x022b); in es1888_init()
22 inb(0x0229); in es1888_init()
23 inb(0x0229); in es1888_init()
24 inb(0x022b); in es1888_init()
25 inb(0x0229); in es1888_init()
[all …]
Dsys_jensen.c104 printk("61=%02x, 461=%02x\n", inb(0x61), inb(0x461)); in jensen_device_interrupt()
131 inb(0x64); in jensen_device_interrupt()
132 inb(0x60); in jensen_device_interrupt()
134 inb(0x3fa); in jensen_device_interrupt()
135 inb(0x2fa); in jensen_device_interrupt()
Dsys_sio.c147 old_level_bits = inb(0x4d0) | (inb(0x4d1) << 8); in __sio_fixup_irq_levels()
288 ctest4 = inb(io_port+0x21); in alphabook1_init_pci()
301 outb(0x0f, 0x3ce); orig = inb(0x3cf); /* read PR5 */ in alphabook1_init_pci()
303 outb(0x0b, 0x3ce); config = inb(0x3cf); /* read PR1 */ in alphabook1_init_pci()
Dsmc37c93x.c100 devId = inb(dataPort); in SMCConfigState()
103 /* unsigned char devRev = */ inb(dataPort); in SMCConfigState()
194 oldValue = inb(dataPort); in SMCEnableFDC()
220 currentControl = inb(dataPort); in SMCReportDeviceStatus()
Dirq_i8259.c158 pic = inb(0x20) | (inb(0xA0) << 8); /* read isr */ in isa_no_iack_sc_device_interrupt()
/arch/arm/mach-footbridge/
Dnetwinder-hw.c134 return inb(GP1_IO_BASE) | inb(GP2_IO_BASE) << 8; in nw_gpio_read()
438 inb(0x203); in rwa010_read_ident()
440 bit = inb(0x203); in rwa010_read_ident()
454 dprintk("Card no = %d\n", inb(0x203)); in rwa010_global_init()
477 i = inb(0x203); in rwa010_game_port_init()
480 dprintk("%02X%02X (201)\n", inb(0x203), i); in rwa010_game_port_init()
493 i = inb(0x203); in rwa010_waveartist_init()
496 dprintk("%02X%02X (%X),", inb(0x203), i, base); in rwa010_waveartist_init()
499 dprintk(" irq: %d (%d),", inb(0x203), irq); in rwa010_waveartist_init()
502 dprintk(" dma: %d (%d)\n", inb(0x203), dma); in rwa010_waveartist_init()
[all …]
Disa-irq.c37 outb(inb(PIC_MASK_LO) | mask, PIC_MASK_LO); in isa_mask_pic_lo_irq()
44 outb(inb(PIC_MASK_LO) | mask, PIC_MASK_LO); in isa_ack_pic_lo_irq()
52 outb(inb(PIC_MASK_LO) & ~mask, PIC_MASK_LO); in isa_unmask_pic_lo_irq()
65 outb(inb(PIC_MASK_HI) | mask, PIC_MASK_HI); in isa_mask_pic_hi_irq()
72 outb(inb(PIC_MASK_HI) | mask, PIC_MASK_HI); in isa_ack_pic_hi_irq()
81 outb(inb(PIC_MASK_HI) & ~mask, PIC_MASK_HI); in isa_unmask_pic_hi_irq()
143 if (inb(PIC_MASK_LO) == 0xf5 && inb(PIC_MASK_HI) == 0xfa) { in isa_init_irq()
/arch/mips/loongson64/lemote-2f/
Dec_kb3310b.c31 value = inb(EC_IO_PORT_DATA); in ec_read()
47 inb(EC_IO_PORT_DATA); in ec_write()
71 status = inb(EC_STS_PORT); in ec_query_seq()
73 status = inb(EC_STS_PORT); in ec_query_seq()
113 status = inb(EC_STS_PORT); in ec_get_event_num()
116 status = inb(EC_STS_PORT); in ec_get_event_num()
124 value = inb(EC_DAT_PORT); in ec_get_event_num()
Dirq.c42 isr = inb(PIC_MASTER_CMD) & in mach_i8259_irq()
43 ~inb(PIC_MASTER_IMR) & ~(1 << PIC_CASCADE_IR); in mach_i8259_irq()
45 isr = (inb(PIC_SLAVE_CMD) & ~inb(PIC_SLAVE_IMR)) << 8; in mach_i8259_irq()
56 if (~inb(PIC_MASTER_ISR) & 0x80) in mach_i8259_irq()
Dpm.c65 irq_mask = inb(PIC_MASTER_IMR); in setup_wakeup_events()
72 inb(PIC_MASTER_IMR); in setup_wakeup_events()
74 inb(PIC_SLAVE_IMR); in setup_wakeup_events()
/arch/x86/include/asm/
Dmach_traps.h23 return inb(NMI_REASON_PORT); in default_get_nmi_reason()
35 inb(0x71); /* dummy */ in reassert_nmi()
37 inb(0x71); /* dummy */ in reassert_nmi()
Dprocessor-cyrix.h24 return inb(0x23); in getCx86()
33 #define getCx86_old(reg) ({ outb((reg), 0x22); inb(0x23); })
/arch/mips/loongson64/common/
Dpm.c32 cached_slave_mask = inb(PIC_SLAVE_IMR); in arch_suspend_disable_irqs()
33 cached_master_mask = inb(PIC_MASTER_IMR); in arch_suspend_disable_irqs()
36 inb(PIC_SLAVE_IMR); in arch_suspend_disable_irqs()
38 inb(PIC_MASTER_IMR); in arch_suspend_disable_irqs()
/arch/x86/kernel/
Di8259.c104 ret = inb(PIC_MASTER_CMD) & mask; in i8259A_irq_pending()
106 ret = inb(PIC_SLAVE_CMD) & (mask >> 8); in i8259A_irq_pending()
133 value = inb(PIC_MASTER_CMD) & irqmask; in i8259A_irq_real()
138 value = inb(PIC_SLAVE_CMD) & (irqmask >> 8); in i8259A_irq_real()
177 inb(PIC_SLAVE_IMR); /* DUMMY - (do we need this?) */ in mask_and_ack_8259A()
184 inb(PIC_MASTER_IMR); /* DUMMY - (do we need this?) */ in mask_and_ack_8259A()
244 trigger[0] = inb(0x4d0) & 0xF8; in save_ELCR()
245 trigger[1] = inb(0x4d1) & 0xDE; in save_ELCR()
316 new_val = inb(PIC_MASTER_IMR); in probe_8259A()
/arch/mips/include/asm/
Di8259.h68 irq = inb(PIC_MASTER_CMD) & 7; in i8259_irq()
75 irq = (inb(PIC_SLAVE_CMD) & 7) + 8; in i8259_irq()
87 if(~inb(PIC_MASTER_ISR) & 0x80) in i8259_irq()
/arch/mips/sgi-ip22/
Dip22-eisa.c59 sig[i] = inb(addr + i); in decode_eisa_sig()
76 u8 eisa_irq = inb(EIU_INTRPT_ACK); in ip22_eisa_intr()
78 inb(EISA_DMA1_STATUS); in ip22_eisa_intr()
79 inb(EISA_DMA2_STATUS); in ip22_eisa_intr()
/arch/x86/lib/
Dkaslr.c41 status = inb(I8254_PORT_COUNTER0); in i8254()
42 timer = inb(I8254_PORT_COUNTER0); in i8254()
43 timer |= inb(I8254_PORT_COUNTER0) << 8; in i8254()
/arch/x86/platform/ts5500/
Dts5500.c128 sbc->id = inb(TS5500_PRODUCT_CODE_ADDR); in ts5500_detect_config()
139 tmp = inb(TS5500_SRAM_RS485_ADC_ADDR); in ts5500_detect_config()
144 tmp = inb(TS5500_ERESET_ITR_ADDR); in ts5500_detect_config()
148 tmp = inb(TS5500_LED_JP_ADDR); in ts5500_detect_config()
245 return (inb(TS5500_LED_JP_ADDR) & TS5500_LED) ? LED_FULL : LED_OFF; in ts5500_led_get()
267 if (inb(TS5500_ADC_CONV_BUSY_ADDR) & TS5500_ADC_CONV_BUSY) in ts5500_adc_convert()
271 lsb = inb(TS5500_ADC_CONV_INIT_LSB_ADDR); in ts5500_adc_convert()
272 msb = inb(TS5500_ADC_CONV_MSB_ADDR); in ts5500_adc_convert()
/arch/x86/boot/
Da20.c30 status = inb(0x64); in empty_8042()
39 (void)inb(0x60); in empty_8042()
118 port_a = inb(0x92); /* Configuration port A */ in enable_a20_fast()
Dearly_serial_console.c37 c = inb(port + LCR); in early_serial_init()
107 lcr = inb(port + LCR); in probe_baud()
109 dll = inb(port + DLL); in probe_baud()
110 dlh = inb(port + DLH); in probe_baud()
/arch/powerpc/sysdev/
Di8259.c49 irq = inb(0x20) & 7; in i8259_irq()
56 irq = (inb(0xA0) & 7) + 8; in i8259_irq()
70 if(~inb(0x20) & 0x80) in i8259_irq()
87 inb(0xA1); /* DUMMY */ in i8259_mask_and_ack_irq()
93 inb(0x21); /* DUMMY */ in i8259_mask_and_ack_irq()
/arch/arm/kernel/
Ddma-isa.c52 count = 1 + inb(io_port); in isa_get_dma_residue()
53 count |= inb(io_port) << 8; in isa_get_dma_residue()
174 if (inb(0) == 0x55 && inb(0) == 0xaa) { in isa_init_dma()
/arch/parisc/lib/
Dio.c137 *p = inb(port); in insb()
144 w = inb(port) << 24; in insb()
145 w |= inb(port) << 16; in insb()
146 w |= inb(port) << 8; in insb()
147 w |= inb(port); in insb()
154 *p = inb(port); in insb()
/arch/sh/include/asm/
Dio_noioport.h5 static inline u8 inb(unsigned long addr) in inb() function
49 #define inb_p(addr) inb(addr)
/arch/x86/pci/
Ddirect.c37 *value = inb(0xCFC + (reg & 3)); in pci_conf1_read()
120 *value = inb(PCI_CONF2_ADDRESS(dev, reg)); in pci_conf2_read()
254 if (inb(0xCF8) == 0x00 && inb(0xCFA) == 0x00 && in pci_check_type2()

12345