| /openbmc/qemu/hw/arm/ |
| H A D | musicpal.c | 128 static uint8_t scale_lcd_color(musicpal_lcd_state *s, uint8_t col) in scale_lcd_color() argument 140 static inline void set_lcd_pixel32(musicpal_lcd_state *s, in set_lcd_pixel32() 157 musicpal_lcd_state *s = opaque; in lcd_refresh() local 182 musicpal_lcd_state *s = opaque; in musicpal_lcd_gpio_brightness_in() local 190 musicpal_lcd_state *s = opaque; in musicpal_lcd_read() local 204 musicpal_lcd_state *s = opaque; in musicpal_lcd_write() local 254 musicpal_lcd_state *s = MUSICPAL_LCD(dev); in musicpal_lcd_realize() local 263 musicpal_lcd_state *s = MUSICPAL_LCD(dev); in musicpal_lcd_init() local 324 static void mv88w8618_pic_update(mv88w8618_pic_state *s) in mv88w8618_pic_update() argument 331 mv88w8618_pic_state *s = opaque; in mv88w8618_pic_set_irq() local [all …]
|
| /openbmc/qemu/hw/pci-host/ |
| H A D | uninorth.c | 41 UNINHostState *s = opaque; in pci_unin_set_irq() local 82 UNINHostState *s = opaque; in unin_data_write() local 93 UNINHostState *s = opaque; in unin_data_read() local 112 UNINHostState *s = UNI_NORTH_PCI_HOST_BRIDGE(dev); in pci_unin_main_ofw_unit_address() local 119 UNINHostState *s = UNI_NORTH_PCI_HOST_BRIDGE(dev); in pci_unin_main_realize() local 139 UNINHostState *s = UNI_NORTH_PCI_HOST_BRIDGE(obj); in pci_unin_main_init() local 169 UNINHostState *s = U3_AGP_HOST_BRIDGE(dev); in pci_u3_agp_realize() local 184 UNINHostState *s = U3_AGP_HOST_BRIDGE(obj); in pci_u3_agp_init() local 213 UNINHostState *s = UNI_NORTH_AGP_HOST_BRIDGE(dev); in pci_unin_agp_realize() local 228 UNINHostState *s = UNI_NORTH_AGP_HOST_BRIDGE(obj); in pci_unin_agp_init() local [all …]
|
| H A D | gpex.c | 52 GPEXHost *s = opaque; in gpex_set_irq() local 57 int gpex_set_irq_num(GPEXHost *s, int index, int gsi) in gpex_set_irq_num() 70 GPEXHost *s = opaque; in gpex_route_intx_pin_to_irq() local 93 GPEXHost *s = GPEX_HOST(dev); in gpex_host_realize() local 162 GPEXHost *s = GPEX_HOST(dev); in gpex_host_unrealize() local 210 GPEXHost *s = GPEX_HOST(obj); in gpex_host_initfn() local
|
| /openbmc/qemu/block/ |
| H A D | qed-check.c | 19 BDRVQEDState *s; member 71 BDRVQEDState *s = check->s; in qed_check_l2_table() local 113 BDRVQEDState *s = check->s; in qed_check_l1_table() local 190 BDRVQEDState *s = check->s; in qed_check_for_leaks() local 204 qed_check_mark_clean(BDRVQEDState *s, BdrvCheckResult *result) in qed_check_mark_clean() 224 int coroutine_fn qed_check(BDRVQEDState *s, BdrvCheckResult *result, bool fix) in qed_check()
|
| 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 …]
|
| /openbmc/qemu/hw/intc/ |
| H A D | exynos4210_combiner.c | 82 struct Exynos4210CombinerState *s = in exynos4210_combiner_read() local 132 struct Exynos4210CombinerState *s = in exynos4210_combiner_update() local 174 struct Exynos4210CombinerState *s = in exynos4210_combiner_write() local 264 struct Exynos4210CombinerState *s = in exynos4210_combiner_handler() local 287 struct Exynos4210CombinerState *s = (struct Exynos4210CombinerState *)d; in exynos4210_combiner_reset() local 310 Exynos4210CombinerState *s = EXYNOS4210_COMBINER(obj); in exynos4210_combiner_init() local
|
| H A D | arm_gicv3_its_common.c | 31 GICv3ITSState *s = (GICv3ITSState *)opaque; in gicv3_its_pre_save() local 43 GICv3ITSState *s = (GICv3ITSState *)opaque; in gicv3_its_post_load() local 82 GICv3ITSState *s = ARM_GICV3_ITS_COMMON(opaque); in gicv3_its_trans_write() local 103 void gicv3_its_init_mmio(GICv3ITSState *s, const MemoryRegionOps *ops, in gicv3_its_init_mmio() 128 GICv3ITSState *s = ARM_GICV3_ITS_COMMON(obj); in gicv3_its_common_reset_hold() local
|
| /openbmc/qemu/hw/misc/ |
| H A D | stm32l4x5_syscfg.c | 73 Stm32l4x5SyscfgState *s = STM32L4X5_SYSCFG(obj); in stm32l4x5_syscfg_hold_reset() local 90 Stm32l4x5SyscfgState *s = opaque; in stm32l4x5_syscfg_set_irq() local 109 Stm32l4x5SyscfgState *s = opaque; in stm32l4x5_syscfg_read() local 139 Stm32l4x5SyscfgState *s = opaque; in stm32l4x5_syscfg_write() local 222 Stm32l4x5SyscfgState *s = STM32L4X5_SYSCFG(obj); in stm32l4x5_syscfg_init() local 236 Stm32l4x5SyscfgState *s = STM32L4X5_SYSCFG(dev); in stm32l4x5_syscfg_realize() local
|
| H A D | aspeed_sli.c | 23 AspeedSLIState *s = ASPEED_SLI(opaque); in aspeed_sli_read() local 40 AspeedSLIState *s = ASPEED_SLI(opaque); in aspeed_sli_write() local 56 AspeedSLIState *s = ASPEED_SLI(opaque); in aspeed_sliio_read() local 73 AspeedSLIState *s = ASPEED_SLI(opaque); in aspeed_sliio_write() local 109 AspeedSLIState *s = ASPEED_SLI(dev); in aspeed_sli_realize() local 119 AspeedSLIState *s = ASPEED_SLI(dev); in aspeed_sliio_realize() local
|
| H A D | aspeed_gfx.c | 22 AspeedGFXState *s = ASPEED_GFX(opaque); in aspeed_gfx_read() local 43 AspeedGFXState *s = ASPEED_GFX(opaque); in aspeed_gfx_write() local 71 struct AspeedGFXState *s = ASPEED_GFX(dev); in aspeed_gfx_reset() local 78 AspeedGFXState *s = ASPEED_GFX(dev); in aspeed_gfx_realize() local
|
| H A D | aspeed_pwm.c | 22 AspeedPWMState *s = ASPEED_PWM(opaque); in aspeed_pwm_read() local 43 AspeedPWMState *s = ASPEED_PWM(opaque); in aspeed_pwm_write() local 71 struct AspeedPWMState *s = ASPEED_PWM(dev); in aspeed_pwm_reset() local 78 AspeedPWMState *s = ASPEED_PWM(dev); in aspeed_pwm_realize() local
|
| /openbmc/qemu/hw/char/ |
| H A D | xilinx_uartlite.c | 73 static void uart_update_irq(XilinxUARTLite *s) in uart_update_irq() argument 84 static void uart_update_status(XilinxUARTLite *s) in uart_update_status() 104 XilinxUARTLite *s = opaque; in uart_read() local 131 XilinxUARTLite *s = opaque; in uart_write() local 191 XilinxUARTLite *s = opaque; in uart_rx() local 209 XilinxUARTLite *s = opaque; in uart_can_rx() local 221 XilinxUARTLite *s = XILINX_UARTLITE(dev); in xilinx_uartlite_realize() local 238 XilinxUARTLite *s = XILINX_UARTLITE(obj); in xilinx_uartlite_init() local
|
| /openbmc/qemu/hw/sensor/ |
| H A D | emc141x.c | 56 EMC141XState *s = EMC141X(obj); in OBJECT_DECLARE_TYPE() local 79 EMC141XState *s = EMC141X(obj); in emc141x_set_temperature() local 101 static void emc141x_read(EMC141XState *s) in emc141x_read() 155 static void emc141x_write(EMC141XState *s) in emc141x_write() 189 EMC141XState *s = EMC141X(i2c); in emc141x_rx() local 201 EMC141XState *s = EMC141X(i2c); in emc141x_tx() local 217 EMC141XState *s = EMC141X(i2c); in emc141x_event() local 242 EMC141XState *s = EMC141X(dev); in emc141x_reset() local
|
| /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/hw/gpio/ |
| H A D | bcm2838_gpio.c | 77 static uint32_t gpfsel_get(BCM2838GpioState *s, uint8_t reg) in gpfsel_get() 90 static void gpfsel_set(BCM2838GpioState *s, uint8_t reg, uint32_t value) in gpfsel_set() 127 static int gpfsel_is_out(BCM2838GpioState *s, int index) in gpfsel_is_out() 135 static void gpset(BCM2838GpioState *s, uint32_t val, uint8_t start, in gpset() 152 static void gpclr(BCM2838GpioState *s, uint32_t val, uint8_t start, in gpclr() 171 BCM2838GpioState *s = (BCM2838GpioState *)opaque; in bcm2838_gpio_read() local 236 BCM2838GpioState *s = (BCM2838GpioState *)opaque; in bcm2838_gpio_write() local 300 BCM2838GpioState *s = BCM2838_GPIO(dev); in bcm2838_gpio_reset() local 343 BCM2838GpioState *s = BCM2838_GPIO(obj); in bcm2838_gpio_init() local 357 BCM2838GpioState *s = BCM2838_GPIO(dev); in bcm2838_gpio_realize() local
|
| 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/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 …]
|
| /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/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()
|
| /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/scsi/ |
| H A D | virtio-scsi-dataplane.c | 25 void virtio_scsi_dataplane_setup(VirtIOSCSI *s, Error **errp) in virtio_scsi_dataplane_setup() 92 void virtio_scsi_dataplane_cleanup(VirtIOSCSI *s) in virtio_scsi_dataplane_cleanup() 108 static int virtio_scsi_set_host_notifier(VirtIOSCSI *s, VirtQueue *vq, int n) in virtio_scsi_set_host_notifier() 151 VirtIOSCSI *s = VIRTIO_SCSI(vdev); in virtio_scsi_dataplane_start() local 243 VirtIOSCSI *s = VIRTIO_SCSI(vdev); in virtio_scsi_dataplane_stop() local
|
| /openbmc/qemu/hw/misc/macio/ |
| H A D | gpio.c | 43 void macio_set_gpio(MacIOGPIOState *s, uint32_t gpio, bool state) in macio_set_gpio() 103 MacIOGPIOState *s = opaque; in macio_gpio_write() local 129 MacIOGPIOState *s = opaque; in macio_gpio_read() local 160 MacIOGPIOState *s = MACIO_GPIO(obj); in macio_gpio_init() local 185 MacIOGPIOState *s = MACIO_GPIO(dev); in macio_gpio_reset() local
|
| /openbmc/qemu/hw/sd/ |
| H A D | cadence_sdhci.c | 53 CadenceSDHCIState *s = CADENCE_SDHCI(obj); in cadence_sdhci_instance_init() local 61 CadenceSDHCIState *s = CADENCE_SDHCI(dev); in cadence_sdhci_reset() local 71 CadenceSDHCIState *s = opaque; in cadence_sdhci_read() local 82 CadenceSDHCIState *s = opaque; in cadence_sdhci_write() local 138 CadenceSDHCIState *s = CADENCE_SDHCI(dev); in cadence_sdhci_realize() local
|