| /openbmc/qemu/hw/gpio/ |
| H A D | sifive_gpio.c | 22 static void update_output_irq(SIFIVEGPIOState *s) in update_output_irq() 39 static void update_state(SIFIVEGPIOState *s) in update_state() 107 SIFIVEGPIOState *s = SIFIVE_GPIO(opaque); in sifive_gpio_read() local 193 SIFIVEGPIOState *s = SIFIVE_GPIO(opaque); in sifive_gpio_write() local 286 SIFIVEGPIOState *s = SIFIVE_GPIO(opaque); in sifive_gpio_set() local 302 SIFIVEGPIOState *s = SIFIVE_GPIO(dev); in sifive_gpio_reset() local 358 SIFIVEGPIOState *s = SIFIVE_GPIO(dev); in sifive_gpio_realize() local
|
| H A D | pcf8574.c | 52 PCF8574State *s = PCF8574(dev); in pcf8574_reset() local 58 static inline uint8_t pcf8574_line_state(PCF8574State *s) in pcf8574_line_state() 66 PCF8574State *s = PCF8574(i2c); in pcf8574_rx() local 79 PCF8574State *s = PCF8574(i2c); in pcf8574_tx() local 118 PCF8574State *s = (PCF8574State *) opaque; in pcf8574_gpio_set() local 134 PCF8574State *s = PCF8574(dev); in pcf8574_realize() local
|
| /openbmc/qemu/hw/misc/ |
| H A D | imx_rngc.c | 52 IMXRNGCState *s = IMX_RNGC(opaque); in imx_rngc_read() local 130 static void imx_rngc_do_reset(IMXRNGCState *s) in imx_rngc_do_reset() 141 IMXRNGCState *s = IMX_RNGC(opaque); in imx_rngc_write() local 203 IMXRNGCState *s = IMX_RNGC(opaque); in imx_rngc_self_test() local 213 IMXRNGCState *s = IMX_RNGC(opaque); in imx_rngc_seed() local 223 IMXRNGCState *s = IMX_RNGC(dev); in imx_rngc_realize() local 239 IMXRNGCState *s = IMX_RNGC(dev); in imx_rngc_reset() local
|
| H A D | imx25_ccm.c | 113 IMX25CCMState *s = IMX25_CCM(dev); in imx25_ccm_get_mpll_clk() local 129 IMX25CCMState *s = IMX25_CCM(dev); in imx25_ccm_get_mcu_clk() local 147 IMX25CCMState *s = IMX25_CCM(dev); in imx25_ccm_get_ahb_clk() local 196 IMX25CCMState *s = IMX25_CCM(dev); in imx25_ccm_reset() local 232 IMX25CCMState *s = (IMX25CCMState *)opaque; in imx25_ccm_read() local 250 IMX25CCMState *s = (IMX25CCMState *)opaque; in imx25_ccm_write() local 288 IMX25CCMState *s = IMX25_CCM(obj); in imx25_ccm_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
|
| H A D | zynq_slcr.c | 276 static void zynq_slcr_compute_clocks_internal(ZynqSLCRState *s, uint64_t ps_clk) in zynq_slcr_compute_clocks_internal() 296 static void zynq_slcr_compute_clocks(ZynqSLCRState *s) in zynq_slcr_compute_clocks() 313 static void zynq_slcr_propagate_clocks(ZynqSLCRState *s) in zynq_slcr_propagate_clocks() 321 ZynqSLCRState *s = (ZynqSLCRState *) opaque; in zynq_slcr_ps_clk_callback() local 329 ZynqSLCRState *s = ZYNQ_SLCR(obj); in zynq_slcr_reset_init() local 425 ZynqSLCRState *s = ZYNQ_SLCR(obj); in zynq_slcr_reset_hold() local 434 ZynqSLCRState *s = ZYNQ_SLCR(obj); in zynq_slcr_reset_exit() local 506 ZynqSLCRState *s = opaque; in zynq_slcr_read() local 522 ZynqSLCRState *s = (ZynqSLCRState *)opaque; in zynq_slcr_write() local 597 ZynqSLCRState *s = ZYNQ_SLCR(dev); in zynq_slcr_realize() local [all …]
|
| /openbmc/qemu/hw/dma/ |
| H A D | rc4030.c | 106 static void set_next_tick(rc4030State *s) in set_next_tick() argument 120 rc4030State *s = opaque; in rc4030_read() local 261 rc4030State *s = opaque; in rc4030_write() local 395 static void update_jazz_irq(rc4030State *s) in update_jazz_irq() 410 rc4030State *s = opaque; in rc4030_irq_jazz_request() local 423 rc4030State *s = opaque; in rc4030_periodic_timer() local 431 rc4030State *s = opaque; in jazzio_read() local 471 rc4030State *s = opaque; in jazzio_write() local 502 rc4030State *s = container_of(iommu, rc4030State, dma_mr); in rc4030_dma_translate() local 529 rc4030State *s = RC4030(dev); in rc4030_reset() local [all …]
|
| /openbmc/qemu/hw/nvram/ |
| H A D | nrf51_nvm.c | 173 NRF51NVMState *s = NRF51_NVM(opaque); in uicr_read() local 182 NRF51NVMState *s = NRF51_NVM(opaque); in uicr_write() local 199 NRF51NVMState *s = NRF51_NVM(opaque); in io_read() local 221 NRF51NVMState *s = NRF51_NVM(opaque); in io_write() local 288 NRF51NVMState *s = NRF51_NVM(opaque); in flash_write() local 320 NRF51NVMState *s = NRF51_NVM(obj); in nrf51_nvm_init() local 338 NRF51NVMState *s = NRF51_NVM(dev); in nrf51_nvm_realize() local 351 NRF51NVMState *s = NRF51_NVM(dev); in nrf51_nvm_reset() local
|
| /openbmc/qemu/hw/i2c/ |
| H A D | i2c_mux_pca954x.c | 102 static void pca954x_enable_channel(Pca954xState *s, uint8_t enable_mask) in pca954x_enable_channel() 120 static void pca954x_write(Pca954xState *s, uint8_t data) in pca954x_write() 130 Pca954xState *s = PCA954X(d); in pca954x_write_data() local 153 Pca954xState *s = PCA954X(d); in pca954x_read_byte() local 161 Pca954xState *s = PCA954X(obj); in pca954x_enter_reset() local 177 Pca954xClass *s = PCA954X_CLASS(klass); in pca9546_class_init() local 183 Pca954xClass *s = PCA954X_CLASS(klass); in pca9548_class_init() local 189 Pca954xState *s = PCA954X(dev); in pca954x_realize() local 200 Pca954xState *s = PCA954X(obj); in pca954x_init() local
|
| /openbmc/qemu/hw/i386/kvm/ |
| H A D | i8254.c | 63 static void kvm_pit_update_clock_offset(KVMPITState *s) in kvm_pit_update_clock_offset() argument 89 KVMPITState *s = KVM_PIT(pit); in kvm_pit_get() local 131 KVMPITState *s = KVM_PIT(pit); in kvm_pit_put() local 169 static void kvm_pit_set_gate(PITCommonState *s, PITChannelState *sc, int val) in kvm_pit_set_gate() 194 static void kvm_pit_get_channel_info(PITCommonState *s, PITChannelState *sc, in kvm_pit_get_channel_info() 204 PITCommonState *s = PIT_COMMON(dev); in kvm_pit_reset() local 214 PITChannelState *s = &pit->channels[0]; in kvm_pit_irq_control() local 226 KVMPITState *s = opaque; in kvm_pit_vm_state_change() local 243 KVMPITState *s = KVM_PIT(pit); in kvm_pit_realizefn() 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/block/ |
| H A D | curl.c | 89 struct BDRVCURLState *s; member 94 struct BDRVCURLState *s; member 133 BDRVCURLState *s = socket->s; in curl_drop_socket() local 148 BDRVCURLState *s = opaque; in curl_timer_cb() local 165 BDRVCURLState *s = userp; curl_sock_cb() local 207 BDRVCURLState *s = opaque; curl_header_cb() local 238 CURLState *s = ((CURLState*)opaque); curl_read_cb() local 261 curl_find_buf(BDRVCURLState * s,uint64_t start,uint64_t len,CURLAIOCB * acb) curl_find_buf() argument 320 curl_multi_check_completion(BDRVCURLState * s) curl_multi_check_completion() argument 394 BDRVCURLState *s = socket->s; curl_multi_do_locked() local 410 BDRVCURLState *s = socket->s; curl_multi_do() local 420 BDRVCURLState *s = (BDRVCURLState *)arg; curl_multi_timeout_do() local 435 curl_find_state(BDRVCURLState * s) curl_find_state() argument 450 curl_init_state(BDRVCURLState * s,CURLState * state) curl_init_state() argument 544 curl_clean_state(CURLState * s) curl_clean_state() argument 567 BDRVCURLState *s = bs->opaque; curl_detach_aio_context() local 595 BDRVCURLState *s = bs->opaque; curl_attach_aio_context() local 672 BDRVCURLState *s = bs->opaque; curl_open() local 887 BDRVCURLState *s = bs->opaque; curl_setup_preadv() local 970 BDRVCURLState *s = bs->opaque; curl_close() local 986 BDRVCURLState *s = bs->opaque; curl_co_getlength() local 992 BDRVCURLState *s = bs->opaque; curl_refresh_filename() local [all...] |
| H A D | replication.c | 86 BDRVReplicationState *s = bs->opaque; in replication_open() local 141 BDRVReplicationState *s = bs->opaque; in replication_close() local 187 static int replication_get_io_status(BDRVReplicationState *s) in replication_get_io_status() 209 static int replication_return_value(BDRVReplicationState *s, int ret) in replication_return_value() 227 BDRVReplicationState *s = bs->opaque; in replication_co_readv() local 250 BDRVReplicationState *s = bs->opaque; in replication_co_writev() local 312 BDRVReplicationState *s = bs->opaque; in secondary_do_checkpoint() local 362 BDRVReplicationState *s = bs->opaque; in reopen_backing_file() local 403 BDRVReplicationState *s = bs->opaque; in backup_job_cleanup() local 420 BDRVReplicationState *s = bs->opaque; in backup_job_completed() local [all …]
|
| /openbmc/qemu/ui/ |
| H A D | gtk.c | 146 static VirtualConsole *gd_vc_find_by_menu(GtkDisplayState *s) in gd_vc_find_by_menu() 161 static VirtualConsole *gd_vc_find_by_page(GtkDisplayState *s, gint page) in gd_vc_find_by_page() 176 static VirtualConsole *gd_vc_find_current(GtkDisplayState *s) in gd_vc_find_current() 184 static bool gd_is_grab_active(GtkDisplayState *s) in gd_is_grab_active() 189 static bool gd_grab_on_hover(GtkDisplayState *s) in gd_grab_on_hover() 196 GtkDisplayState *s = vc->s; in gd_update_cursor() local 216 static void gd_update_caption(GtkDisplayState *s) in gd_update_caption() 266 GtkDisplayState *s = vc->s; in gd_update_geometry_hints() local 329 GtkDisplayState *s = vc->s; in gd_update_windowsize() local 354 static void gtk_release_modifiers(GtkDisplayState *s) in gtk_release_modifiers() [all …]
|
| /openbmc/qemu/chardev/ |
| H A D | char-fe.c | 35 Chardev *s = be->chr; in qemu_chr_fe_write() local 46 Chardev *s = be->chr; in qemu_chr_fe_write_all() local 57 Chardev *s = be->chr; in qemu_chr_fe_read_all() local 100 Chardev *s = be->chr; in qemu_chr_fe_ioctl() local 114 Chardev *s = be->chr; in qemu_chr_fe_get_msgfd() local 127 Chardev *s = be->chr; in qemu_chr_fe_get_msgfds() local 139 Chardev *s = be->chr; in qemu_chr_fe_set_msgfds() local 151 Chardev *s = be->chr; in qemu_chr_fe_accept_input() local 192 bool qemu_chr_fe_init(CharBackend *b, Chardev *s, Error **errp) in qemu_chr_fe_init() 252 Chardev *s; in qemu_chr_fe_set_handlers_full() local [all …]
|
| H A D | char-pty.c | 54 static void pty_chr_timer_cancel(PtyChardev *s) in pty_chr_timer_cancel() 66 PtyChardev *s = PTY_CHARDEV(opaque); in pty_chr_timer() local 78 PtyChardev *s = PTY_CHARDEV(chr); in pty_chr_rearm_timer() local 90 PtyChardev *s = PTY_CHARDEV(chr); in pty_chr_update_read_handler() local 110 PtyChardev *s = PTY_CHARDEV(chr); in char_pty_chr_write() local 136 PtyChardev *s = PTY_CHARDEV(chr); in pty_chr_add_watch() local 146 PtyChardev *s = PTY_CHARDEV(opaque); in pty_chr_read_poll() local 155 PtyChardev *s = PTY_CHARDEV(opaque); in pty_chr_read() local 180 PtyChardev *s = PTY_CHARDEV(chr); in pty_chr_state() local 210 PtyChardev *s = PTY_CHARDEV(obj); in char_pty_finalize() local [all …]
|
| /openbmc/qemu/hw/tpm/ |
| H A D | tpm_spapr.c | 94 static void tpm_spapr_tpm_send(SpaprTpmState *s) in tpm_spapr_tpm_send() argument 110 static int tpm_spapr_process_cmd(SpaprTpmState *s, uint64_t dataptr) in tpm_spapr_process_cmd() 133 SpaprTpmState *s = VIO_SPAPR_VTPM(dev); in tpm_spapr_do_crq() local 235 SpaprTpmState *s = VIO_SPAPR_VTPM(ti); in tpm_spapr_request_completed() local 274 static int tpm_spapr_do_startup_tpm(SpaprTpmState *s, size_t buffersize) in tpm_spapr_do_startup_tpm() 281 SpaprTpmState *s = VIO_SPAPR_VTPM(dev); in tpm_spapr_get_dt_compatible() local 295 SpaprTpmState *s = VIO_SPAPR_VTPM(dev); in tpm_spapr_reset() local 314 SpaprTpmState *s = VIO_SPAPR_VTPM(ti); in tpm_spapr_get_version() local 327 SpaprTpmState *s = opaque; in tpm_spapr_pre_save() local 339 SpaprTpmState *s = opaque; in tpm_spapr_post_load() local [all …]
|
| /openbmc/qemu/hw/rtc/ |
| H A D | allwinner-rtc.c | 124 static bool allwinner_rtc_sun4i_read(AwRtcState *s, uint32_t offset) in allwinner_rtc_sun4i_read() 130 static bool allwinner_rtc_sun4i_write(AwRtcState *s, uint32_t offset, in allwinner_rtc_sun4i_write() 137 static bool allwinner_rtc_sun6i_read(AwRtcState *s, uint32_t offset) in allwinner_rtc_sun6i_read() 153 static bool allwinner_rtc_sun6i_write(AwRtcState *s, uint32_t offset, in allwinner_rtc_sun6i_write() 173 AwRtcState *s = AW_RTC(opaque); in allwinner_rtc_read() local 218 AwRtcState *s = AW_RTC(opaque); in allwinner_rtc_write() local 272 AwRtcState *s = AW_RTC(dev); in allwinner_rtc_reset() local 296 AwRtcState *s = AW_RTC(obj); in allwinner_rtc_init() local 329 AwRtcState *s = AW_RTC(obj); in allwinner_rtc_sun4i_init() local 345 AwRtcState *s = AW_RTC(obj); in allwinner_rtc_sun6i_init() local [all …]
|
| /openbmc/qemu/net/ |
| H A D | vhost-user.c | 78 NetVhostUserState *s = DO_UPCAST(NetVhostUserState, nc, nc); in vhost_user_get_vhost_net() local 85 NetVhostUserState *s = DO_UPCAST(NetVhostUserState, nc, nc); in vhost_user_get_acked_features() local 92 NetVhostUserState *s; in vhost_user_save_acked_features() local 106 NetVhostUserState *s; in vhost_user_stop() local 125 NetVhostUserState *s; in vhost_user_start() local 187 NetVhostUserState *s = DO_UPCAST(NetVhostUserState, nc, nc); in vhost_user_receive() local 210 NetVhostUserState *s = DO_UPCAST(NetVhostUserState, nc, nc); in net_vhost_user_cleanup() local 287 NetVhostUserState *s = opaque; in net_vhost_user_watch() local 300 NetVhostUserState *s; in chr_closed_bh() local 326 NetVhostUserState *s; in net_vhost_user_event() local [all …]
|
| H A D | l2tpv3.c | 138 static void l2tpv3_update_fd_handler(NetL2TPV3State *s) in l2tpv3_update_fd_handler() 146 static void l2tpv3_read_poll(NetL2TPV3State *s, bool enable) in l2tpv3_read_poll() 154 static void l2tpv3_write_poll(NetL2TPV3State *s, bool enable) in l2tpv3_write_poll() 164 NetL2TPV3State *s = opaque; in l2tpv3_writable() local 171 NetL2TPV3State *s = DO_UPCAST(NetL2TPV3State, nc, nc); in l2tpv3_send_completed() local 177 NetL2TPV3State *s = DO_UPCAST(NetL2TPV3State, nc, nc); in l2tpv3_poll() local 182 static void l2tpv3_form_header(NetL2TPV3State *s) in l2tpv3_form_header() 220 NetL2TPV3State *s = DO_UPCAST(NetL2TPV3State, nc, nc); in net_l2tpv3_receive_dgram_iov() local 266 NetL2TPV3State *s = DO_UPCAST(NetL2TPV3State, nc, nc); in net_l2tpv3_receive_dgram() local 305 static int l2tpv3_verify_header(NetL2TPV3State *s, uint8_t *buf) in l2tpv3_verify_header() [all …]
|
| /openbmc/qemu/hw/ssi/ |
| H A D | aspeed_smc.c | 79 #define aspeed_smc_addr_byte_enabled(s, i) \ argument 81 #define aspeed_smc_data_byte_enabled(s, i) \ argument 234 static bool aspeed_smc_flash_overlap(const AspeedSMCState *s, in aspeed_smc_flash_overlap() 262 static void aspeed_smc_flash_set_segment_region(AspeedSMCState *s, int cs, in aspeed_smc_flash_set_segment_region() 284 static void aspeed_smc_flash_set_segment(AspeedSMCState *s, int cs, in aspeed_smc_flash_set_segment() 368 const AspeedSMCState *s = fl->controller; in aspeed_smc_flash_mode() local 375 const AspeedSMCState *s = fl->controller; in aspeed_smc_is_writable() local 382 const AspeedSMCState *s = fl->controller; in aspeed_smc_flash_cmd() local 405 const AspeedSMCState *s = fl->controller; in aspeed_smc_flash_addr_width() local 417 AspeedSMCState *s = fl->controller; in aspeed_smc_flash_do_select() local [all …]
|
| /openbmc/qemu/hw/display/ |
| H A D | pl110.c | 208 static int pl110_enabled(PL110State *s) in pl110_enabled() 215 PL110State *s = (PL110State *)opaque; in pl110_update_display() local 313 PL110State *s = (PL110State *)opaque; in pl110_invalidate_display() local 320 static void pl110_update_palette(PL110State *s, int n) in pl110_update_palette() 356 static void pl110_resize(PL110State *s, int width, int height) in pl110_resize() 368 static void pl110_update(PL110State *s) in pl110_update() 380 PL110State *s = opaque; in pl110_vblank_interrupt() local 393 PL110State *s = (PL110State *)opaque; in pl110_read() local 443 PL110State *s = (PL110State *)opaque; in pl110_write() local 521 PL110State *s = (PL110State *)opaque; in pl110_mux_ctrl_set() local [all …]
|
| /openbmc/qemu/hw/net/ |
| H A D | i82596.c | 133 static void i82596_transmit(I82596State *s, uint32_t addr) in i82596_transmit() 167 static void set_individual_address(I82596State *s, uint32_t addr) in set_individual_address() 180 static void i82596_configure(I82596State *s, uint32_t addr) in i82596_configure() 200 static void set_multicast_list(I82596State *s, uint32_t addr) in set_multicast_list() 231 static void update_scb_status(I82596State *s) in update_scb_status() 239 static void i82596_s_reset(I82596State *s) in i82596_s_reset() 253 static void command_loop(I82596State *s) in command_loop() 335 I82596State *s = opaque; in i82596_flush_queue_timer() local 344 static void examine_scb(I82596State *s) in examine_scb() 409 static void signal_ca(I82596State *s) in signal_ca() [all …]
|
| /openbmc/qemu/hw/intc/ |
| H A D | arm_gicv3_its_kvm.c | 45 static int kvm_its_send_msi(GICv3ITSState *s, uint32_t value, uint16_t devid) in kvm_its_send_msi() 78 GICv3ITSState *s = (GICv3ITSState *)opaque; in vm_change_state_handler() local 94 GICv3ITSState *s = ARM_GICV3_ITS_COMMON(dev); in kvm_arm_its_realize() local 136 static void kvm_arm_its_pre_save(GICv3ITSState *s) in kvm_arm_its_pre_save() 165 static void kvm_arm_its_post_load(GICv3ITSState *s) in kvm_arm_its_post_load() 202 GICv3ITSState *s = ARM_GICV3_ITS_COMMON(obj); in kvm_arm_its_reset_hold() local
|