Home
last modified time | relevance | path

Searched defs:s (Results 351 – 375 of 1843) sorted by relevance

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

/openbmc/qemu/hw/misc/
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/char/
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/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 …]
H A Dscsi-generic.c123 SCSIDevice *s = r->req.dev; in execute_command() local
147 static uint64_t calculate_max_transfer(SCSIDevice *s) in calculate_max_transfer()
159 static int scsi_handle_inquiry_reply(SCSIGenericReq *r, SCSIDevice *s, int len) in scsi_handle_inquiry_reply()
235 static int scsi_generic_emulate_block_limits(SCSIGenericReq *r, SCSIDevice *s) in scsi_generic_emulate_block_limits()
270 SCSIDevice *s = r->req.dev; in scsi_read_complete() local
359 SCSIDevice *s = r->req.dev; in scsi_read_data() local
381 SCSIDevice *s = r->req.dev; in scsi_write_complete() local
407 SCSIDevice *s = r->req.dev; in scsi_write_data() local
456 SCSIDevice *s = r->req.dev; in scsi_send_command() local
562 static void scsi_generic_set_vpd_bl_emulation(SCSIDevice *s) in scsi_generic_set_vpd_bl_emulation()
[all …]
/openbmc/qemu/tests/qtest/
H A Dfuzz-sb16-test.c18 QTestState *s = qtest_init("-M q35 " in test_fuzz_sb16_0x1c() local
30 QTestState *s = qtest_init("-M pc " in test_fuzz_sb16_0x91() local
46 QTestState *s = qtest_init("-M pc " in test_fuzz_sb16_0xd4() local
H A Dfuzz-sdcard-test.c19 QTestState *s; in oss_fuzz_29225() local
62 QTestState *s; in oss_fuzz_36217() local
96 QTestState *s; in oss_fuzz_36391() local
H A Dfuzz-lsi53c895a-test.c19 QTestState *s; in test_lsi_dma_reentrancy() local
47 QTestState *s; in test_lsi_do_msgout_cancel_req() local
122 QTestState *s; in test_lsi_do_dma_empty_queue() local
/openbmc/qemu/hw/net/
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/sd/
H A Dnpcm7xx_sdhci.c27 NPCM7xxSDHCIState *s = opaque; in npcm7xx_sdhci_read() local
54 NPCM7xxSDHCIState *s = opaque; in npcm7xx_sdhci_write() local
102 NPCM7xxSDHCIState *s = NPCM7XX_SDHCI(dev); in npcm7xx_sdhci_realize() local
132 NPCM7xxSDHCIState *s = NPCM7XX_SDHCI(dev); in npcm7xx_sdhci_reset() local
164 NPCM7xxSDHCIState *s = NPCM7XX_SDHCI(obj); in npcm7xx_sdhci_instance_init() local
/openbmc/qemu/hw/adc/
H A Dstm32f2xx_adc.c46 STM32F2XXADCState *s = STM32F2XX_ADC(dev); in stm32f2xx_adc_reset() local
70 static uint32_t stm32f2xx_adc_generate_value(STM32F2XXADCState *s) in stm32f2xx_adc_generate_value()
103 STM32F2XXADCState *s = opaque; in stm32f2xx_adc_read() local
173 STM32F2XXADCState *s = opaque; in stm32f2xx_adc_write() local
278 STM32F2XXADCState *s = STM32F2XX_ADC(obj); in stm32f2xx_adc_init() local
/openbmc/qemu/block/
H A Dblock-copy.c51 BlockCopyState *s; member
90 BlockCopyState *s; member
166 static int64_t block_copy_chunk_size(BlockCopyState *s) in block_copy_chunk_size()
189 block_copy_task_create(BlockCopyState *s, BlockCopyCallState *call_state, in block_copy_task_create()
266 void block_copy_state_free(BlockCopyState *s) in block_copy_state_free()
285 void block_copy_set_copy_opts(BlockCopyState *s, bool use_copy_range, in block_copy_set_copy_opts()
366 BlockCopyState *s; in block_copy_state_new() local
451 void block_copy_set_progress_meter(BlockCopyState *s, ProgressMeter *pm) in block_copy_set_progress_meter()
502 block_copy_do_copy(BlockCopyState *s, int64_t offset, int64_t bytes, in block_copy_do_copy()
584 BlockCopyState *s = t->s; in block_copy_task_entry() local
[all …]
H A Dlinux-aio.c204 static void qemu_laio_process_completions(LinuxAioState *s) in qemu_laio_process_completions()
240 static void qemu_laio_process_completions_and_submit(LinuxAioState *s) in qemu_laio_process_completions_and_submit()
251 LinuxAioState *s = opaque; in qemu_laio_completion_bh() local
258 LinuxAioState *s = container_of(e, LinuxAioState, e); in qemu_laio_completion_cb() local
268 LinuxAioState *s = container_of(e, LinuxAioState, e); in qemu_laio_poll_cb() local
277 LinuxAioState *s = container_of(e, LinuxAioState, e); in qemu_laio_poll_ready() local
290 static void ioq_submit(LinuxAioState *s) in ioq_submit()
344 static uint64_t laio_max_batch(LinuxAioState *s, uint64_t dev_max_batch) in laio_max_batch()
363 LinuxAioState *s = opaque; in laio_deferred_fn() local
374 LinuxAioState *s = laiocb->ctx; in laio_do_submit() local
[all …]
/openbmc/qemu/hw/input/
H A Dlasips2.c131 static void lasips2_update_irq(LASIPS2State *s) in lasips2_update_irq()
141 LASIPS2State *s = LASIPS2(opaque); in lasips2_set_irq() local
266 LASIPS2State *s = LASIPS2(dev); in lasips2_realize() local
290 LASIPS2State *s = LASIPS2(obj); in lasips2_init() local
328 LASIPS2Port *s = LASIPS2_PORT(opaque); in lasips2_port_set_irq() local
335 LASIPS2Port *s = LASIPS2_PORT(dev); in lasips2_port_realize() local
343 LASIPS2Port *s = LASIPS2_PORT(obj); in lasips2_port_init() local
374 LASIPS2KbdPort *s = LASIPS2_KBD_PORT(dev); in lasips2_kbd_port_realize() local
388 LASIPS2KbdPort *s = LASIPS2_KBD_PORT(obj); in lasips2_kbd_port_init() local
424 LASIPS2MousePort *s = LASIPS2_MOUSE_PORT(dev); in lasips2_mouse_port_realize() local
[all …]
/openbmc/qemu/hw/nvram/
H A Dnpcm7xx_otp.c92 void npcm7xx_otp_array_write(NPCM7xxOTPState *s, const void *data, in npcm7xx_otp_array_write()
107 static uint64_t npcm7xx_otp_read(NPCM7xxOTPState *s, NPCM7xxOTPRegister reg) in npcm7xx_otp_read()
135 static void npcm7xx_otp_read_array(NPCM7xxOTPState *s) in npcm7xx_otp_read_array()
144 static void npcm7xx_otp_program_array(NPCM7xxOTPState *s) in npcm7xx_otp_program_array()
176 static void npcm7xx_otp_write(NPCM7xxOTPState *s, NPCM7xxOTPRegister reg, in npcm7xx_otp_write()
258 NPCM7xxOTPState *s = opaque; in npcm7xx_fuse_array_read() local
286 NPCM7xxOTPState *s = opaque; in npcm7xx_fuse_array_write() local
313 NPCM7xxOTPState *s = opaque; in npcm7xx_key_storage_read() local
333 NPCM7xxOTPState *s = opaque; in npcm7xx_key_storage_write() local
362 NPCM7xxOTPState *s = NPCM7XX_OTP(obj); in npcm7xx_otp_enter_reset() local
[all …]
/openbmc/qemu/hw/ppc/
H A Dppc4xx_sdram.c92 GString *s = g_string_new(NULL); in ppc4xx_sdram_banks() local
207 Ppc4xxSdramDdrState *s = opaque; in sdram_ddr_dcr_read() local
274 Ppc4xxSdramDdrState *s = opaque; in sdram_ddr_dcr_write() local
369 Ppc4xxSdramDdrState *s = PPC4xx_SDRAM_DDR(dev); in ppc4xx_sdram_ddr_reset() local
388 Ppc4xxSdramDdrState *s = PPC4xx_SDRAM_DDR(dev); in ppc4xx_sdram_ddr_realize() local
445 void ppc4xx_sdram_ddr_enable(Ppc4xxSdramDdrState *s) in ppc4xx_sdram_ddr_enable()
527 Ppc4xxSdramDdr2State *s = opaque; in sdram_ddr2_dcr_read() local
582 Ppc4xxSdramDdr2State *s = opaque; in sdram_ddr2_dcr_write() local
641 Ppc4xxSdramDdr2State *s = PPC4xx_SDRAM_DDR2(dev); in ppc4xx_sdram_ddr2_reset() local
649 Ppc4xxSdramDdr2State *s = PPC4xx_SDRAM_DDR2(dev); in ppc4xx_sdram_ddr2_realize() local
[all …]
/openbmc/qemu/hw/display/
H A Dati.c52 static void ati_vga_switch_mode(ATIVGAState *s) in ati_vga_switch_mode()
143 static void ati_cursor_define(ATIVGAState *s) in ati_cursor_define()
172 ATIVGAState *s = container_of(vga, ATIVGAState, vga); in ati_cursor_invalidate() local
199 ATIVGAState *s = container_of(vga, ATIVGAState, vga); in ati_cursor_draw_line() local
254 static void ati_vga_update_irq(ATIVGAState *s) in ati_vga_update_irq()
261 ATIVGAState *s = opaque; in ati_vga_vblank_irq() local
281 ATIVGAState *s = opaque; in ati_mm_read() local
536 ATIVGAState *s = opaque; in ati_mm_write() local
953 ATIVGAState *s = ATI_VGA(dev); in ati_vga_realize() local
1025 ATIVGAState *s = ATI_VGA(dev); in ati_vga_reset() local
[all …]
/openbmc/qemu/hw/rtc/
H A Dds1338.c60 static void capture_current_time(DS1338State *s) in capture_current_time()
88 static void inc_regptr(DS1338State *s) in inc_regptr()
102 DS1338State *s = DS1338(i2c); in ds1338_event() local
125 DS1338State *s = DS1338(i2c); in ds1338_recv() local
138 DS1338State *s = DS1338(i2c); in ds1338_send() local
213 DS1338State *s = DS1338(dev); in ds1338_reset() local
/openbmc/qemu/hw/intc/
H A Daspeed_vic.c45 static void aspeed_vic_update(AspeedVICState *s) in aspeed_vic_update()
63 AspeedVICState *s = (AspeedVICState *)opaque; in aspeed_vic_set_irq() local
109 AspeedVICState *s = (AspeedVICState *)opaque; in aspeed_vic_read() local
190 AspeedVICState *s = (AspeedVICState *)opaque; in aspeed_vic_write() local
296 AspeedVICState *s = ASPEED_VIC(dev); in aspeed_vic_reset() local
313 AspeedVICState *s = ASPEED_VIC(dev); in aspeed_vic_realize() local
H A Dpl190.c50 static inline uint32_t pl190_irq_level(PL190State *s) in pl190_irq_level() argument
56 static void pl190_update(PL190State *s) in pl190_update()
69 PL190State *s = (PL190State *)opaque; in pl190_set_irq() local
78 static void pl190_update_vectors(PL190State *s) in pl190_update_vectors()
101 PL190State *s = (PL190State *)opaque; in pl190_read() local
165 PL190State *s = (PL190State *)opaque; in pl190_write() local
231 PL190State *s = PL190(d); in pl190_reset() local
247 PL190State *s = PL190(obj); in pl190_init() local
/openbmc/qemu/hw/gpio/
H A Dnpcm7xx_gpio.c68 static void npcm7xx_gpio_update_events(NPCM7xxGPIOState *s, uint32_t din_diff) in npcm7xx_gpio_update_events()
88 static void npcm7xx_gpio_update_pins(NPCM7xxGPIOState *s, uint32_t diff) in npcm7xx_gpio_update_pins()
152 static bool npcm7xx_gpio_is_locked(NPCM7xxGPIOState *s) in npcm7xx_gpio_is_locked()
161 NPCM7xxGPIOState *s = opaque; in npcm7xx_gpio_regs_read() local
193 NPCM7xxGPIOState *s = opaque; in npcm7xx_gpio_regs_write() local
330 NPCM7xxGPIOState *s = opaque; in npcm7xx_gpio_set_input() local
344 NPCM7xxGPIOState *s = NPCM7XX_GPIO(obj); in npcm7xx_gpio_enter_reset() local
356 NPCM7xxGPIOState *s = NPCM7XX_GPIO(obj); in npcm7xx_gpio_hold_reset() local
363 NPCM7xxGPIOState *s = NPCM7XX_GPIO(obj); in npcm7xx_gpio_init() local
/openbmc/qemu/hw/dma/
H A Dsifive_pdma.c71 static void sifive_pdma_run(SiFivePDMAState *s, int ch) in sifive_pdma_run()
157 static inline void sifive_pdma_update_irq(SiFivePDMAState *s, int ch) in sifive_pdma_update_irq()
179 static uint64_t sifive_pdma_readq(SiFivePDMAState *s, int ch, hwaddr offset) in sifive_pdma_readq()
213 static uint32_t sifive_pdma_readl(SiFivePDMAState *s, int ch, hwaddr offset) in sifive_pdma_readl()
276 SiFivePDMAState *s = opaque; in sifive_pdma_read() local
302 static void sifive_pdma_writeq(SiFivePDMAState *s, int ch, in sifive_pdma_writeq()
329 static void sifive_pdma_writel(SiFivePDMAState *s, int ch, in sifive_pdma_writel()
415 SiFivePDMAState *s = opaque; in sifive_pdma_write() local
455 SiFivePDMAState *s = SIFIVE_PDMA(dev); in sifive_pdma_realize() local
/openbmc/qemu/hw/9pfs/
H A Dvirtio-9p-device.c33 V9fsState *s = pdu->s; in virtio_9p_push_and_notify() local
49 V9fsState *s = &v->state; in handle_9p_output() local
102 V9fsState *s = &v->state; in virtio_9p_get_config() local
123 V9fsState *s = pdu->s; in virtio_pdu_vmarshal() local
141 V9fsState *s = pdu->s; in virtio_pdu_vunmarshal() local
158 V9fsState *s = pdu->s; in virtio_init_in_iov_from_pdu() local
178 V9fsState *s = pdu->s; in virtio_init_out_iov_from_pdu() local
207 V9fsState *s = &v->state; in virtio_9p_device_realize() local
227 V9fsState *s = &v->state; in virtio_9p_device_unrealize() local
/openbmc/qemu/hw/ssi/
H A Dstm32f2xx_spi.c45 STM32F2XXSPIState *s = STM32F2XX_SPI(dev); in stm32f2xx_spi_reset() local
58 static void stm32f2xx_spi_transfer(STM32F2XXSPIState *s) in stm32f2xx_spi_transfer()
71 STM32F2XXSPIState *s = opaque; in stm32f2xx_spi_read() local
119 STM32F2XXSPIState *s = opaque; in stm32f2xx_spi_write() local
193 STM32F2XXSPIState *s = STM32F2XX_SPI(obj); in stm32f2xx_spi_init() local
/openbmc/qemu/hw/pci-host/
H A Dxilinx-pcie.c63 static void xilinx_pcie_update_intr(XilinxPCIEHost *s, in xilinx_pcie_update_intr()
79 static void xilinx_pcie_queue_intr(XilinxPCIEHost *s, in xilinx_pcie_queue_intr()
102 XilinxPCIEHost *s = XILINX_PCIE_HOST(opaque); in xilinx_pcie_set_irq() local
114 XilinxPCIEHost *s = XILINX_PCIE_HOST(dev); in xilinx_pcie_host_realize() local
151 XilinxPCIEHost *s = XILINX_PCIE_HOST(obj); in xilinx_pcie_host_init() local
191 XilinxPCIEHost *s = XILINX_PCIE_HOST(OBJECT(d)->parent); in xilinx_pcie_root_config_read() local
238 XilinxPCIEHost *s = XILINX_PCIE_HOST(OBJECT(d)->parent); in xilinx_pcie_root_config_write() local
274 XilinxPCIEHost *s = XILINX_PCIE_HOST(bus->parent); in xilinx_pcie_root_realize() local
/openbmc/u-boot/lib/
H A Dstring.c225 char * strchr(const char * s, int c) in strchr()
234 const char *strchrnul(const char *s, int c) in strchrnul()
248 char * strrchr(const char * s, int c) in strrchr()
264 size_t strlen(const char * s) in strlen()
280 size_t strnlen(const char * s, size_t count) in strnlen()
297 size_t strcspn(const char *s, const char *reject) in strcspn()
315 char * strdup(const char *s) in strdup()
336 size_t strspn(const char *s, const char *accept) in strspn()
384 char * strtok(char * s,const char * ct) in strtok()
417 char * strsep(char **s, const char *ct) in strsep()
[all …]

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