Home
last modified time | relevance | path

Searched defs:s (Results 401 – 425 of 4882) sorted by relevance

1...<<11121314151617181920>>...196

/openbmc/qemu/hw/i2c/
H A Di2c_mux_pca954x.c102 static void pca954x_enable_channel(Pca954xState *s, uint8_t enable_mask) in pca954x_enable_channel()
120 static void pca954x_write(Pca954xState *s, uint8_t data) in pca954x_write()
130 Pca954xState *s = PCA954X(d); in pca954x_write_data() local
153 Pca954xState *s = PCA954X(d); in pca954x_read_byte() local
161 Pca954xState *s = PCA954X(obj); in pca954x_enter_reset() local
177 Pca954xClass *s = PCA954X_CLASS(klass); in pca9546_class_init() local
183 Pca954xClass *s = PCA954X_CLASS(klass); in pca9548_class_init() local
189 Pca954xState *s = PCA954X(dev); in pca954x_realize() local
200 Pca954xState *s = PCA954X(obj); in pca954x_init() local
/openbmc/qemu/hw/intc/
H A Dxlnx-pmu-iomod-intc.c335 static void xlnx_pmu_io_irq_update(XlnxPMUIOIntc *s) in xlnx_pmu_io_irq_update()
349 XlnxPMUIOIntc *s = XLNX_PMU_IO_INTC(reg->opaque); in xlnx_pmu_io_irq_enable_postw() local
356 XlnxPMUIOIntc *s = XLNX_PMU_IO_INTC(reg->opaque); in xlnx_pmu_io_irq_ack_postw() local
431 XlnxPMUIOIntc *s = XLNX_PMU_IO_INTC(opaque); in irq_handler() local
457 XlnxPMUIOIntc *s = XLNX_PMU_IO_INTC(dev); in xlnx_pmu_io_intc_reset() local
486 XlnxPMUIOIntc *s = XLNX_PMU_IO_INTC(dev); in xlnx_pmu_io_intc_realize() local
504 XlnxPMUIOIntc *s = XLNX_PMU_IO_INTC(obj); in xlnx_pmu_io_intc_init() local
H A Dbcm2835_ic.c38 static void bcm2835_ic_update(BCM2835ICState *s) in bcm2835_ic_update()
59 BCM2835ICState *s = opaque; in bcm2835_ic_set_gpu_irq() local
69 BCM2835ICState *s = opaque; in bcm2835_ic_set_arm_irq() local
81 BCM2835ICState *s = opaque; in bcm2835_ic_read() local
139 BCM2835ICState *s = opaque; in bcm2835_ic_write() local
182 BCM2835ICState *s = BCM2835_IC(d); in bcm2835_ic_reset() local
192 BCM2835ICState *s = BCM2835_IC(obj); in bcm2835_ic_init() local
H A Dimx_avic.c52 static inline int imx_avic_prio(IMXAVICState *s, int irq) in imx_avic_prio()
60 static void imx_avic_update(IMXAVICState *s) in imx_avic_update()
92 IMXAVICState *s = (IMXAVICState *)opaque; in imx_avic_set_irq() local
111 IMXAVICState *s = (IMXAVICState *)opaque; in imx_avic_read() local
220 IMXAVICState *s = (IMXAVICState *)opaque; in imx_avic_write() local
318 IMXAVICState *s = IMX_AVIC(dev); in imx_avic_reset() local
331 IMXAVICState *s = IMX_AVIC(obj); in imx_avic_init() 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/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
373 LinuxAioState *s = laiocb->ctx; in laio_do_submit() local
[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/hw/net/
H A Di82596.c133 static void i82596_transmit(I82596State *s, uint32_t addr) in i82596_transmit()
167 static void set_individual_address(I82596State *s, uint32_t addr) in set_individual_address()
180 static void set_multicast_list(I82596State *s, uint32_t addr) in set_multicast_list()
211 static void update_scb_status(I82596State *s) in update_scb_status()
219 static void i82596_s_reset(I82596State *s) in i82596_s_reset()
233 static void command_loop(I82596State *s) in command_loop()
329 I82596State *s = opaque; in i82596_flush_queue_timer() local
338 static void examine_scb(I82596State *s) in examine_scb()
403 static void signal_ca(I82596State *s) in signal_ca()
442 I82596State *s = opaque; in i82596_ioport_writew() local
[all …]
/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/qemu/hw/ssi/
H A Dxilinx_spi.c102 static void txfifo_reset(XilinxSPI *s) in txfifo_reset() argument
110 static void rxfifo_reset(XilinxSPI *s) in rxfifo_reset()
118 static void xlx_spi_update_cs(XilinxSPI *s) in xlx_spi_update_cs()
127 static void xlx_spi_update_irq(XilinxSPI *s) in xlx_spi_update_irq()
151 static void xlx_spi_do_reset(XilinxSPI *s) in xlx_spi_do_reset()
169 static inline int spi_master_enabled(XilinxSPI *s) in spi_master_enabled()
174 static void spi_flush_txfifo(XilinxSPI *s) in spi_flush_txfifo()
207 XilinxSPI *s = opaque; in spi_read() local
245 XilinxSPI *s = opaque; in spi_write() local
329 XilinxSPI *s = XILINX_SPI(dev); in xilinx_spi_realize() local
H A Dxilinx_spips.c216 static inline int num_effective_busses(XilinxSPIPS *s) in num_effective_busses()
222 static void xilinx_spips_update_cs(XilinxSPIPS *s, int field) in xilinx_spips_update_cs()
248 static void xlnx_zynqmp_qspips_update_cs_lines(XlnxZynqMPQSPIPS *s) in xlnx_zynqmp_qspips_update_cs_lines()
289 static void xilinx_spips_update_cs_lines(XilinxSPIPS *s) in xilinx_spips_update_cs_lines()
314 static void xilinx_spips_update_ixr(XilinxSPIPS *s) in xilinx_spips_update_ixr()
334 static void xlnx_zynqmp_qspips_update_ixr(XlnxZynqMPQSPIPS *s) in xlnx_zynqmp_qspips_update_ixr()
367 XilinxSPIPS *s = XILINX_SPIPS(d); in xilinx_spips_reset() local
393 XlnxZynqMPQSPIPS *s = XLNX_ZYNQMP_QSPIPS(d); in xlnx_zynqmp_qspips_reset() local
451 static void xlnx_zynqmp_qspips_flush_fifo_g(XlnxZynqMPQSPIPS *s) in xlnx_zynqmp_qspips_flush_fifo_g()
587 static inline uint8_t get_addr_length(XilinxSPIPS *s, uint8_t cmd) in get_addr_length()
[all …]
/openbmc/linux/arch/x86/boot/
H A Dstring.c80 size_t strnlen(const char *s, size_t maxlen) in strnlen()
91 unsigned int atou(const char *s) in atou()
157 size_t strlen(const char *s) in strlen()
193 char *strchr(const char *s, int c) in strchr()
232 static const char *_parse_integer_fixup_radix(const char *s, unsigned int *base) in _parse_integer_fixup_radix()
256 static unsigned int _parse_integer(const char *s, in _parse_integer()
295 static int _kstrtoull(const char *s, unsigned int base, unsigned long long *res) in _kstrtoull()
331 int kstrtoull(const char *s, unsigned int base, unsigned long long *res) in kstrtoull()
338 static int _kstrtoul(const char *s, unsigned int base, unsigned long *res) in _kstrtoul()
367 int boot_kstrtoul(const char *s, unsigned int base, unsigned long *res) in boot_kstrtoul()
/openbmc/qemu/hw/misc/
H A Dled.c38 void led_set_intensity(LEDState *s, unsigned intensity_percent) in led_set_intensity()
51 unsigned led_get_intensity(LEDState *s) in led_get_intensity()
56 void led_set_state(LEDState *s, bool is_emitting) in led_set_state()
63 LEDState *s = LED(opaque); in led_set_state_gpio_handler() local
71 LEDState *s = LED(dev); in led_reset() local
88 LEDState *s = LED(dev); in led_realize() local
H A Dimx6_src.c88 IMX6SRCState *s = IMX6_SRC(dev); in imx6_src_reset() local
103 IMX6SRCState *s = (IMX6SRCState *)opaque; in imx6_src_read() local
125 IMX6SRCState *s; member
132 IMX6SRCState *s = ri->s; in imx6_clear_reset_bit() local
144 IMX6SRCState *s, in imx6_defer_clear_reset_bit()
165 IMX6SRCState *s = (IMX6SRCState *)opaque; in imx6_src_write() local
282 IMX6SRCState *s = IMX6_SRC(dev); in imx6_src_realize() local
/openbmc/qemu/hw/arm/
H A Dmusicpal.c128 static uint8_t scale_lcd_color(musicpal_lcd_state *s, uint8_t col) in scale_lcd_color() argument
140 static inline void set_lcd_pixel32(musicpal_lcd_state *s, in set_lcd_pixel32()
157 musicpal_lcd_state *s = opaque; in lcd_refresh() local
182 musicpal_lcd_state *s = opaque; in musicpal_lcd_gpio_brightness_in() local
190 musicpal_lcd_state *s = opaque; in musicpal_lcd_read() local
204 musicpal_lcd_state *s = opaque; in musicpal_lcd_write() local
254 musicpal_lcd_state *s = MUSICPAL_LCD(dev); in musicpal_lcd_realize() local
263 musicpal_lcd_state *s = MUSICPAL_LCD(dev); in musicpal_lcd_init() local
324 static void mv88w8618_pic_update(mv88w8618_pic_state *s) in mv88w8618_pic_update() argument
331 mv88w8618_pic_state *s = opaque; in mv88w8618_pic_set_irq() local
[all …]
/openbmc/qemu/hw/xen/
H A Dxen_pt.c144 XenPCIPassthroughState *s = XEN_PT_DEVICE(d); in xen_pt_pci_read_config() local
249 XenPCIPassthroughState *s = XEN_PT_DEVICE(d); in xen_pt_pci_write_config() local
457 static int xen_pt_register_regions(XenPCIPassthroughState *s, uint16_t *cmd) in xen_pt_register_regions()
527 static int xen_pt_bar_from_region(XenPCIPassthroughState *s, MemoryRegion *mr) in xen_pt_bar_from_region()
549 XenPCIPassthroughState *s; member
558 XenPCIPassthroughState *s = arg->s; in xen_pt_check_bar_overlap() local
589 static void xen_pt_region_update(XenPCIPassthroughState *s, in xen_pt_region_update()
657 XenPCIPassthroughState *s = container_of(l, XenPCIPassthroughState, in xen_pt_region_add() local
666 XenPCIPassthroughState *s = container_of(l, XenPCIPassthroughState, in xen_pt_region_del() local
675 XenPCIPassthroughState *s = container_of(l, XenPCIPassthroughState, in xen_pt_io_region_add() local
[all …]
/openbmc/qemu/hw/nvram/
H A Dnrf51_nvm.c173 NRF51NVMState *s = NRF51_NVM(opaque); in uicr_read() local
182 NRF51NVMState *s = NRF51_NVM(opaque); in uicr_write() local
199 NRF51NVMState *s = NRF51_NVM(opaque); in io_read() local
221 NRF51NVMState *s = NRF51_NVM(opaque); in io_write() local
288 NRF51NVMState *s = NRF51_NVM(opaque); in flash_write() local
320 NRF51NVMState *s = NRF51_NVM(obj); in nrf51_nvm_init() local
338 NRF51NVMState *s = NRF51_NVM(dev); in nrf51_nvm_realize() local
351 NRF51NVMState *s = NRF51_NVM(dev); in nrf51_nvm_reset() local
/openbmc/qemu/chardev/
H A Dchar-win.c33 WinChardev *s = WIN_CHARDEV(chr); in win_chr_read() local
64 WinChardev *s = WIN_CHARDEV(opaque); in win_chr_serial_poll() local
78 WinChardev *s = WIN_CHARDEV(chr); in win_chr_serial_init() local
145 WinChardev *s = WIN_CHARDEV(opaque); in win_chr_pipe_poll() local
159 WinChardev *s = WIN_CHARDEV(chr); in win_chr_write() local
195 WinChardev *s = WIN_CHARDEV(chr); in char_win_finalize() local
217 WinChardev *s = WIN_CHARDEV(chr); in win_chr_set_file() local
/openbmc/qemu/backends/
H A Drng-egd.c33 RngEgd *s = RNG_EGD(b); in rng_egd_request_entropy() local
54 RngEgd *s = RNG_EGD(opaque); in rng_egd_chr_can_read() local
67 RngEgd *s = RNG_EGD(opaque); in rng_egd_chr_read() local
89 RngEgd *s = RNG_EGD(b); in rng_egd_opened() local
116 RngEgd *s = RNG_EGD(b); in rng_egd_set_chardev() local
128 RngEgd *s = RNG_EGD(obj); in rng_egd_get_chardev() local
140 RngEgd *s = RNG_EGD(obj); in rng_egd_finalize() local
/openbmc/qemu/hw/usb/
H A Dhcd-ehci.c82 #define SET_LAST_RUN_CLOCK(s) \ argument
184 static inline void ehci_set_usbsts(EHCIState *s, int mask) in ehci_set_usbsts()
193 static inline void ehci_clear_usbsts(EHCIState *s, int mask) in ehci_clear_usbsts()
203 static inline void ehci_update_irq(EHCIState *s) in ehci_update_irq()
216 static inline void ehci_raise_irq(EHCIState *s, int intr) in ehci_raise_irq()
230 static inline void ehci_commit_irq(EHCIState *s) in ehci_commit_irq()
248 static void ehci_update_halt(EHCIState *s) in ehci_update_halt()
259 static void ehci_set_state(EHCIState *s, int async, int state) in ehci_set_state()
282 static int ehci_get_state(EHCIState *s, int async) in ehci_get_state()
287 static void ehci_set_fetch_addr(EHCIState *s, int async, uint32_t addr) in ehci_set_fetch_addr()
[all …]
/openbmc/qemu/hw/riscv/
H A Driscv-iommu.c95 static void riscv_iommu_notify(RISCVIOMMUState *s, int vec_type) in riscv_iommu_notify()
114 static void riscv_iommu_fault(RISCVIOMMUState *s, in riscv_iommu_fault()
150 static void riscv_iommu_pri(RISCVIOMMUState *s, in riscv_iommu_pri()
224 static bool riscv_iommu_msi_check(RISCVIOMMUState *s, RISCVIOMMUContext *ctx, in riscv_iommu_msi_check()
256 static int riscv_iommu_spa_fetch(RISCVIOMMUState *s, RISCVIOMMUContext *ctx, in riscv_iommu_spa_fetch()
495 static void riscv_iommu_report_fault(RISCVIOMMUState *s, in riscv_iommu_report_fault()
535 static MemTxResult riscv_iommu_msi_write(RISCVIOMMUState *s, in riscv_iommu_msi_write()
685 static bool riscv_iommu_validate_device_ctx(RISCVIOMMUState *s, in riscv_iommu_validate_device_ctx()
797 static bool riscv_iommu_validate_process_ctx(RISCVIOMMUState *s, in riscv_iommu_validate_process_ctx()
857 static int riscv_iommu_ctx_fetch(RISCVIOMMUState *s, RISCVIOMMUContext *ctx) in riscv_iommu_ctx_fetch()
[all …]
/openbmc/linux/drivers/comedi/drivers/
H A Dcomedi_test.c108 struct comedi_subdevice *s = dev->read_subdev; in fake_sawtooth() local
140 struct comedi_subdevice *s = dev->read_subdev; in fake_squarewave() local
202 struct comedi_subdevice *s = dev->read_subdev; in waveform_ai_timer() local
254 struct comedi_subdevice *s, in waveform_ai_cmdtest()
355 struct comedi_subdevice *s) in waveform_ai_cmd()
412 struct comedi_subdevice *s) in waveform_ai_cancel()
429 struct comedi_subdevice *s, in waveform_ai_insn_read()
449 struct comedi_subdevice *s = dev->write_subdev; in waveform_ao_timer() local
523 struct comedi_subdevice *s, in waveform_ao_inttrig_start()
547 struct comedi_subdevice *s, in waveform_ao_cmdtest()
[all …]
/openbmc/qemu/hw/char/
H A Dexynos4210_uart.c246 exynos4210_uart_Tx_FIFO_trigger_level(const Exynos4210UartState *s) in exynos4210_uart_Tx_FIFO_trigger_level()
257 exynos4210_uart_Rx_FIFO_trigger_level(const Exynos4210UartState *s) in exynos4210_uart_Rx_FIFO_trigger_level()
271 static void exynos4210_uart_update_dmabusy(Exynos4210UartState *s) in exynos4210_uart_update_dmabusy()
285 static void exynos4210_uart_update_irq(Exynos4210UartState *s) in exynos4210_uart_update_irq()
328 Exynos4210UartState *s = opaque; in exynos4210_uart_timeout_int() local
342 static void exynos4210_uart_update_parameters(Exynos4210UartState *s) in exynos4210_uart_update_parameters()
388 static void exynos4210_uart_rx_timeout_set(Exynos4210UartState *s) in exynos4210_uart_rx_timeout_set()
403 Exynos4210UartState *s = (Exynos4210UartState *)opaque; in exynos4210_uart_write() local
482 Exynos4210UartState *s = (Exynos4210UartState *)opaque; in exynos4210_uart_read() local
555 Exynos4210UartState *s = (Exynos4210UartState *)opaque; in exynos4210_uart_can_receive() local
[all …]
/openbmc/u-boot/lib/bzip2/
H A Dbzlib.c169 void prepare_new_block ( EState* s ) in prepare_new_block()
183 void init_RL ( EState* s ) in init_RL()
191 Bool isempty_RL ( EState* s ) in isempty_RL()
206 EState* s; in BZ_API() local
267 void add_pair_to_block ( EState* s ) in add_pair_to_block()
303 void flush_RL ( EState* s ) in flush_RL()
340 Bool copy_input_until_stop ( EState* s ) in copy_input_until_stop()
385 Bool copy_output_until_stop ( EState* s ) in copy_output_until_stop()
416 EState* s = strm->state; in handle_compress() local
461 EState* s; in BZ_API() local
[all …]

1...<<11121314151617181920>>...196