Home
last modified time | relevance | path

Searched defs:s (Results 301 – 325 of 1844) sorted by relevance

1...<<11121314151617181920>>...74

/openbmc/qemu/hw/core/
H A Dor-irq.c34 OrIRQState *s = OR_IRQ(opaque); in or_irq_handler() local
49 OrIRQState *s = OR_IRQ(dev); in or_irq_reset() local
59 OrIRQState *s = OR_IRQ(dev); in or_irq_realize() local
68 OrIRQState *s = OR_IRQ(obj); in or_irq_init() local
87 OrIRQState *s = OR_IRQ(opaque); in vmstate_extras_needed() local
/openbmc/qemu/hw/display/
H A Di2c-ddc.c39 I2CDDCState *s = I2CDDC(ds); in i2c_ddc_reset() local
47 I2CDDCState *s = I2CDDC(i2c); in i2c_ddc_event() local
58 I2CDDCState *s = I2CDDC(i2c); in i2c_ddc_rx() local
68 I2CDDCState *s = I2CDDC(i2c); in i2c_ddc_tx() local
83 I2CDDCState *s = I2CDDC(obj); in i2c_ddc_init() local
H A Dpl110.c208 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/intc/
H A Dheathrow_pic.c39 static void heathrow_update_irq(HeathrowState *s) in heathrow_update_irq()
52 HeathrowState *s = opaque; in heathrow_write() local
80 HeathrowState *s = opaque; in heathrow_read() local
117 HeathrowState *s = opaque; in heathrow_set_irq() local
166 HeathrowState *s = HEATHROW(d); in heathrow_reset() local
174 HeathrowState *s = HEATHROW(obj); in heathrow_init() local
H A Daspeed_intc.c178 static void aspeed_intc_update(AspeedINTCState *s, int inpin_idx, in aspeed_intc_update()
190 static void aspeed_intc_set_irq_handler(AspeedINTCState *s, in aspeed_intc_set_irq_handler()
226 static void aspeed_intc_set_irq_handler_multi_outpins(AspeedINTCState *s, in aspeed_intc_set_irq_handler_multi_outpins()
278 AspeedINTCState *s = (AspeedINTCState *)opaque; in aspeed_intc_set_irq() local
320 static void aspeed_intc_enable_handler(AspeedINTCState *s, hwaddr offset, in aspeed_intc_enable_handler()
371 static void aspeed_intc_status_handler(AspeedINTCState *s, hwaddr offset, in aspeed_intc_status_handler()
427 static void aspeed_intc_status_handler_multi_outpins(AspeedINTCState *s, in aspeed_intc_status_handler_multi_outpins()
489 AspeedINTCState *s = ASPEED_INTC(opaque); in aspeed_intc_read() local
503 AspeedINTCState *s = ASPEED_INTC(opaque); in aspeed_intc_write() local
545 AspeedINTCState *s = ASPEED_INTC(opaque); in aspeed_ssp_intc_write() local
[all …]
/openbmc/qemu/hw/i386/kvm/
H A Dioapic.c24 KVMState *s = kvm_state; in kvm_pc_setup_irq_routing() local
56 static void kvm_ioapic_get(IOAPICCommonState *s) in kvm_ioapic_get()
79 static void kvm_ioapic_put(IOAPICCommonState *s) in kvm_ioapic_put()
105 IOAPICCommonState *s = IOAPIC_COMMON(dev); in kvm_ioapic_reset() local
113 KVMIOAPICState *s = opaque; in kvm_ioapic_set_irq() local
124 IOAPICCommonState *s = IOAPIC_COMMON(dev); in kvm_ioapic_realize() local
H A Di8254.c63 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
H A Dxen_xenstore.c85 static void G_GNUC_PRINTF (4, 5) relpath_printf(XenXenstoreState *s, in relpath_printf()
116 XenXenstoreState *s = XEN_XENSTORE(dev); in xen_xenstore_realize() local
192 XenXenstoreState *s = opaque; in xen_xenstore_pre_save() local
210 XenXenstoreState *s = opaque; in xen_xenstore_post_load() local
298 XenXenstoreState *s = xen_xenstore_singleton; in type_init() local
305 static bool req_pending(XenXenstoreState *s) in req_pending()
312 static void reset_req(XenXenstoreState *s) in reset_req()
318 static void reset_rsp(XenXenstoreState *s) in reset_rsp()
326 static void xs_error(XenXenstoreState *s, unsigned int id, in xs_error()
352 static void xs_ok(XenXenstoreState *s, unsigned int type, unsigned int req_id, in xs_ok()
[all …]
/openbmc/qemu/hw/gpio/
H A Dsifive_gpio.c22 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
/openbmc/qemu/hw/misc/
H A Dimx_rngc.c52 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 Dimx25_ccm.c113 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 Dzynq_slcr.c276 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/nvram/
H A Dnrf51_nvm.c173 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 Di2c_mux_pca954x.c102 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/chardev/
H A Dchar-fe.c35 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 Dchar-pty.c54 static void pty_chr_timer_cancel(PtyChardev *s) in pty_chr_timer_cancel() argument
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); pty_chr_update_read_handler() local
110 PtyChardev *s = PTY_CHARDEV(chr); char_pty_chr_write() local
136 PtyChardev *s = PTY_CHARDEV(chr); pty_chr_add_watch() local
146 PtyChardev *s = PTY_CHARDEV(opaque); pty_chr_read_poll() local
155 PtyChardev *s = PTY_CHARDEV(opaque); pty_chr_read() local
180 PtyChardev *s = PTY_CHARDEV(chr); pty_chr_state() local
210 PtyChardev *s = PTY_CHARDEV(obj); char_pty_finalize() local
339 PtyChardev *s; char_pty_open() local
[all...]
/openbmc/qemu/hw/tpm/
H A Dtpm_spapr.c94 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 Dallwinner-rtc.c124 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 Dvhost-user.c78 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 Dl2tpv3.c138 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/block/
H A Dreplication.c86 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/hw/net/
H A Di82596.c133 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 …]
H A Deepro100.c334 static uint16_t e100_read_reg2(EEPRO100State *s, E100RegisterOffset addr) in e100_read_reg2()
341 static uint32_t e100_read_reg4(EEPRO100State *s, E100RegisterOffset addr) in e100_read_reg4()
348 static void e100_write_reg2(EEPRO100State *s, E100RegisterOffset addr, in e100_write_reg2()
356 static void e100_write_reg4(EEPRO100State *s, E100RegisterOffset addr, in e100_write_reg4()
390 static void disable_interrupt(EEPRO100State * s) in disable_interrupt()
399 static void enable_interrupt(EEPRO100State * s) in enable_interrupt()
408 static void eepro100_acknowledge(EEPRO100State * s) in eepro100_acknowledge()
417 static void eepro100_interrupt(EEPRO100State * s, uint8_t status) in eepro100_interrupt()
434 static void eepro100_cx_interrupt(EEPRO100State * s) in eepro100_cx_interrupt()
441 static void eepro100_cna_interrupt(EEPRO100State * s) in eepro100_cna_interrupt()
[all …]
/openbmc/qemu/hw/timer/
H A Daspeed_timer.c95 AspeedTimerCtrlState *s = timer_to_ctrl(t); in calculate_rate() local
164 AspeedTimerCtrlState *s = timer_to_ctrl(t); in calculate_next() local
205 AspeedTimerCtrlState *s = timer_to_ctrl(t); in aspeed_timer_expire() local
242 static uint64_t aspeed_timer_read_common(AspeedTimerCtrlState *s, hwaddr offset) in aspeed_timer_read_common()
266 static void aspeed_timer_set_value(AspeedTimerCtrlState *s, int timer, int reg, in aspeed_timer_set_value()
393 static void aspeed_timer_set_ctrl(AspeedTimerCtrlState *s, uint32_t reg) in aspeed_timer_set_ctrl()
429 static void aspeed_timer_set_ctrl2(AspeedTimerCtrlState *s, uint32_t value) in aspeed_timer_set_ctrl2()
434 static void aspeed_timer_write_common(AspeedTimerCtrlState *s, hwaddr offset, in aspeed_timer_write_common()
461 AspeedTimerCtrlState *s = ASPEED_TIMER(opaque); in aspeed_timer_read() local
468 AspeedTimerCtrlState *s = ASPEED_TIMER(opaque); in aspeed_timer_write() local
[all …]
/openbmc/qemu/hw/s390x/
H A Ds390-pci-bus.c55 S390pciState *s = s390_get_phb(); in pci_chsc_sei_nt2_get_event() local
90 S390pciState *s = s390_get_phb(); in pci_chsc_sei_nt2_have_event() local
95 S390PCIBusDevice *s390_pci_find_next_avail_dev(S390pciState *s, in s390_pci_find_next_avail_dev()
108 S390PCIBusDevice *s390_pci_find_dev_by_fid(S390pciState *s, uint32_t fid) in s390_pci_find_dev_by_fid()
221 static S390PCIBusDevice *s390_pci_find_dev_by_uid(S390pciState *s, uint16_t uid) in s390_pci_find_dev_by_uid()
234 S390PCIBusDevice *s390_pci_find_dev_by_target(S390pciState *s, in s390_pci_find_dev_by_target()
252 static S390PCIBusDevice *s390_pci_find_dev_by_pci(S390pciState *s, in s390_pci_find_dev_by_pci()
270 S390PCIBusDevice *s390_pci_find_dev_by_idx(S390pciState *s, uint32_t idx) in s390_pci_find_dev_by_idx()
275 S390PCIBusDevice *s390_pci_find_dev_by_fh(S390pciState *s, uint32_t fh) in s390_pci_find_dev_by_fh()
291 S390pciState *s = s390_get_phb(); in s390_pci_generate_event() local
[all …]

1...<<11121314151617181920>>...74