Home
last modified time | relevance | path

Searched defs:s (Results 326 – 350 of 1843) sorted by relevance

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

/openbmc/qemu/tests/qtest/libqos/
H A Di2c-imx.c33 static void imx_i2c_set_slave_addr(IMXI2C *s, uint8_t addr, in imx_i2c_set_slave_addr()
43 IMXI2C *s = container_of(i2c, IMXI2C, parent); in imx_i2c_send() local
103 IMXI2C *s = container_of(i2c, IMXI2C, parent); in imx_i2c_recv() local
191 IMXI2C *s = obj; in imx_i2c_get_driver() local
199 void imx_i2c_init(IMXI2C *s, QTestState *qts, uint64_t addr) in imx_i2c_init()
H A Dsdhci.c27 static void set_qsdhci_fields(QSDHCI *s, uint8_t version, uint8_t baseclock, in set_qsdhci_fields()
38 static uint16_t sdhci_mm_readw(QSDHCI *s, uint32_t reg) in sdhci_mm_readw()
44 static uint64_t sdhci_mm_readq(QSDHCI *s, uint32_t reg) in sdhci_mm_readq()
50 static void sdhci_mm_writeq(QSDHCI *s, uint32_t reg, uint64_t val) in sdhci_mm_writeq()
80 static uint16_t sdhci_pci_readw(QSDHCI *s, uint32_t reg) in sdhci_pci_readw()
86 static uint64_t sdhci_pci_readq(QSDHCI *s, uint32_t reg) in sdhci_pci_readq()
92 static void sdhci_pci_writeq(QSDHCI *s, uint32_t reg, uint64_t val) in sdhci_pci_writeq()
/openbmc/qemu/hw/misc/
H A Dstm32f4xx_syscfg.c34 STM32F4xxSyscfgState *s = STM32F4XX_SYSCFG(dev); in stm32f4xx_syscfg_reset() local
47 STM32F4xxSyscfgState *s = opaque; in stm32f4xx_syscfg_set_irq() local
65 STM32F4xxSyscfgState *s = opaque; in stm32f4xx_syscfg_read() local
88 STM32F4xxSyscfgState *s = opaque; in stm32f4xx_syscfg_write() local
124 STM32F4xxSyscfgState *s = STM32F4XX_SYSCFG(obj); in stm32f4xx_syscfg_init() local
H A Dimx7_snvs.c40 static uint64_t imx7_snvs_get_count(IMX7SNVSState *s) in imx7_snvs_get_count()
49 IMX7SNVSState *s = IMX7_SNVS(opaque); in imx7_snvs_read() local
71 IMX7SNVSState *s = IMX7_SNVS(dev); in imx7_snvs_reset() local
81 IMX7SNVSState *s = IMX7_SNVS(opaque); in imx7_snvs_write() local
133 IMX7SNVSState *s = IMX7_SNVS(obj); in imx7_snvs_init() local
H A Dmax78000_gcr.c25 Max78000GcrState *s = MAX78000_GCR(dev); in max78000_gcr_reset_hold() local
50 Max78000GcrState *s = opaque; in max78000_gcr_read() local
118 Max78000GcrState *s = opaque; in max78000_gcr_write() local
311 Max78000GcrState *s = MAX78000_GCR(obj); in max78000_gcr_init() local
321 Max78000GcrState *s = MAX78000_GCR(dev); in max78000_gcr_realize() local
H A Dmsf2-sysreg.c34 MSF2SysregState *s = MSF2_SYSREG(d); in msf2_sysreg_reset() local
45 MSF2SysregState *s = opaque; in msf2_sysreg_read() local
64 MSF2SysregState *s = opaque; in msf2_sysreg_write() local
104 MSF2SysregState *s = MSF2_SYSREG(obj); in msf2_sysreg_init() local
129 MSF2SysregState *s = MSF2_SYSREG(dev); in msf2_sysreg_realize() local
/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 …]
/openbmc/qemu/hw/i386/kvm/
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/net/
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 …]
H A Dmipsnet.c47 static void mipsnet_reset(MIPSnetState *s) in mipsnet_reset() argument
59 static void mipsnet_update_irq(MIPSnetState *s) in mipsnet_update_irq()
66 static int mipsnet_buffer_full(MIPSnetState *s) in mipsnet_buffer_full()
76 MIPSnetState *s = qemu_get_nic_opaque(nc); in mipsnet_can_receive() local
87 MIPSnetState *s = qemu_get_nic_opaque(nc); in mipsnet_receive() local
117 MIPSnetState *s = opaque; in mipsnet_ioport_read() local
166 MIPSnetState *s = opaque; in mipsnet_ioport_write() local
250 MIPSnetState *s = MIPS_NET(dev); in mipsnet_realize() local
265 MIPSnetState *s = MIPS_NET(dev); in mipsnet_sysbus_reset() local
/openbmc/qemu/migration/
H A Dblock-dirty-bitmap.c380 static void send_bitmap_header(QEMUFile *f, DBMSaveState *s, in send_bitmap_header()
409 static void send_bitmap_start(QEMUFile *f, DBMSaveState *s, in send_bitmap_start()
417 static void send_bitmap_complete(QEMUFile *f, DBMSaveState *s, in send_bitmap_complete()
423 static void send_bitmap_bits(QEMUFile *f, DBMSaveState *s, in send_bitmap_bits()
468 static void dirty_bitmap_do_save_cleanup(DBMSaveState *s) in dirty_bitmap_do_save_cleanup()
483 static int add_bitmaps_to_list(DBMSaveState *s, BlockDriverState *bs, in add_bitmaps_to_list()
601 static int init_dirty_bitmap_migration(DBMSaveState *s, Error **errp) in init_dirty_bitmap_migration()
691 static void bulk_phase_send_chunk(QEMUFile *f, DBMSaveState *s, in bulk_phase_send_chunk()
706 static void bulk_phase(QEMUFile *f, DBMSaveState *s, bool limit) in bulk_phase()
725 DBMSaveState *s = &((DBMState *)opaque)->save; in dirty_bitmap_save_cleanup() local
[all …]
/openbmc/qemu/hw/display/
H A Dg364fb.c71 static inline int check_dirty(G364State *s, DirtyBitmapSnapshot *snap, ram_addr_t page) in check_dirty()
76 static void g364fb_draw_graphic8(G364State *s) in g364fb_draw_graphic8()
219 static void g364fb_draw_blank(G364State *s) in g364fb_draw_blank()
243 G364State *s = opaque; in g364fb_update_display() local
269 G364State *s = opaque; in g364fb_invalidate_display() local
275 static void g364fb_reset(G364State *s) in g364fb_reset()
297 G364State *s = opaque; in g364fb_ctrl_read() local
336 static void g364fb_update_depth(G364State *s) in g364fb_update_depth()
342 static void g364_invalidate_cursor_position(G364State *s) in g364_invalidate_cursor_position()
361 G364State *s = opaque; in g364fb_ctrl_write() local
[all …]
/openbmc/qemu/hw/char/
H A Dparallel.c77 static void parallel_update_irq(ParallelState *s) in parallel_update_irq()
88 ParallelState *s = opaque; in parallel_ioport_write_sw() local
126 ParallelState *s = opaque; in parallel_ioport_write_hw() local
204 ParallelState *s = opaque; in parallel_ioport_eppdata_write_hw2() local
229 ParallelState *s = opaque; in parallel_ioport_eppdata_write_hw4() local
253 ParallelState *s = opaque; in parallel_ioport_read_sw() local
289 ParallelState *s = opaque; in parallel_ioport_read_hw() local
363 ParallelState *s = opaque; in parallel_ioport_eppdata_read_hw2() local
391 ParallelState *s = opaque; in parallel_ioport_eppdata_read_hw4() local
433 ParallelState *s = opaque; in parallel_reset() local
[all …]
H A Dbcm2835_aux.c50 static void bcm2835_aux_update(BCM2835AuxState *s) in bcm2835_aux_update()
68 BCM2835AuxState *s = opaque; in bcm2835_aux_read() local
160 BCM2835AuxState *s = opaque; in bcm2835_aux_write() local
222 BCM2835AuxState *s = opaque; in bcm2835_aux_can_receive() local
229 BCM2835AuxState *s = opaque; in bcm2835_aux_put_fifo() local
279 BCM2835AuxState *s = BCM2835_AUX(obj); in bcm2835_aux_init() local
289 BCM2835AuxState *s = BCM2835_AUX(dev); in bcm2835_aux_realize() local
H A Dmchp_pfsoc_mmuart.c34 MchpPfSoCMMUartState *s = opaque; in mchp_pfsoc_mmuart_read() local
49 MchpPfSoCMMUartState *s = opaque; in mchp_pfsoc_mmuart_write() local
74 MchpPfSoCMMUartState *s = MCHP_PFSOC_UART(dev); in mchp_pfsoc_mmuart_reset() local
82 MchpPfSoCMMUartState *s = MCHP_PFSOC_UART(obj); in mchp_pfsoc_mmuart_init() local
90 MchpPfSoCMMUartState *s = MCHP_PFSOC_UART(dev); in mchp_pfsoc_mmuart_realize() local
/openbmc/qemu/hw/audio/
H A Dvia-ac97.c41 #define CODEC_REG(s, o) ((s)->codec_regs[(o) / 2]) argument
44 static void codec_volume_set_out(ViaAC97State *s) in codec_volume_set_out()
59 static void codec_reset(ViaAC97State *s) in codec_reset()
84 static uint16_t codec_read(ViaAC97State *s, uint8_t addr) in codec_read()
89 static void codec_write(ViaAC97State *s, uint8_t addr, uint16_t val) in codec_write()
174 ViaAC97State *s = opaque; in out_cb() local
234 static void open_voice_out(ViaAC97State *s) in open_voice_out()
247 ViaAC97State *s = opaque; in sgd_read() local
297 ViaAC97State *s = opaque; in sgd_write() local
419 ViaAC97State *s = VIA_AC97(dev); in via_ac97_reset() local
[all …]
H A Dlm4549.c68 static void lm4549_reset(lm4549_state *s) in lm4549_reset()
97 static void lm4549_audio_transfer(lm4549_state *s) in lm4549_audio_transfer()
127 lm4549_state *s = (lm4549_state *)opaque; in lm4549_audio_out_callback() local
154 uint32_t lm4549_read(lm4549_state *s, hwaddr offset) in lm4549_read()
168 void lm4549_write(lm4549_state *s, in lm4549_write()
221 uint32_t lm4549_write_samples(lm4549_state *s, uint32_t left, uint32_t right) in lm4549_write_samples()
247 lm4549_state *s = (lm4549_state *)opaque; in lm4549_post_load() local
279 void lm4549_init(lm4549_state *s, lm4549_callback data_req_cb, void* opaque, in lm4549_init()
/openbmc/qemu/hw/gpio/
H A Dbcm2835_gpio.c55 static uint32_t gpfsel_get(BCM2835GpioState *s, uint8_t reg) in gpfsel_get()
68 static void gpfsel_set(BCM2835GpioState *s, uint8_t reg, uint32_t value) in gpfsel_set()
105 static int gpfsel_is_out(BCM2835GpioState *s, int index) in gpfsel_is_out()
113 static void gpset(BCM2835GpioState *s, in gpset()
130 static void gpclr(BCM2835GpioState *s, in gpclr()
150 BCM2835GpioState *s = (BCM2835GpioState *)opaque; in bcm2835_gpio_read() local
203 BCM2835GpioState *s = (BCM2835GpioState *)opaque; in bcm2835_gpio_write() local
261 BCM2835GpioState *s = BCM2835_GPIO(dev); in bcm2835_gpio_reset() local
298 BCM2835GpioState *s = BCM2835_GPIO(obj); in bcm2835_gpio_init() local
312 BCM2835GpioState *s = BCM2835_GPIO(dev); in bcm2835_gpio_realize() local
/openbmc/qemu/hw/misc/macio/
H A Dmacio.c54 static void macio_escc_legacy_setup(MacIOState *s) in macio_escc_legacy_setup()
84 static void macio_bar_setup(MacIOState *s) in macio_bar_setup()
95 MacIOState *s = MACIO(d); in macio_common_realize() local
120 static bool macio_realize_ide(MacIOState *s, MACIOIDEState *ide, in macio_realize_ide()
141 MacIOState *s = MACIO(d); in macio_oldworld_realize() local
196 static void macio_init_ide(MacIOState *s, MACIOIDEState *ide, int index) in macio_init_ide()
209 MacIOState *s = MACIO(obj); in macio_oldworld_init() local
264 MacIOState *s = MACIO(d); in macio_newworld_realize() local
351 MacIOState *s = MACIO(obj); in macio_newworld_init() local
366 MacIOState *s = MACIO(obj); in macio_instance_init() local
/openbmc/u-boot/lib/bzip2/
H A Dbzlib_compress.c77 void BZ2_bsInitWrite ( EState* s ) in BZ2_bsInitWrite()
86 void bsFinishWrite ( EState* s ) in bsFinishWrite()
113 void bsW ( EState* s, Int32 n, UInt32 v ) in bsW()
123 void bsPutUInt32 ( EState* s, UInt32 u ) in bsPutUInt32()
134 void bsPutUChar ( EState* s, UChar c ) in bsPutUChar()
146 void makeMaps_e ( EState* s ) in makeMaps_e()
160 void generateMTFValues ( EState* s ) in generateMTFValues()
279 void sendMTFValues ( EState* s ) in sendMTFValues()
643 void BZ2_compressBlock ( EState* s, Bool is_last_block ) in BZ2_compressBlock()
/openbmc/qemu/hw/dma/
H A Dpl080.c81 static void pl080_update(PL080State *s) in pl080_update()
91 static void pl080_run(PL080State *s) in pl080_run()
220 PL080State *s = (PL080State *)opaque; in pl080_read() local
289 PL080State *s = (PL080State *)opaque; in pl080_write() local
357 PL080State *s = PL080(dev); in pl080_reset() local
382 PL080State *s = PL080(obj); in pl080_init() local
394 PL080State *s = PL080(dev); in pl080_realize() local
406 PL080State *s = PL080(obj); in pl081_init() local
/openbmc/qemu/hw/9pfs/
H A Dcodir.c35 V9fsState *s = pdu->s; in do_readdir() local
76 V9fsState *s = pdu->s; in do_readdir_many() local
236 V9fsState *s = pdu->s; in v9fs_co_telldir() local
254 V9fsState *s = pdu->s; in v9fs_co_seekdir() local
266 V9fsState *s = pdu->s; in v9fs_co_rewinddir() local
283 V9fsState *s = pdu->s; in v9fs_co_mkdir() local
317 V9fsState *s = pdu->s; in v9fs_co_opendir() local
345 V9fsState *s = pdu->s; in v9fs_co_closedir() local
/openbmc/qemu/hw/virtio/
H A Dvdpa-dev.c175 VhostVdpaDevice *s = VHOST_VDPA_DEVICE(vdev); in vhost_vdpa_device_unrealize() local
197 VhostVdpaDevice *s = VHOST_VDPA_DEVICE(vdev); in vhost_vdpa_device_get_config() local
212 VhostVdpaDevice *s = VHOST_VDPA_DEVICE(vdev); in vhost_vdpa_device_set_config() local
227 VhostVdpaDevice *s = VHOST_VDPA_DEVICE(vdev); in vhost_vdpa_device_get_features() local
239 VhostVdpaDevice *s = VHOST_VDPA_DEVICE(vdev); in vhost_vdpa_device_start() local
290 VhostVdpaDevice *s = VHOST_VDPA_DEVICE(vdev); in vhost_vdpa_device_stop() local
317 VhostVdpaDevice *s = VHOST_VDPA_DEVICE(vdev); in vhost_vdpa_device_set_status() local
376 VhostVdpaDevice *s = VHOST_VDPA_DEVICE(obj); in vhost_vdpa_device_instance_init() local
/openbmc/qemu/hw/riscv/
H A Dsifive_e.c78 SiFiveEState *s = RISCV_E_MACHINE(machine); in sifive_e_machine_init() local
127 SiFiveEState *s = RISCV_E_MACHINE(obj); in sifive_e_machine_get_revb() local
134 SiFiveEState *s = RISCV_E_MACHINE(obj); in sifive_e_machine_set_revb() local
141 SiFiveEState *s = RISCV_E_MACHINE(obj); in sifive_e_machine_instance_init() local
182 SiFiveESoCState *s = RISCV_E_SOC(obj); in type_init() local
198 SiFiveESoCState *s = RISCV_E_SOC(dev); in sifive_e_soc_realize() local

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