/qemu/hw/input/ |
H A D | adb.c | 49 static int do_adb_request(ADBBusState *s, uint8_t *obuf, const uint8_t *buf, in do_adb_request() 95 int adb_request(ADBBusState *s, uint8_t *obuf, const uint8_t *buf, int len) in adb_request() 109 int adb_poll(ADBBusState *s, uint8_t *obuf, uint16_t poll_mask) in adb_poll() 137 void adb_set_autopoll_enabled(ADBBusState *s, bool enabled) in adb_set_autopoll_enabled() 151 void adb_set_autopoll_rate_ms(ADBBusState *s, int rate_ms) in adb_set_autopoll_rate_ms() 162 void adb_set_autopoll_mask(ADBBusState *s, uint16_t mask) in adb_set_autopoll_mask() 176 void adb_autopoll_block(ADBBusState *s) in adb_autopoll_block() 186 void adb_autopoll_unblock(ADBBusState *s) in adb_autopoll_unblock() 200 ADBBusState *s = opaque; in adb_autopoll() local 213 void adb_register_autopoll_callback(ADBBusState *s, void (*cb)(void *opaque), in adb_register_autopoll_callback()
|
/qemu/hw/arm/ |
H A D | aspeed_soc_common.c | 29 qemu_irq aspeed_soc_get_irq(AspeedSoCState *s, int dev) in aspeed_soc_get_irq() 34 bool aspeed_soc_uart_realize(AspeedSoCState *s, Error **errp) in aspeed_soc_uart_realize() 58 void aspeed_soc_uart_set_chr(AspeedSoCState *s, int dev, Chardev *chr) in aspeed_soc_uart_set_chr() 73 bool aspeed_soc_dram_init(AspeedSoCState *s, Error **errp) in aspeed_soc_dram_init() 110 void aspeed_mmio_map(AspeedSoCState *s, SysBusDevice *dev, int n, hwaddr addr) in aspeed_mmio_map() 116 void aspeed_mmio_map_unimplemented(AspeedSoCState *s, SysBusDevice *dev, in aspeed_mmio_map_unimplemented() 129 AspeedSoCState *s = ASPEED_SOC(dev); in aspeed_soc_realize() local
|
H A D | omap2.c | 171 struct omap_eac_s *s = opaque; in omap_eac_in_cb() local 181 struct omap_eac_s *s = opaque; in omap_eac_out_cb() local 339 struct omap_eac_s *s = opaque; in omap_eac_read() local 455 struct omap_eac_s *s = opaque; in omap_eac_write() local 663 struct omap_sti_s *s = opaque; in omap_sti_read() local 704 struct omap_sti_s *s = opaque; in omap_sti_write() local 767 struct omap_sti_s *s = opaque; in omap_sti_fifo_write() local 1063 struct omap_prcm_s *s = opaque; in omap_prcm_read() local 1375 struct omap_prcm_s *s = opaque; in omap_prcm_write() local 1855 struct omap_sysctl_s *s = opaque; in omap_sysctl_read8() local [all …]
|
H A D | smmuv3.c | 747 SMMUv3State *s = sdev->smmu; in smmuv3_decode_config() local 791 SMMUv3State *s = sdev->smmu; in smmuv3_get_config() local 822 SMMUv3State *s = sdev->smmu; in smmuv3_flush_config() local 833 SMMUv3State *s = sdev->smmu; in smmuv3_translate() local 1045 SMMUv3State *s = sdev->smmu; in smmuv3_notify_iova() local 1536 SMMUv3State *s = ARM_SMMUV3(sys); in smmu_write_mmio() local 1685 SMMUv3State *s = ARM_SMMUV3(sys); in smmu_read_mmio() local 1732 SMMUv3State *s = ARM_SMMUV3(obj); in smmu_reset_hold() local 1745 SMMUv3State *s = ARM_SMMUV3(sys); in smmu_realize() local 1783 SMMUv3State *s = opaque; in smmuv3_gbpa_needed() local [all …]
|
/qemu/block/ |
H A D | parallels.c | 184 BDRVParallelsState *s = bs->opaque; in mark_used() local 205 BDRVParallelsState *s = bs->opaque; in parallels_fill_used_bitmap() local 245 BDRVParallelsState *s = bs->opaque; in parallels_free_used_bitmap() local 255 BDRVParallelsState *s = bs->opaque; in allocate_clusters() local 389 BDRVParallelsState *s = bs->opaque; in parallels_co_flush_to_os() local 423 BDRVParallelsState *s = bs->opaque; in parallels_co_block_status() local 446 BDRVParallelsState *s = bs->opaque; in parallels_co_writev() local 489 BDRVParallelsState *s = bs->opaque; in parallels_co_readv() local 542 BDRVParallelsState *s = bs->opaque; in parallels_co_pdiscard() local 598 BDRVParallelsState *s = bs->opaque; in parallels_check_unclean() local [all …]
|
H A D | ssh.c | 843 BDRVSSHState *s = bs->opaque; in ssh_file_open() local 928 BDRVSSHState s; in ssh_co_create() local 996 BDRVSSHState *s = bs->opaque; in ssh_close() local 1003 BDRVSSHState *s = bs->opaque; in ssh_has_zero_init() local 1023 BDRVSSHState *s = bs->opaque; in restart_coroutine() local 1127 BDRVSSHState *s = bs->opaque; in ssh_co_readv() local 1202 BDRVSSHState *s = bs->opaque; in ssh_co_writev() local 1251 BDRVSSHState *s = bs->opaque; in ssh_co_flush() local 1263 BDRVSSHState *s = bs->opaque; in ssh_co_getlength() local 1277 BDRVSSHState *s = bs->opaque; in ssh_co_truncate() local [all …]
|
/qemu/hw/scsi/ |
H A D | spapr_vscsi.c | 65 struct viosrp_crq s; member 106 static struct vscsi_req *vscsi_get_req(VSCSIState *s) in vscsi_get_req() argument 180 static int vscsi_send_iu(VSCSIState *s, vscsi_req *req, in vscsi_send_iu() 216 static void vscsi_makeup_sense(VSCSIState *s, vscsi_req *req, in vscsi_makeup_sense() 232 static int vscsi_send_rsp(VSCSIState *s, vscsi_req *req, in vscsi_send_rsp() 730 static void vscsi_report_luns(VSCSIState *s, vscsi_req *req) in vscsi_report_luns() 781 static int vscsi_queue_cmd(VSCSIState *s, vscsi_req *req) in vscsi_queue_cmd() 1087 static void vscsi_got_payload(VSCSIState *s, vscsi_crq *crq) in vscsi_got_payload() 1133 VSCSIState *s = VIO_SPAPR_VSCSI_DEVICE(dev); in vscsi_do_crq() local 1205 VSCSIState *s = VIO_SPAPR_VSCSI_DEVICE(dev); in spapr_vscsi_reset() local [all …]
|
/qemu/hw/block/ |
H A D | virtio-blk.c | 60 VirtIOBlock *s = req->dev; in virtio_blk_req_complete() local 79 VirtIOBlock *s = req->dev; in virtio_blk_handle_rw_error() local 106 VirtIOBlock *s = next->dev; in virtio_blk_rw_complete() local 146 VirtIOBlock *s = req->dev; in virtio_blk_flush_complete() local 160 VirtIOBlock *s = req->dev; in virtio_blk_discard_write_zeroes_complete() local 186 VirtIOBlock *s = req->dev; in virtio_blk_ioctl_complete() local 480 VirtIOBlock *s = req->dev; in virtio_blk_handle_flush() local 519 VirtIOBlock *s = req->dev; in virtio_blk_handle_discard_write_zeroes() local 1196 VirtIOBlock *s = opaque; in virtio_blk_dma_restart_cb() local 1538 VirtIOBlock *s = opaque; in virtio_blk_drained_begin() local [all …]
|
/qemu/hw/rtc/ |
H A D | ls7a_rtc.c | 100 static bool toy_enabled(LS7ARtcState *s) in toy_enabled() argument 106 static bool rtc_enabled(LS7ARtcState *s) in rtc_enabled() 165 static void ls7a_toy_stop(LS7ARtcState *s) in ls7a_toy_stop() 175 static void ls7a_rtc_stop(LS7ARtcState *s) in ls7a_rtc_stop() 185 static void ls7a_toy_start(LS7ARtcState *s) in ls7a_toy_start() 215 LS7ARtcState *s = LS7A_RTC(opaque); in ls7a_rtc_read() local 278 LS7ARtcState *s = LS7A_RTC(opaque); in ls7a_rtc_write() local 370 LS7ARtcState *s = opaque; in toy_timer_cb() local 379 LS7ARtcState *s = opaque; in rtc_timer_cb() local 429 LS7ARtcState *s = LS7A_RTC(opaque); in ls7a_rtc_pre_save() local [all …]
|
/qemu/hw/ide/ |
H A D | mmio.c | 56 MMIOIDEState *s = MMIO_IDE(dev); in mmio_ide_reset() local 64 MMIOIDEState *s = opaque; in mmio_ide_read() local 75 MMIOIDEState *s = opaque; in mmio_ide_write() local 92 MMIOIDEState *s = opaque; in mmio_ide_status_read() local 99 MMIOIDEState *s = opaque; in mmio_ide_ctrl_write() local 123 MMIOIDEState *s = MMIO_IDE(dev); in mmio_ide_realizefn() local 138 MMIOIDEState *s = MMIO_IDE(obj); in mmio_ide_initfn() local 174 MMIOIDEState *s = MMIO_IDE(dev); in mmio_ide_init_drives() local
|
H A D | macio.c | 63 IDEState *s = ide_bus_active_if(&m->bus); in pmac_ide_atapi_transfer_cb() local 139 IDEState *s = ide_bus_active_if(&m->bus); in pmac_ide_transfer_cb() local 223 IDEState *s = ide_bus_active_if(&m->bus); in pmac_ide_transfer() local 254 IDEState *s = ide_bus_active_if(&m->bus); in pmac_ide_flush() local 391 static void ide_dbdma_start(const IDEDMA *dma, IDEState *s, in ide_dbdma_start() 421 MACIOIDEState *s = MACIO_IDE(dev); in macio_ide_realizefn() local 432 MACIOIDEState *s = opaque; in pmac_ide_irq() local 452 MACIOIDEState *s = MACIO_IDE(obj); in macio_ide_initfn() local 498 void macio_ide_init_drives(MACIOIDEState *s, DriveInfo **hd_table) in macio_ide_init_drives() 509 void macio_ide_register_dma(MACIOIDEState *s) in macio_ide_register_dma()
|
/qemu/hw/pci-host/ |
H A D | sabre.c | 63 static inline void sabre_set_request(SabreState *s, unsigned int irq_num) in sabre_set_request() 70 static inline void sabre_check_irqs(SabreState *s) in sabre_check_irqs() 122 SabreState *s = opaque; in sabre_config_write() local 200 SabreState *s = opaque; in sabre_config_read() local 252 SabreState *s = opaque; in sabre_pci_config_write() local 263 SabreState *s = opaque; in sabre_pci_config_read() local 303 SabreState *s = opaque; in pci_sabre_set_irq() local 334 SabreState *s = SABRE(d); in sabre_reset() local 372 SabreState *s = SABRE(dev); in sabre_realize() local 407 SabreState *s = SABRE(obj); in sabre_init() local [all …]
|
/qemu/hw/i2c/ |
H A D | mpc_i2c.c | 88 static bool mpc_i2c_is_enabled(MPCI2CState *s) in mpc_i2c_is_enabled() argument 93 static bool mpc_i2c_is_master(MPCI2CState *s) in mpc_i2c_is_master() 103 static bool mpc_i2c_irq_pending(MPCI2CState *s) in mpc_i2c_irq_pending() 108 static bool mpc_i2c_irq_is_enabled(MPCI2CState *s) in mpc_i2c_irq_is_enabled() 125 static void mpc_i2c_irq(MPCI2CState *s) in mpc_i2c_irq() 141 static void mpc_i2c_soft_reset(MPCI2CState *s) in mpc_i2c_soft_reset() 149 static void mpc_i2c_address_send(MPCI2CState *s) in mpc_i2c_address_send() 163 static void mpc_i2c_data_send(MPCI2CState *s) in mpc_i2c_data_send() 177 static void mpc_i2c_data_recive(MPCI2CState *s) in mpc_i2c_data_recive() 195 MPCI2CState *s = opaque; in mpc_i2c_read() local [all …]
|
/qemu/hw/ssi/ |
H A D | sifive_spi.c | 62 static void sifive_spi_txfifo_reset(SiFiveSPIState *s) in sifive_spi_txfifo_reset() 70 static void sifive_spi_rxfifo_reset(SiFiveSPIState *s) in sifive_spi_rxfifo_reset() 78 static void sifive_spi_update_cs(SiFiveSPIState *s) in sifive_spi_update_cs() 89 static void sifive_spi_update_irq(SiFiveSPIState *s) in sifive_spi_update_irq() 111 SiFiveSPIState *s = SIFIVE_SPI(d); in sifive_spi_reset() local 130 static void sifive_spi_flush_txfifo(SiFiveSPIState *s) in sifive_spi_flush_txfifo() 182 SiFiveSPIState *s = opaque; in sifive_spi_read() local 220 SiFiveSPIState *s = opaque; in sifive_spi_write() local 312 SiFiveSPIState *s = SIFIVE_SPI(dev); in sifive_spi_realize() local
|
/qemu/hw/intc/ |
H A D | i8259_common.c | 37 void pic_reset_common(PICCommonState *s) in pic_reset_common() 59 PICCommonState *s = opaque; in pic_dispatch_pre_save() local 71 PICCommonState *s = opaque; in pic_dispatch_post_load() local 82 PICCommonState *s = PIC_COMMON(dev); in pic_common_realize() local 122 PICCommonState *s = PIC_COMMON(obj); in pic_get_statistics() local 137 PICCommonState *s = PIC_COMMON(obj); in pic_print_info() local 149 PICCommonState *s = PIC_COMMON(opaque); in ltim_state_needed() local
|
H A D | ioapic.c | 91 static void ioapic_service(IOAPICCommonState *s) in ioapic_service() 148 IOAPICCommonState *s = opaque; in delayed_ioapic_service_cb() local 155 IOAPICCommonState *s = opaque; in ioapic_set_irq() local 192 static void ioapic_update_kvm_routes(IOAPICCommonState *s) in ioapic_update_kvm_routes() 217 IOAPICCommonState *s = (IOAPICCommonState *)private; in ioapic_iec_notifier() local 225 IOAPICCommonState *s; in ioapic_eoi_broadcast() local 298 IOAPICCommonState *s = opaque; in ioapic_mem_read() local 371 IOAPICCommonState *s = opaque; in ioapic_mem_write() local 432 IOAPICCommonState *s = container_of(notifier, IOAPICCommonState, in ioapic_machine_done_notify() local 451 IOAPICCommonState *s = IOAPIC_COMMON(dev); in ioapic_realize() local [all …]
|
/qemu/hw/misc/ |
H A D | imx7_src.c | 95 IMX7SRCState *s = IMX7_SRC(dev); in imx7_src_reset() local 108 IMX7SRCState *s = (IMX7SRCState *)opaque; in imx7_src_read() local 130 IMX7SRCState *s; member 137 IMX7SRCState *s = ri->s; in imx7_clear_reset_bit() local 149 IMX7SRCState *s, in imx7_defer_clear_reset_bit() 170 IMX7SRCState *s = (IMX7SRCState *)opaque; in imx7_src_write() local 247 IMX7SRCState *s = IMX7_SRC(dev); in imx7_src_realize() local
|
H A D | led.c | 38 void led_set_intensity(LEDState *s, unsigned intensity_percent) in led_set_intensity() 51 unsigned led_get_intensity(LEDState *s) in led_get_intensity() 56 void led_set_state(LEDState *s, bool is_emitting) in led_set_state() 63 LEDState *s = LED(opaque); in led_set_state_gpio_handler() local 71 LEDState *s = LED(dev); in led_reset() local 88 LEDState *s = LED(dev); in led_realize() local
|
/qemu/hw/dma/ |
H A D | sparc32_dma.c | 77 DMADeviceState *s = opaque; in ledma_memory_read() local 98 DMADeviceState *s = opaque; in ledma_memory_write() local 129 DMADeviceState *s = opaque; in dma_set_irq() local 149 DMADeviceState *s = opaque; in espdma_memory_read() local 160 DMADeviceState *s = opaque; in espdma_memory_write() local 172 DMADeviceState *s = opaque; in dma_mem_read() local 183 DMADeviceState *s = opaque; in dma_mem_write() local 242 DMADeviceState *s = SPARC32_DMA_DEVICE(d); in sparc32_dma_device_reset() local 261 DMADeviceState *s = SPARC32_DMA_DEVICE(obj); in sparc32_dma_device_init() local 371 SPARC32DMAState *s = SPARC32_DMA(dev); in sparc32_dma_realize() local [all …]
|
/qemu/net/ |
H A D | af-xdp.c | 63 static void af_xdp_update_fd_handler(AFXDPState *s) in af_xdp_update_fd_handler() 72 static void af_xdp_read_poll(AFXDPState *s, bool enable) in af_xdp_read_poll() 91 AFXDPState *s = DO_UPCAST(AFXDPState, nc, nc); in af_xdp_poll() local 100 static void af_xdp_complete_tx(AFXDPState *s) in af_xdp_complete_tx() 125 AFXDPState *s = opaque; in af_xdp_writable() local 145 AFXDPState *s = DO_UPCAST(AFXDPState, nc, nc); in af_xdp_receive() local 190 AFXDPState *s = DO_UPCAST(AFXDPState, nc, nc); in af_xdp_send_completed() local 222 AFXDPState *s = opaque; in af_xdp_send() local 263 AFXDPState *s = DO_UPCAST(AFXDPState, nc, nc); in af_xdp_cleanup() local 336 static int af_xdp_socket_create(AFXDPState *s, in af_xdp_socket_create() [all …]
|
/qemu/hw/audio/ |
H A D | sb16.c | 199 SB16State *s = opaque; in aux_timer() local 924 SB16State *s = opaque; in dsp_write() local 1002 SB16State *s = opaque; in dsp_read() local 1101 SB16State *s = opaque; in mixer_write_indexb() local 1108 SB16State *s = opaque; in mixer_write_datab() local 1163 SB16State *s = opaque; in mixer_read() local 1216 SB16State *s = opaque; in SB_read_DMA() local 1282 SB16State *s = opaque; in SB_audio_callback() local 1288 SB16State *s = opaque; in sb16_post_load() local 1393 SB16State *s = SB16 (obj); in sb16_initfn() local [all …]
|
/qemu/hw/sensor/ |
H A D | lsm303dlhc_mag.c | 88 LSM303DLHCMagState *s = LSM303DLHC_MAG(obj); in lsm303dlhc_mag_get_x() local 99 LSM303DLHCMagState *s = LSM303DLHC_MAG(obj); in lsm303dlhc_mag_get_y() local 110 LSM303DLHCMagState *s = LSM303DLHC_MAG(obj); in lsm303dlhc_mag_get_z() local 121 LSM303DLHCMagState *s = LSM303DLHC_MAG(obj); in lsm303dlhc_mag_set_x() local 144 LSM303DLHCMagState *s = LSM303DLHC_MAG(obj); in lsm303dlhc_mag_set_y() local 167 LSM303DLHCMagState *s = LSM303DLHC_MAG(obj); in lsm303dlhc_mag_set_z() local 194 LSM303DLHCMagState *s = LSM303DLHC_MAG(obj); in lsm303dlhc_mag_get_temperature() local 210 LSM303DLHCMagState *s = LSM303DLHC_MAG(obj); in lsm303dlhc_mag_set_temperature() local 304 LSM303DLHCMagState *s = LSM303DLHC_MAG(i2c); in lsm303dlhc_mag_send() local 326 LSM303DLHCMagState *s = LSM303DLHC_MAG(i2c); in lsm303dlhc_mag_recv() local [all …]
|
/qemu/hw/acpi/ |
H A D | ich9.c | 158 ICH9LPCPMRegs *s = opaque; in vmstate_test_use_memhp() local 175 ICH9LPCPMRegs *s = opaque; in vmstate_test_use_tco() local 193 ICH9LPCPMRegs *s = opaque; in vmstate_test_use_cpuhp() local 199 ICH9LPCPMRegs *s = opaque; in vmstate_cpuhp_pre_load() local 219 ICH9LPCPMRegs *s = opaque; in vmstate_test_use_pcihp() local 356 ICH9LPCState *s = ICH9_LPC_DEVICE(obj); in ich9_pm_get_memory_hotplug_support() local 364 ICH9LPCState *s = ICH9_LPC_DEVICE(obj); in ich9_pm_set_memory_hotplug_support() local 371 ICH9LPCState *s = ICH9_LPC_DEVICE(obj); in ich9_pm_get_cpu_hotplug_legacy() local 379 ICH9LPCState *s = ICH9_LPC_DEVICE(obj); in ich9_pm_set_cpu_hotplug_legacy() local 391 ICH9LPCState *s = ICH9_LPC_DEVICE(obj); in ich9_pm_get_enable_tco() local [all …]
|
/qemu/chardev/ |
H A D | char-pty.c | 52 static void pty_chr_timer_cancel(PtyChardev *s) in pty_chr_timer_cancel() 64 PtyChardev *s = PTY_CHARDEV(opaque); in pty_chr_timer() local 76 PtyChardev *s = PTY_CHARDEV(chr); in pty_chr_rearm_timer() local 88 PtyChardev *s = PTY_CHARDEV(chr); in pty_chr_update_read_handler() local 108 PtyChardev *s = PTY_CHARDEV(chr); in char_pty_chr_write() local 134 PtyChardev *s = PTY_CHARDEV(chr); in pty_chr_add_watch() local 144 PtyChardev *s = PTY_CHARDEV(opaque); in pty_chr_read_poll() local 153 PtyChardev *s = PTY_CHARDEV(opaque); in pty_chr_read() local 178 PtyChardev *s = PTY_CHARDEV(chr); in pty_chr_state() local 205 PtyChardev *s = PTY_CHARDEV(obj); in char_pty_finalize() local [all …]
|
/qemu/hw/remote/ |
H A D | machine.c | 31 RemoteMachineState *s = REMOTE_MACHINE(machine); in remote_machine_init() local 75 RemoteMachineState *s = REMOTE_MACHINE(obj); in remote_machine_get_vfio_user() local 82 RemoteMachineState *s = REMOTE_MACHINE(obj); in remote_machine_set_vfio_user() local 94 RemoteMachineState *s = REMOTE_MACHINE(obj); in remote_machine_get_auto_shutdown() local 102 RemoteMachineState *s = REMOTE_MACHINE(obj); in remote_machine_set_auto_shutdown() local 109 RemoteMachineState *s = REMOTE_MACHINE(obj); in remote_machine_instance_init() local
|