Home
last modified time | relevance | path

Searched refs:gf_iowrite32 (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/include/linux/
H A Dgoldfish.h14 #ifndef gf_iowrite32
15 #define gf_iowrite32 iowrite32 macro
23 gf_iowrite32(lower_32_bits(addr), portl); in gf_write_ptr()
25 gf_iowrite32(upper_32_bits(addr), porth); in gf_write_ptr()
33 gf_iowrite32(lower_32_bits(addr), portl); in gf_write_dma_addr()
35 gf_iowrite32(upper_32_bits(addr), porth); in gf_write_dma_addr()
/openbmc/linux/drivers/rtc/
H A Drtc-goldfish.c64 gf_iowrite32((rtc_alarm64 >> 32), base + TIMER_ALARM_HIGH); in goldfish_rtc_set_alarm()
65 gf_iowrite32(rtc_alarm64, base + TIMER_ALARM_LOW); in goldfish_rtc_set_alarm()
66 gf_iowrite32(1, base + TIMER_IRQ_ENABLED); in goldfish_rtc_set_alarm()
75 gf_iowrite32(1, base + TIMER_CLEAR_ALARM); in goldfish_rtc_set_alarm()
91 gf_iowrite32(1, base + TIMER_IRQ_ENABLED); in goldfish_rtc_alarm_irq_enable()
93 gf_iowrite32(0, base + TIMER_IRQ_ENABLED); in goldfish_rtc_alarm_irq_enable()
103 gf_iowrite32(1, base + TIMER_CLEAR_INTERRUPT); in goldfish_rtc_interrupt()
142 gf_iowrite32((now64 >> 32), base + TIMER_TIME_HIGH); in goldfish_rtc_set_time()
143 gf_iowrite32(now64, base + TIMER_TIME_LOW); in goldfish_rtc_set_time()
/openbmc/linux/drivers/clocksource/
H A Dtimer-goldfish.c53 gf_iowrite32(0, base + TIMER_ALARM_HIGH); in goldfish_timer_set_oneshot()
54 gf_iowrite32(0, base + TIMER_ALARM_LOW); in goldfish_timer_set_oneshot()
55 gf_iowrite32(1, base + TIMER_IRQ_ENABLED); in goldfish_timer_set_oneshot()
65 gf_iowrite32(0, base + TIMER_IRQ_ENABLED); in goldfish_timer_shutdown()
81 gf_iowrite32(upper_32_bits(now), base + TIMER_ALARM_HIGH); in goldfish_timer_next_event()
82 gf_iowrite32(lower_32_bits(now), base + TIMER_ALARM_LOW); in goldfish_timer_next_event()
93 gf_iowrite32(1, base + TIMER_CLEAR_INTERRUPT); in goldfish_timer_irq()
/openbmc/linux/drivers/tty/
H A Dgoldfish.c64 gf_iowrite32(count, base + GOLDFISH_TTY_REG_DATA_LEN); in do_rw_io()
67 gf_iowrite32(GOLDFISH_TTY_CMD_WRITE_BUFFER, in do_rw_io()
70 gf_iowrite32(GOLDFISH_TTY_CMD_READ_BUFFER, in do_rw_io()
161 gf_iowrite32(GOLDFISH_TTY_CMD_INT_ENABLE, qtty->base + GOLDFISH_TTY_REG_CMD); in goldfish_tty_activate()
169 gf_iowrite32(GOLDFISH_TTY_CMD_INT_DISABLE, qtty->base + GOLDFISH_TTY_REG_CMD); in goldfish_tty_shutdown()
376 gf_iowrite32(GOLDFISH_TTY_CMD_INT_DISABLE, base + GOLDFISH_TTY_REG_CMD); in goldfish_tty_probe()
440 gf_iowrite32(ch, port->membase); in gf_early_console_putchar()
/openbmc/linux/arch/m68k/include/asm/
H A Dio.h12 #define gf_iowrite32 iowrite32be macro