Home
last modified time | relevance | path

Searched refs:opaque (Results 1 – 25 of 511) sorted by relevance

12345678910>>...21

/illumos-kvm-cmd/hw/
H A Dds1225y.c42 ds1225y_t *s = opaque; in nvram_readb()
56 v = nvram_readb(opaque, addr); in nvram_readw()
57 v |= nvram_readb(opaque, addr + 1) << 8; in nvram_readw()
64 v = nvram_readb(opaque, addr); in nvram_readl()
65 v |= nvram_readb(opaque, addr + 1) << 8; in nvram_readl()
66 v |= nvram_readb(opaque, addr + 2) << 16; in nvram_readl()
73 ds1225y_t *s = opaque; in nvram_writeb()
89 nvram_writeb(opaque, addr, val & 0xff); in nvram_writew()
95 nvram_writeb(opaque, addr, val & 0xff); in nvram_writel()
103 ds1225y_t *s = opaque; in nvram_writeb_protected()
[all …]
H A Djazz_led.c53 LedState *s = opaque; in led_readb()
74 v = led_readb(opaque, addr) << 8; in led_readw()
75 v |= led_readb(opaque, addr + 1); in led_readw()
77 v = led_readb(opaque, addr); in led_readw()
87 v = led_readb(opaque, addr) << 24; in led_readl()
90 v |= led_readb(opaque, addr + 3); in led_readl()
92 v = led_readb(opaque, addr); in led_readl()
102 LedState *s = opaque; in led_writeb()
218 LedState *s = opaque; in jazz_led_update_display()
285 LedState *s = opaque; in jazz_led_invalidate_display()
[all …]
H A Dppc405_boards.c67 fpga = opaque; in ref405ep_fpga_readb()
83 static void ref405ep_fpga_writeb (void *opaque, in ref405ep_fpga_writeb() argument
88 fpga = opaque; in ref405ep_fpga_writeb()
111 static void ref405ep_fpga_writew (void *opaque, in ref405ep_fpga_writew() argument
151 static void ref405ep_fpga_reset (void *opaque) in ref405ep_fpga_reset() argument
155 fpga = opaque; in ref405ep_fpga_reset()
392 cpld = opaque; in taihu_cpld_readb()
408 static void taihu_cpld_writeb (void *opaque, in taihu_cpld_writeb() argument
413 cpld = opaque; in taihu_cpld_writeb()
476 static void taihu_cpld_reset (void *opaque) in taihu_cpld_reset() argument
[all …]
H A Dslavio_misc.c70 MiscState *s = opaque; in slavio_misc_update_irq()
91 MiscState *s = opaque; in slavio_set_power_fail()
105 MiscState *s = opaque; in slavio_cfg_mem_writeb()
114 MiscState *s = opaque; in slavio_cfg_mem_readb()
137 MiscState *s = opaque; in slavio_diag_mem_writeb()
145 MiscState *s = opaque; in slavio_diag_mem_readb()
168 MiscState *s = opaque; in slavio_mdm_mem_writeb()
176 MiscState *s = opaque; in slavio_mdm_mem_readb()
199 MiscState *s = opaque; in slavio_aux1_mem_writeb()
215 MiscState *s = opaque; in slavio_aux1_mem_readb()
[all …]
H A Drc4030.c114 rc4030State *s = opaque; in rc4030_readl()
267 rc4030State *s = opaque; in rc4030_writel()
464 rc4030State *s = opaque; in rc4030_irq_jazz_request()
477 rc4030State *s = opaque; in rc4030_periodic_timer()
485 rc4030State *s = opaque; in jazzio_readw()
538 rc4030State *s = opaque; in jazzio_writew()
590 rc4030State *s = opaque; in rc4030_reset()
620 rc4030State* s = opaque; in rc4030_load()
655 rc4030State* s = opaque; in rc4030_save()
770 void *opaque; member
[all …]
H A Dpxa2xx_pcmcia.c22 static uint32_t pxa2xx_pcmcia_common_read(void *opaque, in pxa2xx_pcmcia_common_read() argument
25 PXA2xxPCMCIAState *s = (PXA2xxPCMCIAState *) opaque; in pxa2xx_pcmcia_common_read()
34 static void pxa2xx_pcmcia_common_write(void *opaque, in pxa2xx_pcmcia_common_write() argument
37 PXA2xxPCMCIAState *s = (PXA2xxPCMCIAState *) opaque; in pxa2xx_pcmcia_common_write()
44 static uint32_t pxa2xx_pcmcia_attr_read(void *opaque, in pxa2xx_pcmcia_attr_read() argument
47 PXA2xxPCMCIAState *s = (PXA2xxPCMCIAState *) opaque; in pxa2xx_pcmcia_attr_read()
56 static void pxa2xx_pcmcia_attr_write(void *opaque, in pxa2xx_pcmcia_attr_write() argument
59 PXA2xxPCMCIAState *s = (PXA2xxPCMCIAState *) opaque; in pxa2xx_pcmcia_attr_write()
66 static uint32_t pxa2xx_pcmcia_io_read(void *opaque, in pxa2xx_pcmcia_io_read() argument
78 static void pxa2xx_pcmcia_io_write(void *opaque, in pxa2xx_pcmcia_io_write() argument
[all …]
H A Dmcf5206.c76 static void m5206_timer_trigger(void *opaque) in m5206_timer_trigger() argument
78 m5206_timer_state *s = (m5206_timer_state *)opaque; in m5206_timer_trigger()
231 m5206_mbar_state *s = (m5206_mbar_state *)opaque; in m5206_mbar_set_irq()
382 val = m5206_mbar_readw(opaque, offset & ~1); in m5206_mbar_readb()
402 val = m5206_mbar_readl(opaque, offset & ~3); in m5206_mbar_readw()
408 val = m5206_mbar_readb(opaque, offset) << 8; in m5206_mbar_readw()
409 val |= m5206_mbar_readb(opaque, offset + 1); in m5206_mbar_readw()
427 val |= m5206_mbar_readw(opaque, offset + 2); in m5206_mbar_readl()
450 tmp = m5206_mbar_readw(opaque, offset & ~1); in m5206_mbar_writeb()
456 m5206_mbar_writew(opaque, offset & ~1, tmp); in m5206_mbar_writeb()
[all …]
H A Darm_timer.c47 arm_timer_state *s = (arm_timer_state *)opaque; in arm_timer_read()
90 arm_timer_state *s = (arm_timer_state *)opaque; in arm_timer_write()
136 static void arm_timer_tick(void *opaque) in arm_timer_tick() argument
196 sp804_state *s = (sp804_state *)opaque; in sp804_set_irq()
204 sp804_state *s = (sp804_state *)opaque; in sp804_read()
217 sp804_state *s = (sp804_state *)opaque; in sp804_write()
238 static void sp804_save(QEMUFile *f, void *opaque) in sp804_save() argument
240 sp804_state *s = (sp804_state *)opaque; in sp804_save()
247 sp804_state *s = (sp804_state *)opaque; in sp804_load()
288 icp_pit_state *s = (icp_pit_state *)opaque; in icp_pit_read()
[all …]
H A Dprep_pci.c45 PREPPCIState *s = opaque; in PPC_PCIIO_writeb()
51 PREPPCIState *s = opaque; in PPC_PCIIO_writew()
58 PREPPCIState *s = opaque; in PPC_PCIIO_writel()
63 static uint32_t PPC_PCIIO_readb (void *opaque, target_phys_addr_t addr) in PPC_PCIIO_readb() argument
65 PREPPCIState *s = opaque; in PPC_PCIIO_readb()
71 static uint32_t PPC_PCIIO_readw (void *opaque, target_phys_addr_t addr) in PPC_PCIIO_readw() argument
73 PREPPCIState *s = opaque; in PPC_PCIIO_readw()
80 static uint32_t PPC_PCIIO_readl (void *opaque, target_phys_addr_t addr) in PPC_PCIIO_readl() argument
82 PREPPCIState *s = opaque; in PPC_PCIIO_readl()
106 static void prep_set_irq(void *opaque, int irq_num, int level) in prep_set_irq() argument
[all …]
H A Dversatile_pci.c26 static void pci_vpb_config_writeb (void *opaque, target_phys_addr_t addr, in pci_vpb_config_writeb() argument
29 pci_data_write(opaque, vpb_pci_config_addr (addr), val, 1); in pci_vpb_config_writeb()
32 static void pci_vpb_config_writew (void *opaque, target_phys_addr_t addr, in pci_vpb_config_writew() argument
35 pci_data_write(opaque, vpb_pci_config_addr (addr), val, 2); in pci_vpb_config_writew()
38 static void pci_vpb_config_writel (void *opaque, target_phys_addr_t addr, in pci_vpb_config_writel() argument
41 pci_data_write(opaque, vpb_pci_config_addr (addr), val, 4); in pci_vpb_config_writel()
47 val = pci_data_read(opaque, vpb_pci_config_addr (addr), 1); in pci_vpb_config_readb()
54 val = pci_data_read(opaque, vpb_pci_config_addr (addr), 2); in pci_vpb_config_readw()
61 val = pci_data_read(opaque, vpb_pci_config_addr (addr), 4); in pci_vpb_config_readl()
82 static void pci_vpb_set_irq(void *opaque, int irq_num, int level) in pci_vpb_set_irq() argument
[all …]
H A Dtestdev.c11 static void test_device_serial_write(void *opaque, uint32_t addr, uint32_t data) in test_device_serial_write() argument
13 struct testdev *dev = opaque; in test_device_serial_write()
21 static void test_device_exit(void *opaque, uint32_t addr, uint32_t data) in test_device_exit() argument
26 static uint32_t test_device_memsize_read(void *opaque, uint32_t addr) in test_device_memsize_read() argument
33 static void test_device_irq_line(void *opaque, uint32_t addr, uint32_t data) in test_device_irq_line() argument
40 static void test_device_ioport_write(void *opaque, uint32_t addr, uint32_t data) in test_device_ioport_write() argument
45 static uint32_t test_device_ioport_read(void *opaque, uint32_t addr) in test_device_ioport_read() argument
50 static void test_device_flush_page(void *opaque, uint32_t addr, uint32_t data) in test_device_flush_page() argument
62 static uint32_t test_iomem_readb(void *opaque, target_phys_addr_t addr) in test_iomem_readb() argument
67 static uint32_t test_iomem_readw(void *opaque, target_phys_addr_t addr) in test_iomem_readw() argument
[all …]
H A Dvmport.c41 void *opaque[VMPORT_ENTRIES]; member
46 void vmport_register(unsigned char command, IOPortReadFunc *func, void *opaque) in vmport_register() argument
52 port_state.opaque[command] = opaque; in vmport_register()
55 static uint32_t vmport_ioport_read(void *opaque, uint32_t addr) in vmport_ioport_read() argument
57 VMPortState *s = opaque; in vmport_ioport_read()
79 return s->func[command](s->opaque[command], addr); in vmport_ioport_read()
82 static void vmport_ioport_write(void *opaque, uint32_t addr, uint32_t val) in vmport_ioport_write() argument
86 env->regs[R_EAX] = vmport_ioport_read(opaque, addr); in vmport_ioport_write()
89 static uint32_t vmport_cmd_get_version(void *opaque, uint32_t addr) in vmport_cmd_get_version() argument
96 static uint32_t vmport_cmd_ram_size(void *opaque, uint32_t addr) in vmport_cmd_ram_size() argument
H A Dppc_prep.c278 sysctrl_t *sysctrl = opaque; in PREP_io_write()
287 sysctrl_t *sysctrl = opaque; in PREP_io_read()
296 sysctrl_t *sysctrl = opaque; in PREP_io_800_writeb()
363 sysctrl_t *sysctrl = opaque; in PREP_io_800_readb()
444 sysctrl_t *sysctrl = opaque; in PPC_prep_io_writeb()
452 sysctrl_t *sysctrl = opaque; in PPC_prep_io_readb()
464 sysctrl_t *sysctrl = opaque; in PPC_prep_io_writew()
473 sysctrl_t *sysctrl = opaque; in PPC_prep_io_readw()
486 sysctrl_t *sysctrl = opaque; in PPC_prep_io_writel()
495 sysctrl_t *sysctrl = opaque; in PPC_prep_io_readl()
[all …]
H A Dmac_nvram.c50 uint32_t macio_nvram_read (void *opaque, uint32_t addr) in macio_nvram_read() argument
52 MacIONVRAMState *s = opaque; in macio_nvram_read()
66 MacIONVRAMState *s = opaque; in macio_nvram_write()
74 static void macio_nvram_writeb (void *opaque, in macio_nvram_writeb() argument
77 MacIONVRAMState *s = opaque; in macio_nvram_writeb()
86 MacIONVRAMState *s = opaque; in macio_nvram_readb()
108 static void macio_nvram_save(QEMUFile *f, void *opaque) in macio_nvram_save() argument
110 MacIONVRAMState *s = (MacIONVRAMState *)opaque; in macio_nvram_save()
117 MacIONVRAMState *s = (MacIONVRAMState *)opaque; in macio_nvram_load()
127 static void macio_nvram_reset(void *opaque) in macio_nvram_reset() argument
[all …]
H A Dppc405_uc.c116 plb = opaque; in dcr_read_plb()
140 plb = opaque; in dcr_write_plb()
162 plb = opaque; in ppc4xx_plb_reset()
198 pob = opaque; in dcr_read_pob()
220 pob = opaque; in dcr_write_pob()
237 pob = opaque; in ppc4xx_pob_reset()
271 opba = opaque; in opba_readb()
296 opba = opaque; in opba_writeb()
420 ebc = opaque; in dcr_read_ebc()
504 ebc = opaque; in dcr_write_ebc()
[all …]
H A Dparallel.c101 ParallelState *s = opaque; in parallel_ioport_write_sw()
138 ParallelState *s = opaque; in parallel_ioport_write_hw()
214 ParallelState *s = opaque; in parallel_ioport_eppdata_write_hw2()
237 ParallelState *s = opaque; in parallel_ioport_eppdata_write_hw4()
259 ParallelState *s = opaque; in parallel_ioport_read_sw()
295 ParallelState *s = opaque; in parallel_ioport_read_hw()
365 ParallelState *s = opaque; in parallel_ioport_eppdata_read_hw2()
392 ParallelState *s = opaque; in parallel_ioport_eppdata_read_hw4()
431 ParallelState *s = opaque; in parallel_reset()
518 ParallelState *s = opaque; in parallel_mm_readb()
[all …]
H A Dvga-isa-mm.c37 static uint32_t vga_mm_readb (void *opaque, target_phys_addr_t addr) in vga_mm_readb() argument
39 ISAVGAMMState *s = opaque; in vga_mm_readb()
44 static void vga_mm_writeb (void *opaque, in vga_mm_writeb() argument
47 ISAVGAMMState *s = opaque; in vga_mm_writeb()
52 static uint32_t vga_mm_readw (void *opaque, target_phys_addr_t addr) in vga_mm_readw() argument
54 ISAVGAMMState *s = opaque; in vga_mm_readw()
59 static void vga_mm_writew (void *opaque, in vga_mm_writew() argument
62 ISAVGAMMState *s = opaque; in vga_mm_writew()
69 ISAVGAMMState *s = opaque; in vga_mm_readl()
74 static void vga_mm_writel (void *opaque, in vga_mm_writel() argument
[all …]
H A Dadb.c124 d->opaque = opaque; in adb_register_device()
158 ADBDevice *d = opaque; in adb_kbd_put_keycode()
159 KBDState *s = d->opaque; in adb_kbd_put_keycode()
172 KBDState *s = d->opaque; in adb_kbd_poll()
206 KBDState *s = d->opaque; in adb_kbd_request()
291 KBDState *s = d->opaque; in adb_kbd_reset()
323 ADBDevice *d = opaque; in adb_mouse_event()
324 MouseState *s = d->opaque; in adb_mouse_event()
335 MouseState *s = d->opaque; in adb_mouse_poll()
374 MouseState *s = d->opaque; in adb_mouse_request()
[all …]
/illumos-kvm-cmd/target-i386/
H A Dmachine.c112 FPReg *fp_reg = opaque; in get_fpreg()
124 FPReg *fp_reg = opaque; in put_fpreg()
175 CPUState *env = opaque; in fpregs_is_0()
182 CPUState *env = opaque; in fpregs_is_1_mmx()
192 CPUState *env = opaque; in fpregs_is_1_no_mmx()
208 FPReg *fp_reg = opaque; in get_fpreg()
216 FPReg *fp_reg = opaque; in put_fpreg()
232 FPReg *fp_reg = opaque; in get_fpreg_0_mmx()
250 FPReg *fp_reg = opaque; in get_fpreg_0_no_mmx()
269 CPUState *env = opaque; in fpregs_is_1()
[all …]
/illumos-kvm-cmd/hw/ide/
H A Dmacio.c47 DBDMA_io *io = opaque; in pmac_ide_atapi_transfer_cb()
55 io->dma_end(opaque); in pmac_ide_atapi_transfer_cb()
74 io->dma_end(opaque); in pmac_ide_atapi_transfer_cb()
95 io->dma_end(opaque); in pmac_ide_atapi_transfer_cb()
102 DBDMA_io *io = opaque; in pmac_ide_transfer_cb()
185 MACIOIDEState *d = opaque; in pmac_ide_writeb()
204 MACIOIDEState *d = opaque; in pmac_ide_readb()
225 MACIOIDEState *d = opaque; in pmac_ide_writew()
237 MACIOIDEState *d = opaque; in pmac_ide_readw()
252 MACIOIDEState *d = opaque; in pmac_ide_writel()
[all …]
/illumos-kvm-cmd/
H A Dballoon.c38 void qemu_add_balloon_handler(QEMUBalloonEvent *func, void *opaque) in qemu_add_balloon_handler() argument
41 qemu_balloon_event_opaque = opaque; in qemu_add_balloon_handler()
44 int qemu_balloon(ram_addr_t target, MonitorCompletion cb, void *opaque) in qemu_balloon() argument
55 int qemu_balloon_status(MonitorCompletion cb, void *opaque) in qemu_balloon_status() argument
58 qemu_balloon_event(qemu_balloon_event_opaque, 0, cb, opaque); in qemu_balloon_status()
67 Monitor *mon = opaque; in print_balloon_stat()
109 int do_info_balloon(Monitor *mon, MonitorCompletion cb, void *opaque) in do_info_balloon() argument
118 ret = qemu_balloon_status(cb, opaque); in do_info_balloon()
131 MonitorCompletion cb, void *opaque) in do_balloon() argument
140 ret = qemu_balloon(qdict_get_int(params, "value"), cb, opaque); in do_balloon()
[all …]
H A Dbuffered_file.c29 void *opaque; member
112 QEMUFileBuffered *s = opaque; in buffered_put_buffer()
163 s->put_ready(s->opaque); in buffered_put_buffer()
172 QEMUFileBuffered *s = opaque; in buffered_close()
183 ret = s->close(s->opaque); in buffered_close()
195 QEMUFileBuffered *s = opaque; in buffered_rate_limit()
211 QEMUFileBuffered *s = opaque; in buffered_set_rate_limit()
227 QEMUFileBuffered *s = opaque; in buffered_get_rate_limit()
234 QEMUFileBuffered *s = opaque; in buffered_rate_tick()
251 s->put_ready(s->opaque); in buffered_rate_tick()
[all …]
H A Dioport.c141 IOPortReadFunc *func, void *opaque) in register_ioport_read() argument
153 ioport_opaque[i] = opaque; in register_ioport_read()
160 IOPortWriteFunc *func, void *opaque) in register_ioport_write() argument
172 ioport_opaque[i] = opaque; in register_ioport_write()
177 static uint32_t ioport_readb_thunk(void *opaque, uint32_t addr) in ioport_readb_thunk() argument
179 IORange *ioport = opaque; in ioport_readb_thunk()
188 IORange *ioport = opaque; in ioport_readw_thunk()
197 IORange *ioport = opaque; in ioport_readl_thunk()
206 IORange *ioport = opaque; in ioport_writeb_thunk()
213 IORange *ioport = opaque; in ioport_writew_thunk()
[all …]
/illumos-kvm-cmd/kvm/libkvm/
H A Dlibkvm.h59 int (*debug)(void *opaque, void *env,
68 int (*halt)(void *opaque, int vcpu);
69 int (*shutdown)(void *opaque, void *env);
70 int (*io_window)(void *opaque);
71 int (*try_push_interrupts)(void *opaque);
73 void (*push_nmi)(void *opaque);
75 void (*post_kvm_run)(void *opaque, void *env);
76 int (*pre_kvm_run)(void *opaque, void *env);
102 void *opaque);
462 void*bitmap, void *opaque));
[all …]
/illumos-kvm-cmd/block/
H A Dqed.c642 cb(opaque, l); in qed_read_backing_file()
656 cb(opaque, 0); in qed_read_backing_file()
667 cb(opaque, -EIO); in qed_read_backing_file()
726 cb(opaque, 0); in qed_copy_from_backing_file()
762 QEDAIOCB *acb = opaque; in qed_aio_complete_bh()
815 QEDAIOCB *acb = opaque; in qed_commit_l2_update()
836 QEDAIOCB *acb = opaque; in qed_aio_write_l1_update()
856 QEDAIOCB *acb = opaque; in qed_aio_write_l2_update()
900 QEDAIOCB *acb = opaque; in qed_aio_write_flush_before_l2_update()
913 QEDAIOCB *acb = opaque; in qed_aio_write_main()
[all …]

Completed in 184 milliseconds

12345678910>>...21