Revision a171fe39 hw/pxa.h

b/hw/pxa.h
63 63
struct pxa2xx_pic_state_s;
64 64
qemu_irq *pxa2xx_pic_init(target_phys_addr_t base, CPUState *env);
65 65

  
66
/* pxa2xx_timer.c */
67
void pxa25x_timer_init(target_phys_addr_t base,
68
                qemu_irq *irqs, CPUState *cpustate);
69
void pxa27x_timer_init(target_phys_addr_t base,
70
                qemu_irq *irqs, qemu_irq irq4, CPUState *cpustate);
71

  
66 72
/* pxa2xx_gpio.c */
67 73
struct pxa2xx_gpio_info_s;
68 74
struct pxa2xx_gpio_info_s *pxa2xx_gpio_init(target_phys_addr_t base,
......
81 87
                qemu_irq irq);
82 88
void pxa2xx_dma_request(struct pxa2xx_dma_state_s *s, int req_num, int on);
83 89

  
90
/* pxa2xx_lcd.c */
91
struct pxa2xx_lcdc_s;
92
struct pxa2xx_lcdc_s *pxa2xx_lcdc_init(target_phys_addr_t base,
93
                qemu_irq irq, DisplayState *ds);
94
void pxa2xx_lcd_vsync_cb(struct pxa2xx_lcdc_s *s,
95
                void (*cb)(void *opaque), void *opaque);
96
void pxa2xx_lcdc_oritentation(void *opaque, int angle);
97

  
98
/* pxa2xx_mmci.c */
99
struct pxa2xx_mmci_s;
100
struct pxa2xx_mmci_s *pxa2xx_mmci_init(target_phys_addr_t base,
101
                qemu_irq irq, void *dma);
102
void pxa2xx_mmci_handlers(struct pxa2xx_mmci_s *s, void *opaque,
103
                void (*readonly_cb)(void *, int),
104
                void (*coverswitch_cb)(void *, int));
105

  
106
/* pxa2xx_pcmcia.c */
107
struct pxa2xx_pcmcia_s;
108
struct pxa2xx_pcmcia_s *pxa2xx_pcmcia_init(target_phys_addr_t base);
109
int pxa2xx_pcmcia_attach(void *opaque, struct pcmcia_card_s *card);
110
int pxa2xx_pcmcia_dettach(void *opaque);
111
void pxa2xx_pcmcia_set_irq_cb(void *opaque, qemu_irq irq, qemu_irq cd_irq);
112

  
84 113
/* pxa2xx.c */
85 114
struct pxa2xx_ssp_s;
86 115
void pxa2xx_ssp_attach(struct pxa2xx_ssp_s *port,
......
95 124
    qemu_irq *pic;
96 125
    struct pxa2xx_dma_state_s *dma;
97 126
    struct pxa2xx_gpio_info_s *gpio;
127
    struct pxa2xx_lcdc_s *lcd;
98 128
    struct pxa2xx_ssp_s **ssp;
129
    struct pxa2xx_mmci_s *mmc;
130
    struct pxa2xx_pcmcia_s *pcmcia[2];
99 131
    struct pxa2xx_i2s_s *i2s;
100 132
    struct pxa2xx_fir_s *fir;
101 133

  

Also available in: Unified diff