Home
last modified time | relevance | path

Searched defs:s (Results 476 – 500 of 1843) sorted by relevance

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

/openbmc/qemu/hw/misc/
H A Daspeed_sbc.c65 AspeedSBCState *s = ASPEED_SBC(opaque); in aspeed_sbc_read() local
79 static bool aspeed_sbc_otp_read(AspeedSBCState *s, in aspeed_sbc_otp_read()
141 static bool aspeed_sbc_otp_write(AspeedSBCState *s, in aspeed_sbc_otp_write()
156 static bool aspeed_sbc_otp_prog(AspeedSBCState *s, in aspeed_sbc_otp_prog()
179 AspeedSBCState *s = ASPEED_SBC(opaque); in aspeed_sbc_handle_command() local
218 AspeedSBCState *s = ASPEED_SBC(opaque); in aspeed_sbc_write() local
258 struct AspeedSBCState *s = ASPEED_SBC(dev); in aspeed_sbc_reset() local
279 AspeedSBCState *s = ASPEED_SBC(obj); in aspeed_sbc_instance_init() local
289 AspeedSBCState *s = ASPEED_SBC(dev); in aspeed_sbc_realize() local
H A Dbcm2835_mbox.c96 static void bcm2835_mbox_update(BCM2835MboxState *s) in bcm2835_mbox_update()
135 BCM2835MboxState *s = opaque; in bcm2835_mbox_set_irq() local
149 BCM2835MboxState *s = opaque; in bcm2835_mbox_read() local
198 BCM2835MboxState *s = opaque; in bcm2835_mbox_write() local
284 BCM2835MboxState *s = BCM2835_MBOX(obj); in bcm2835_mbox_init() local
295 BCM2835MboxState *s = BCM2835_MBOX(dev); in bcm2835_mbox_reset() local
308 BCM2835MboxState *s = BCM2835_MBOX(dev); in bcm2835_mbox_realize() local
H A Dexynos4210_rng.c84 static bool exynos4210_rng_seed_ready(const Exynos4210RngState *s) in exynos4210_rng_seed_ready()
92 static void exynos4210_rng_set_seed(Exynos4210RngState *s, unsigned int i, in exynos4210_rng_set_seed()
111 static void exynos4210_rng_run_engine(Exynos4210RngState *s) in exynos4210_rng_run_engine()
146 Exynos4210RngState *s = (Exynos4210RngState *)opaque; in exynos4210_rng_read() local
182 Exynos4210RngState *s = (Exynos4210RngState *)opaque; in exynos4210_rng_write() local
226 Exynos4210RngState *s = EXYNOS4210_RNG(dev); in exynos4210_rng_reset() local
236 Exynos4210RngState *s = EXYNOS4210_RNG(obj); in exynos4210_rng_init() local
H A Dmips_cpc.c79 MIPSCPCState *s = opaque; in cpc_write() local
99 MIPSCPCState *s = opaque; in cpc_read() local
124 MIPSCPCState *s = MIPS_CPC(obj); in mips_cpc_init() local
133 MIPSCPCState *s = MIPS_CPC(dev); in mips_cpc_realize() local
145 MIPSCPCState *s = MIPS_CPC(dev); in mips_cpc_reset() local
H A Dnpcm7xx_mft.c113 static void npcm7xx_mft_reset(NPCM7xxMFTState *s) in npcm7xx_mft_reset()
123 static void npcm7xx_mft_clear_interrupt(NPCM7xxMFTState *s, uint8_t iclr) in npcm7xx_mft_clear_interrupt()
211 static void npcm7xx_mft_capture(NPCM7xxMFTState *s) in npcm7xx_mft_capture()
317 NPCM7xxMFTState *s = NPCM7XX_MFT(opaque); in npcm7xx_mft_update_clock() local
348 NPCM7xxMFTState *s = NPCM7XX_MFT(opaque); in npcm7xx_mft_read() local
369 NPCM7xxMFTState *s = NPCM7XX_MFT(opaque); in npcm7xx_mft_write() local
431 NPCM7xxMFTState *s = NPCM7XX_MFT(obj); in npcm7xx_mft_set_max_rpm() local
445 NPCM7xxMFTState *s = NPCM7XX_MFT(opaque); in npcm7xx_mft_duty_handler() local
466 NPCM7xxMFTState *s = NPCM7XX_MFT(obj); in npcm7xx_mft_enter_reset() local
473 NPCM7xxMFTState *s = NPCM7XX_MFT(obj); in npcm7xx_mft_hold_reset() local
[all …]
/openbmc/qemu/hw/audio/
H A Dadlib.c79 static void adlib_stop_opl_timer (AdlibState *s, size_t n) in adlib_stop_opl_timer() argument
85 static void adlib_kill_timers (AdlibState *s) in adlib_kill_timers()
110 AdlibState *s = opaque; in adlib_write() local
123 AdlibState *s = opaque; in adlib_read() local
132 AdlibState *s = opaque; in timer_handler() local
155 static int write_audio (AdlibState *s, int samples) in write_audio()
188 AdlibState *s = opaque; in adlib_callback() local
232 static void Adlib_fini (AdlibState *s) in Adlib_fini()
255 AdlibState *s = ADLIB(dev); in adlib_realizefn() local
H A Dpl041.c121 static uint8_t pl041_compute_periphid3(PL041State *s) in pl041_compute_periphid3()
156 static void pl041_reset(PL041State *s) in pl041_reset()
170 static void pl041_fifo1_write(PL041State *s, uint32_t value) in pl041_fifo1_write()
253 static void pl041_fifo1_transmit(PL041State *s) in pl041_fifo1_transmit()
305 static void pl041_isr1_update(PL041State *s) in pl041_isr1_update()
334 PL041State *s = (PL041State *)opaque; in pl041_request_data() local
344 PL041State *s = (PL041State *)opaque; in pl041_read() local
378 PL041State *s = (PL041State *)opaque; in pl041_write() local
518 PL041State *s = PL041(d); in pl041_device_reset() local
532 PL041State *s = PL041(dev); in pl041_init() local
[all …]
/openbmc/qemu/hw/usb/
H A Ddev-wacom.c194 USBWacomState *s = opaque; in usb_mouse_event() local
207 USBWacomState *s = opaque; in usb_wacom_event() local
228 static int usb_mouse_poll(USBWacomState *s, uint8_t *buf, int len) in usb_mouse_poll()
266 static int usb_wacom_poll(USBWacomState *s, uint8_t *buf, int len) in usb_wacom_poll()
305 USBWacomState *s = (USBWacomState *) dev; in usb_wacom_handle_reset() local
319 USBWacomState *s = (USBWacomState *) dev; in usb_wacom_handle_control() local
373 USBWacomState *s = (USBWacomState *) dev; in usb_wacom_handle_data() local
401 USBWacomState *s = (USBWacomState *) dev; in usb_wacom_unrealize() local
411 USBWacomState *s = USB_WACOM(dev); in usb_wacom_realize() local
/openbmc/qemu/tests/qtest/
H A Daspeed_gpio-test.c38 QTestState *s = (QTestState *)data; in test_set_colocated_pins() local
56 QTestState *s = (QTestState *)data; in test_set_input_pins() local
77 QTestState *s; in main() local
/openbmc/qemu/hw/ide/
H A Dahci-sysbus.c42 SysbusAHCIState *s = SYSBUS_AHCI(dev); in sysbus_ahci_reset() local
49 SysbusAHCIState *s = SYSBUS_AHCI(obj); in sysbus_ahci_init() local
60 SysbusAHCIState *s = SYSBUS_AHCI(dev); in sysbus_ahci_realize() local
/openbmc/qemu/hw/gpio/
H A Domap_gpio.c57 struct omap_gpio_s *s = &p->omap1; in omap_gpio_set() local
75 struct omap_gpio_s *s = opaque; in omap_gpio_read() local
113 struct omap_gpio_s *s = opaque; in omap_gpio_write() local
182 static void omap_gpio_reset(struct omap_gpio_s *s) in omap_gpio_reset()
195 Omap1GpioState *s = OMAP1_GPIO(dev); in omap_gpif_reset() local
203 Omap1GpioState *s = OMAP1_GPIO(obj); in omap_gpio_init() local
216 Omap1GpioState *s = OMAP1_GPIO(dev); in omap_gpio_realize() local
H A Dgpio_key.c56 GPIOKEYState *s = GPIOKEY(dev); in gpio_key_reset() local
63 GPIOKEYState *s = (GPIOKEYState *)opaque; in gpio_key_timer_expired() local
71 GPIOKEYState *s = (GPIOKEYState *)opaque; in gpio_key_set_irq() local
80 GPIOKEYState *s = GPIOKEY(dev); in gpio_key_realize() local
/openbmc/qemu/hw/pci/
H A Dpci_host.c126 void pci_data_write(PCIBus *s, uint32_t addr, uint32_t val, unsigned len) in pci_data_write()
142 uint32_t pci_data_read(PCIBus *s, uint32_t addr, unsigned len) in pci_data_read()
161 PCIHostState *s = opaque; in pci_host_config_write() local
174 PCIHostState *s = opaque; in pci_host_config_read() local
185 PCIHostState *s = opaque; in pci_host_data_write() local
194 PCIHostState *s = opaque; in pci_host_data_read() local
222 PCIHostState *s = opaque; in pci_host_needed() local
/openbmc/qemu/block/
H A Dqcow2.c104 BDRVQcow2State *s = bs->opaque; in qcow2_crypto_hdr_read_func() local
127 BDRVQcow2State *s = bs->opaque; in qcow2_crypto_hdr_init_func() local
166 BDRVQcow2State *s = bs->opaque; in qcow2_crypto_hdr_write_func() local
209 BDRVQcow2State *s = bs->opaque; in qcow2_read_extensions() local
465 BDRVQcow2State *s = bs->opaque; in cleanup_unknown_header_ext() local
512 BDRVQcow2State *s = bs->opaque; in qcow2_mark_dirty() local
542 BDRVQcow2State *s = bs->opaque; in qcow2_mark_clean() local
564 BDRVQcow2State *s = bs->opaque; in qcow2_mark_corrupt() local
577 BDRVQcow2State *s = bs->opaque; in qcow2_mark_consistent() local
650 BDRVQcow2State *s = bs->opaque; in qcow2_co_check() local
[all …]
H A Damend.c47 BlockdevAmendJob *s = container_of(job, BlockdevAmendJob, common); in blockdev_amend_run() local
59 blockdev_amend_pre_run(BlockdevAmendJob *s, Error **errp) in blockdev_amend_pre_run()
70 BlockdevAmendJob *s = container_of(job, BlockdevAmendJob, common); in blockdev_amend_free() local
95 BlockdevAmendJob *s; in qmp_x_blockdev_amend() local
/openbmc/qemu/hw/net/
H A Dallwinner-sun8i-emac.c243 static void allwinner_sun8i_emac_mii_set_link(AwSun8iEmacState *s, in allwinner_sun8i_emac_mii_set_link()
253 static void allwinner_sun8i_emac_mii_reset(AwSun8iEmacState *s, in allwinner_sun8i_emac_mii_reset()
267 static void allwinner_sun8i_emac_mii_cmd(AwSun8iEmacState *s) in allwinner_sun8i_emac_mii_cmd()
337 static void allwinner_sun8i_emac_update_irq(AwSun8iEmacState *s) in allwinner_sun8i_emac_update_irq()
349 static void allwinner_sun8i_emac_get_desc(AwSun8iEmacState *s, in allwinner_sun8i_emac_get_desc()
362 static uint32_t allwinner_sun8i_emac_next_desc(AwSun8iEmacState *s, in allwinner_sun8i_emac_next_desc()
370 static uint32_t allwinner_sun8i_emac_find_desc(AwSun8iEmacState *s, in allwinner_sun8i_emac_find_desc()
393 static uint32_t allwinner_sun8i_emac_rx_desc(AwSun8iEmacState *s, in allwinner_sun8i_emac_rx_desc()
400 static uint32_t allwinner_sun8i_emac_tx_desc(AwSun8iEmacState *s, in allwinner_sun8i_emac_tx_desc()
407 static void allwinner_sun8i_emac_flush_desc(AwSun8iEmacState *s, in allwinner_sun8i_emac_flush_desc()
[all …]
/openbmc/qemu/hw/display/
H A Dbochs-display.c75 BochsDisplayState *s = ptr; in bochs_display_vbe_read() local
94 BochsDisplayState *s = ptr; in bochs_display_vbe_write() local
116 BochsDisplayState *s = ptr; in bochs_display_qext_read() local
132 BochsDisplayState *s = ptr; in bochs_display_qext_write() local
154 static int bochs_display_get_mode(BochsDisplayState *s, in bochs_display_get_mode()
203 BochsDisplayState *s = opaque; in bochs_display_update() local
266 BochsDisplayState *s = BOCHS_DISPLAY(dev); in bochs_display_realize() local
316 BochsDisplayState *s = BOCHS_DISPLAY(obj); in bochs_display_get_big_endian_fb() local
324 BochsDisplayState *s = BOCHS_DISPLAY(obj); in bochs_display_set_big_endian_fb() local
343 BochsDisplayState *s = BOCHS_DISPLAY(dev); in bochs_display_exit() local
H A Dvga-pci.c74 VGACommonState *s = ptr; in pci_vga_ioport_read() local
92 VGACommonState *s = ptr; in pci_vga_ioport_write() local
123 VGACommonState *s = ptr; in pci_vga_bochs_read() local
133 VGACommonState *s = ptr; in pci_vga_bochs_write() local
152 VGACommonState *s = ptr; in pci_vga_qext_read() local
168 VGACommonState *s = ptr; in pci_vga_qext_write() local
204 void pci_std_vga_mmio_region_init(VGACommonState *s, in pci_std_vga_mmio_region_init()
239 VGACommonState *s = &d->vga; in pci_std_vga_realize() local
277 VGACommonState *s = &d->vga; in pci_secondary_vga_realize() local
307 VGACommonState *s = &d->vga; in pci_secondary_vga_exit() local
H A Domap_lcdc.c53 static void omap_lcd_interrupts(struct omap_lcd_panel_s *s) in omap_lcd_interrupts()
76 static void draw_line2_32(void *opaque, uint8_t *d, const uint8_t *s, in draw_line2_32()
115 static void draw_line4_32(void *opaque, uint8_t *d, const uint8_t *s, in draw_line4_32()
142 static void draw_line8_32(void *opaque, uint8_t *d, const uint8_t *s, in draw_line8_32()
162 static void draw_line12_32(void *opaque, uint8_t *d, const uint8_t *s, in draw_line12_32()
182 static void draw_line16_32(void *opaque, uint8_t *d, const uint8_t *s, in draw_line16_32()
332 static void omap_lcd_update(struct omap_lcd_panel_s *s) { in omap_lcd_update()
381 struct omap_lcd_panel_s *s = opaque; in omap_lcdc_read() local
414 struct omap_lcd_panel_s *s = opaque; in omap_lcdc_write() local
461 void omap_lcdc_reset(struct omap_lcd_panel_s *s) in omap_lcdc_reset()
[all …]
/openbmc/qemu/hw/watchdog/
H A Dwdt_aspeed.c60 static bool aspeed_wdt_is_soc_reset_mode(const AspeedWDTState *s) in aspeed_wdt_is_soc_reset_mode()
68 static bool aspeed_wdt_is_enabled(const AspeedWDTState *s) in aspeed_wdt_is_enabled()
75 AspeedWDTState *s = ASPEED_WDT(opaque); in aspeed_wdt_read() local
116 static void aspeed_wdt_reload(AspeedWDTState *s) in aspeed_wdt_reload()
132 static void aspeed_wdt_reload_1mhz(AspeedWDTState *s) in aspeed_wdt_reload_1mhz()
159 AspeedWDTState *s = ASPEED_WDT(opaque); in aspeed_wdt_write() local
252 AspeedWDTState *s = ASPEED_WDT(dev); in aspeed_wdt_reset() local
266 AspeedWDTState *s = ASPEED_WDT(dev); in aspeed_wdt_timer_expired() local
287 AspeedWDTState *s = ASPEED_WDT(dev); in aspeed_wdt_realize() local
354 static void aspeed_2500_wdt_reset_pulse(AspeedWDTState *s, uint32_t property) in aspeed_2500_wdt_reset_pulse()
/openbmc/qemu/hw/tpm/
H A Dtpm_tis_isa.c73 TPMState *s = &isadev->state; in tpm_tis_isa_request_completed() local
81 TPMState *s = &isadev->state; in tpm_tis_isa_get_tpm_version() local
89 TPMState *s = &isadev->state; in tpm_tis_isa_reset() local
103 TPMState *s = &isadev->state; in tpm_tis_isa_initfn() local
113 TPMState *s = &isadev->state; in tpm_tis_isa_realizefn() local
/openbmc/qemu/hw/fsi/
H A Dfsi-master.c39 FSIMasterState *s = FSI_MASTER(opaque); in fsi_master_read() local
57 FSIMasterState *s = FSI_MASTER(opaque); in fsi_master_write() local
113 FSIMasterState *s = FSI_MASTER(o); in fsi_master_init() local
126 FSIMasterState *s = FSI_MASTER(dev); in fsi_master_realize() local
138 FSIMasterState *s = FSI_MASTER(dev); in fsi_master_reset() local
/openbmc/qemu/hw/sd/
H A Dpl181.c135 static void pl181_update(PL181State *s) in pl181_update()
143 static void pl181_fifo_push(PL181State *s, uint32_t value) in pl181_fifo_push()
157 static uint32_t pl181_fifo_pop(PL181State *s) in pl181_fifo_pop()
172 static void pl181_do_command(PL181State *s) in pl181_do_command()
212 static void pl181_fifo_run(PL181State *s) in pl181_fifo_run()
293 PL181State *s = (PL181State *)opaque; in pl181_read() local
377 PL181State *s = (PL181State *)opaque; in pl181_write() local
454 PL181State *s = (PL181State *)dev; in pl181_set_readonly() local
461 PL181State *s = (PL181State *)dev; in pl181_set_inserted() local
468 PL181State *s = PL181(d); in pl181_reset() local
[all …]
/openbmc/qemu/hw/ssi/
H A Dallwinner-a10-spi.c168 static bool allwinner_a10_spi_is_enabled(AWA10SPIState *s) in allwinner_a10_spi_is_enabled()
173 static void allwinner_a10_spi_txfifo_reset(AWA10SPIState *s) in allwinner_a10_spi_txfifo_reset()
181 static void allwinner_a10_spi_rxfifo_reset(AWA10SPIState *s) in allwinner_a10_spi_rxfifo_reset()
189 static uint8_t allwinner_a10_spi_selected_channel(AWA10SPIState *s) in allwinner_a10_spi_selected_channel()
196 AWA10SPIState *s = AW_A10_SPI(obj); in allwinner_a10_spi_reset_hold() local
214 static void allwinner_a10_spi_update_irq(AWA10SPIState *s) in allwinner_a10_spi_update_irq()
286 static void allwinner_a10_spi_flush_txfifo(AWA10SPIState *s) in allwinner_a10_spi_flush_txfifo()
348 AWA10SPIState *s = opaque; in allwinner_a10_spi_read() local
406 static bool allwinner_a10_spi_update_cs_level(AWA10SPIState *s, int cs_line_nr) in allwinner_a10_spi_update_cs_level()
418 AWA10SPIState *s = opaque; in allwinner_a10_spi_write() local
[all …]
/openbmc/qemu/ui/
H A Dconsole-vc.c155 static void vga_putcharxy(QemuConsole *s, int x, int y, int ch, in vga_putcharxy()
178 static void invalidate_xy(QemuTextConsole *s, int x, int y) in invalidate_xy()
193 static void console_show_cursor(QemuTextConsole *s, int show) in console_show_cursor()
222 static void console_refresh(QemuTextConsole *s) in console_refresh()
254 static void console_scroll(QemuTextConsole *s, int ydelta) in console_scroll()
283 static void kbd_send_chars(QemuTextConsole *s) in kbd_send_chars()
301 void qemu_text_console_handle_keysym(QemuTextConsole *s, int keysym) in qemu_text_console_handle_keysym()
353 QemuTextConsole *s = QEMU_TEXT_CONSOLE(opaque); in text_console_update() local
382 QemuConsole *s = QEMU_CONSOLE(t); in text_console_resize() local
421 QemuTextConsole *s = vc->console; in vc_put_lf() local
[all …]

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