| /openbmc/u-boot/drivers/serial/ |
| H A D | serial.c | 236 struct serial_device *s = serial_devices; in serial_stdio_init() local 272 struct serial_device *s; in serial_assign() local 292 struct serial_device *s; in serial_reinit_all() local 428 void serial_puts(const char *s) in serial_puts() 445 void default_serial_puts(const char *s) in default_serial_puts() 472 struct serial_device *saved_dev, *s; in uart_post_test() local
|
| /openbmc/qemu/hw/timer/ |
| H A D | arm_mptimer.c | 44 static inline int get_current_cpu(ARMMPTimerState *s) in get_current_cpu() 184 ARMMPTimerState *s = (ARMMPTimerState *)opaque; in arm_thistimer_read() local 192 ARMMPTimerState *s = (ARMMPTimerState *)opaque; in arm_thistimer_write() local 232 ARMMPTimerState *s = ARM_MPTIMER(dev); in arm_mptimer_reset() local 242 ARMMPTimerState *s = ARM_MPTIMER(obj); in arm_mptimer_init() local 252 ARMMPTimerState *s = ARM_MPTIMER(dev); in arm_mptimer_realize() local
|
| /openbmc/qemu/hw/i2c/ |
| H A D | arm_sbcon_i2c.c | 43 ArmSbconI2CState *s = opaque; in arm_sbcon_i2c_read() local 58 ArmSbconI2CState *s = opaque; in arm_sbcon_i2c_write() local 84 ArmSbconI2CState *s = ARM_SBCON_I2C(obj); in arm_sbcon_i2c_init() local
|
| H A D | smbus_ich9.c | 65 ICH9SMBState *s = ICH9_SMB_DEVICE(d); in ich9_smbus_write_config() local 85 ICH9SMBState *s = pmsmb->opaque; in ich9_smb_set_irq() local 97 ICH9SMBState *s = ICH9_SMB_DEVICE(d); in ich9_smbus_realize() local 115 ICH9SMBState *s = ICH9_SMB_DEVICE(adev); in build_ich9_smb_aml() local
|
| /openbmc/qemu/disas/ |
| H A D | disas-mon.c | 22 CPUDebug *s = container_of(info, CPUDebug, info); in virtual_read_memory() local 31 CPUDebug *s = container_of(info, CPUDebug, info); in physical_read_memory() local 44 CPUDebug s; in monitor_disas() local
|
| /openbmc/qemu/hw/intc/ |
| H A D | realview_gic.c | 19 RealViewGICState *s = (RealViewGICState *)opaque; in realview_gic_set_irq() local 27 RealViewGICState *s = REALVIEW_GIC(dev); in realview_gic_realize() local 56 RealViewGICState *s = REALVIEW_GIC(obj); in realview_gic_init() local
|
| /openbmc/qemu/tests/qtest/ |
| H A D | erst-test.c | 60 static inline uint32_t in_reg32(ERSTState *s, unsigned reg) in in_reg32() 71 static inline uint64_t in_reg64(ERSTState *s, unsigned reg) in in_reg64() 82 static inline void out_reg32(ERSTState *s, unsigned reg, uint32_t v) in out_reg32() 90 static void cleanup_vm(ERSTState *s) in cleanup_vm() 96 static void setup_vm_cmd(ERSTState *s, const char *cmd) in setup_vm_cmd()
|
| H A D | rtc-test.c | 162 long t, s; in check_time() local 303 static void set_time_regs(int h, int m, int s) in set_time_regs() 310 static void set_time(int mode, int h, int m, int s) in set_time() 318 static void set_datetime_bcd(int h, int min, int s, int d, int m, int y) in set_datetime_bcd() 329 static void set_datetime_dec(int h, int min, int s, int d, int m, int y) in set_datetime_dec() 340 static void set_datetime(int mode, int h, int min, int s, int d, int m, int y) in set_datetime() 353 #define assert_time(h, m, s) \ argument 360 #define assert_datetime_bcd(h, min, s, d, m, y) \ argument 689 QTestState *s; in main() local
|
| H A D | ivshmem-test.c | 70 static inline unsigned in_reg(IVState *s, enum Reg reg) in in_reg() 81 static inline void out_reg(IVState *s, enum Reg reg, unsigned v) in out_reg() 89 static inline void read_mem(IVState *s, uint64_t off, void *buf, size_t len) in read_mem() 94 static inline void write_mem(IVState *s, uint64_t off, in write_mem() 100 static void cleanup_vm(IVState *s) in cleanup_vm() 106 static void setup_vm_cmd(IVState *s, const char *cmd, bool msix) in setup_vm_cmd() 134 static void setup_vm(IVState *s) in setup_vm() 147 IVState state, *s; in test_ivshmem_single() local 292 static void setup_vm_with_server(IVState *s, int nvectors) in setup_vm_with_server()
|
| /openbmc/qemu/target/s390x/tcg/ |
| H A D | vec_fpu_helper.c | 113 bool s, bool XxC, uint8_t erm, vop32_2_fn fn, in vop32_2() 137 bool s, bool XxC, uint8_t erm, vop64_2_fn fn, in vop64_2() 161 bool s, bool XxC, uint8_t erm, vop128_2_fn fn, in vop128_2() 177 static float32 vcdg32(float32 a, float_status *s) in vcdg32() 182 static float32 vcdlg32(float32 a, float_status *s) in vcdlg32() 187 static float32 vcgd32(float32 a, float_status *s) in vcgd32() 194 static float32 vclgd32(float32 a, float_status *s) in vclgd32() 201 static float64 vcdg64(float64 a, float_status *s) in vcdg64() 206 static float64 vcdlg64(float64 a, float_status *s) in vcdlg64() 211 static float64 vcgd64(float64 a, float_status *s) in vcgd64() [all …]
|
| /openbmc/qemu/hw/isa/ |
| H A D | i82378.c | 51 I82378State *s = opaque; in i82378_request_out0_irq() local 58 I82378State *s = I82378(dev); in i82378_request_pic_irq() local 66 I82378State *s = I82378(dev); in i82378_realize() local 119 I82378State *s = I82378(obj); in i82378_init() local
|
| /openbmc/qemu/hw/i386/kvm/ |
| H A D | i8259.c | 37 static void kvm_pic_get(PICCommonState *s) in kvm_pic_get() 70 static void kvm_pic_put(PICCommonState *s) in kvm_pic_put() 106 PICCommonState *s = PIC_COMMON(dev); in kvm_pic_reset() local 125 PICCommonState *s = PIC_COMMON(dev); in kvm_pic_realize() local
|
| /openbmc/qemu/tcg/ |
| H A D | tcg.c | 154 static inline bool tcg_out_dup_vec(TCGContext *s, TCGType type, unsigned vece, in tcg_out_dup_vec() 159 static inline bool tcg_out_dupm_vec(TCGContext *s, TCGType type, unsigned vece, in tcg_out_dupm_vec() 164 static inline void tcg_out_dupi_vec(TCGContext *s, TCGType type, unsigned vece, in tcg_out_dupi_vec() 169 static inline void tcg_out_vec_op(TCGContext *s, TCGOpcode opc, in tcg_out_vec_op() 265 static __attribute__((unused)) inline void tcg_out8(TCGContext *s, uint8_t v) in tcg_out8() 278 static __attribute__((unused)) inline void tcg_out16(TCGContext *s, uint16_t v) in tcg_out16() 301 static __attribute__((unused)) inline void tcg_out32(TCGContext *s, uint32_t v) in tcg_out32() 324 static __attribute__((unused)) inline void tcg_out64(TCGContext *s, uint64_t v) in tcg_out64() 348 static void tcg_out_reloc(TCGContext *s, tcg_insn_unit *code_ptr, int type, in tcg_out_reloc() 359 static void tcg_out_label(TCGContext *s, TCGLabel *l) in tcg_out_label() [all …]
|
| /openbmc/qemu/hw/misc/ |
| H A D | unimp.c | 23 UnimplementedDeviceState *s = UNIMPLEMENTED_DEVICE(opaque); in unimp_read() local 34 UnimplementedDeviceState *s = UNIMPLEMENTED_DEVICE(opaque); in unimp_write() local 54 UnimplementedDeviceState *s = UNIMPLEMENTED_DEVICE(dev); in unimp_realize() local
|
| H A D | djmemc.c | 36 DJMEMCState *s = opaque; in djmemc_read() local 60 DJMEMCState *s = opaque; in djmemc_write() local 91 DJMEMCState *s = DJMEMC(obj); in djmemc_init() local 101 DJMEMCState *s = DJMEMC(obj); in djmemc_reset_hold() local
|
| H A D | allwinner-sramc.c | 50 AwSRAMCState *s = AW_SRAMC(opaque); in allwinner_sramc_read() local 82 AwSRAMCState *s = AW_SRAMC(opaque); in allwinner_sramc_write() local 128 AwSRAMCState *s = AW_SRAMC(dev); in allwinner_sramc_reset() local 149 AwSRAMCState *s = AW_SRAMC(obj); in allwinner_sramc_init() local
|
| /openbmc/qemu/hw/audio/ |
| H A D | es1370.c | 306 static void es1370_update_status (ES1370State *s, uint32_t new_status) in es1370_update_status() 318 static void es1370_reset (ES1370State *s) in es1370_reset() 343 static void es1370_maybe_lower_irq (ES1370State *s, uint32_t sctl) in es1370_maybe_lower_irq() 364 static void es1370_dac1_calc_freq (ES1370State *s, uint32_t ctl, in es1370_dac1_calc_freq() 372 static void es1370_dac2_and_adc_calc_freq (ES1370State *s, uint32_t ctl, in es1370_dac2_and_adc_calc_freq() 385 static void es1370_update_voices (ES1370State *s, uint32_t ctl, uint32_t sctl) in es1370_update_voices() 452 static inline uint32_t es1370_fixup (ES1370State *s, uint32_t addr) in es1370_fixup() 463 ES1370State *s = opaque; in es1370_write() local 532 ES1370State *s = opaque; in es1370_read() local 604 static void es1370_transfer_audio (ES1370State *s, struct chan *d, int loop_sel, in es1370_transfer_audio() [all …]
|
| /openbmc/qemu/hw/scsi/ |
| H A D | vhost-scsi.c | 46 static int vhost_scsi_set_endpoint(VHostSCSI *s) in vhost_scsi_set_endpoint() 63 static void vhost_scsi_clear_endpoint(VHostSCSI *s) in vhost_scsi_clear_endpoint() 75 static int vhost_scsi_start(VHostSCSI *s) in vhost_scsi_start() 109 static void vhost_scsi_stop(VHostSCSI *s) in vhost_scsi_stop() 119 VHostSCSI *s = VHOST_SCSI(vdev); in vhost_scsi_set_status() local 341 VHostSCSI *s = VHOST_SCSI(vdev); in vhost_scsi_get_vhost() local
|
| /openbmc/qemu/net/ |
| H A D | stream.c | 60 NetStreamState *s = DO_UPCAST(NetStreamState, data, data); in net_stream_send() local 73 NetStreamState *s = DO_UPCAST(NetStreamState, data.nc, nc); in net_stream_cleanup() local 197 NetStreamState *s = opaque; in net_stream_client_connected() local 219 NetStreamState *s = data; in net_stream_reconnect() local 232 static void net_stream_arm_reconnect(NetStreamState *s) in net_stream_arm_reconnect() 247 NetStreamState *s; in net_stream_client_init() local
|
| H A D | vde.c | 41 VDEState *s = opaque; in vde_to_qemu() local 53 VDEState *s = DO_UPCAST(VDEState, nc, nc); in vde_receive() local 65 VDEState *s = DO_UPCAST(VDEState, nc, nc); in vde_cleanup() local 82 VDEState *s; in net_vde_init() local
|
| /openbmc/qemu/hw/char/ |
| H A D | riscv_htif.c | 90 HTIFState *s = opaque; in htif_recv() local 119 HTIFState *s = opaque; in htif_be_change() local 147 static void htif_handle_tohost_write(HTIFState *s, uint64_t val_written) in htif_handle_tohost_write() 269 HTIFState *s = opaque; in htif_mm_read() local 289 HTIFState *s = opaque; in htif_mm_write() local 344 HTIFState *s = g_new0(HTIFState, 1); in htif_mm_init() local
|
| /openbmc/qemu/hw/arm/ |
| H A D | bcm2835_peripherals.c | 50 BCM2835PeripheralState *s = BCM2835_PERIPHERALS(obj); in bcm2835_peripherals_init() local 76 BCMSocPeripheralBaseState *s = BCM_SOC_PERIPHERALS_BASE(obj); in raspi_peripherals_base_init() local 187 BCM2835PeripheralState *s = BCM2835_PERIPHERALS(dev); in bcm2835_peripherals_realize() local 251 BCMSocPeripheralBaseState *s = BCM_SOC_PERIPHERALS_BASE(dev); in bcm_soc_peripherals_common_realize() local
|
| H A D | aspeed_ast27x0.c | 291 static qemu_irq aspeed_soc_ast2700_get_irq(AspeedSoCState *s, int dev) in aspeed_soc_ast2700_get_irq() 312 static qemu_irq aspeed_soc_ast2700_get_irq_index(AspeedSoCState *s, int dev, in aspeed_soc_ast2700_get_irq_index() 350 AspeedSoCState *s = ASPEED_SOC(opaque); in aspeed_ram_capacity_write() local 394 AspeedSoCState *s = ASPEED_SOC(dev); in aspeed_soc_ast2700_dram_init() local 431 AspeedSoCState *s = ASPEED_SOC(obj); in aspeed_soc_ast2700_init() local 581 AspeedSoCState *s = ASPEED_SOC(dev); in aspeed_soc_ast2700_gic_realize() local 650 AspeedSoCState *s = ASPEED_SOC(dev); in aspeed_soc_ast2700_ssp_realize() local 682 AspeedSoCState *s = ASPEED_SOC(dev); in aspeed_soc_ast2700_tsp_realize() local 717 AspeedSoCState *s = ASPEED_SOC(dev); in aspeed_soc_ast2700_realize() local
|
| /openbmc/qemu/tests/unit/ |
| H A D | test-xs-node.c | 58 static void xs_impl_delete(XenstoreImplState *s, bool last) in xs_impl_delete() 220 static int write_str(XenstoreImplState *s, unsigned int dom_id, in write_str() 241 static void check_serdes(XenstoreImplState *s) in check_serdes() 277 XenstoreImplState *s = xs_impl_create(DOMID_GUEST); in setup() local 317 XenstoreImplState *s = setup(); in test_xs_node_simple() local 496 XenstoreImplState *s = setup(); in do_test_xs_node_tx() local 620 XenstoreImplState *s = setup(); in test_xs_node_tx_rm() local 688 XenstoreImplState *s = setup(); in test_xs_node_tx_resurrect() local 773 XenstoreImplState *s = setup(); in test_xs_node_tx_resurrect2() local
|
| /openbmc/qemu/hw/rtc/ |
| H A D | exynos4210_rtc.c | 155 static void check_alarm_raise(Exynos4210RTCState *s) in check_alarm_raise() 199 static void exynos4210_rtc_update_freq(Exynos4210RTCState *s, in exynos4210_rtc_update_freq() 275 Exynos4210RTCState *s = (Exynos4210RTCState *)opaque; in exynos4210_rtc_tick() local 293 Exynos4210RTCState *s = (Exynos4210RTCState *)opaque; in exynos4210_rtc_1Hz_tick() local 314 Exynos4210RTCState *s = (Exynos4210RTCState *)opaque; in exynos4210_rtc_read() local 390 Exynos4210RTCState *s = (Exynos4210RTCState *)opaque; in exynos4210_rtc_write() local 523 Exynos4210RTCState *s = EXYNOS4210_RTC(d); in exynos4210_rtc_reset() local 564 Exynos4210RTCState *s = EXYNOS4210_RTC(obj); in exynos4210_rtc_init() local 589 Exynos4210RTCState *s = EXYNOS4210_RTC(obj); in exynos4210_rtc_finalize() local
|