Home
last modified time | relevance | path

Searched refs:ctrl_inb (Results 1 – 18 of 18) sorted by relevance

/linux-2.4.37.9/drivers/char/
Dhp600_keyb.c108 *s++=ctrl_inb(PCDR); in hp620_japanese_scan_kbd()
109 *s++=ctrl_inb(PFDR); in hp620_japanese_scan_kbd()
115 *s++=ctrl_inb(PGDR); in hp620_japanese_scan_kbd()
116 *s++=ctrl_inb(PHDR); in hp620_japanese_scan_kbd()
139 *s++=ctrl_inb(PCDR); in hp680_japanese_scan_kbd()
140 *s++=ctrl_inb(PFDR); in hp680_japanese_scan_kbd()
146 *s++=ctrl_inb(PGDR); in hp680_japanese_scan_kbd()
147 *s++=ctrl_inb(PHDR); in hp680_japanese_scan_kbd()
271 ctrl_inw(0xa4000104), ctrl_inb(0xa4000124));
273 ctrl_inw(0xa4000106), ctrl_inb(0xa4000126));
[all …]
Dec3104_keyb.c249 msr = ctrl_inb(EC3104_SER4_MSR); in e5_wait_for_cts()
259 status = ctrl_inb(EC3104_SER4_LSR); in e5_send_byte()
267 status = ctrl_inb(EC3104_SER4_LSR); in e5_send_byte()
325 k->packet[k->pos++] = ctrl_inb(EC3104_SER4_DATA); in e5_receive()
381 msr = ctrl_inb(EC3104_SER4_MSR); in ec3104_keyb_interrupt()
402 lsr = ctrl_inb(EC3104_SER4_LSR); in ec3104_keyb_interrupt()
419 msr = ctrl_inb(EC3104_SER4_MSR); in ec3104_keyb_clear_state()
421 lsr = ctrl_inb(EC3104_SER4_LSR); in ec3104_keyb_clear_state()
454 ec3104_keyb.last_msr = ctrl_inb(EC3104_SER4_MSR); in ec3104_kbd_init_hw()
455 ec3104_keyb.cached_mcr = ctrl_inb(EC3104_SER4_MCR); in ec3104_kbd_init_hw()
Dsh-sci.h246 return ctrl_inb(addr); \
338 return ctrl_inb(SCSPTR)&0x01 ? 1 : 0; /* SCI */ in sci_rxd_in()
345 return ctrl_inb(SCPDR)&0x01 ? 1 : 0; /* SCIF0 */
352 return ctrl_inb(SCPDR)&0x01 ? 1 : 0; /* SCI */
354 return ctrl_inb(SCPDR)&0x10 ? 1 : 0; /* SCIF */
356 return ctrl_inb(SCPDR)&0x04 ? 1 : 0; /* IRDA */
364 return ctrl_inb(SCSPTR1)&0x01 ? 1 : 0; /* SCI */
Dshwdt.c158 return ctrl_inb(WTCSR); in sh_wdt_read_csr()
Dsh-sci.c421 data = ctrl_inb(SCPDR); in sci_init_pins_scif()
/linux-2.4.37.9/include/asm-sh/
Dmc146818rtc.h39 val = ctrl_inb(RSECCNT); \
42 val = ctrl_inb(RSECAR); \
45 val = ctrl_inb(RMINCNT); \
48 val = ctrl_inb(RMINAR); \
51 val = ctrl_inb(RHRCNT); \
54 val = ctrl_inb(RHRAR); \
57 val = ctrl_inb(RWKCNT); \
60 val = ctrl_inb(RDAYCNT); \
63 val = ctrl_inb(RMONCNT); \
69 rcr2 = ctrl_inb(RCR2); \
[all …]
Dio.h366 static __inline__ unsigned char ctrl_inb(unsigned long addr) in ctrl_inb() function
/linux-2.4.37.9/arch/sh/kernel/
Drtc.c31 sec128 = ctrl_inb(R64CNT); in sh_rtc_gettimeofday()
32 sec = ctrl_inb(RSECCNT); in sh_rtc_gettimeofday()
33 min = ctrl_inb(RMINCNT); in sh_rtc_gettimeofday()
34 hr = ctrl_inb(RHRCNT); in sh_rtc_gettimeofday()
35 wk = ctrl_inb(RWKCNT); in sh_rtc_gettimeofday()
36 day = ctrl_inb(RDAYCNT); in sh_rtc_gettimeofday()
37 mon = ctrl_inb(RMONCNT); in sh_rtc_gettimeofday()
43 yr = ctrl_inb(RYRCNT); in sh_rtc_gettimeofday()
46 } while ((ctrl_inb(RCR1) & RCR1_CF) != 0); in sh_rtc_gettimeofday()
106 cmos_minutes = ctrl_inb(RMINCNT); in sh_rtc_settimeofday()
Dio_generic.c85 ctrl_inb (DUMMY_READ_AREA6); in generic_insw()
94 ctrl_inb (DUMMY_READ_AREA6); in generic_insl()
142 ctrl_inb (DUMMY_READ_AREA6); in generic_outsw()
151 ctrl_inb (DUMMY_READ_AREA6); in generic_outsl()
Dio_cat68701.c80 ctrl_inb (DUMMY_READ_AREA6); in cat68701_insw()
89 ctrl_inb (DUMMY_READ_AREA6); in cat68701_insl()
137 ctrl_inb (DUMMY_READ_AREA6); in cat68701_outsw()
146 ctrl_inb (DUMMY_READ_AREA6); in cat68701_outsl()
Dsetup_snapgear.c160 ctrl_outb(ctrl_inb(TMU_TSTR) & ~0x2, TMU_TSTR); /* disable timer 1 */ in setup_fast_timer()
164 ctrl_outb(ctrl_inb(TMU_TSTR) | 0x2, TMU_TSTR); /* enable timer 1 */ in setup_fast_timer()
Dirq_ipr.c98 int a = ctrl_inb(INTC_IRR0); in mask_and_ack_ipr()
304 d = (~ctrl_inb(dreg) ^ ctrl_inw(INTC_ICR2)) & ctrl_inw(INTC_INTER) & 0xff; in ipr_irq_demux()
320 d = (~ctrl_inb(dreg) ^ (ctrl_inw(INTC_ICR2) >> 8)) & (ctrl_inw(INTC_INTER) >> 8) & 0xff; in ipr_irq_demux()
Dtime.c564 ctrl_outb((ctrl_inb(TMU_TSTR) | TMU1_TSTR_INIT), TMU_TSTR); in time_init()
/linux-2.4.37.9/arch/sh64/kernel/
Dtime.c235 cmos_minutes = ctrl_inb(RMINCNT); in set_rtc_time()
365 sec = ctrl_inb(RSECCNT); in get_rtc_time()
366 min = ctrl_inb(RMINCNT); in get_rtc_time()
367 hr = ctrl_inb(RHRCNT); in get_rtc_time()
368 wk = ctrl_inb(RWKCNT); in get_rtc_time()
369 day = ctrl_inb(RDAYCNT); in get_rtc_time()
370 mon = ctrl_inb(RMONCNT); in get_rtc_time()
374 } while ((ctrl_inb(RCR1) & RCR1_CF) != 0); in get_rtc_time()
417 do {} while (ctrl_inb(R64CNT) != 0); in get_cpu_mhz()
Dpci_sh5.h95 #define SH5PCI_READ_BYTE(reg) ctrl_inb(PCISH5_ICR_REG(reg))
/linux-2.4.37.9/include/asm-sh64/
Dio.h93 #define ctrl_inb(addr) sh64_in8(addr) macro
/linux-2.4.37.9/arch/sh64/lib/
Dio.c52 r = ctrl_inb(io_addr(port)); in inb()
/linux-2.4.37.9/drivers/video/
Depson1355fb.c54 return ctrl_inb(E1355_REG_BASE + index); in e1355_read_reg()