| /openbmc/qemu/hw/audio/ |
| H A D | ac97.c | 184 static void fetch_bd(AC97LinkState *s, AC97BusMasterRegs *r) in fetch_bd() 198 static void update_sr(AC97LinkState *s, AC97BusMasterRegs *r, uint32_t new_sr) in update_sr() 243 static void voice_set_active(AC97LinkState *s, int bm_index, int on) in voice_set_active() 264 static void reset_bm_regs(AC97LinkState *s, AC97BusMasterRegs *r) in reset_bm_regs() 281 static void mixer_store(AC97LinkState *s, uint32_t i, uint16_t v) in mixer_store() 293 static uint16_t mixer_load(AC97LinkState *s, uint32_t i) in mixer_load() 307 static void open_voice(AC97LinkState *s, int index, int freq) in open_voice() 373 static void reset_voices(AC97LinkState *s, uint8_t active[LAST_INDEX]) in reset_voices() 403 static void update_combined_volume_out(AC97LinkState *s) in update_combined_volume_out() 420 static void update_volume_in(AC97LinkState *s) in update_volume_in() [all …]
|
| H A D | asc.c | 108 static void asc_raise_irq(ASCState *s) in asc_raise_irq() 113 static void asc_lower_irq(ASCState *s) in asc_lower_irq() 120 ASCState *s = container_of(fs, ASCState, fifos[fs->index]); in asc_fifo_get() local 155 static int generate_fifo(ASCState *s, int maxsamples) in generate_fifo() 282 static int generate_wavetable(ASCState *s, int maxsamples) in generate_wavetable() 320 ASCState *s = opaque; in asc_out_cb() local 379 ASCState *s = container_of(fs, ASCState, fifos[fs->index]); in asc_fifo_write() local 427 ASCState *s = opaque; in asc_read() local 463 ASCState *s = opaque; in asc_write() local 545 ASCState *s = ASC(opaque); in asc_post_load() local [all …]
|
| /openbmc/qemu/hw/intc/ |
| H A D | bcm2836_control.c | 63 static void deliver_local(BCM2836ControlState *s, uint8_t core, uint8_t irq, in deliver_local() 78 static void bcm2836_control_update(BCM2836ControlState *s) in bcm2836_control_update() 143 BCM2836ControlState *s = opaque; in bcm2836_control_set_local_irq() local 180 BCM2836ControlState *s = opaque; in bcm2836_control_set_gpu_irq() local 189 BCM2836ControlState *s = opaque; in bcm2836_control_set_gpu_fiq() local 198 BCM2836ControlState *s = opaque; in bcm2836_control_local_timer_set_next() local 211 BCM2836ControlState *s = opaque; in bcm2836_control_local_timer_tick() local 221 BCM2836ControlState *s = opaque; in bcm2836_control_local_timer_control() local 233 BCM2836ControlState *s = opaque; in bcm2836_control_local_timer_ack() local 246 BCM2836ControlState *s = opaque; in bcm2836_control_read() local [all …]
|
| H A D | allwinner-a10-pic.c | 26 static void aw_a10_pic_update(AwA10PICState *s) in aw_a10_pic_update() 51 AwA10PICState *s = opaque; in aw_a10_pic_set_irq() local 60 AwA10PICState *s = opaque; in aw_a10_pic_read() local 94 AwA10PICState *s = opaque; in aw_a10_pic_write() local 161 AwA10PICState *s = AW_A10_PIC(obj); in aw_a10_pic_init() local 174 AwA10PICState *s = AW_A10_PIC(d); in aw_a10_pic_reset() local
|
| H A D | imx_avic.c | 52 static inline int imx_avic_prio(IMXAVICState *s, int irq) in imx_avic_prio() 60 static void imx_avic_update(IMXAVICState *s) in imx_avic_update() 92 IMXAVICState *s = (IMXAVICState *)opaque; in imx_avic_set_irq() local 111 IMXAVICState *s = (IMXAVICState *)opaque; in imx_avic_read() local 220 IMXAVICState *s = (IMXAVICState *)opaque; in imx_avic_write() local 318 IMXAVICState *s = IMX_AVIC(dev); in imx_avic_reset() local 331 IMXAVICState *s = IMX_AVIC(obj); in imx_avic_init() local
|
| H A D | bcm2835_ic.c | 38 static void bcm2835_ic_update(BCM2835ICState *s) in bcm2835_ic_update() 59 BCM2835ICState *s = opaque; in bcm2835_ic_set_gpu_irq() local 69 BCM2835ICState *s = opaque; in bcm2835_ic_set_arm_irq() local 81 BCM2835ICState *s = opaque; in bcm2835_ic_read() local 139 BCM2835ICState *s = opaque; in bcm2835_ic_write() local 182 BCM2835ICState *s = BCM2835_IC(d); in bcm2835_ic_reset() local 192 BCM2835ICState *s = BCM2835_IC(obj); in bcm2835_ic_init() local
|
| /openbmc/qemu/hw/arm/ |
| H A D | smmuv3.c | 50 static void smmuv3_trigger_irq(SMMUv3State *s, SMMUIrq irq, in smmuv3_trigger_irq() 88 static void smmuv3_write_gerrorn(SMMUv3State *s, uint32_t new_gerrorn) in smmuv3_write_gerrorn() 145 static MemTxResult smmuv3_write_eventq(SMMUv3State *s, Evt *evt) in smmuv3_write_eventq() 169 void smmuv3_record_event(SMMUv3State *s, SMMUEventInfo *info) in smmuv3_record_event() 260 static void smmuv3_init_regs(SMMUv3State *s) in smmuv3_init_regs() 322 static int smmu_get_ste(SMMUv3State *s, dma_addr_t addr, STE *buf, in smmu_get_ste() 352 static int smmu_get_cd(SMMUv3State *s, STE *ste, SMMUTransCfg *cfg, in smmu_get_cd() 430 static int decode_ste_s2_cfg(SMMUv3State *s, SMMUTransCfg *cfg, in decode_ste_s2_cfg() 547 static int decode_ste(SMMUv3State *s, SMMUTransCfg *cfg, in decode_ste() 632 static int smmu_find_ste(SMMUv3State *s, uint32_t sid, STE *ste, in smmu_find_ste() [all …]
|
| H A D | integratorcp.c | 85 IntegratorCMState *s = opaque; in integratorcm_read() local 157 static void integratorcm_do_remap(IntegratorCMState *s) in integratorcm_do_remap() 165 static void integratorcm_set_ctrl(IntegratorCMState *s, uint32_t value) in integratorcm_set_ctrl() 182 static void integratorcm_update(IntegratorCMState *s) in integratorcm_update() 193 IntegratorCMState *s = opaque; in integratorcm_write() local 276 IntegratorCMState *s = INTEGRATOR_CM(obj); in integratorcm_init() local 292 IntegratorCMState *s = INTEGRATOR_CM(d); in integratorcm_realize() local 354 static void icp_pic_update(icp_pic_state *s) in icp_pic_update() 366 icp_pic_state *s = (icp_pic_state *)opaque; in icp_pic_set_irq() local 377 icp_pic_state *s = (icp_pic_state *)opaque; in icp_pic_read() local [all …]
|
| /openbmc/qemu/hw/misc/ |
| H A D | aspeed_peci.c | 34 static void aspeed_peci_raise_interrupt(AspeedPECIState *s, uint32_t status) in aspeed_peci_raise_interrupt() 47 AspeedPECIState *s = ASPEED_PECI(opaque); in aspeed_peci_read() local 65 AspeedPECIState *s = ASPEED_PECI(opaque); in aspeed_peci_write() local 117 AspeedPECIState *s = ASPEED_PECI(dev); in aspeed_peci_realize() local 128 AspeedPECIState *s = ASPEED_PECI(dev); in aspeed_peci_reset() local
|
| H A D | armsse-mhu.c | 58 static void armsse_mhu_update(ARMSSEMHU *s) in armsse_mhu_update() 66 ARMSSEMHU *s = ARMSSE_MHU(opaque); in armsse_mhu_read() local 105 ARMSSEMHU *s = ARMSSE_MHU(opaque); in armsse_mhu_write() local 150 ARMSSEMHU *s = ARMSSE_MHU(dev); in armsse_mhu_reset() local 170 ARMSSEMHU *s = ARMSSE_MHU(obj); in armsse_mhu_init() local
|
| H A D | iotkit-secctl.c | 126 static void foreach_ppc(IoTKitSecCtl *s, PerPPCFunction *fn) in foreach_ppc() 147 IoTKitSecCtl *s = IOTKIT_SECCTL(opaque); in iotkit_secctl_s_read() local 329 static void iotkit_secctl_update_msc_irq(IoTKitSecCtl *s) in iotkit_secctl_update_msc_irq() 341 IoTKitSecCtl *s = IOTKIT_SECCTL(opaque); in iotkit_secctl_s_write() local 462 IoTKitSecCtl *s = IOTKIT_SECCTL(opaque); in iotkit_secctl_ns_read() local 531 IoTKitSecCtl *s = IOTKIT_SECCTL(opaque); in iotkit_secctl_ns_write() local 620 IoTKitSecCtl *s = IOTKIT_SECCTL(dev); in iotkit_secctl_reset() local 633 IoTKitSecCtl *s = IOTKIT_SECCTL(opaque); in iotkit_secctl_mpc_status() local 640 IoTKitSecCtl *s = IOTKIT_SECCTL(opaque); in iotkit_secctl_mpcexp_status() local 647 IoTKitSecCtl *s = IOTKIT_SECCTL(opaque); in iotkit_secctl_mscexp_status() local [all …]
|
| H A D | allwinner-r40-dramc.c | 117 static uint64_t *address_to_autodetect_cells(AwR40DramCtlState *s, in address_to_autodetect_cells() 152 static void allwinner_r40_dramc_map_rows(AwR40DramCtlState *s, uint8_t row_bits, in allwinner_r40_dramc_map_rows() 184 const AwR40DramCtlState *s = AW_R40_DRAMC(opaque); in allwinner_r40_dramcom_read() local 200 AwR40DramCtlState *s = AW_R40_DRAMC(opaque); in allwinner_r40_dramcom_write() local 227 const AwR40DramCtlState *s = AW_R40_DRAMC(opaque); in allwinner_r40_dramctl_read() local 243 AwR40DramCtlState *s = AW_R40_DRAMC(opaque); in allwinner_r40_dramctl_write() local 267 const AwR40DramCtlState *s = AW_R40_DRAMC(opaque); in allwinner_r40_dramphy_read() local 283 AwR40DramCtlState *s = AW_R40_DRAMC(opaque); in allwinner_r40_dramphy_write() local 333 AwR40DramCtlState *s = AW_R40_DRAMC(opaque); in allwinner_r40_detect_read() local 348 AwR40DramCtlState *s = AW_R40_DRAMC(opaque); in allwinner_r40_detect_write() local [all …]
|
| /openbmc/qemu/hw/gpio/ |
| H A D | nrf51_gpio.c | 59 static void update_output_irq(NRF51GPIOState *s, size_t i, in update_output_irq() 75 static void update_state(NRF51GPIOState *s) in update_state() 136 static void reflect_dir_bit_in_cnf(NRF51GPIOState *s) in reflect_dir_bit_in_cnf() 149 NRF51GPIOState *s = NRF51_GPIO(opaque); in nrf51_gpio_read() local 185 NRF51GPIOState *s = NRF51_GPIO(opaque); in nrf51_gpio_write() local 247 NRF51GPIOState *s = NRF51_GPIO(opaque); in nrf51_gpio_set() local 263 NRF51GPIOState *s = NRF51_GPIO(dev); in nrf51_gpio_reset() local 296 NRF51GPIOState *s = NRF51_GPIO(obj); in nrf51_gpio_init() local
|
| /openbmc/qemu/hw/isa/ |
| H A D | vt82c686.c | 54 static void pm_io_space_update(ViaPMState *s) in pm_io_space_update() argument 64 static void smb_io_space_update(ViaPMState *s) in smb_io_space_update() 76 ViaPMState *s = opaque; in vmstate_acpi_post_load() local 102 ViaPMState *s = VIA_PM(d); in pm_write_config() local 144 static void pm_update_sci(ViaPMState *s) in pm_update_sci() 173 ViaPMState *s = container_of(ar, ViaPMState, ar); in pm_tmr_timer() local 179 ViaPMState *s = VIA_PM(d); in via_pm_reset() local 199 ViaPMState *s = VIA_PM(dev); in via_pm_realize() local 289 static inline void via_superio_io_enable(ViaSuperIOState *s, bool enable) in via_superio_io_enable() argument 296 ViaSuperIOState *s = VIA_SUPERIO(d); in via_superio_realize() local [all …]
|
| /openbmc/qemu/chardev/ |
| H A D | char-win.c | 33 WinChardev *s = WIN_CHARDEV(chr); in win_chr_read() local 64 WinChardev *s = WIN_CHARDEV(opaque); in win_chr_serial_poll() local 78 WinChardev *s = WIN_CHARDEV(chr); in win_chr_serial_init() local 145 WinChardev *s = WIN_CHARDEV(opaque); in win_chr_pipe_poll() local 159 WinChardev *s = WIN_CHARDEV(chr); in win_chr_write() local 195 WinChardev *s = WIN_CHARDEV(chr); in char_win_finalize() local 217 WinChardev *s = WIN_CHARDEV(chr); in win_chr_set_file() local
|
| /openbmc/qemu/backends/ |
| H A D | rng-egd.c | 33 RngEgd *s = RNG_EGD(b); in rng_egd_request_entropy() local 54 RngEgd *s = RNG_EGD(opaque); in rng_egd_chr_can_read() local 67 RngEgd *s = RNG_EGD(opaque); in rng_egd_chr_read() local 89 RngEgd *s = RNG_EGD(b); in rng_egd_opened() local 116 RngEgd *s = RNG_EGD(b); in rng_egd_set_chardev() local 128 RngEgd *s = RNG_EGD(obj); in rng_egd_get_chardev() local 140 RngEgd *s = RNG_EGD(obj); in rng_egd_finalize() local
|
| /openbmc/qemu/tests/qtest/ |
| H A D | aspeed-hace-utils.c | 156 static void write_regs(QTestState *s, uint32_t base, uint64_t src, in write_regs() 171 QTestState *s = qtest_init(machine); in aspeed_test_md5() local 205 QTestState *s = qtest_init(machine); in aspeed_test_sha256() local 239 QTestState *s = qtest_init(machine); in aspeed_test_sha384() local 273 QTestState *s = qtest_init(machine); in aspeed_test_sha512() local 307 QTestState *s = qtest_init(machine); in aspeed_test_sha256_sg() local 358 QTestState *s = qtest_init(machine); in aspeed_test_sha384_sg() local 409 QTestState *s = qtest_init(machine); in aspeed_test_sha512_sg() local 460 QTestState *s = qtest_init(machine); in aspeed_test_sha256_accum() local 501 QTestState *s = qtest_init(machine); in aspeed_test_sha384_accum() local [all …]
|
| /openbmc/qemu/hw/dma/ |
| H A D | xilinx_axidma.c | 160 static inline int stream_resetting(struct Stream *s) in stream_resetting() 165 static inline int stream_running(struct Stream *s) in stream_running() 170 static inline int stream_idle(struct Stream *s) in stream_idle() 175 static inline int stream_halted(struct Stream *s) in stream_halted() 180 static void stream_reset(struct Stream *s) in stream_reset() 197 static MemTxResult stream_desc_load(struct Stream *s, hwaddr addr) in stream_desc_load() 227 static void stream_desc_store(struct Stream *s, hwaddr addr) in stream_desc_store() 240 static void stream_update_irq(struct Stream *s) in stream_update_irq() 252 static void stream_reload_complete_cnt(struct Stream *s) in stream_reload_complete_cnt() 261 struct Stream *s = opaque; in timer_hit() local [all …]
|
| H A D | rc4030.c | 106 static void set_next_tick(rc4030State *s) in set_next_tick() argument 120 rc4030State *s = opaque; in rc4030_read() local 261 rc4030State *s = opaque; in rc4030_write() local 395 static void update_jazz_irq(rc4030State *s) in update_jazz_irq() 410 rc4030State *s = opaque; in rc4030_irq_jazz_request() local 423 rc4030State *s = opaque; in rc4030_periodic_timer() local 431 rc4030State *s = opaque; in jazzio_read() local 471 rc4030State *s = opaque; in jazzio_write() local 502 rc4030State *s = container_of(iommu, rc4030State, dma_mr); in rc4030_dma_translate() local 529 rc4030State *s = RC4030(dev); in rc4030_reset() local [all …]
|
| /openbmc/qemu/net/ |
| H A D | vhost-vdpa.c | 137 VhostVDPAState *s = DO_UPCAST(VhostVDPAState, nc, nc); in vhost_vdpa_get_vhost_net() local 194 VhostVDPAState *s; in vhost_vdpa_add() local 230 VhostVDPAState *s = DO_UPCAST(VhostVDPAState, nc, nc); in vhost_vdpa_cleanup() local 258 VhostVDPAState *s = DO_UPCAST(VhostVDPAState, nc, nc); in vhost_vdpa_get_vnet_hash_supported_types() local 283 VhostVDPAState *s = DO_UPCAST(VhostVDPAState, nc, nc); in vhost_vdpa_has_ufo() local 325 static VhostVDPAState *vhost_vdpa_net_get_nc_vdpa(VhostVDPAState *s, int i) in vhost_vdpa_net_get_nc_vdpa() 333 static VhostVDPAState *vhost_vdpa_net_first_nc_vdpa(VhostVDPAState *s) in vhost_vdpa_net_first_nc_vdpa() 338 static void vhost_vdpa_net_log_global_enable(VhostVDPAState *s, bool enable) in vhost_vdpa_net_log_global_enable() 379 VhostVDPAState *s = container_of(notifier, VhostVDPAState, migration_state); in vdpa_net_migration_state_notifier() local 389 static void vhost_vdpa_net_data_start_first(VhostVDPAState *s) in vhost_vdpa_net_data_start_first() [all …]
|
| /openbmc/qemu/hw/usb/ |
| H A D | imx-usb-phy.c | 29 static void imx_usbphy_softreset(IMXUSBPHYState *s) in imx_usbphy_softreset() 39 IMXUSBPHYState *s = IMX_USBPHY(dev); in imx_usbphy_reset() local 52 IMXUSBPHYState *s = (IMXUSBPHYState *)opaque; in imx_usbphy_read() local 111 IMXUSBPHYState *s = (IMXUSBPHYState *)opaque; in imx_usbphy_write() local 210 IMXUSBPHYState *s = IMX_USBPHY(dev); in imx_usbphy_realize() local
|
| /openbmc/qemu/hw/timer/ |
| H A D | digic-timer.c | 52 DigicTimerState *s = DIGIC_TIMER(dev); in digic_timer_reset() local 63 DigicTimerState *s = opaque; in digic_timer_read() local 88 DigicTimerState *s = opaque; in digic_timer_write() local 140 DigicTimerState *s = DIGIC_TIMER(obj); in digic_timer_init() local 159 DigicTimerState *s = DIGIC_TIMER(obj); in digic_timer_finalize() local
|
| /openbmc/qemu/hw/core/ |
| H A D | or-irq.c | 34 OrIRQState *s = OR_IRQ(opaque); in or_irq_handler() local 49 OrIRQState *s = OR_IRQ(dev); in or_irq_reset() local 59 OrIRQState *s = OR_IRQ(dev); in or_irq_realize() local 68 OrIRQState *s = OR_IRQ(obj); in or_irq_init() local 87 OrIRQState *s = OR_IRQ(opaque); in vmstate_extras_needed() local
|
| /openbmc/qemu/hw/display/ |
| H A D | i2c-ddc.c | 39 I2CDDCState *s = I2CDDC(ds); in i2c_ddc_reset() local 47 I2CDDCState *s = I2CDDC(i2c); in i2c_ddc_event() local 58 I2CDDCState *s = I2CDDC(i2c); in i2c_ddc_rx() local 68 I2CDDCState *s = I2CDDC(i2c); in i2c_ddc_tx() local 83 I2CDDCState *s = I2CDDC(obj); in i2c_ddc_init() local
|
| /openbmc/qemu/ui/ |
| H A D | gtk.c | 146 static VirtualConsole *gd_vc_find_by_menu(GtkDisplayState *s) in gd_vc_find_by_menu() 161 static VirtualConsole *gd_vc_find_by_page(GtkDisplayState *s, gint page) in gd_vc_find_by_page() 176 static VirtualConsole *gd_vc_find_current(GtkDisplayState *s) in gd_vc_find_current() 184 static bool gd_is_grab_active(GtkDisplayState *s) in gd_is_grab_active() 189 static bool gd_grab_on_hover(GtkDisplayState *s) in gd_grab_on_hover() 196 GtkDisplayState *s = vc->s; in gd_update_cursor() local 216 static void gd_update_caption(GtkDisplayState *s) in gd_update_caption() 266 GtkDisplayState *s = vc->s; in gd_update_geometry_hints() local 329 GtkDisplayState *s = vc->s; in gd_update_windowsize() local 354 static void gtk_release_modifiers(GtkDisplayState *s) in gtk_release_modifiers() [all …]
|