/openbmc/qemu/hw/misc/ |
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 | stm32f4xx_exti.c | 34 STM32F4xxExtiState *s = STM32F4XX_EXTI(dev); in stm32f4xx_exti_reset() local 46 STM32F4xxExtiState *s = opaque; in stm32f4xx_exti_set_irq() local 70 STM32F4xxExtiState *s = opaque; in stm32f4xx_exti_read() local 98 STM32F4xxExtiState *s = opaque; in stm32f4xx_exti_write() local 137 STM32F4xxExtiState *s = STM32F4XX_EXTI(obj); in stm32f4xx_exti_init() local
|
/openbmc/qemu/hw/audio/ |
H A D | sb16.c | 172 static void speaker (SB16State *s, int on) in speaker() 178 static void control (SB16State *s, int hold) in control() 199 SB16State *s = opaque; in aux_timer() local 207 static void continue_dma8 (SB16State *s) in continue_dma8() 249 static void dma_cmd8 (SB16State *s, int mask, int dma_len) in dma_cmd8() 301 static void dma_cmd (SB16State *s, uint8_t cmd, uint8_t d0, int dma_len) in dma_cmd() 396 static inline void dsp_out_data (SB16State *s, uint8_t val) in dsp_out_data() 404 static inline uint8_t dsp_get_data (SB16State *s) in dsp_get_data() 415 static void command (SB16State *s, uint8_t cmd) in command() 673 static uint16_t dsp_get_lohi (SB16State *s) in dsp_get_lohi() [all …]
|
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 | 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
|
H A D | heathrow_pic.c | 39 static void heathrow_update_irq(HeathrowState *s) in heathrow_update_irq() 52 HeathrowState *s = opaque; in heathrow_write() local 80 HeathrowState *s = opaque; in heathrow_read() local 117 HeathrowState *s = opaque; in heathrow_set_irq() local 166 HeathrowState *s = HEATHROW(d); in heathrow_reset() local 174 HeathrowState *s = HEATHROW(obj); in heathrow_init() local
|
/openbmc/qemu/target/arm/tcg/ |
H A D | translate-sve.c | 45 static int tszimm_esz(DisasContext *s, int x) in tszimm_esz() 51 static int tszimm_shr(DisasContext *s, int x) in tszimm_shr() 66 static int tszimm_shl(DisasContext *s, int x) in tszimm_shl() 77 static inline int expand_imm_sh8s(DisasContext *s, int x) in expand_imm_sh8s() 82 static inline int expand_imm_sh8u(DisasContext *s, int x) in expand_imm_sh8u() 90 static inline int msz_dtype(DisasContext *s, int msz) in msz_dtype() 107 static bool gen_gvec_ool_zz(DisasContext *s, gen_helper_gvec_2 *fn, in gen_gvec_ool_zz() 122 static bool gen_gvec_fpst_zz(DisasContext *s, gen_helper_gvec_2_ptr *fn, in gen_gvec_fpst_zz() 140 static bool gen_gvec_fpst_ah_arg_zz(DisasContext *s, gen_helper_gvec_2_ptr *fn, in gen_gvec_fpst_ah_arg_zz() 148 static bool gen_gvec_ool_zzz(DisasContext *s, gen_helper_gvec_3 *fn, in gen_gvec_ool_zzz() [all …]
|
/openbmc/qemu/hw/display/ |
H A D | xlnx_dp.c | 287 XlnxDPState *s = XLNX_DP(opaque); in xlnx_dp_audio_read() local 296 XlnxDPState *s = XLNX_DP(opaque); in xlnx_dp_audio_write() local 316 static inline uint32_t xlnx_dp_audio_get_volume(XlnxDPState *s, in xlnx_dp_audio_get_volume() 330 static inline void xlnx_dp_audio_activate(XlnxDPState *s) in xlnx_dp_audio_activate() 341 static inline void xlnx_dp_audio_mix_buffer(XlnxDPState *s) in xlnx_dp_audio_mix_buffer() 390 XlnxDPState *s = XLNX_DP(opaque); in xlnx_dp_audio_callback() local 431 static void xlnx_dp_aux_clear_rx_fifo(XlnxDPState *s) in xlnx_dp_aux_clear_rx_fifo() 436 static void xlnx_dp_aux_push_rx_fifo(XlnxDPState *s, uint8_t *buf, size_t len) in xlnx_dp_aux_push_rx_fifo() 442 static uint8_t xlnx_dp_aux_pop_rx_fifo(XlnxDPState *s) in xlnx_dp_aux_pop_rx_fifo() 462 static void xlnx_dp_aux_clear_tx_fifo(XlnxDPState *s) in xlnx_dp_aux_clear_tx_fifo() [all …]
|
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/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/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/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/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/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/i386/kvm/ |
H A D | ioapic.c | 24 KVMState *s = kvm_state; in kvm_pc_setup_irq_routing() local 56 static void kvm_ioapic_get(IOAPICCommonState *s) in kvm_ioapic_get() 79 static void kvm_ioapic_put(IOAPICCommonState *s) in kvm_ioapic_put() 105 IOAPICCommonState *s = IOAPIC_COMMON(dev); in kvm_ioapic_reset() local 113 KVMIOAPICState *s = opaque; in kvm_ioapic_set_irq() local 124 IOAPICCommonState *s = IOAPIC_COMMON(dev); in kvm_ioapic_realize() local
|
/openbmc/qemu/stubs/ |
H A D | io_uring.c | 14 void luring_detach_aio_context(LuringState *s, AioContext *old_context) in luring_detach_aio_context() 19 void luring_attach_aio_context(LuringState *s, AioContext *new_context) in luring_attach_aio_context() 29 void luring_cleanup(LuringState *s) in luring_cleanup()
|
H A D | linux-aio.c | 14 void laio_detach_aio_context(LinuxAioState *s, AioContext *old_context) in laio_detach_aio_context() 19 void laio_attach_aio_context(LinuxAioState *s, AioContext *new_context) in laio_attach_aio_context() 29 void laio_cleanup(LinuxAioState *s) in laio_cleanup()
|
/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 …]
|