| /openbmc/qemu/tests/qtest/ |
| H A D | fuzz-lsi53c895a-test.c | 19 QTestState *s; in test_lsi_dma_reentrancy() local 47 QTestState *s; in test_lsi_do_msgout_cancel_req() local 122 QTestState *s; in test_lsi_do_dma_empty_queue() local
|
| H A D | vhost-user-test.c | 202 static void append_vhost_net_opts(TestServer *s, GString *cmd_line, in append_vhost_net_opts() 215 static void append_vhost_gpio_opts(TestServer *s, GString *cmd_line, in append_vhost_gpio_opts() 242 static bool wait_for_fds(TestServer *s) in wait_for_fds() 279 static void read_guest_mem_server(QTestState *qts, TestServer *s) in read_guest_mem_server() 334 TestServer *s = opaque; in chr_read() local 607 TestServer *s = opaque; in chr_event() local 677 static void wait_for_log_fd(TestServer *s) in wait_for_log_fd() 694 static void write_guest_mem(TestServer *s, uint32_t seed) in write_guest_mem() 728 static guint64 get_log_size(TestServer *s) in get_log_size() 764 static void vhost_user_test_cleanup(void *s) in vhost_user_test_cleanup() [all …]
|
| /openbmc/qemu/hw/net/ |
| H A D | xilinx_ethlite.c | 104 static inline void eth_pulse_irq(XlnxXpsEthLite *s) in eth_pulse_irq() argument 117 static void *txbuf_ptr(XlnxXpsEthLite *s, unsigned port_index) in txbuf_ptr() 122 static void *rxbuf_ptr(XlnxXpsEthLite *s, unsigned port_index) in rxbuf_ptr() 129 XlnxXpsEthLite *s = opaque; in port_tx_read() local 153 XlnxXpsEthLite *s = opaque; in port_tx_write() local 207 XlnxXpsEthLite *s = opaque; in port_rx_read() local 225 XlnxXpsEthLite *s = opaque; in port_rx_write() local 259 XlnxXpsEthLite *s = qemu_get_nic_opaque(nc); in eth_can_rx() local 266 XlnxXpsEthLite *s = qemu_get_nic_opaque(nc); in eth_rx() local 296 XlnxXpsEthLite *s = XILINX_ETHLITE(dev); in xilinx_ethlite_reset() local [all …]
|
| H A D | ftgmac100.c | 260 static int ftgmac100_max_frame_size(FTGMAC100State *s, uint16_t proto) in ftgmac100_max_frame_size() 267 static void ftgmac100_update_irq(FTGMAC100State *s) in ftgmac100_update_irq() 278 static void phy_update_irq(FTGMAC100State *s) in phy_update_irq() 283 static void phy_update_link(FTGMAC100State *s) in phy_update_link() 301 static void phy_reset(FTGMAC100State *s) in phy_reset() 315 static uint16_t do_phy_read(FTGMAC100State *s, uint8_t reg) in do_phy_read() 382 static void do_phy_write(FTGMAC100State *s, uint8_t reg, uint16_t val) in do_phy_write() 419 static void do_phy_new_ctl(FTGMAC100State *s) in do_phy_new_ctl() 452 static void do_phy_ctl(FTGMAC100State *s) in do_phy_ctl() 500 static int ftgmac100_insert_vlan(FTGMAC100State *s, int frame_size, in ftgmac100_insert_vlan() [all …]
|
| /openbmc/qemu/hw/intc/ |
| H A D | slavio_intctl.c | 92 SLAVIO_CPUINTCTLState *s = opaque; in slavio_intctl_mem_readl() local 112 SLAVIO_CPUINTCTLState *s = opaque; in slavio_intctl_mem_writel() local 149 SLAVIO_INTCTLState *s = opaque; in slavio_intctlm_mem_readl() local 175 SLAVIO_INTCTLState *s = opaque; in slavio_intctlm_mem_writel() local 220 static void slavio_check_interrupts(SLAVIO_INTCTLState *s, int set_irqs) in slavio_check_interrupts() 290 SLAVIO_INTCTLState *s = opaque; in slavio_set_irq() local 321 SLAVIO_INTCTLState *s = opaque; in slavio_set_timer_irq_cpu() local 345 SLAVIO_INTCTLState *s = opaque; in vmstate_intctl_post_load() local 378 SLAVIO_INTCTLState *s = SLAVIO_INTCTL(d); in slavio_intctl_reset() local 396 SLAVIO_INTCTLState *s = SLAVIO_INTCTL(obj); in slavio_intctl_get_statistics() local [all …]
|
| /openbmc/qemu/hw/ssi/ |
| H A D | stm32f2xx_spi.c | 45 STM32F2XXSPIState *s = STM32F2XX_SPI(dev); in stm32f2xx_spi_reset() local 58 static void stm32f2xx_spi_transfer(STM32F2XXSPIState *s) in stm32f2xx_spi_transfer() 71 STM32F2XXSPIState *s = opaque; in stm32f2xx_spi_read() local 119 STM32F2XXSPIState *s = opaque; in stm32f2xx_spi_write() local 193 STM32F2XXSPIState *s = STM32F2XX_SPI(obj); in stm32f2xx_spi_init() local
|
| H A D | pl022.c | 51 static void pl022_update(PL022State *s) in pl022_update() 73 static void pl022_xfer(PL022State *s) in pl022_xfer() 121 PL022State *s = (PL022State *)opaque; in pl022_read() local 165 PL022State *s = (PL022State *)opaque; in pl022_write() local 219 PL022State *s = PL022(dev); in pl022_reset() local 236 PL022State *s = opaque; in pl022_post_load() local 287 PL022State *s = PL022(dev); in pl022_realize() local
|
| H A D | xilinx_spi.c | 105 static void txfifo_reset(XilinxSPI *s) in txfifo_reset() argument 113 static void rxfifo_reset(XilinxSPI *s) in rxfifo_reset() 121 static void xlx_spi_update_cs(XilinxSPI *s) in xlx_spi_update_cs() 130 static void xlx_spi_update_irq(XilinxSPI *s) in xlx_spi_update_irq() 154 static void xlx_spi_do_reset(XilinxSPI *s) in xlx_spi_do_reset() 172 static inline int spi_master_enabled(XilinxSPI *s) in spi_master_enabled() 177 static void spi_flush_txfifo(XilinxSPI *s) in spi_flush_txfifo() 210 XilinxSPI *s = opaque; in spi_read() local 248 XilinxSPI *s = opaque; in spi_write() local 335 XilinxSPI *s = XILINX_SPI(dev); in xilinx_spi_realize() local
|
| /openbmc/qemu/hw/gpio/ |
| H A D | mpc8xxx.c | 61 static void mpc8xxx_gpio_update(MPC8XXXGPIOState *s) in mpc8xxx_gpio_update() 69 MPC8XXXGPIOState *s = (MPC8XXXGPIOState *)opaque; in mpc8xxx_gpio_read() local 94 static void mpc8xxx_write_data(MPC8XXXGPIOState *s, uint32_t new_data) in mpc8xxx_write_data() 118 MPC8XXXGPIOState *s = (MPC8XXXGPIOState *)opaque; in mpc8xxx_gpio_write() local 151 MPC8XXXGPIOState *s = MPC8XXX_GPIO(dev); in mpc8xxx_gpio_reset() local 163 MPC8XXXGPIOState *s = (MPC8XXXGPIOState *)opaque; in mpc8xxx_gpio_set_irq() local 191 MPC8XXXGPIOState *s = MPC8XXX_GPIO(obj); in mpc8xxx_gpio_initfn() local
|
| /openbmc/qemu/hw/usb/ |
| H A D | host-libusb.c | 378 static USBHostRequest *usb_host_req_alloc(USBHostDevice *s, USBPacket *p, in usb_host_req_alloc() 409 static USBHostRequest *usb_host_req_find(USBHostDevice *s, USBPacket *p) in usb_host_req_find() 424 USBHostDevice *s = r->host; in usb_host_req_complete_ctrl() local 474 USBHostDevice *s = r->host; in usb_host_req_complete_data() local 502 USBHostDevice *s = r->host; in usb_host_req_abort() local 536 USBHostDevice *s = xfer->ring->host; in usb_host_req_complete_iso() local 547 static USBHostIsoRing *usb_host_iso_alloc(USBHostDevice *s, USBEndpoint *ep) in usb_host_iso_alloc() 586 static USBHostIsoRing *usb_host_iso_find(USBHostDevice *s, USBEndpoint *ep) in usb_host_iso_find() 638 static void usb_host_iso_free_all(USBHostDevice *s) in usb_host_iso_free_all() 673 static void usb_host_iso_data_in(USBHostDevice *s, USBPacket *p) in usb_host_iso_data_in() [all …]
|
| /openbmc/qemu/hw/display/ |
| H A D | artist.c | 240 static int vram_write_bufidx(ARTISTState *s) in vram_write_bufidx() 245 static int vram_read_bufidx(ARTISTState *s) in vram_read_bufidx() 250 static struct vram_buffer *vram_read_buffer(ARTISTState *s) in vram_read_buffer() 255 static struct vram_buffer *vram_write_buffer(ARTISTState *s) in vram_write_buffer() 260 static uint8_t artist_get_color(ARTISTState *s) in artist_get_color() 269 static artist_rop_t artist_get_op(ARTISTState *s) in artist_get_op() 274 static void artist_rop8(ARTISTState *s, struct vram_buffer *buf, in artist_rop8() 316 static void artist_get_cursor_pos(ARTISTState *s, int *x, int *y) in artist_get_cursor_pos() 364 static inline bool cursor_visible(ARTISTState *s) in cursor_visible() 370 static void artist_invalidate_cursor(ARTISTState *s) in artist_invalidate_cursor() [all …]
|
| /openbmc/qemu/backends/ |
| H A D | cryptodev-vhost-user.c | 68 CryptoDevBackendVhostUser *s = in cryptodev_vhost_user_get_vhost() local 77 CryptoDevBackendVhostUser *s) in cryptodev_vhost_user_stop() 93 CryptoDevBackendVhostUser *s) in cryptodev_vhost_user_start() 133 cryptodev_vhost_claim_chardev(CryptoDevBackendVhostUser *s, in cryptodev_vhost_claim_chardev() 156 CryptoDevBackendVhostUser *s = opaque; in cryptodev_vhost_user_event() local 189 CryptoDevBackendVhostUser *s = in cryptodev_vhost_user_init() local 338 CryptoDevBackendVhostUser *s = in cryptodev_vhost_user_cleanup() local 360 CryptoDevBackendVhostUser *s = in cryptodev_vhost_user_set_chardev() local 374 CryptoDevBackendVhostUser *s = in cryptodev_vhost_user_get_chardev() local 387 CryptoDevBackendVhostUser *s = in cryptodev_vhost_user_finalize() local
|
| H A D | rng-builtin.c | 24 RngBuiltin *s = opaque; in rng_builtin_receive_entropy_bh() local 39 RngBuiltin *s = RNG_BUILTIN(b); in rng_builtin_request_entropy() local 46 RngBuiltin *s = RNG_BUILTIN(obj); in rng_builtin_init() local 53 RngBuiltin *s = RNG_BUILTIN(obj); in rng_builtin_finalize() local
|
| /openbmc/qemu/hw/misc/ |
| H A D | ibm-cffps.c | 44 static void ibm_cffps_read(IBMCffpsState *s) in ibm_cffps_read() 95 static void ibm_cffps_write(IBMCffpsState *s) in ibm_cffps_write() 106 IBMCffpsState *s = IBM_CFFPS(i2c); in ibm_cffps_recv() local 117 IBMCffpsState *s = IBM_CFFPS(i2c); in ibm_cffps_send() local 142 IBMCffpsState *s = IBM_CFFPS(i2c); in ibm_cffps_event() local 179 IBMCffpsState *s = IBM_CFFPS(dev); in ibm_cffps_reset() local
|
| H A D | ir35221.c | 43 static void ir35221_read(Ir35221State *s) in ir35221_read() 64 static void ir35221_write(Ir35221State *s) in ir35221_write() 71 Ir35221State *s = IR35221(i2c); in ir35221_recv() local 82 Ir35221State *s = IR35221(i2c); in ir35221_send() local 107 Ir35221State *s = IR35221(i2c); in ir35221_event() local 144 Ir35221State *s = IR35221(dev); in ir35221_reset() local
|
| H A D | npcm7xx_rng.c | 40 static bool npcm7xx_rng_is_enabled(NPCM7xxRNGState *s) in npcm7xx_rng_is_enabled() 48 NPCM7xxRNGState *s = opaque; in npcm7xx_rng_read() local 95 NPCM7xxRNGState *s = opaque; in npcm7xx_rng_write() local 133 NPCM7xxRNGState *s = NPCM7XX_RNG(obj); in npcm7xx_rng_enter_reset() local 142 NPCM7xxRNGState *s = NPCM7XX_RNG(obj); in npcm7xx_rng_init() local
|
| H A D | imx8mp_analog.c | 21 IMX8MPAnalogState *s = IMX8MP_ANALOG(dev); in imx8mp_analog_reset() local 88 IMX8MPAnalogState *s = opaque; in imx8mp_analog_read() local 96 IMX8MPAnalogState *s = opaque; in imx8mp_analog_write() local 119 IMX8MPAnalogState *s = IMX8MP_ANALOG(obj); in imx8mp_analog_init() local
|
| H A D | virt_ctrl.c | 32 VirtCtrlState *s = opaque; in virt_ctrl_read() local 54 VirtCtrlState *s = opaque; in virt_ctrl_write() local 92 VirtCtrlState *s = VIRT_CTRL(dev); in virt_ctrl_reset() local 99 VirtCtrlState *s = VIRT_CTRL(dev); in virt_ctrl_realize() local 120 VirtCtrlState *s = VIRT_CTRL(obj); in virt_ctrl_instance_init() local
|
| /openbmc/qemu/block/ |
| H A D | qcow2-snapshot.c | 36 BDRVQcow2State *s = bs->opaque; in qcow2_free_single_snapshot() local 47 BDRVQcow2State *s = bs->opaque; in qcow2_free_snapshots() local 86 BDRVQcow2State *s = bs->opaque; in qcow2_do_read_snapshots() local 273 BDRVQcow2State *s = bs->opaque; in qcow2_write_snapshots() local 434 BDRVQcow2State *s = bs->opaque; in qcow2_check_read_snapshot_table() local 555 BDRVQcow2State *s = bs->opaque; in qcow2_check_fix_snapshot_table() local 579 BDRVQcow2State *s = bs->opaque; in find_new_snapshot_id() local 597 BDRVQcow2State *s = bs->opaque; in find_snapshot_by_id_and_name() local 639 BDRVQcow2State *s = bs->opaque; in qcow2_snapshot_create() local 762 BDRVQcow2State *s = bs->opaque; in qcow2_snapshot_goto() local [all …]
|
| /openbmc/qemu/hw/acpi/ |
| H A D | ich9.c | 170 ICH9LPCPMRegs *s = opaque; in vmstate_test_use_tco() local 188 ICH9LPCPMRegs *s = opaque; in vmstate_test_use_cpuhp() local 194 ICH9LPCPMRegs *s = opaque; in vmstate_cpuhp_pre_load() local 214 ICH9LPCPMRegs *s = opaque; in vmstate_test_use_pcihp() local 360 ICH9LPCState *s = ICH9_LPC_DEVICE(obj); in ich9_pm_get_cpu_hotplug_legacy() local 368 ICH9LPCState *s = ICH9_LPC_DEVICE(obj); in ich9_pm_set_cpu_hotplug_legacy() local 380 ICH9LPCState *s = ICH9_LPC_DEVICE(obj); in ich9_pm_get_enable_tco() local 386 ICH9LPCState *s = ICH9_LPC_DEVICE(obj); in ich9_pm_set_enable_tco() local 392 ICH9LPCState *s = ICH9_LPC_DEVICE(obj); in ich9_pm_get_acpi_pci_hotplug() local 399 ICH9LPCState *s = ICH9_LPC_DEVICE(obj); in ich9_pm_set_acpi_pci_hotplug() local [all …]
|
| /openbmc/u-boot/lib/bzip2/ |
| H A D | bzlib.c | 169 void prepare_new_block ( EState* s ) in prepare_new_block() 183 void init_RL ( EState* s ) in init_RL() 191 Bool isempty_RL ( EState* s ) in isempty_RL() 206 EState* s; in BZ_API() local 267 void add_pair_to_block ( EState* s ) in add_pair_to_block() 303 void flush_RL ( EState* s ) in flush_RL() 340 Bool copy_input_until_stop ( EState* s ) in copy_input_until_stop() 385 Bool copy_output_until_stop ( EState* s ) in copy_output_until_stop() 416 EState* s = strm->state; in handle_compress() local 461 EState* s; in BZ_API() local [all …]
|
| /openbmc/qemu/hw/xen/ |
| H A D | xen_pt.c | 145 XenPCIPassthroughState *s = XEN_PT_DEVICE(d); in xen_pt_pci_read_config() local 250 XenPCIPassthroughState *s = XEN_PT_DEVICE(d); in xen_pt_pci_write_config() local 458 static int xen_pt_register_regions(XenPCIPassthroughState *s, uint16_t *cmd) in xen_pt_register_regions() 528 static int xen_pt_bar_from_region(XenPCIPassthroughState *s, MemoryRegion *mr) in xen_pt_bar_from_region() 550 XenPCIPassthroughState *s; member 559 XenPCIPassthroughState *s = arg->s; in xen_pt_check_bar_overlap() local 590 static void xen_pt_region_update(XenPCIPassthroughState *s, in xen_pt_region_update() 658 XenPCIPassthroughState *s = container_of(l, XenPCIPassthroughState, in xen_pt_region_add() local 667 XenPCIPassthroughState *s = container_of(l, XenPCIPassthroughState, in xen_pt_region_del() local 676 XenPCIPassthroughState *s = container_of(l, XenPCIPassthroughState, in xen_pt_io_region_add() local [all …]
|
| /openbmc/qemu/hw/char/ |
| H A D | exynos4210_uart.c | 246 exynos4210_uart_Tx_FIFO_trigger_level(const Exynos4210UartState *s) in exynos4210_uart_Tx_FIFO_trigger_level() 257 exynos4210_uart_Rx_FIFO_trigger_level(const Exynos4210UartState *s) in exynos4210_uart_Rx_FIFO_trigger_level() 271 static void exynos4210_uart_update_dmabusy(Exynos4210UartState *s) in exynos4210_uart_update_dmabusy() 285 static void exynos4210_uart_update_irq(Exynos4210UartState *s) in exynos4210_uart_update_irq() 328 Exynos4210UartState *s = opaque; in exynos4210_uart_timeout_int() local 342 static void exynos4210_uart_update_parameters(Exynos4210UartState *s) in exynos4210_uart_update_parameters() 388 static void exynos4210_uart_rx_timeout_set(Exynos4210UartState *s) in exynos4210_uart_rx_timeout_set() 403 Exynos4210UartState *s = (Exynos4210UartState *)opaque; in exynos4210_uart_write() local 482 Exynos4210UartState *s = (Exynos4210UartState *)opaque; in exynos4210_uart_read() local 555 Exynos4210UartState *s = (Exynos4210UartState *)opaque; in exynos4210_uart_can_receive() local [all …]
|
| /openbmc/qemu/hw/pci-host/ |
| H A D | astro.c | 90 ElroyState *s = opaque; in elroy_chip_read_with_attrs() local 166 ElroyState *s = opaque; in elroy_chip_write_with_attrs() local 239 PCIHostState *s = opaque; in elroy_config_data_read() local 248 PCIHostState *s = opaque; in elroy_config_data_write() local 261 ElroyState *s = opaque; in elroy_config_addr_read() local 268 PCIHostState *s = opaque; in elroy_config_addr_write() local 289 AstroState *s = container_of(iommu, AstroState, iommu); in astro_translate_iommu() local 348 ElroyState *s = opaque; in elroy_pcihost_set_iommu() local 377 ElroyState *s = opaque; in elroy_set_irq() local 410 ElroyState *s = ELROY_PCI_HOST_BRIDGE(dev); in elroy_reset() local [all …]
|
| /openbmc/qemu/hw/tpm/ |
| H A D | tpm_tis_sysbus.c | 72 TPMState *s = &sbdev->state; in tpm_tis_sysbus_request_completed() local 80 TPMState *s = &sbdev->state; in tpm_tis_sysbus_get_tpm_version() local 88 TPMState *s = &sbdev->state; in tpm_tis_sysbus_reset() local 101 TPMState *s = &sbdev->state; in tpm_tis_sysbus_initfn() local 114 TPMState *s = &sbdev->state; in tpm_tis_sysbus_realizefn() local
|