| /openbmc/qemu/tests/qtest/ |
| 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()
|
| H A D | fuzz-megasas-test.c | 20 QTestState *s; in test_lp1878263_megasas_zero_iov_cnt() local 43 QTestState *s = qtest_init("-m 32M -machine q35 " in test_gitlab_issue521_megasas_sgl_ovf() local
|
| /openbmc/qemu/hw/arm/ |
| 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/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
|
| /openbmc/qemu/hw/misc/ |
| H A D | aspeed_lpc.c | 216 AspeedLPCState *s = ASPEED_LPC(obj); in aspeed_kcs_get_register_property() local 233 static bool aspeed_kcs_channel_enabled(AspeedLPCState *s, in aspeed_kcs_channel_enabled() 248 aspeed_kcs_channel_ibf_irq_enabled(AspeedLPCState *s, in aspeed_kcs_channel_ibf_irq_enabled() 271 AspeedLPCState *s = ASPEED_LPC(obj); in aspeed_kcs_set_register_property() local 300 AspeedLPCState *s = (AspeedLPCState *)opaque; in aspeed_lpc_set_irq() local 313 AspeedLPCState *s = ASPEED_LPC(opaque); in aspeed_lpc_read() local 352 AspeedLPCState *s = ASPEED_LPC(opaque); in aspeed_lpc_write() local 389 struct AspeedLPCState *s = ASPEED_LPC(dev); in aspeed_lpc_reset() local 400 AspeedLPCState *s = ASPEED_LPC(dev); in aspeed_lpc_realize() local
|
| H A D | imx6ul_ccm.c | 511 IMX6ULCCMState *s = IMX6UL_CCM(dev); in imx6ul_ccm_get_clock_frequency() local 538 IMX6ULCCMState *s = IMX6UL_CCM(dev); in imx6ul_ccm_reset() local 628 IMX6ULCCMState *s = (IMX6ULCCMState *)opaque; in imx6ul_ccm_read() local 643 IMX6ULCCMState *s = (IMX6ULCCMState *)opaque; in imx6ul_ccm_write() local 657 IMX6ULCCMState *s = (IMX6ULCCMState *)opaque; in imx6ul_analog_read() local 757 IMX6ULCCMState *s = (IMX6ULCCMState *)opaque; in imx6ul_analog_write() local 884 IMX6ULCCMState *s = IMX6UL_CCM(obj); in imx6ul_ccm_init() local
|
| H A D | arm11scu.c | 20 ARM11SCUState *s = (ARM11SCUState *)opaque; in mpcore_scu_read() local 43 ARM11SCUState *s = (ARM11SCUState *)opaque; in mpcore_scu_write() local 71 ARM11SCUState *s = ARM11_SCU(obj); in arm11_scu_init() local
|
| /openbmc/qemu/migration/ |
| H A D | colo.c | 48 MigrationState *s = migrate_get_current(); in migration_in_colo_state() local 67 MigrationState *s = migrate_get_current(); in colo_checkpoint_notify() local 159 MigrationState *s = migrate_get_current(); in primary_vm_do_failover() local 259 ReplicationStatus *s = g_new0(ReplicationStatus, 1); in qmp_query_xen_replication_status() local 288 COLOStatus *s = g_new0(COLOStatus, 1); in qmp_query_colo_status() local 405 static int colo_do_checkpoint_transaction(MigrationState *s, in colo_do_checkpoint_transaction() 531 static void colo_process_checkpoint(MigrationState *s) in colo_process_checkpoint() 647 void migrate_start_colo_process(MigrationState *s) in migrate_start_colo_process() 805 MigrationState *s = NULL; in colo_shutdown() local
|
| /openbmc/u-boot/lib/efi_loader/ |
| H A D | efi_device_path_to_text.c | 44 static char *dp_unknown(char *s, struct efi_device_path *dp) in dp_unknown() 50 static char *dp_hardware(char *s, struct efi_device_path *dp) in dp_hardware() 75 static char *dp_acpi(char *s, struct efi_device_path *dp) in dp_acpi() 94 static char *dp_msging(char *s, struct efi_device_path *dp) in dp_msging() 168 static char *dp_media(char *s, struct efi_device_path *dp) in dp_media()
|
| /openbmc/qemu/hw/usb/ |
| H A D | hcd-ehci-pci.c | 36 EHCIState *s = &i->ehci; in usb_ehci_pci_realize() local 79 EHCIState *s = &i->ehci; in usb_ehci_pci_init() local 98 EHCIState *s = &i->ehci; in usb_ehci_pci_finalize() local 106 EHCIState *s = &i->ehci; in usb_ehci_pci_exit() local 118 EHCIState *s = &i->ehci; in usb_ehci_pci_reset() local
|
| H A D | dev-audio.c | 48 #define USBAUDIO_MAX_CHANNELS(s) (s->multi ? 8 : 2) argument 661 USBAudioState *s = opaque; in OBJECT_DECLARE_SIMPLE_TYPE() local 682 static int usb_audio_set_output_altset(USBAudioState *s, int altset) in usb_audio_set_output_altset() 714 static int usb_audio_get_control(USBAudioState *s, uint8_t attrib, in usb_audio_get_control() 761 static int usb_audio_set_control(USBAudioState *s, uint8_t attrib, in usb_audio_set_control() 818 USBAudioState *s = USB_AUDIO(dev); in usb_audio_handle_control() local 877 USBAudioState *s = USB_AUDIO(dev); in usb_audio_set_interface() local 886 USBAudioState *s = USB_AUDIO(dev); in usb_audio_handle_reset() local 894 static void usb_audio_handle_dataout(USBAudioState *s, USBPacket *p) in usb_audio_handle_dataout() 910 USBAudioState *s = (USBAudioState *) dev; in usb_audio_handle_data() local [all …]
|
| /openbmc/qemu/hw/display/ |
| H A D | cg3.c | 90 CG3State *s = opaque; in cg3_update_display() local 161 CG3State *s = opaque; in cg3_invalidate_display() local 168 CG3State *s = opaque; in cg3_reg_read() local 202 CG3State *s = opaque; in cg3_reg_write() local 283 CG3State *s = CG3(obj); in cg3_initfn() local 297 CG3State *s = CG3(dev); in cg3_realizefn() local 325 CG3State *s = opaque; in vmstate_cg3_post_load() local 352 CG3State *s = CG3(d); in cg3_reset() local
|
| /openbmc/qemu/hw/sd/ |
| H A D | bcm2835_sdhost.c | 112 static void bcm2835_sdhost_send_command(BCM2835SDHostState *s) in bcm2835_sdhost_send_command() 152 static void bcm2835_sdhost_fifo_push(BCM2835SDHostState *s, uint32_t value) in bcm2835_sdhost_fifo_push() 165 static uint32_t bcm2835_sdhost_fifo_pop(BCM2835SDHostState *s) in bcm2835_sdhost_fifo_pop() 179 static void bcm2835_sdhost_fifo_run(BCM2835SDHostState *s) in bcm2835_sdhost_fifo_run() 258 BCM2835SDHostState *s = (BCM2835SDHostState *)opaque; in bcm2835_sdhost_read() local 312 BCM2835SDHostState *s = (BCM2835SDHostState *)opaque; in bcm2835_sdhost_write() local 401 BCM2835SDHostState *s = BCM2835_SDHOST(obj); in bcm2835_sdhost_init() local 414 BCM2835SDHostState *s = BCM2835_SDHOST(dev); in bcm2835_sdhost_reset() local
|
| /openbmc/qemu/hw/acpi/ |
| H A D | pcihp.c | 101 static void acpi_set_pci_info(AcpiPciHpState *s) in acpi_set_pci_info() 130 static PCIBus *acpi_pcihp_find_hotplug_bus(AcpiPciHpState *s, int bsel) in acpi_pcihp_find_hotplug_bus() 165 static bool acpi_pcihp_pc_no_hotplug(AcpiPciHpState *s, PCIDevice *dev) in acpi_pcihp_pc_no_hotplug() 180 static void acpi_pcihp_eject_slot(AcpiPciHpState *s, unsigned bsel, unsigned slots) in acpi_pcihp_eject_slot() 228 static void acpi_pcihp_update_hotplug_bus(AcpiPciHpState *s, int bsel) in acpi_pcihp_update_hotplug_bus() 254 static void acpi_pcihp_update(AcpiPciHpState *s) in acpi_pcihp_update() 263 void acpi_pcihp_reset(AcpiPciHpState *s) in acpi_pcihp_reset() 283 void acpi_pcihp_device_plug_cb(HotplugHandler *hotplug_dev, AcpiPciHpState *s, in acpi_pcihp_device_plug_cb() 325 void acpi_pcihp_device_unplug_cb(HotplugHandler *hotplug_dev, AcpiPciHpState *s, in acpi_pcihp_device_unplug_cb() 337 AcpiPciHpState *s, DeviceState *dev, in acpi_pcihp_device_unplug_request_cb() [all …]
|
| /openbmc/qemu/target/arm/tcg/ |
| H A D | translate-a32.h | 97 static inline TCGv_i32 load_reg(DisasContext *s, int reg) in load_reg() 137 static inline void gen_aa32_ld64(DisasContext *s, TCGv_i64 val, in gen_aa32_ld64() 143 static inline void gen_aa32_st64(DisasContext *s, TCGv_i64 val, in gen_aa32_st64() 160 #define IS_USER(s) 1 argument
|
| /openbmc/openpower-hw-diags/test/ |
| H A D | test-chnl-timeout.cpp | 35 std::string s{}; in TEST() local 103 std::string s{}; in TEST() local 172 std::string s{}; in TEST() local 240 std::string s{}; in TEST() local
|
| /openbmc/qemu/block/ |
| H A D | vvfat.c | 365 static void init_mbr(BDRVVVFATState *s, int cyls, int heads, int secs) in init_mbr() 402 static direntry_t *create_long_filename(BDRVVVFATState *s, const char *filename) in create_long_filename() 523 static direntry_t *create_short_filename(BDRVVVFATState *s, in create_short_filename() 642 static inline void fat_set(BDRVVVFATState* s,unsigned int cluster,uint32_t value) in fat_set() 666 static inline uint32_t fat_get(BDRVVVFATState* s,unsigned int cluster) in fat_get() 680 static inline int fat_eof(BDRVVVFATState* s,uint32_t fat_entry) in fat_eof() 687 static inline void init_fat(BDRVVVFATState* s) in init_fat() 709 static inline direntry_t* create_short_and_long_name(BDRVVVFATState* s, in create_short_and_long_name() 744 static int read_directory(BDRVVVFATState* s, int mapping_index) in read_directory() 885 static inline int32_t sector2cluster(BDRVVVFATState* s,off_t sector_num) in sector2cluster() [all …]
|
| H A D | file-posix.c | 210 BDRVRawState *s = bs->opaque; in fd_open() local 385 BDRVRawState *s = bs->opaque; in raw_needs_alignment() local 421 BDRVRawState *s = bs->opaque; in raw_probe_alignment() local 620 BDRVRawState *s = bs->opaque; in raw_open_common() local 847 BDRVRawState *s = bs->opaque; in raw_open() local 866 static int raw_apply_lock_bytes(BDRVRawState *s, int fd, in raw_apply_lock_bytes() 987 BDRVRawState *s = bs->opaque; in raw_handle_perm_lock() local 1068 BDRVRawState *s = bs->opaque; in raw_reconfigure_getfd() local 1138 BDRVRawState *s; in raw_reopen_prepare() local 1187 BDRVRawState *s = state->bs->opaque; in raw_reopen_commit() local [all …]
|
| H A D | dmg.c | 116 static void update_max_chunk_size(BDRVDMGState *s, uint32_t chunk, in update_max_chunk_size() 217 static int dmg_read_mish_block(BDRVDMGState *s, DmgHeaderState *ds, in dmg_read_mish_block() 330 BDRVDMGState *s = bs->opaque; in dmg_read_resource_fork() local 398 BDRVDMGState *s = bs->opaque; in dmg_read_plist_xml() local 452 BDRVDMGState *s = bs->opaque; in dmg_open() local 598 static inline int is_sector_in_chunk(BDRVDMGState *s, in is_sector_in_chunk() 609 static inline uint32_t search_chunk(BDRVDMGState *s, uint64_t sector_num) in search_chunk() 633 BDRVDMGState *s = bs->opaque; in dmg_read_chunk() local 732 BDRVDMGState *s = bs->opaque; in dmg_co_preadv() local 771 BDRVDMGState *s = bs->opaque; in dmg_close() local
|
| /openbmc/qemu/hw/riscv/ |
| H A D | sifive_u.c | 95 static void create_fdt(SiFiveUState *s, const MemMapEntry *memmap, in create_fdt() 514 SiFiveUState *s = RISCV_U_MACHINE(machine); in sifive_u_machine_init() local 687 SiFiveUState *s = RISCV_U_MACHINE(obj); in sifive_u_machine_get_start_in_flash() local 694 SiFiveUState *s = RISCV_U_MACHINE(obj); in sifive_u_machine_set_start_in_flash() local 701 SiFiveUState *s = RISCV_U_MACHINE(obj); in sifive_u_machine_instance_init() local 755 SiFiveUSoCState *s = RISCV_U_SOC(obj); in type_init() local 787 SiFiveUSoCState *s = RISCV_U_SOC(dev); in sifive_u_soc_realize() local
|
| /openbmc/qemu/hw/virtio/ |
| H A D | virtio-iommu.c | 86 VirtIOIOMMU *s = sdev->viommu; in virtio_iommu_device_bypassed() local 136 static void virtio_iommu_switch_address_space_all(VirtIOIOMMU *s) in virtio_iommu_switch_address_space_all() 159 static IOMMUPciBus *iommu_find_iommu_pcibus(VirtIOIOMMU *s, uint8_t bus_num) in iommu_find_iommu_pcibus() 178 static IOMMUMemoryRegion *virtio_iommu_mr(VirtIOIOMMU *s, uint32_t sid) in virtio_iommu_mr() 319 static VirtIOIOMMUEndpoint *virtio_iommu_get_endpoint(VirtIOIOMMU *s, in virtio_iommu_get_endpoint() 353 static VirtIOIOMMUDomain *virtio_iommu_get_domain(VirtIOIOMMU *s, in virtio_iommu_get_domain() 393 VirtIOIOMMU *s = sdev->viommu; in add_prop_resv_regions() local 407 VirtIOIOMMU *s = opaque; in virtio_iommu_find_add_as() local 536 static int virtio_iommu_set_host_iova_ranges(VirtIOIOMMU *s, PCIBus *bus, in virtio_iommu_set_host_iova_ranges() 569 static void virtio_iommu_unset_host_iova_ranges(VirtIOIOMMU *s, PCIBus *bus, in virtio_iommu_unset_host_iova_ranges() [all …]
|
| /openbmc/qemu/hw/net/ |
| H A D | lan9118.c | 330 static void lan9118_update(lan9118_state *s) in lan9118_update() 353 static void lan9118_mac_changed(lan9118_state *s) in lan9118_mac_changed() 358 static void lan9118_reload_eeprom(lan9118_state *s) in lan9118_reload_eeprom() 376 lan9118_state *s = opaque; in lan9118_update_irq() local 394 lan9118_state *s = LAN9118(d); in lan9118_reset() local 450 static void rx_fifo_push(lan9118_state *s, uint32_t val) in rx_fifo_push() 461 static int lan9118_filter(lan9118_state *s, const uint8_t *addr) in lan9118_filter() 501 lan9118_state *s = qemu_get_nic_opaque(nc); in lan9118_receive() local 588 static uint32_t rx_fifo_pop(lan9118_state *s) in rx_fifo_pop() 638 static void do_tx_packet(lan9118_state *s) in do_tx_packet() [all …]
|
| H A D | pcnet.c | 299 static inline void pcnet_tmd_load(PCNetState *s, struct pcnet_TMD *tmd, in pcnet_tmd_load() 329 static inline void pcnet_tmd_store(PCNetState *s, const struct pcnet_TMD *tmd, in pcnet_tmd_store() 365 static inline void pcnet_rmd_load(PCNetState *s, struct pcnet_RMD *rmd, in pcnet_rmd_load() 395 static inline void pcnet_rmd_store(PCNetState *s, struct pcnet_RMD *rmd, in pcnet_rmd_store() 600 static inline int padr_match(PCNetState *s, const uint8_t *buf, int size) in padr_match() 620 static inline int padr_bcast(PCNetState *s, const uint8_t *buf, int size) in padr_bcast() 631 static inline int ladr_match(PCNetState *s, const uint8_t *buf, int size) in ladr_match() 648 static inline hwaddr pcnet_rdra_addr(PCNetState *s, int idx) in pcnet_rdra_addr() 656 static inline int64_t pcnet_get_next_poll_time(PCNetState *s, int64_t current_time) in pcnet_get_next_poll_time() 674 static void pcnet_s_reset(PCNetState *s) in pcnet_s_reset() [all …]
|
| /openbmc/qemu/hw/net/can/ |
| H A D | ctu_can_fd_regs.h | 116 } s; member 163 } s; member 241 } s; member 265 } s; member 301 } s; member 315 } s; member 329 } s; member 343 } s; member 357 } s; member 377 } s; member [all …]
|