Home
last modified time | relevance | path

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

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

/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
H A Dsungem.c239 static void sungem_eval_irq(SunGEMState *s) in sungem_eval_irq() argument
252 static void sungem_update_status(SunGEMState *s, uint32_t bits, bool val) in sungem_update_status()
266 static void sungem_eval_cascade_irq(SunGEMState *s) in sungem_eval_cascade_irq()
295 static void sungem_do_tx_csum(SunGEMState *s) in sungem_do_tx_csum()
314 static void sungem_send_packet(SunGEMState *s, const uint8_t *buf, in sungem_send_packet()
326 static void sungem_process_tx_desc(SunGEMState *s, struct gem_txd *desc) in sungem_process_tx_desc()
374 static void sungem_tx_kick(SunGEMState *s) in sungem_tx_kick()
443 static bool sungem_rx_full(SunGEMState *s, uint32_t kick, uint32_t done) in sungem_rx_full()
450 SunGEMState *s = qemu_get_nic_opaque(nc); in sungem_can_receive() local
487 static int sungem_check_rx_mac(SunGEMState *s, const uint8_t *mac, uint32_t crc) in sungem_check_rx_mac()
[all …]
/openbmc/qemu/hw/gpio/
H A Dpcf8574.c52 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
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/intc/
H A Darm_gicv3_its_kvm.c45 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
/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/stubs/
H A Dio_uring.c14 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 Dlinux-aio.c14 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/accel/kvm/
H A Dkvm-all.c234 KVMState *s = KVM_STATE(current_accel()); in kvm_get_max_memslots() local
242 KVMState *s = kvm_state; in kvm_get_free_memslots() local
337 int kvm_physical_memory_addr_from_host(KVMState *s, void *ram, in kvm_physical_memory_addr_from_host()
360 KVMState *s = kvm_state; in kvm_set_user_memory_region() local
429 int kvm_unpark_vcpu(KVMState *s, unsigned long vcpu_id) in kvm_unpark_vcpu()
448 static void kvm_reset_parked_vcpus(KVMState *s) in kvm_reset_parked_vcpus()
466 KVMState *s = kvm_state; in kvm_create_vcpu() local
507 KVMState *s = kvm_state; in do_kvm_destroy_vcpu() local
559 KVMState *s = kvm_state; in kvm_init_vcpu() local
803 static bool kvm_slot_get_dirty_log(KVMState *s, KVMSlot *slot) in kvm_slot_get_dirty_log()
[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
/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/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/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
/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/scsi/
H A Dvirtio-scsi.c75 static inline SCSIDevice *virtio_scsi_device_get(VirtIOSCSI *s, uint8_t *lun) in virtio_scsi_device_get()
86 static void virtio_scsi_init_req(VirtIOSCSI *s, VirtQueue *vq, VirtIOSCSIReq *req) in virtio_scsi_init_req()
108 VirtIOSCSI *s = req->dev; in virtio_scsi_complete_req() local
234 static VirtIOSCSIReq *virtio_scsi_pop_req(VirtIOSCSI *s, VirtQueue *vq, QemuMutex *vq_lock) in virtio_scsi_pop_req()
271 VirtIOSCSI *s = container_of(bus, VirtIOSCSI, bus); in virtio_scsi_load_request() local
342 VirtIOSCSI *s = tmf->dev; in virtio_scsi_do_tmf_aio_context() local
399 static void virtio_scsi_flush_defer_tmf_to_aio_context(VirtIOSCSI *s) in virtio_scsi_flush_defer_tmf_to_aio_context()
458 static int virtio_scsi_do_tmf(VirtIOSCSI *s, VirtIOSCSIReq *req) in virtio_scsi_do_tmf()
621 static void virtio_scsi_handle_ctrl_req(VirtIOSCSI *s, VirtIOSCSIReq *req) in virtio_scsi_handle_ctrl_req()
673 static void virtio_scsi_handle_ctrl_vq(VirtIOSCSI *s, VirtQueue *vq) in virtio_scsi_handle_ctrl_vq()
[all …]
/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