Home
last modified time | relevance | path

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

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

/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
/openbmc/qemu/hw/misc/
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/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/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/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/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 …]
/openbmc/qemu/hw/scsi/
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/block/
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/audio/
H A Dwm8750.c70 static inline void wm8750_in_load(WM8750State *s) in wm8750_in_load() argument
79 static inline void wm8750_out_flush(WM8750State *s) in wm8750_out_flush()
90 WM8750State *s = (WM8750State *) opaque; in wm8750_audio_in_cb() local
97 WM8750State *s = (WM8750State *) opaque; in wm8750_audio_out_cb() local
144 static void wm8750_vol_update(WM8750State *s) in wm8750_vol_update()
176 static void wm8750_set_format(WM8750State *s) in wm8750_set_format()
243 static void wm8750_clk_update(WM8750State *s, int ext) in wm8750_clk_update()
266 WM8750State *s = WM8750(i2c); in wm8750_reset() local
310 WM8750State *s = WM8750(i2c); in wm8750_event() local
369 WM8750State *s = WM8750(i2c); in wm8750_tx() local
[all …]
/openbmc/phosphor-pid-control/test/
H A Ddbus_passive_unittest.cpp186 const char** s = static_cast<const char**>(p); in TEST_F() local
193 const char** s = static_cast<const char**>(p); in TEST_F() local
224 int64_t* s = static_cast<int64_t*>(p); in TEST_F() local
258 const char** s = static_cast<const char**>(p); in TEST_F() local
265 const char** s = static_cast<const char**>(p); in TEST_F() local
296 int64_t* s = static_cast<int64_t*>(p); in TEST_F() local
327 const char** s = static_cast<const char**>(p); in TEST_F() local
334 const char** s = static_cast<const char**>(p); in TEST_F() local
371 bool* s = static_cast<bool*>(p); in TEST_F() local
402 const char** s = static_cast<const char**>(p); in TEST_F() local
[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/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
H A Dslavio_intctl.c92 SLAVIO_CPUINTCTLState *s = opaque; in slavio_intctl_mem_readl() local
112 SLAVIO_CPUINTCTLState *s = opaque; in slavio_intctl_mem_writel() local
149 SLAVIO_INTCTLState *s = opaque; in slavio_intctlm_mem_readl() local
175 SLAVIO_INTCTLState *s = opaque; in slavio_intctlm_mem_writel() local
220 static void slavio_check_interrupts(SLAVIO_INTCTLState *s, int set_irqs) in slavio_check_interrupts()
290 SLAVIO_INTCTLState *s = opaque; in slavio_set_irq() local
321 SLAVIO_INTCTLState *s = opaque; in slavio_set_timer_irq_cpu() local
345 SLAVIO_INTCTLState *s = opaque; in vmstate_intctl_post_load() local
378 SLAVIO_INTCTLState *s = SLAVIO_INTCTL(d); in slavio_intctl_reset() local
396 SLAVIO_INTCTLState *s = SLAVIO_INTCTL(obj); in slavio_intctl_get_statistics() local
[all …]
/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/qemu/hw/net/
H A Dxilinx_ethlite.c104 static inline void eth_pulse_irq(XlnxXpsEthLite *s) in eth_pulse_irq() argument
117 static void *txbuf_ptr(XlnxXpsEthLite *s, unsigned port_index) in txbuf_ptr()
122 static void *rxbuf_ptr(XlnxXpsEthLite *s, unsigned port_index) in rxbuf_ptr()
129 XlnxXpsEthLite *s = opaque; in port_tx_read() local
153 XlnxXpsEthLite *s = opaque; in port_tx_write() local
207 XlnxXpsEthLite *s = opaque; in port_rx_read() local
225 XlnxXpsEthLite *s = opaque; in port_rx_write() local
259 XlnxXpsEthLite *s = qemu_get_nic_opaque(nc); in eth_can_rx() local
266 XlnxXpsEthLite *s = qemu_get_nic_opaque(nc); in eth_rx() local
296 XlnxXpsEthLite *s = XILINX_ETHLITE(dev); in xilinx_ethlite_reset() local
[all …]

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