Revision 02645926 hw/omap.h
b/hw/omap.h | ||
---|---|---|
475 | 475 |
void omap_uwire_attach(struct omap_uwire_s *s, |
476 | 476 |
struct uwire_slave_s *slave, int chipselect); |
477 | 477 |
|
478 |
struct omap_i2c_s; |
|
479 |
struct omap_i2c_s *omap_i2c_init(target_phys_addr_t base, |
|
480 |
qemu_irq irq, qemu_irq *dma, omap_clk clk); |
|
481 |
i2c_bus *omap_i2c_bus(struct omap_i2c_s *s); |
|
482 |
|
|
483 | 478 |
struct omap_rtc_s; |
484 | 479 |
struct omap_rtc_s *omap_rtc_init(target_phys_addr_t base, |
485 | 480 |
qemu_irq *irq, omap_clk clk); |
... | ... | |
498 | 493 |
void omap_mmc_reset(struct omap_mmc_s *s); |
499 | 494 |
void omap_mmc_handlers(struct omap_mmc_s *s, qemu_irq ro, qemu_irq cover); |
500 | 495 |
|
496 |
/* omap_i2c.c */ |
|
497 |
struct omap_i2c_s; |
|
498 |
struct omap_i2c_s *omap_i2c_init(target_phys_addr_t base, |
|
499 |
qemu_irq irq, qemu_irq *dma, omap_clk clk); |
|
500 |
void omap_i2c_reset(struct omap_i2c_s *s); |
|
501 |
i2c_bus *omap_i2c_bus(struct omap_i2c_s *s); |
|
502 |
|
|
501 | 503 |
# define cpu_is_omap310(cpu) (cpu->mpu_model == omap310) |
502 | 504 |
# define cpu_is_omap1510(cpu) (cpu->mpu_model == omap1510) |
503 | 505 |
# define cpu_is_omap15xx(cpu) \ |
... | ... | |
561 | 563 |
|
562 | 564 |
struct omap_i2c_s *i2c; |
563 | 565 |
|
566 |
struct omap_rtc_s *rtc; |
|
567 |
|
|
564 | 568 |
/* MPU private TIPB peripherals */ |
565 | 569 |
struct omap_intr_handler_s *ih[2]; |
566 | 570 |
|
Also available in: Unified diff