Revision d82310f7 hw/omap.h
b/hw/omap.h | ||
---|---|---|
668 | 668 |
void omap_mpuio_out_set(struct omap_mpuio_s *s, int line, qemu_irq handler); |
669 | 669 |
void omap_mpuio_key(struct omap_mpuio_s *s, int row, int col, int down); |
670 | 670 |
|
671 |
/* omap1 gpio module interface */ |
|
671 | 672 |
struct omap_gpio_s; |
672 | 673 |
struct omap_gpio_s *omap_gpio_init(target_phys_addr_t base, |
673 | 674 |
qemu_irq irq, omap_clk clk); |
... | ... | |
675 | 676 |
qemu_irq *omap_gpio_in_get(struct omap_gpio_s *s); |
676 | 677 |
void omap_gpio_out_set(struct omap_gpio_s *s, int line, qemu_irq handler); |
677 | 678 |
|
679 |
/* omap2 gpio interface */ |
|
678 | 680 |
struct omap_gpif_s; |
679 | 681 |
struct omap_gpif_s *omap2_gpio_init(struct omap_target_agent_s *ta, |
680 | 682 |
qemu_irq *irq, omap_clk *fclk, omap_clk iclk, int modules); |
683 |
void omap_gpif_reset(struct omap_gpif_s *s); |
|
681 | 684 |
qemu_irq *omap2_gpio_in_get(struct omap_gpif_s *s, int start); |
682 | 685 |
void omap2_gpio_out_set(struct omap_gpif_s *s, int line, qemu_irq handler); |
683 | 686 |
|
Also available in: Unified diff