/openbmc/qemu/hw/char/ |
H A D | serial.c | 226 SerialState *s = opaque; in serial_watch_cb() local 335 SerialState *s = opaque; in serial_ioport_write() local 471 SerialState *s = opaque; in serial_ioport_read() local 587 SerialState *s = opaque; in fifo_timeout_int() local 596 SerialState *s = opaque; in serial_can_receive1() local 602 SerialState *s = opaque; in serial_receive1() local 626 SerialState *s = opaque; in serial_event() local 633 SerialState *s = opaque; in serial_pre_save() local 641 SerialState *s = opaque; in serial_pre_load() local 649 SerialState *s = opaque; in serial_post_load() local [all …]
|
/openbmc/qemu/hw/net/ |
H A D | vmxnet3.c | 53 #define VMXNET3_MSI_OFFSET(s) \ argument 55 #define VMXNET3_MSIX_OFFSET(s) \ argument 64 #define VMXNET3_OFF_MSIX_PBA(s) \ argument 1085 VMXNET3State *s = opaque; in vmxnet3_io_bar0_write() local 1130 VMXNET3State *s = opaque; in vmxnet3_io_bar0_read() local 1754 VMXNET3State *s = opaque; in vmxnet3_io_bar1_write() local 1843 VMXNET3State *s = opaque; in vmxnet3_io_bar1_read() local 2272 VMXNET3State *s = VMXNET3(d); in vmxnet3_qdev_reset() local 2285 VMXNET3State *s = opaque; in vmxnet3_mcast_list_pre_load() local 2295 VMXNET3State *s = opaque; in vmxnet3_pre_save() local [all …]
|
H A D | msf2-emac.c | 94 static uint32_t emac_get_isr(MSF2EmacState *s) in emac_get_isr() 105 static void emac_update_irq(MSF2EmacState *s) in emac_update_irq() 135 static void msf2_dma_tx(MSF2EmacState *s) in msf2_dma_tx() 194 static void msf2_phy_reset(MSF2EmacState *s) in msf2_phy_reset() 207 static void write_to_phy(MSF2EmacState *s) in write_to_phy() 236 static uint16_t read_from_phy(MSF2EmacState *s) in read_from_phy() 264 MSF2EmacState *s = opaque; in emac_read() local 289 MSF2EmacState *s = opaque; in emac_write() local 500 MSF2EmacState *s = MSS_EMAC(dev); in msf2_emac_reset() local 522 MSF2EmacState *s = MSS_EMAC(dev); in msf2_emac_realize() local [all …]
|
H A D | tulip.c | 106 static void tulip_update_int(TULIPState *s) in tulip_update_int() 128 static bool tulip_rx_stopped(TULIPState *s) in tulip_rx_stopped() 458 static void tulip_mii(TULIPState *s) in tulip_mii() 511 static uint32_t tulip_csr9_read(TULIPState *s) in tulip_csr9_read() 535 TULIPState *s = opaque; in tulip_read() local 629 static void tulip_setup_frame(TULIPState *s, in tulip_setup_frame() 667 static uint32_t tulip_ts(TULIPState *s) in tulip_ts() 722 static void tulip_reset(TULIPState *s) in tulip_reset() 744 TULIPState *s = TULIP(d); in tulip_qdev_reset() local 752 TULIPState *s = opaque; in tulip_write() local [all …]
|
/openbmc/qemu/hw/input/ |
H A D | pckbd.c | 240 KBDState *s = opaque; in kbd_update_kbd_irq() local 252 KBDState *s = opaque; in kbd_update_aux_irq() local 264 KBDState *s = opaque; in kbd_throttle_timeout() local 274 KBDState *s = opaque; in kbd_read_status() local 317 KBDState *s = opaque; in kbd_write_command() local 402 KBDState *s = opaque; in kbd_read_data() local 426 KBDState *s = opaque; in kbd_write_data() local 475 KBDState *s = opaque; in kbd_reset() local 496 KBDState *s = opaque; in kbd_outport_post_load() local 503 KBDState *s = opaque; in kbd_outport_needed() local [all …]
|
H A D | ps2.c | 156 int ps2_queue_empty(PS2State *s) in ps2_queue_empty() 186 void ps2_queue(PS2State *s, int b) in ps2_queue() 292 PS2KbdState *s = opaque; in ps2_put_keycode() local 540 uint32_t ps2_read_data(PS2State *s) in ps2_read_data() 1012 PS2State *s = PS2_DEVICE(obj); in ps2_reset_hold() local 1020 PS2State *s = PS2_DEVICE(obj); in ps2_reset_exit() local 1108 PS2KbdState *s = opaque; in ps2_keyboard_ledstate_needed() local 1115 PS2KbdState *s = opaque; in ps2_kbd_ledstate_post_load() local 1135 PS2KbdState *s = opaque; in ps2_keyboard_need_high_bit_needed() local 1152 PS2KbdState *s = opaque; in ps2_keyboard_cqueue_needed() local [all …]
|
/openbmc/linux/kernel/trace/ |
H A D | trace_seq.c | 31 #define TRACE_SEQ_BUF_LEFT(s) seq_buf_buffer_left(&(s)->seq) argument 36 static inline void __trace_seq_init(struct trace_seq *s) in __trace_seq_init() 51 int trace_print_seq(struct seq_file *m, struct trace_seq *s) in trace_print_seq() 81 void trace_seq_printf(struct trace_seq *s, const char *fmt, ...) in trace_seq_printf() 111 void trace_seq_bitmask(struct trace_seq *s, const unsigned long *maskp, in trace_seq_bitmask() 206 void trace_seq_puts(struct trace_seq *s, const char *str) in trace_seq_puts() 234 void trace_seq_putc(struct trace_seq *s, unsigned char c) in trace_seq_putc() 286 void trace_seq_putmem_hex(struct trace_seq *s, const void *mem, in trace_seq_putmem_hex() 325 int trace_seq_path(struct trace_seq *s, const struct path *path) in trace_seq_path() 378 int trace_seq_hex_dump(struct trace_seq *s, const char *prefix_str, in trace_seq_hex_dump() [all …]
|
/openbmc/qemu/hw/timer/ |
H A D | sse-timer.c | 90 static bool sse_is_autoinc(SSETimer *s) in sse_is_autoinc() 95 static bool sse_enabled(SSETimer *s) in sse_enabled() 100 static uint64_t sse_cntpct(SSETimer *s) in sse_cntpct() 128 static void sse_update_irq(SSETimer *s) in sse_update_irq() 190 static void sse_autoinc(SSETimer *s) in sse_autoinc() 199 SSETimer *s = SSE_TIMER(opaque); in sse_timer_cb() local 218 SSETimer *s = SSE_TIMER(opaque); in sse_timer_read() local 283 SSETimer *s = SSE_TIMER(opaque); in sse_timer_write() local 374 SSETimer *s = SSE_TIMER(dev); in sse_timer_reset() local 404 SSETimer *s = SSE_TIMER(obj); in sse_timer_init() local [all …]
|
/openbmc/qemu/hw/dma/ |
H A D | xlnx_csu_dma.c | 127 static bool xlnx_csu_dma_get_eop(XlnxCSUDMA *s) in xlnx_csu_dma_get_eop() 252 static void xlnx_csu_dma_done(XlnxCSUDMA *s) in xlnx_csu_dma_done() 289 XlnxCSUDMA *s = XLNX_CSU_DMA(opaque); in xlnx_csu_dma_src_notify() local 337 XlnxCSUDMA *s = XLNX_CSU_DMA(reg->opaque); in size_pre_write() local 358 XlnxCSUDMA *s = XLNX_CSU_DMA(reg->opaque); in size_post_read() local 575 XlnxCSUDMA *s = XLNX_CSU_DMA(opaque); in xlnx_csu_dma_src_timeout_hit() local 589 XlnxCSUDMA *s = XLNX_CSU_DMA(obj); in xlnx_csu_dma_stream_push() local 621 XlnxCSUDMA *s = XLNX_CSU_DMA(obj); in xlnx_csu_dma_stream_can_push() local 634 XlnxCSUDMA *s = XLNX_CSU_DMA(dev); in xlnx_csu_dma_reset() local 644 XlnxCSUDMA *s = XLNX_CSU_DMA(dev); in xlnx_csu_dma_realize() local [all …]
|
H A D | xlnx-zdma.c | 220 XlnxZDMA *s = XLNX_ZDMA(reg->opaque); in zdma_ch_isr_postw() local 226 XlnxZDMA *s = XLNX_ZDMA(reg->opaque); in zdma_ch_ien_prew() local 236 XlnxZDMA *s = XLNX_ZDMA(reg->opaque); in zdma_ch_ids_prew() local 255 static void zdma_src_done(XlnxZDMA *s) in zdma_src_done() 270 static void zdma_dst_done(XlnxZDMA *s) in zdma_dst_done() 536 static void zdma_run(XlnxZDMA *s) in zdma_run() 706 XlnxZDMA *s = XLNX_ZDMA(dev); in zdma_reset() local 718 XlnxZDMA *s = XLNX_ZDMA(opaque); in zdma_read() local 737 XlnxZDMA *s = XLNX_ZDMA(opaque); in zdma_write() local 765 XlnxZDMA *s = XLNX_ZDMA(dev); in zdma_realize() local [all …]
|
/openbmc/qemu/target/arm/tcg/ |
H A D | translate-vfp.c | 155 static void gen_update_fp_context(DisasContext *s) in gen_update_fp_context() 297 bool vfp_access_check(DisasContext *s) in vfp_access_check() 306 static bool trans_VSEL(DisasContext *s, arg_VSEL *a) in trans_VSEL() 429 static bool trans_VRINT(DisasContext *s, arg_VRINT *a) in trans_VRINT() 496 static bool trans_VCVT(DisasContext *s, arg_VCVT *a) in trans_VCVT() 707 static bool trans_VDUP(DisasContext *s, arg_VDUP *a) in trans_VDUP() 1729 static bool trans_VMLA_hp(DisasContext *s, arg_VMLA_sp *a) in trans_VMLA_hp() 1743 static bool trans_VMLA_sp(DisasContext *s, arg_VMLA_sp *a) in trans_VMLA_sp() 3059 static bool trans_VJCVT(DisasContext *s, arg_VJCVT *a) in trans_VJCVT() 3372 static bool trans_VINS(DisasContext *s, arg_VINS *a) in trans_VINS() [all …]
|
/openbmc/qemu/hw/misc/ |
H A D | xlnx-versal-crl.c | 29 static void crl_update_irq(XlnxVersalCRL *s) in crl_update_irq() 37 XlnxVersalCRL *s = XLNX_VERSAL_CRL(reg->opaque); in crl_status_postw() local 43 XlnxVersalCRL *s = XLNX_VERSAL_CRL(reg->opaque); in crl_enable_prew() local 53 XlnxVersalCRL *s = XLNX_VERSAL_CRL(reg->opaque); in crl_disable_prew() local 89 XlnxVersalCRL *s = XLNX_VERSAL_CRL(reg->opaque); in crl_rst_r5_prew() local 98 XlnxVersalCRL *s = XLNX_VERSAL_CRL(reg->opaque); in crl_rst_adma_prew() local 110 XlnxVersalCRL *s = XLNX_VERSAL_CRL(reg->opaque); in crl_rst_uart0_prew() local 306 XlnxVersalCRL *s = XLNX_VERSAL_CRL(obj); in crl_reset_enter() local 316 XlnxVersalCRL *s = XLNX_VERSAL_CRL(obj); in crl_reset_hold() local 333 XlnxVersalCRL *s = XLNX_VERSAL_CRL(obj); in crl_init() local [all …]
|
H A D | mos6522.c | 54 static void mos6522_update_irq(MOS6522State *s) in mos6522_update_irq() 65 MOS6522State *s = MOS6522(opaque); in mos6522_set_irq() local 255 MOS6522State *s = opaque; in mos6522_timer1() local 265 MOS6522State *s = opaque; in mos6522_timer2() local 286 static void mos6522_portA_write(MOS6522State *s) in mos6522_portA_write() 298 MOS6522State *s = opaque; in mos6522_read() local 396 MOS6522State *s = opaque; in mos6522_write() local 505 MOS6522State *s = MOS6522(obj); in qmp_x_query_via_foreach() local 647 MOS6522State *s = MOS6522(obj); in mos6522_reset_hold() local 673 MOS6522State *s = MOS6522(obj); in mos6522_init() local [all …]
|
H A D | xlnx-versal-trng.c | 143 static bool trng_in_reset(XlnxVersalTRng *s) in trng_in_reset() 155 static bool trng_test_enabled(XlnxVersalTRng *s) in trng_test_enabled() 160 static bool trng_trss_enabled(XlnxVersalTRng *s) in trng_trss_enabled() 183 static void trng_reseed(XlnxVersalTRng *s) in trng_reseed() 251 static void trng_regen(XlnxVersalTRng *s) in trng_regen() 267 static uint32_t trng_rdout(XlnxVersalTRng *s) in trng_rdout() 279 static void trng_irq_update(XlnxVersalTRng *s) in trng_irq_update() 353 static void trng_done(XlnxVersalTRng *s) in trng_done() 389 static void trng_soft_reset(XlnxVersalTRng *s) in trng_soft_reset() 470 static void trng_reset(XlnxVersalTRng *s) in trng_reset() [all …]
|
H A D | xlnx-versal-pmc-iou-slcr.c | 761 static void parity_imr_update_irq(XlnxVersalPmcIouSlcr *s) in parity_imr_update_irq() 769 XlnxVersalPmcIouSlcr *s = XILINX_VERSAL_PMC_IOU_SLCR(reg->opaque); in parity_isr_postw() local 775 XlnxVersalPmcIouSlcr *s = XILINX_VERSAL_PMC_IOU_SLCR(reg->opaque); in parity_ier_prew() local 785 XlnxVersalPmcIouSlcr *s = XILINX_VERSAL_PMC_IOU_SLCR(reg->opaque); in parity_idr_prew() local 795 XlnxVersalPmcIouSlcr *s = XILINX_VERSAL_PMC_IOU_SLCR(reg->opaque); in parity_itr_prew() local 803 static void imr_update_irq(XlnxVersalPmcIouSlcr *s) in imr_update_irq() 811 XlnxVersalPmcIouSlcr *s = XILINX_VERSAL_PMC_IOU_SLCR(reg->opaque); in isr_postw() local 1345 XlnxVersalPmcIouSlcr *s = XILINX_VERSAL_PMC_IOU_SLCR(obj); in xlnx_versal_pmc_iou_slcr_reset_init() local 1355 XlnxVersalPmcIouSlcr *s = XILINX_VERSAL_PMC_IOU_SLCR(obj); in xlnx_versal_pmc_iou_slcr_reset_hold() local 1380 XlnxVersalPmcIouSlcr *s = XILINX_VERSAL_PMC_IOU_SLCR(dev); in xlnx_versal_pmc_iou_slcr_realize() local [all …]
|
/openbmc/qemu/hw/nvram/ |
H A D | xlnx-bbram.c | 81 static bool bbram_msw_locked(XlnxBBRam *s) in bbram_msw_locked() 86 static bool bbram_pgm_enabled(XlnxBBRam *s) in bbram_pgm_enabled() 169 static void bbram_bdrv_zero(XlnxBBRam *s) in bbram_bdrv_zero() 190 static void bbram_zeroize(XlnxBBRam *s) in bbram_zeroize() 198 static void bbram_update_irq(XlnxBBRam *s) in bbram_update_irq() 207 XlnxBBRam *s = XLNX_BBRAM(reg->opaque); in bbram_ctrl_postw() local 219 XlnxBBRam *s = XLNX_BBRAM(reg->opaque); in bbram_pgm_mode_postw() local 232 XlnxBBRam *s = XLNX_BBRAM(reg->opaque); in bbram_aes_crc_postw() local 422 XlnxBBRam *s = XLNX_BBRAM(obj); in bbram_ctrl_reset_hold() local 446 XlnxBBRam *s = XLNX_BBRAM(dev); in bbram_ctrl_realize() local [all …]
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/fb/ |
H A D | ramseq.h | 6 #define ram_init(s,p) hwsq_init(&(s)->base, (p)) argument 7 #define ram_exec(s,e) hwsq_exec(&(s)->base, (e)) argument 8 #define ram_have(s,r) ((s)->r_##r.addr != 0x000000) argument 9 #define ram_rd32(s,r) hwsq_rd32(&(s)->base, &(s)->r_##r) argument 10 #define ram_wr32(s,r,d) hwsq_wr32(&(s)->base, &(s)->r_##r, (d)) argument 11 #define ram_nuke(s,r) hwsq_nuke(&(s)->base, &(s)->r_##r) argument 12 #define ram_mask(s,r,m,d) hwsq_mask(&(s)->base, &(s)->r_##r, (m), (d)) argument 13 #define ram_setf(s,f,d) hwsq_setf(&(s)->base, (f), (d)) argument 14 #define ram_wait(s,f,d) hwsq_wait(&(s)->base, (f), (d)) argument 15 #define ram_wait_vblank(s) hwsq_wait_vblank(&(s)->base) argument [all …]
|
/openbmc/linux/tools/testing/selftests/kvm/lib/ |
H A D | sparsebit.c | 396 bool sparsebit_all_set(struct sparsebit *s) in sparsebit_all_set() 940 struct sparsebit *s; in sparsebit_alloc() local 957 struct sparsebit *s = *sbitp; in sparsebit_free() local 1008 bool sparsebit_is_clear(struct sparsebit *s, in sparsebit_is_clear() 1050 bool sparsebit_any_set(struct sparsebit *s) in sparsebit_any_set() 1073 bool sparsebit_all_clear(struct sparsebit *s) in sparsebit_all_clear() 1079 bool sparsebit_any_clear(struct sparsebit *s) in sparsebit_any_clear() 1370 void sparsebit_set_num(struct sparsebit *s, in sparsebit_set_num() 1452 void sparsebit_clear_num(struct sparsebit *s, in sparsebit_clear_num() 1533 void sparsebit_set_all(struct sparsebit *s) in sparsebit_set_all() [all …]
|
/openbmc/qemu/hw/intc/ |
H A D | armv7m_nvic.c | 83 static int nvic_pending_prio(NVICState *s) in nvic_pending_prio() 105 static bool nvic_rettobase(NVICState *s) in nvic_rettobase() 128 static bool nvic_isrpending(NVICState *s) in nvic_isrpending() 945 NVICState *s = opaque; in set_irq_level() local 973 NVICState *s = opaque; in nvic_nmi_trigger() local 2474 NVICState *s = opaque; in nvic_post_load() local 2513 NVICState *s = opaque; in nvic_security_needed() local 2520 NVICState *s = opaque; in nvic_security_post_load() local 2586 NVICState *s = NVIC(dev); in armv7m_nvic_reset() local 2660 NVICState *s = opaque; in nvic_systick_trigger() local [all …]
|
/openbmc/qemu/dump/ |
H A D | dump.c | 55 static inline bool dump_is_64bit(DumpState *s) in dump_is_64bit() 60 static inline bool dump_has_filter(DumpState *s) in dump_has_filter() 65 uint16_t cpu_to_dump16(DumpState *s, uint16_t val) in cpu_to_dump16() 98 static int dump_cleanup(DumpState *s) in dump_cleanup() 126 DumpState *s = opaque; in fd_write_vmcore() local 557 DumpState *s, in get_offset_range() 899 DumpState *s = opaque; in buf_write_note() local 951 static bool note_name_equal(DumpState *s, in note_name_equal() 1699 static void get_max_mapnr(DumpState *s) in get_max_mapnr() 2047 DumpState *s = (DumpState *)data; in dump_thread() local [all …]
|
/openbmc/qemu/hw/rtc/ |
H A D | xlnx-zynqmp-rtc.c | 45 static void rtc_int_update_irq(XlnxZynqMPRTC *s) in rtc_int_update_irq() 57 static uint32_t rtc_get_count(XlnxZynqMPRTC *s) in rtc_get_count() 65 XlnxZynqMPRTC *s = XLNX_ZYNQMP_RTC(reg->opaque); in current_time_postr() local 72 XlnxZynqMPRTC *s = XLNX_ZYNQMP_RTC(reg->opaque); in rtc_int_status_postw() local 78 XlnxZynqMPRTC *s = XLNX_ZYNQMP_RTC(reg->opaque); in rtc_int_en_prew() local 87 XlnxZynqMPRTC *s = XLNX_ZYNQMP_RTC(reg->opaque); in rtc_int_dis_prew() local 96 XlnxZynqMPRTC *s = XLNX_ZYNQMP_RTC(reg->opaque); in addr_error_postw() local 163 XlnxZynqMPRTC *s = XLNX_ZYNQMP_RTC(dev); in rtc_reset() local 186 XlnxZynqMPRTC *s = XLNX_ZYNQMP_RTC(obj); in rtc_init() local 218 XlnxZynqMPRTC *s = opaque; in rtc_pre_save() local [all …]
|
/openbmc/qemu/hw/i386/ |
H A D | amd_iommu.c | 333 static void amdvi_iotlb_reset(AMDVIState *s) in amdvi_iotlb_reset() 516 static void amdvi_cmdbuf_exec(AMDVIState *s) in amdvi_cmdbuf_exec() 560 static void amdvi_cmdbuf_run(AMDVIState *s) in amdvi_cmdbuf_run() 597 AMDVIState *s = opaque; in amdvi_mmio_read() local 750 AMDVIState *s = opaque; in amdvi_mmio_write() local 975 AMDVIState *s = as->iommu_state; in amdvi_do_translate() local 1022 AMDVIState *s = as->iommu_state; in amdvi_translate() local 1412 AMDVIState *s = opaque; in amdvi_host_dma_iommu() local 1505 static void amdvi_init(AMDVIState *s) in amdvi_init() 1575 AMDVIState *s = AMD_IOMMU_DEVICE(dev); in amdvi_sysbus_reset() local [all …]
|
/openbmc/qemu/hw/ssi/ |
H A D | imx_spi.c | 74 static void imx_spi_txfifo_reset(IMXSPIState *s) in imx_spi_txfifo_reset() 81 static void imx_spi_rxfifo_reset(IMXSPIState *s) in imx_spi_rxfifo_reset() 89 static void imx_spi_update_irq(IMXSPIState *s) in imx_spi_update_irq() 141 static bool imx_spi_is_enabled(IMXSPIState *s) in imx_spi_is_enabled() 162 static void imx_spi_flush_txfifo(IMXSPIState *s) in imx_spi_flush_txfifo() 235 static void imx_spi_common_reset(IMXSPIState *s) in imx_spi_common_reset() 259 static void imx_spi_soft_reset(IMXSPIState *s) in imx_spi_soft_reset() 274 IMXSPIState *s = IMX_SPI(dev); in imx_spi_reset() local 283 IMXSPIState *s = opaque; in imx_spi_read() local 332 IMXSPIState *s = opaque; in imx_spi_write() local [all …]
|
/openbmc/qemu/target/i386/tcg/ |
H A D | translate.c | 542 static int cur_insn_len(DisasContext *s) in cur_insn_len() 576 static TCGv eip_next_tl(DisasContext *s) in eip_next_tl() 590 static TCGv eip_cur_tl(DisasContext *s) in eip_cur_tl() 1398 static bool check_cpl0(DisasContext *s) in check_cpl0() 1907 static void gen_far_jmp(DisasContext *s) in gen_far_jmp() 1961 static MemOp gen_pop_T0(DisasContext *s) in gen_pop_T0() 1976 static void gen_pusha(DisasContext *s) in gen_pusha() 1990 static void gen_popa(DisasContext *s) in gen_popa() 2046 static void gen_leave(DisasContext *s) in gen_leave() 2134 static void gen_bnd_jmp(DisasContext *s) in gen_bnd_jmp() [all …]
|
/openbmc/qemu/hw/misc/macio/ |
H A D | pmu.c | 57 PMUState *s = opaque; in via_set_sr_int() local 76 PMUState *s = opaque; in pmu_adb_poll() local 94 PMUState *s = opaque; in pmu_one_sec_timer() local 168 static void pmu_cmd_adb(PMUState *s, in pmu_cmd_adb() 498 static void pmu_update(PMUState *s) in pmu_update() 630 PMUState *s = opaque; in mos6522_pmu_read() local 641 PMUState *s = opaque; in mos6522_pmu_write() local 661 PMUState *s = opaque; in pmu_adb_state_needed() local 709 PMUState *s = VIA_PMU(dev); in pmu_reset() local 720 PMUState *s = VIA_PMU(dev); in pmu_realize() local [all …]
|