/openbmc/qemu/tests/qtest/ |
H A D | am53c974-test.c | 17 QTestState *s = qtest_init( in test_cmdfifo_underflow_ok() local 34 QTestState *s = qtest_init( in test_cmdfifo_underflow2_ok() local 82 QTestState *s = qtest_init( in test_cmdfifo_overflow_ok() local 99 QTestState *s = qtest_init( in test_cmdfifo_overflow2_ok() local 115 QTestState *s = qtest_init( in test_fifo_pop_buf() local 137 QTestState *s = qtest_init( in test_target_selected_ok() local 155 QTestState *s = qtest_init( in test_fifo_underflow_on_write_ok() local 172 QTestState *s = qtest_init( in test_cancelled_request_ok() local 194 QTestState *s = qtest_init( in test_inflight_cancel_ok() local 228 QTestState *s = qtest_init( in test_reset_before_transfer_ok() local
|
/openbmc/qemu/hw/i386/ |
H A D | intel_iommu.c | 191 static void vtd_update_iq_dw(IntelIOMMUState *s) in vtd_update_iq_dw() 310 static void vtd_reset_iotlb(IntelIOMMUState *s) in vtd_reset_iotlb() 317 static void vtd_reset_caches(IntelIOMMUState *s) in vtd_reset_caches() 1561 IntelIOMMUState *s = vtd_as->iommu_state; in vtd_sync_shadow_page_table_range() local 1643 IntelIOMMUState *s; in vtd_as_pt_enabled() local 1868 IntelIOMMUState *s = vtd_as->iommu_state; in vtd_do_iommu_translate() local 2889 IntelIOMMUState *s = opaque; in vtd_mem_read() local 2941 IntelIOMMUState *s = opaque; in vtd_mem_write() local 3821 IntelIOMMUState *s = as->iommu_state; in vtd_address_space_unmap() local 3940 static void vtd_init(IntelIOMMUState *s) in vtd_init() [all …]
|
/openbmc/qemu/hw/timer/ |
H A D | imx_gpt.c | 265 IMXGPTState *s = IMX_GPT(opaque); in imx_gpt_read() local 371 IMXGPTState *s = IMX_GPT(dev); in imx_gpt_soft_reset() local 377 IMXGPTState *s = IMX_GPT(dev); in imx_gpt_reset() local 384 IMXGPTState *s = IMX_GPT(opaque); in imx_gpt_write() local 486 IMXGPTState *s = IMX_GPT(opaque); in imx_gpt_timeout() local 511 IMXGPTState *s = IMX_GPT(dev); in imx_gpt_realize() local 534 IMXGPTState *s = IMX_GPT(obj); in imx25_gpt_init() local 541 IMXGPTState *s = IMX_GPT(obj); in imx31_gpt_init() local 548 IMXGPTState *s = IMX_GPT(obj); in imx6_gpt_init() local 555 IMXGPTState *s = IMX_GPT(obj); in imx6ul_gpt_init() local [all …]
|
H A D | sse-counter.c | 100 static void sse_counter_notify_users(SSECounter *s) in sse_counter_notify_users() 109 static bool sse_counter_enabled(SSECounter *s) in sse_counter_enabled() 114 uint64_t sse_counter_tick_to_time(SSECounter *s, uint64_t tick) in sse_counter_tick_to_time() 168 static uint64_t sse_cntcv(SSECounter *s) in sse_cntcv() 192 SSECounter *s = SSE_COUNTER(opaque); in sse_counter_control_read() local 248 SSECounter *s = SSE_COUNTER(opaque); in sse_counter_control_write() local 314 SSECounter *s = SSE_COUNTER(opaque); in sse_counter_status_read() local 378 SSECounter *s = SSE_COUNTER(dev); in sse_counter_reset() local 390 SSECounter *s = SSE_COUNTER(opaque); in sse_clk_callback() local 417 SSECounter *s = SSE_COUNTER(obj); in sse_counter_init() local [all …]
|
/openbmc/qemu/target/i386/tcg/ |
H A D | translate.c | 576 static int cur_insn_len(DisasContext *s) in cur_insn_len() 610 static TCGv eip_next_tl(DisasContext *s) in eip_next_tl() 624 static TCGv eip_cur_tl(DisasContext *s) in eip_cur_tl() 1451 static bool check_cpl0(DisasContext *s) in check_cpl0() 1471 static bool check_iopl(DisasContext *s) in check_iopl() 2575 static MemOp gen_pop_T0(DisasContext *s) in gen_pop_T0() 2595 static void gen_pusha(DisasContext *s) in gen_pusha() 2611 static void gen_popa(DisasContext *s) in gen_popa() 2672 static void gen_leave(DisasContext *s) in gen_leave() 2818 static void gen_eob(DisasContext *s) in gen_eob() [all …]
|
/openbmc/qemu/hw/sensor/ |
H A D | tmp105.c | 86 TMP105State *s = TMP105(obj); in tmp105_get_temperature() local 98 TMP105State *s = TMP105(obj); in tmp105_set_temperature() local 117 static void tmp105_read(TMP105State *s) in tmp105_read() 149 static void tmp105_write(TMP105State *s) in tmp105_write() 175 TMP105State *s = TMP105(i2c); in tmp105_rx() local 186 TMP105State *s = TMP105(i2c); in tmp105_tx() local 204 TMP105State *s = TMP105(i2c); in tmp105_event() local 216 TMP105State *s = opaque; in tmp105_post_load() local 226 TMP105State *s = opaque; in detect_falling_needed() local 271 TMP105State *s = TMP105(i2c); in tmp105_reset() local [all …]
|
/openbmc/qemu/hw/char/ |
H A D | cmsdk-apb-uart.c | 72 static bool uart_baudrate_ok(CMSDKAPBUART *s) in uart_baudrate_ok() 98 static void cmsdk_apb_uart_update(CMSDKAPBUART *s) in cmsdk_apb_uart_update() 117 CMSDKAPBUART *s = CMSDK_APB_UART(opaque); in uart_can_receive() local 128 CMSDKAPBUART *s = CMSDK_APB_UART(opaque); in uart_receive() local 156 CMSDKAPBUART *s = CMSDK_APB_UART(opaque); in uart_read() local 196 CMSDKAPBUART *s = CMSDK_APB_UART(opaque); in uart_transmit() local 244 CMSDKAPBUART *s = CMSDK_APB_UART(opaque); in uart_write() local 309 CMSDKAPBUART *s = CMSDK_APB_UART(dev); in cmsdk_apb_uart_reset() local 324 CMSDKAPBUART *s = CMSDK_APB_UART(obj); in cmsdk_apb_uart_init() local 337 CMSDKAPBUART *s = CMSDK_APB_UART(dev); in cmsdk_apb_uart_realize() local [all …]
|
H A D | ibex_uart.c | 106 IbexUartState *s = opaque; in ibex_uart_can_receive() local 118 IbexUartState *s = opaque; in ibex_uart_receive() local 142 IbexUartState *s = opaque; in ibex_uart_xmit() local 232 IbexUartState *s = IBEX_UART(dev); in ibex_uart_reset() local 268 IbexUartState *s = opaque; in ibex_uart_read() local 348 IbexUartState *s = opaque; in ibex_uart_write() local 453 IbexUartState *s = opaque; in ibex_uart_clk_update() local 463 IbexUartState *s = opaque; in fifo_trigger_update() local 480 IbexUartState *s = opaque; in ibex_uart_post_load() local 518 IbexUartState *s = IBEX_UART(obj); in ibex_uart_init() local [all …]
|
/openbmc/qemu/hw/misc/ |
H A D | ivshmem.c | 175 IVShmemState *s = opaque; in ivshmem_io_write() local 218 IVShmemState *s = opaque; in ivshmem_io_read() local 257 IVShmemState *s = IVSHMEM_COMMON(pdev); in ivshmem_vector_notify() local 278 IVShmemState *s = IVSHMEM_COMMON(dev); in ivshmem_vector_unmask() local 307 IVShmemState *s = IVSHMEM_COMMON(dev); in ivshmem_vector_mask() local 331 IVShmemState *s = IVSHMEM_COMMON(dev); in ivshmem_vector_poll() local 580 IVShmemState *s = opaque; in ivshmem_can_receive() local 588 IVShmemState *s = opaque; in ivshmem_read() local 720 IVShmemState *s = IVSHMEM_COMMON(d); in ivshmem_reset() local 963 IVShmemState *s = opaque; in ivshmem_pre_load() local [all …]
|
/openbmc/qemu/hw/net/ |
H A D | dp8393x.c | 150 static uint32_t dp8393x_cdp(dp8393xState *s) in dp8393x_cdp() 171 static uint32_t dp8393x_rrp(dp8393xState *s) in dp8393x_rrp() 176 static uint32_t dp8393x_tsa(dp8393xState *s) in dp8393x_tsa() 187 static uint32_t dp8393x_wt(dp8393xState *s) in dp8393x_wt() 216 static void dp8393x_put(dp8393xState *s, in dp8393x_put() 535 dp8393xState *s = opaque; in dp8393x_read() local 567 dp8393xState *s = opaque; in dp8393x_write() local 664 dp8393xState *s = opaque; in dp8393x_watchdog() local 866 dp8393xState *s = DP8393X(dev); in dp8393x_reset() local 901 dp8393xState *s = DP8393X(obj); in dp8393x_instance_init() local [all …]
|
/openbmc/qemu/net/ |
H A D | filter-mirror.c | 47 MirrorState *s; member 54 static int _filter_send(MirrorState *s, in _filter_send() 106 static int filter_send(MirrorState *s, in filter_send() 198 MirrorState *s = FILTER_MIRROR(nf); in filter_mirror_receive_iov() local 236 MirrorState *s = FILTER_MIRROR(nf); in filter_mirror_cleanup() local 251 MirrorState *s = FILTER_MIRROR(nf); in filter_mirror_setup() local 346 MirrorState *s = FILTER_MIRROR(obj); in filter_mirror_get_outdev() local 355 MirrorState *s = FILTER_MIRROR(obj); in filter_mirror_set_outdev() local 368 MirrorState *s = FILTER_MIRROR(obj); in filter_mirror_get_vnet_hdr() local 375 MirrorState *s = FILTER_MIRROR(obj); in filter_mirror_set_vnet_hdr() local [all …]
|
/openbmc/qemu/target/arm/tcg/ |
H A D | translate.c | 154 void arm_gen_condlabel(DisasContext *s) in arm_gen_condlabel() 394 void clear_eci_state(DisasContext *s) in clear_eci_state() 739 void gen_set_condexec(DisasContext *s) in gen_set_condexec() 1038 static inline void gen_smc(DisasContext *s) in gen_smc() 1115 void unallocated_encoding(DisasContext *s) in unallocated_encoding() 1122 void gen_lookup_tb(DisasContext *s) in gen_lookup_tb() 4887 static void gen_clrex(DisasContext *s) in gen_clrex() 4967 static void gen_srs(DisasContext *s, in gen_srs() 5129 static int t16_setflags(DisasContext *s) in t16_setflags() 5153 static bool valid_cp(DisasContext *s, int cp) in valid_cp() [all …]
|
/openbmc/linux/drivers/media/pci/ivtv/ |
H A D | ivtv-irq.c | 246 static void dma_post(struct ivtv_stream *s) in dma_post() 447 static void ivtv_dma_enc_start(struct ivtv_stream *s) in ivtv_dma_enc_start() 508 static void ivtv_dma_dec_start(struct ivtv_stream *s) in ivtv_dma_dec_start() 529 struct ivtv_stream *s = NULL; in ivtv_irq_dma_read() local 595 struct ivtv_stream *s; in ivtv_irq_enc_dma_complete() local 643 struct ivtv_stream *s; in ivtv_irq_enc_pio_complete() local 745 struct ivtv_stream *s; in ivtv_irq_enc_start_cap() local 765 struct ivtv_stream *s; in ivtv_irq_enc_vbi_cap() local 789 struct ivtv_stream *s; in ivtv_irq_dec_data_req() local 1022 struct ivtv_stream *s = &itv->streams[idx]; in ivtv_irq_handler() local [all …]
|
H A D | ivtv-queue.h | 18 static inline int ivtv_might_use_pio(struct ivtv_stream *s) in ivtv_might_use_pio() 23 static inline int ivtv_use_pio(struct ivtv_stream *s) in ivtv_use_pio() 31 static inline int ivtv_might_use_dma(struct ivtv_stream *s) in ivtv_might_use_dma() 36 static inline int ivtv_use_dma(struct ivtv_stream *s) in ivtv_use_dma() 41 static inline void ivtv_buf_sync_for_cpu(struct ivtv_stream *s, struct ivtv_buffer *buf) in ivtv_buf_sync_for_cpu() 48 static inline void ivtv_buf_sync_for_device(struct ivtv_stream *s, struct ivtv_buffer *buf) in ivtv_buf_sync_for_device() 71 static inline void ivtv_stream_sync_for_cpu(struct ivtv_stream *s) in ivtv_stream_sync_for_cpu() 79 static inline void ivtv_stream_sync_for_device(struct ivtv_stream *s) in ivtv_stream_sync_for_device()
|
/openbmc/qemu/hw/tpm/ |
H A D | tpm_tis_common.c | 86 static void tpm_tis_tpm_send(TPMState *s, uint8_t locty) in tpm_tis_tpm_send() 179 static void tpm_tis_abort(TPMState *s) in tpm_tis_abort() 235 void tpm_tis_request_completed(TPMState *s, int ret) in tpm_tis_request_completed() 267 static uint32_t tpm_tis_data_read(TPMState *s, uint8_t locty) in tpm_tis_data_read() 289 static void tpm_tis_dump_state(TPMState *s, hwaddr addr) in tpm_tis_dump_state() 338 TPMState *s = opaque; in tpm_tis_mmio_read() local 464 uint16_t tpm_tis_get_checksum(TPMState *s) in tpm_tis_get_checksum() 476 TPMState *s = opaque; in tpm_tis_mmio_write() local 803 enum TPMVersion tpm_tis_get_tpm_version(TPMState *s) in tpm_tis_get_tpm_version() 816 void tpm_tis_reset(TPMState *s) in tpm_tis_reset() [all …]
|
/openbmc/linux/lib/ |
H A D | kstrtox.c | 26 const char *_parse_integer_fixup_radix(const char *s, unsigned int *base) in _parse_integer_fixup_radix() 156 int kstrtoll(const char *s, unsigned int base, long long *res) in kstrtoll() 181 int _kstrtoul(const char *s, unsigned int base, unsigned long *res) in _kstrtoul() 197 int _kstrtol(const char *s, unsigned int base, long *res) in _kstrtol() 228 int kstrtouint(const char *s, unsigned int base, unsigned int *res) in kstrtouint() 259 int kstrtoint(const char *s, unsigned int base, int *res) in kstrtoint() 275 int kstrtou16(const char *s, unsigned int base, u16 *res) in kstrtou16() 291 int kstrtos16(const char *s, unsigned int base, s16 *res) in kstrtos16() 307 int kstrtou8(const char *s, unsigned int base, u8 *res) in kstrtou8() 323 int kstrtos8(const char *s, unsigned int base, s8 *res) in kstrtos8() [all …]
|
/openbmc/qemu/hw/arm/ |
H A D | omap1.c | 1387 struct dpll_ctl_s *s = opaque; in omap_dpll_read() local 1403 struct dpll_ctl_s *s = opaque; in omap_dpll_write() local 2355 struct omap_pwl_s *s = opaque; in omap_pwl_read() local 2375 struct omap_pwl_s *s = opaque; in omap_pwl_write() local 2415 struct omap_pwl_s *s = opaque; in omap_pwl_clk_update() local 2448 struct omap_pwt_s *s = opaque; in omap_pwt_read() local 2470 struct omap_pwt_s *s = opaque; in omap_pwt_write() local 2579 struct omap_rtc_s *s = opaque; in omap_rtc_read() local 2661 struct omap_rtc_s *s = opaque; in omap_rtc_write() local 2859 struct omap_rtc_s *s = opaque; in omap_rtc_tick() local [all …]
|
/openbmc/linux/include/linux/ |
H A D | kstrtox.h | 30 static inline int __must_check kstrtoul(const char *s, unsigned int base, unsigned long *res) in kstrtoul() 58 static inline int __must_check kstrtol(const char *s, unsigned int base, long *res) in kstrtol() 74 static inline int __must_check kstrtou64(const char *s, unsigned int base, u64 *res) in kstrtou64() 79 static inline int __must_check kstrtos64(const char *s, unsigned int base, s64 *res) in kstrtos64() 84 static inline int __must_check kstrtou32(const char *s, unsigned int base, u32 *res) in kstrtou32() 89 static inline int __must_check kstrtos32(const char *s, unsigned int base, s32 *res) in kstrtos32() 112 static inline int __must_check kstrtou64_from_user(const char __user *s, size_t count, unsigned int… in kstrtou64_from_user() 117 static inline int __must_check kstrtos64_from_user(const char __user *s, size_t count, unsigned int… in kstrtos64_from_user() 122 static inline int __must_check kstrtou32_from_user(const char __user *s, size_t count, unsigned int… in kstrtou32_from_user() 127 static inline int __must_check kstrtos32_from_user(const char __user *s, size_t count, unsigned int… in kstrtos32_from_user() [all …]
|
H A D | seq_buf.h | 26 static inline void seq_buf_clear(struct seq_buf *s) in seq_buf_clear() 33 seq_buf_init(struct seq_buf *s, char *buf, unsigned int size) in seq_buf_init() 45 seq_buf_has_overflowed(struct seq_buf *s) in seq_buf_has_overflowed() 51 seq_buf_set_overflow(struct seq_buf *s) in seq_buf_set_overflow() 60 seq_buf_buffer_left(struct seq_buf *s) in seq_buf_buffer_left() 69 static inline unsigned int seq_buf_used(struct seq_buf *s) in seq_buf_used() 88 static inline void seq_buf_terminate(struct seq_buf *s) in seq_buf_terminate() 107 static inline size_t seq_buf_get_buf(struct seq_buf *s, char **bufp) in seq_buf_get_buf() 129 static inline void seq_buf_commit(struct seq_buf *s, int num) in seq_buf_commit()
|
/openbmc/linux/drivers/usb/host/ |
H A D | octeon-hcd.h | 157 } s; member 227 } s; member 316 } s; member 546 } s; member 573 } s; member 626 } s; member 754 } s; member 778 } s; member 824 } s; member 913 } s; member [all …]
|
/openbmc/qemu/hw/intc/ |
H A D | arm_gicv3_dist.c | 34 static uint32_t mask_nsacr_ge1(GICv3State *s, int irq) in mask_nsacr_ge1() 44 static uint32_t mask_nsacr_ge2(GICv3State *s, int irq) in mask_nsacr_ge2() 81 static int gicd_ns_access(GICv3State *s, int irq) in gicd_ns_access() 278 static bool gicd_readb(GICv3State *s, hwaddr offset, in gicd_readb() 298 static bool gicd_writeb(GICv3State *s, hwaddr offset, in gicd_writeb() 326 static bool gicd_readw(GICv3State *s, hwaddr offset, in gicd_readw() 338 static bool gicd_writew(GICv3State *s, hwaddr offset, in gicd_writew() 350 static bool gicd_readl(GICv3State *s, hwaddr offset, in gicd_readl() 799 static bool gicd_readq(GICv3State *s, hwaddr offset, in gicd_readq() 818 GICv3State *s = (GICv3State *)opaque; in gicv3_dist_read() local [all …]
|
/openbmc/linux/arch/x86/kvm/ |
H A D | i8259.c | 44 static void pic_lock(struct kvm_pic *s) in pic_lock() 50 static void pic_unlock(struct kvm_pic *s) in pic_unlock() 181 void kvm_pic_update_irq(struct kvm_pic *s) in kvm_pic_update_irq() 239 struct kvm_pic *s = kvm->arch.vpic; in kvm_pic_read_irq() local 309 struct kvm_kpic_state *s = opaque; in pic_ioport_write() local 427 struct kvm_kpic_state *s = opaque; in pic_ioport_read() local 446 struct kvm_kpic_state *s = opaque; in elcr_ioport_write() local 452 struct kvm_kpic_state *s = opaque; in elcr_ioport_read() local 490 static int picdev_read(struct kvm_pic *s, in picdev_read() 568 struct kvm_pic *s = kvm->arch.vpic; in pic_irq_request() local [all …]
|
/openbmc/qemu/util/ |
H A D | stats64.c | 18 static inline void stat64_rdlock(Stat64 *s) in stat64_rdlock() 29 static inline void stat64_rdunlock(Stat64 *s) in stat64_rdunlock() 34 static inline bool stat64_wrtrylock(Stat64 *s) in stat64_wrtrylock() 39 static inline void stat64_wrunlock(Stat64 *s) in stat64_wrunlock() 44 uint64_t stat64_get(const Stat64 *s) in stat64_get() 60 void stat64_set(Stat64 *s, uint64_t val) in stat64_set() 71 bool stat64_add32_carry(Stat64 *s, uint32_t low, uint32_t high) in stat64_add32_carry() 91 bool stat64_min_slow(Stat64 *s, uint64_t value) in stat64_min_slow() 120 bool stat64_max_slow(Stat64 *s, uint64_t value) in stat64_max_slow()
|
/openbmc/qemu/hw/net/can/ |
H A D | xlnx-versal-canfd.c | 683 static void canfd_update_irq(XlnxVersalCANFDState *s) in canfd_update_irq() 714 XlnxVersalCANFDState *s = XILINX_CANFD(reg->opaque); in canfd_ier_post_write() local 721 XlnxVersalCANFDState *s = XILINX_CANFD(reg->opaque); in canfd_icr_pre_write() local 739 static void canfd_config_reset(XlnxVersalCANFDState *s) in canfd_config_reset() 752 static void canfd_config_mode(XlnxVersalCANFDState *s) in canfd_config_mode() 1204 static bool tx_ready_check(XlnxVersalCANFDState *s) in tx_ready_check() 1331 static GSList *prepare_tx_data(XlnxVersalCANFDState *s) in prepare_tx_data() 1359 static void transfer_data(XlnxVersalCANFDState *s) in transfer_data() 1810 XlnxVersalCANFDState *s = XILINX_CANFD(dev); in canfd_reset() local 2019 XlnxVersalCANFDState *s = XILINX_CANFD(dev); in canfd_realize() local [all …]
|
/openbmc/linux/drivers/misc/genwqe/ |
H A D | card_debugfs.c | 69 static int curr_dbg_uid0_show(struct seq_file *s, void *unused) in curr_dbg_uid0_show() 76 static int curr_dbg_uid1_show(struct seq_file *s, void *unused) in curr_dbg_uid1_show() 83 static int curr_dbg_uid2_show(struct seq_file *s, void *unused) in curr_dbg_uid2_show() 98 static int prev_dbg_uid0_show(struct seq_file *s, void *unused) in prev_dbg_uid0_show() 105 static int prev_dbg_uid1_show(struct seq_file *s, void *unused) in prev_dbg_uid1_show() 112 static int prev_dbg_uid2_show(struct seq_file *s, void *unused) in prev_dbg_uid2_show() 119 static int curr_regs_show(struct seq_file *s, void *unused) in curr_regs_show() 148 static int prev_regs_show(struct seq_file *s, void *unused) in prev_regs_show() 172 static int jtimer_show(struct seq_file *s, void *unused) in jtimer_show() 211 static int ddcb_info_show(struct seq_file *s, void *unused) in ddcb_info_show() [all …]
|