/openbmc/qemu/hw/usb/ |
H A D | hcd-ehci.c | 82 #define SET_LAST_RUN_CLOCK(s) \ argument 184 static inline void ehci_set_usbsts(EHCIState *s, int mask) in ehci_set_usbsts() 193 static inline void ehci_clear_usbsts(EHCIState *s, int mask) in ehci_clear_usbsts() 203 static inline void ehci_update_irq(EHCIState *s) in ehci_update_irq() 216 static inline void ehci_raise_irq(EHCIState *s, int intr) in ehci_raise_irq() 230 static inline void ehci_commit_irq(EHCIState *s) in ehci_commit_irq() 248 static void ehci_update_halt(EHCIState *s) in ehci_update_halt() 259 static void ehci_set_state(EHCIState *s, int async, int state) in ehci_set_state() 282 static int ehci_get_state(EHCIState *s, int async) in ehci_get_state() 287 static void ehci_set_fetch_addr(EHCIState *s, int async, uint32_t addr) in ehci_set_fetch_addr() [all …]
|
/openbmc/qemu/block/ |
H A D | qcow2-cluster.c | 38 BDRVQcow2State *s = bs->opaque; in qcow2_shrink_l1_table() local 89 BDRVQcow2State *s = bs->opaque; in qcow2_grow_l1_table() local 214 BDRVQcow2State *s = bs->opaque; in l2_load() local 229 BDRVQcow2State *s = bs->opaque; in qcow2_write_l1_entry() local 275 BDRVQcow2State *s = bs->opaque; in l2_allocate() local 399 BDRVQcow2State *s = bs->opaque; in qcow2_get_subcluster_range_type() local 449 BDRVQcow2State *s = bs->opaque; in count_contiguous_subclusters() local 542 BDRVQcow2State *s = bs->opaque; in do_perform_cow_write() local 590 BDRVQcow2State *s = bs->opaque; in qcow2_get_host_offset() local 759 BDRVQcow2State *s = bs->opaque; in get_cluster_table() local [all …]
|
H A D | preallocate.c | 143 BDRVPreallocateState *s = bs->opaque; in preallocate_open() local 179 BDRVPreallocateState *s = bs->opaque; in preallocate_truncate_to_real_size() local 206 BDRVPreallocateState *s = bs->opaque; in preallocate_close() local 263 BDRVPreallocateState *s = state->bs->opaque; in preallocate_reopen_commit() local 299 BDRVPreallocateState *s = bs->opaque; in has_prealloc_perms() local 325 BDRVPreallocateState *s = bs->opaque; in handle_write() local 428 BDRVPreallocateState *s = bs->opaque; in preallocate_co_truncate() local 498 BDRVPreallocateState *s = bs->opaque; in preallocate_co_getlength() local 516 BDRVPreallocateState *s = bs->opaque; in preallocate_drop_resize() local 560 BDRVPreallocateState *s = bs->opaque; in preallocate_set_perm() local [all …]
|
H A D | vhdx.c | 231 static int vhdx_region_check(BDRVVHDXState *s, uint64_t start, uint64_t length) in vhdx_region_check() 253 static void vhdx_region_register(BDRVVHDXState *s, in vhdx_region_register() 267 static void vhdx_region_unregister_all(BDRVVHDXState *s) in vhdx_region_unregister_all() 277 static void vhdx_set_shift_bits(BDRVVHDXState *s) in vhdx_set_shift_bits() 357 vhdx_update_header(BlockDriverState *bs, BDRVVHDXState *s, in vhdx_update_header() 407 int vhdx_update_headers(BlockDriverState *bs, BDRVVHDXState *s, in vhdx_update_headers() 421 vhdx_parse_header(BlockDriverState *bs, BDRVVHDXState *s, Error **errp) in vhdx_parse_header() 522 vhdx_open_region_tables(BlockDriverState *bs, BDRVVHDXState *s) in vhdx_open_region_tables() 640 vhdx_parse_metadata(BlockDriverState *bs, BDRVVHDXState *s) in vhdx_parse_metadata() 875 static void vhdx_calc_bat_entries(BDRVVHDXState *s) in vhdx_calc_bat_entries() [all …]
|
/openbmc/qemu/hw/i2c/ |
H A D | pm_smbus.c | 68 static void smb_transaction(PMSMBus *s) in smb_transaction() 210 static void smb_transaction_start(PMSMBus *s) in smb_transaction_start() 229 smb_irq_value(PMSMBus *s) in smb_irq_value() 235 smb_byte_by_byte(PMSMBus *s) in smb_byte_by_byte() 249 PMSMBus *s = opaque; in smb_ioport_writeb() local 372 PMSMBus *s = opaque; in smb_ioport_readb() local 431 static void pm_smbus_reset(PMSMBus *s) in pm_smbus_reset()
|
H A D | omap_i2c.c | 61 static void omap_i2c_interrupts_update(OMAPI2CState *s) in omap_i2c_interrupts_update() argument 70 static void omap_i2c_fifo_run(OMAPI2CState *s) in omap_i2c_fifo_run() 140 OMAPI2CState *s = OMAP_I2C(dev); in omap_i2c_reset() local 161 OMAPI2CState *s = opaque; in omap_i2c_read() local 265 OMAPI2CState *s = opaque; in omap_i2c_write() local 412 OMAPI2CState *s = opaque; in omap_i2c_writeb() local 476 OMAPI2CState *s = OMAP_I2C(obj); in omap_i2c_init() local 488 OMAPI2CState *s = OMAP_I2C(dev); in omap_i2c_realize() local 544 OMAPI2CState *s = OMAP_I2C(omap_i2c); in omap_i2c_bus() local
|
/openbmc/qemu/hw/timer/ |
H A D | cmsdk-apb-dualtimer.c | 89 static void cmsdk_apb_dualtimer_update(CMSDKAPBDualTimer *s) in cmsdk_apb_dualtimer_update() 241 CMSDKAPBDualTimer *s = CMSDK_APB_DUALTIMER(opaque); in cmsdk_apb_dualtimer_read() local 314 CMSDKAPBDualTimer *s = CMSDK_APB_DUALTIMER(opaque); in cmsdk_apb_dualtimer_write() local 440 CMSDKAPBDualTimer *s = CMSDK_APB_DUALTIMER(dev); in cmsdk_apb_dualtimer_reset() local 454 CMSDKAPBDualTimer *s = CMSDK_APB_DUALTIMER(opaque); in cmsdk_apb_dualtimer_clk_update() local 469 CMSDKAPBDualTimer *s = CMSDK_APB_DUALTIMER(obj); in cmsdk_apb_dualtimer_init() local 487 CMSDKAPBDualTimer *s = CMSDK_APB_DUALTIMER(dev); in cmsdk_apb_dualtimer_realize() local
|
/openbmc/qemu/chardev/ |
H A D | char-fd.c | 39 FDChardev *s = FD_CHARDEV(chr); in fd_chr_write() local 51 FDChardev *s = FD_CHARDEV(opaque); in fd_chr_read() local 81 FDChardev *s = FD_CHARDEV(opaque); in fd_chr_read_poll() local 151 FDChardev *s = FD_CHARDEV(chr); in fd_chr_add_watch() local 170 FDChardev *s = FD_CHARDEV(chr); in fd_chr_update_read_handler() local 184 FDChardev *s = FD_CHARDEV(obj); in char_fd_finalize() local 212 FDChardev *s = FD_CHARDEV(chr); in qemu_chr_open_fd() local
|
/openbmc/qemu/hw/display/ |
H A D | tcx.c | 99 static void tcx_set_dirty(TCXState *s, ram_addr_t addr, int len) in tcx_set_dirty() argument 111 static int tcx_check_dirty(TCXState *s, DirtyBitmapSnapshot *snap, in tcx_check_dirty() 128 static void update_palette_entries(TCXState *s, int start, int end) in update_palette_entries() 139 const uint8_t *s, int width) in tcx_draw_line32() 182 const uint8_t *s, int width, in tcx24_draw_line32() 219 uint8_t *d, *s; in tcx_update_display() local 269 uint8_t *d, *s; in tcx24_update_display() local 319 TCXState *s = opaque; in tcx_invalidate_display() local 327 TCXState *s = opaque; in tcx24_invalidate_display() local 335 TCXState *s = opaque; in vmstate_tcx_post_load() local [all …]
|
H A D | jazz_led.c | 53 LedState *s = opaque; in jazz_led_read() local 65 LedState *s = opaque; in jazz_led_write() local 149 LedState *s = opaque; in jazz_led_update_display() local 225 LedState *s = opaque; in jazz_led_invalidate_display() local 231 LedState *s = opaque; in jazz_led_text_update() local 274 LedState *s = JAZZ_LED(obj); in jazz_led_init() local 283 LedState *s = JAZZ_LED(dev); in jazz_led_realize() local 290 LedState *s = JAZZ_LED(d); in jazz_led_reset() local
|
/openbmc/qemu/hw/i386/kvm/ |
H A D | xen_gnttab.c | 69 XenGnttabState *s = XEN_GNTTAB(dev); in xen_gnttab_realize() local 108 XenGnttabState *s = XEN_GNTTAB(opaque); in xen_gnttab_post_load() local 168 XenGnttabState *s = xen_gnttab_singleton; in type_init() local 227 XenGnttabState *s = xen_gnttab_singleton; in xen_gnttab_query_size_op() local 252 static void gnt_unref(XenGnttabState *s, grant_ref_t ref, in gnt_unref() 271 static uint64_t gnt_ref(XenGnttabState *s, grant_ref_t ref, int prot) in gnt_ref() 330 XenGnttabState *s = xen_gnttab_singleton; in xen_be_gnttab_map_refs() local 406 XenGnttabState *s = user_data; in do_unmap() local 419 XenGnttabState *s = xen_gnttab_singleton; in xen_be_gnttab_unmap() local 507 XenGnttabState *s = xen_gnttab_singleton; in xen_be_gnttab_close() local [all …]
|
/openbmc/qemu/hw/gpio/ |
H A D | pl061.c | 116 static uint8_t pl061_floating(PL061State *s) in pl061_floating() 136 static uint8_t pl061_pullups(PL061State *s) in pl061_pullups() 157 static void pl061_update(PL061State *s) in pl061_update() 225 PL061State *s = (PL061State *)opaque; in pl061_read() local 339 PL061State *s = (PL061State *)opaque; in pl061_write() local 450 PL061State *s = PL061(obj); in pl061_enter_reset() local 488 PL061State *s = PL061(obj); in pl061_hold_reset() local 506 PL061State *s = (PL061State *)opaque; in pl061_set_irq() local 526 PL061State *s = PL061(obj); in pl061_luminary_init() local 533 PL061State *s = PL061(obj); in pl061_init() local [all …]
|
/openbmc/qemu/hw/rtc/ |
H A D | m41t80.c | 29 M41t80State *s = M41T80(dev); in m41t80_realize() local 36 M41t80State *s = M41T80(i2c); in m41t80_send() local 48 M41t80State *s = M41T80(i2c); in m41t80_recv() local 89 M41t80State *s = M41T80(i2c); in m41t80_event() local
|
/openbmc/qemu/hw/pci-host/ |
H A D | aspeed_pcie.c | 232 AspeedPCIERcState *s = ASPEED_PCIE_RC(host_bridge); in aspeed_pcie_rc_root_bus_path() local 241 AspeedPCIERcState *s = ASPEED_PCIE_RC(obj); in aspeed_pcie_rc_instance_init() local 379 AspeedPCIECfgState *s = ASPEED_PCIE_CFG(opaque); in aspeed_pcie_cfg_read() local 433 static void aspeed_pcie_cfg_readwrite(AspeedPCIECfgState *s, in aspeed_pcie_cfg_readwrite() 502 AspeedPCIECfgState *s = ASPEED_PCIE_CFG(opaque); in aspeed_pcie_cfg_write() local 585 AspeedPCIECfgState *s = ASPEED_PCIE_CFG(obj); in aspeed_pcie_cfg_instance_init() local 596 AspeedPCIECfgState *s = ASPEED_PCIE_CFG(dev); in aspeed_pcie_cfg_reset() local 607 AspeedPCIECfgState *s = ASPEED_PCIE_CFG(dev); in aspeed_pcie_cfg_realize() local 630 AspeedPCIECfgState *s = ASPEED_PCIE_CFG(dev); in aspeed_pcie_cfg_unrealize() local 670 AspeedPCIECfgState *s = ASPEED_PCIE_CFG(opaque); in aspeed_2700_pcie_cfg_write() local [all …]
|
H A D | versatile.c | 107 static void pci_vpb_update_window(PCIVPBState *s, int i) in pci_vpb_update_window() 128 static void pci_vpb_update_all_windows(PCIVPBState *s) in pci_vpb_update_all_windows() 140 PCIVPBState *s = opaque; in pci_vpb_post_load() local 182 PCIVPBState *s = opaque; in pci_vpb_reg_write() local 218 PCIVPBState *s = opaque; in pci_vpb_reg_read() local 294 PCIVPBState *s = opaque; in pci_vpb_config_write() local 306 PCIVPBState *s = opaque; in pci_vpb_config_read() local 320 PCIVPBState *s = container_of(pci_get_bus(d), PCIVPBState, pci_bus); in pci_vpb_map_irq() local 372 PCIVPBState *s = PCI_VPB(d); in pci_vpb_reset() local 389 PCIVPBState *s = PCI_VPB(obj); in pci_vpb_init() local [all …]
|
/openbmc/qemu/hw/riscv/ |
H A D | riscv-iommu-sys.c | 59 RISCVIOMMUStateSys *s = opaque; in msix_table_mmio_read() local 68 RISCVIOMMUStateSys *s = opaque; in msix_table_mmio_write() local 90 RISCVIOMMUStateSys *s = opaque; in msix_pba_mmio_read() local 113 static void riscv_iommu_sysdev_init_msi(RISCVIOMMUStateSys *s, in riscv_iommu_sysdev_init_msi() 136 static void riscv_iommu_sysdev_send_MSI(RISCVIOMMUStateSys *s, in riscv_iommu_sysdev_send_MSI() 152 RISCVIOMMUStateSys *s = container_of(iommu, RISCVIOMMUStateSys, iommu); in riscv_iommu_sysdev_notify() local 166 RISCVIOMMUStateSys *s = RISCV_IOMMU_SYS(dev); in riscv_iommu_sys_realize() local 196 RISCVIOMMUStateSys *s = RISCV_IOMMU_SYS(obj); in riscv_iommu_sys_init() local
|
/openbmc/qemu/hw/tpm/ |
H A D | tpm_crb.c | 90 CRBState *s = CRB(opaque); in tpm_crb_mmio_read() local 106 static uint8_t tpm_crb_get_active_locty(CRBState *s) in tpm_crb_get_active_locty() 117 CRBState *s = CRB(opaque); in tpm_crb_mmio_write() local 194 CRBState *s = CRB(ti); in tpm_crb_request_completed() local 206 CRBState *s = CRB(ti); in tpm_crb_get_version() local 213 CRBState *s = opaque; in tpm_crb_pre_save() local 236 CRBState *s = CRB(dev); in tpm_crb_reset() local 285 CRBState *s = CRB(dev); in tpm_crb_realize() local
|
/openbmc/qemu/net/ |
H A D | filter-rewriter.c | 41 static void filter_rewriter_failover_mode(RewriterState *s) in filter_rewriter_failover_mode() argument 48 RewriterState *s = FILTER_REWRITER(nf); in filter_rewriter_flush() local 259 RewriterState *s = FILTER_REWRITER(nf); in colo_rewriter_receive_iov() local 368 RewriterState *s = FILTER_REWRITER(nf); in colo_rewriter_cleanup() local 381 RewriterState *s = FILTER_REWRITER(nf); in colo_rewriter_setup() local 392 RewriterState *s = FILTER_REWRITER(obj); in filter_rewriter_get_vnet_hdr() local 401 RewriterState *s = FILTER_REWRITER(obj); in filter_rewriter_set_vnet_hdr() local 408 RewriterState *s = FILTER_REWRITER(obj); in filter_rewriter_init() local
|
/openbmc/u-boot/drivers/ddr/marvell/axp/ |
H A D | ddr3_dfs.c | 18 #define DEBUG_DFS_C(s, d, l) \ argument 20 #define DEBUG_DFS_FULL_C(s, d, l) \ argument 24 #define DEBUG_DFS_S(s) puts(s) argument 27 #define DEBUG_DFS_S(s) argument 32 #define DEBUG_DFS_FULL_S(s) puts(s) argument 35 #define DEBUG_DFS_FULL_S(s) argument
|
/openbmc/qemu/hw/m68k/ |
H A D | mcf_intc.c | 36 static void mcf_intc_update(mcf_intc_state *s) in mcf_intc_update() argument 63 mcf_intc_state *s = (mcf_intc_state *)opaque; in mcf_intc_read() local 98 mcf_intc_state *s = (mcf_intc_state *)opaque; in mcf_intc_write() local 144 mcf_intc_state *s = (mcf_intc_state *)opaque; in mcf_intc_set_irq() local 156 mcf_intc_state *s = MCF_INTC(dev); in mcf_intc_reset() local 174 mcf_intc_state *s = MCF_INTC(obj); in mcf_intc_instance_init() local
|
/openbmc/qemu/qga/ |
H A D | main.c | 334 bool ga_logging_enabled(GAState *s) in ga_logging_enabled() 339 void ga_disable_logging(GAState *s) in ga_disable_logging() 344 void ga_enable_logging(GAState *s) in ga_enable_logging() 384 GAState *s = opaque; in ga_log() local 407 void ga_set_response_delimited(GAState *s) in ga_set_response_delimited() 525 bool ga_is_frozen(GAState *s) in ga_is_frozen() 530 void ga_set_frozen(GAState *s) in ga_set_frozen() 545 void ga_unset_frozen(GAState *s) in ga_unset_frozen() 583 const char *ga_fsfreeze_hook(GAState *s) in ga_fsfreeze_hook() 590 void ga_set_load_avg_wait_handle(GAState *s, HANDLE wait_handle) in ga_set_load_avg_wait_handle() [all …]
|
/openbmc/qemu/hw/watchdog/ |
H A D | wdt_ib700.c | 60 IB700State *s = vp; in ib700_write_enable_reg() local 76 IB700State *s = vp; in ib700_write_disable_reg() local 86 IB700State *s = vp; in ib700_timer_expired() local 112 IB700State *s = IB700(dev); in wdt_ib700_realize() local 124 IB700State *s = IB700(dev); in wdt_ib700_reset() local
|
/openbmc/qemu/hw/misc/ |
H A D | lasi.c | 59 LasiState *s = opaque; in lasi_chip_read_with_attrs() local 121 LasiState *s = opaque; in lasi_chip_write_with_attrs() local 228 LasiState *s = opaque; in lasi_set_irq() local 245 LasiState *s = LASI_CHIP(dev); in lasi_reset() local 255 LasiState *s = LASI_CHIP(obj); in lasi_init() local
|
H A D | bcm2835_thermal.c | 42 Bcm2835ThermalState *s = BCM2835_THERMAL(opaque); in bcm2835_thermal_read() local 63 Bcm2835ThermalState *s = BCM2835_THERMAL(opaque); in bcm2835_thermal_write() local 92 Bcm2835ThermalState *s = BCM2835_THERMAL(dev); in bcm2835_thermal_reset() local 99 Bcm2835ThermalState *s = BCM2835_THERMAL(dev); in bcm2835_thermal_realize() local
|
/openbmc/qemu/hw/intc/ |
H A D | loongarch_pch_msi.c | 27 LoongArchPCHMSI *s = (LoongArchPCHMSI *)opaque; in loongarch_msi_mem_write() local 57 LoongArchPCHMSI *s = LOONGARCH_PCH_MSI(dev); in loongarch_pch_msi_realize() local 70 LoongArchPCHMSI *s = LOONGARCH_PCH_MSI(dev); in loongarch_pch_msi_unrealize() local 77 LoongArchPCHMSI *s = LOONGARCH_PCH_MSI(obj); in loongarch_pch_msi_init() local
|