| /openbmc/qemu/net/ |
| H A D | filter-buffer.c | 33 FilterBufferState *s = FILTER_BUFFER(nf); in filter_buffer_flush() local 44 FilterBufferState *s = FILTER_BUFFER(nf); in filter_buffer_release_timer() local 66 FilterBufferState *s = FILTER_BUFFER(nf); in filter_buffer_receive_iov() local 89 FilterBufferState *s = FILTER_BUFFER(nf); in filter_buffer_cleanup() local 104 FilterBufferState *s = FILTER_BUFFER(nf); in filter_buffer_setup_timer() local 117 FilterBufferState *s = FILTER_BUFFER(nf); in filter_buffer_setup() local 135 FilterBufferState *s = FILTER_BUFFER(nf); in filter_buffer_status_changed() local 151 FilterBufferState *s = FILTER_BUFFER(obj); in filter_buffer_get_interval() local 161 FilterBufferState *s = FILTER_BUFFER(obj); in filter_buffer_set_interval() local
|
| H A D | colo-compare.c | 90 struct CompareState *s; member 174 static void notify_remote_frame(CompareState *s) in notify_remote_frame() 185 static void colo_compare_inconsistency_notify(CompareState *s) in colo_compare_inconsistency_notify() 244 static int packet_enqueue(CompareState *s, int mode, Connection **con) in packet_enqueue() 300 static void colo_release_primary_pkt(CompareState *s, Packet *pkt) in colo_release_primary_pkt() 399 static void colo_compare_tcp(CompareState *s, Connection *conn) in colo_compare_tcp() 623 CompareState *s) in colo_old_packet_check_one_conn() 654 CompareState *s = opaque; in colo_old_packet_check() local 664 static void colo_compare_packet(CompareState *s, Connection *conn, in colo_compare_packet() 705 CompareState *s = user_data; in colo_compare_connection() local [all …]
|
| /openbmc/qemu/hw/misc/ |
| H A D | imx31_ccm.c | 110 IMX31CCMState *s = IMX31_CCM(dev); in imx31_ccm_get_pll_ref_clk() local 131 IMX31CCMState *s = IMX31_CCM(dev); in imx31_ccm_get_mpll_clk() local 144 IMX31CCMState *s = IMX31_CCM(dev); in imx31_ccm_get_mcu_main_clk() local 161 IMX31CCMState *s = IMX31_CCM(dev); in imx31_ccm_get_hclk_clk() local 174 IMX31CCMState *s = IMX31_CCM(dev); in imx31_ccm_get_ipg_clk() local 211 IMX31CCMState *s = IMX31_CCM(dev); in imx31_ccm_reset() local 238 IMX31CCMState *s = (IMX31CCMState *)opaque; in imx31_ccm_read() local 256 IMX31CCMState *s = (IMX31CCMState *)opaque; in imx31_ccm_write() local 315 IMX31CCMState *s = IMX31_CCM(obj); in imx31_ccm_init() local
|
| H A D | iotkit-sysctl.c | 108 IoTKitSysCtl *s = IOTKIT_SYSCTL(opaque); in iotkit_sysctl_read() local 368 static void cpuwait_write(IoTKitSysCtl *s, uint32_t value) in cpuwait_write() 386 IoTKitSysCtl *s = IOTKIT_SYSCTL(opaque); in iotkit_sysctl_write() local 720 IoTKitSysCtl *s = IOTKIT_SYSCTL(dev); in iotkit_sysctl_reset() local 751 IoTKitSysCtl *s = IOTKIT_SYSCTL(obj); in iotkit_sysctl_init() local 760 IoTKitSysCtl *s = IOTKIT_SYSCTL(dev); in iotkit_sysctl_realize() local 770 IoTKitSysCtl *s = IOTKIT_SYSCTL(opaque); in sse300_needed() local 791 IoTKitSysCtl *s = IOTKIT_SYSCTL(opaque); in sse200_needed() local
|
| /openbmc/qemu/hw/net/ |
| H A D | cadence_gem.c | 425 static inline uint64_t tx_desc_get_buffer(CadenceGEMState *s, uint32_t *desc) in tx_desc_get_buffer() 470 static inline uint64_t rx_desc_get_buffer(CadenceGEMState *s, uint32_t *desc) in rx_desc_get_buffer() 480 static inline int gem_get_desc_len(CadenceGEMState *s, bool rx_n_tx) in gem_get_desc_len() 557 static uint32_t gem_get_max_buf_len(CadenceGEMState *s, bool tx) in gem_get_max_buf_len() 576 static void gem_set_isr(CadenceGEMState *s, int q, uint32_t flag) in gem_set_isr() 591 static void gem_init_register_masks(CadenceGEMState *s) in gem_init_register_masks() 640 static void phy_update_link(CadenceGEMState *s) in phy_update_link() 660 CadenceGEMState *s; in gem_can_receive() local 699 static void gem_update_int_status(CadenceGEMState *s) in gem_update_int_status() 714 static void gem_receive_updatestats(CadenceGEMState *s, const uint8_t *packet, in gem_receive_updatestats() [all …]
|
| H A D | opencores_eth.c | 51 #define GET_REGBIT(s, reg, field) ((s)->regs[reg] & (reg ## _ ## field)) argument 52 #define GET_REGFIELD(s, reg, field) \ argument 57 #define SET_REGFIELD(s, reg, field, data) \ argument 70 static void mii_set_link(Mii *s, bool link_ok) in mii_set_link() 83 static void mii_reset(Mii *s) in mii_reset() 97 static void mii_ro(Mii *s, uint16_t v) in mii_ro() 101 static void mii_write_bmcr(Mii *s, uint16_t v) in mii_write_bmcr() 110 static void mii_write_host(Mii *s, unsigned idx, uint16_t v) in mii_write_host() 129 static uint16_t mii_read_host(Mii *s, unsigned idx) in mii_read_host() 293 static desc *rx_desc(OpenEthState *s) in rx_desc() argument [all …]
|
| /openbmc/qemu/hw/intc/ |
| H A D | arm_gicv3_its.c | 91 static bool its_feature_virtual(GICv3ITSState *s) in its_feature_virtual() 129 static uint64_t table_entry_addr(GICv3ITSState *s, TableDesc *td, in table_entry_addr() 180 static MemTxResult get_cte(GICv3ITSState *s, uint16_t icid, CTEntry *cte) in get_cte() 213 static bool update_ite(GICv3ITSState *s, uint32_t eventid, const DTEntry *dte, in update_ite() 249 static MemTxResult get_ite(GICv3ITSState *s, uint32_t eventid, in get_ite() 288 static MemTxResult get_dte(GICv3ITSState *s, uint32_t devid, DTEntry *dte) in get_dte() 323 static MemTxResult get_vte(GICv3ITSState *s, uint32_t vpeid, VTEntry *vte) in get_vte() 360 static ItsCmdResult lookup_ite(GICv3ITSState *s, const char *who, in lookup_ite() 413 static ItsCmdResult lookup_cte(GICv3ITSState *s, const char *who, in lookup_cte() 442 static ItsCmdResult lookup_vte(GICv3ITSState *s, const char *who, in lookup_vte() [all …]
|
| H A D | ioapic_common.c | 39 void ioapic_stat_update_irq(IOAPICCommonState *s, int irq, int level) in ioapic_stat_update_irq() 53 IOAPICCommonState *s = IOAPIC_COMMON(obj); in ioapic_get_statistics() local 78 static void ioapic_print_redtbl(GString *buf, IOAPICCommonState *s) in ioapic_print_redtbl() 121 IOAPICCommonState *s = IOAPIC_COMMON(dev); in ioapic_reset_common() local 134 IOAPICCommonState *s = IOAPIC_COMMON(opaque); in ioapic_dispatch_pre_save() local 146 IOAPICCommonState *s = IOAPIC_COMMON(opaque); in ioapic_dispatch_post_load() local 158 IOAPICCommonState *s = IOAPIC_COMMON(dev); in ioapic_common_realize() local 178 IOAPICCommonState *s = IOAPIC_COMMON(obj); in ioapic_print_info() local
|
| /openbmc/qemu/hw/gpio/ |
| H A D | pca9552.c | 52 static uint8_t pca955x_pin_get_config(PCA955xState *s, int pin) in pca955x_pin_get_config() 61 static uint16_t pca955x_pins_get_status(PCA955xState *s) in pca955x_pins_get_status() 66 static void pca955x_display_pins_status(PCA955xState *s, in pca955x_display_pins_status() 108 static void pca955x_update_pin_input(PCA955xState *s) in pca955x_update_pin_input() 152 static uint8_t pca955x_read(PCA955xState *s, uint8_t reg) in pca955x_read() 173 static void pca955x_write(PCA955xState *s, uint8_t reg, uint8_t data) in pca955x_write() 208 static void pca955x_autoinc(PCA955xState *s) in pca955x_autoinc() 222 PCA955xState *s = PCA955X(i2c); in pca955x_recv() local 250 PCA955xState *s = PCA955X(i2c); in pca955x_send() local 267 PCA955xState *s = PCA955X(i2c); in pca955x_event() local [all …]
|
| /openbmc/u-boot/drivers/net/fsl-mc/dpio/ |
| H A D | qbman_sys.h | 33 static inline void word_copy(void *d, const void *s, unsigned int cnt) in word_copy() 47 static inline void u64_to_le32_copy(void *d, const uint64_t *s, in u64_to_le32_copy() 68 static inline void u64_from_le32_copy(uint64_t *d, const void *s, in u64_from_le32_copy() 127 static inline void qbman_cinh_write(struct qbman_swp_sys *s, uint32_t offset, in qbman_cinh_write() 137 static inline uint32_t qbman_cinh_read(struct qbman_swp_sys *s, uint32_t offset) in qbman_cinh_read() 148 static inline void *qbman_cena_write_start(struct qbman_swp_sys *s, in qbman_cena_write_start() 162 static inline void qbman_cena_write_complete(struct qbman_swp_sys *s, in qbman_cena_write_complete() 183 static inline void *qbman_cena_read(struct qbman_swp_sys *s, uint32_t offset) in qbman_cena_read() 207 static inline void qbman_cena_invalidate_prefetch(struct qbman_swp_sys *s, in qbman_cena_invalidate_prefetch() 250 static inline int qbman_swp_sys_init(struct qbman_swp_sys *s, in qbman_swp_sys_init() [all …]
|
| /openbmc/qemu/accel/tcg/ |
| H A D | tcg-all.c | 66 TCGState *s = TCG_STATE(current_accel()); in DECLARE_INSTANCE_CHECKER() local 73 TCGState *s = TCG_STATE(obj); in tcg_accel_instance_init() local 87 TCGState *s = TCG_STATE(as); in tcg_init_machine() local 152 TCGState *s = TCG_STATE(obj); in tcg_get_thread() local 159 TCGState *s = TCG_STATE(obj); in tcg_set_thread() local 178 TCGState *s = TCG_STATE(obj); in tcg_get_tb_size() local 188 TCGState *s = TCG_STATE(obj); in tcg_set_tb_size() local 200 TCGState *s = TCG_STATE(obj); in tcg_get_splitwx() local 206 TCGState *s = TCG_STATE(obj); in tcg_set_splitwx() local 212 TCGState *s = TCG_STATE(obj); in tcg_get_one_insn_per_tb() local [all …]
|
| /openbmc/qemu/block/ |
| H A D | blkio.c | 84 static int blkio_resize_bounce_pool(BDRVBlkioState *s, int64_t bytes) in blkio_resize_bounce_pool() 123 blkio_do_alloc_bounce_buffer(BDRVBlkioState *s, BlkioBounceBuf *bounce, in blkio_do_alloc_bounce_buffer() 164 blkio_alloc_bounce_buffer(BDRVBlkioState *s, BlkioBounceBuf *bounce, in blkio_alloc_bounce_buffer() 215 static void coroutine_fn blkio_free_bounce_buffer(BDRVBlkioState *s, in blkio_free_bounce_buffer() 235 BDRVBlkioState *s = bs->opaque; in blkio_completion_fd_read() local 280 BDRVBlkioState *s = bs->opaque; in blkio_completion_fd_poll() local 302 BDRVBlkioState *s = bs->opaque; in blkio_attach_aio_context() local 312 BDRVBlkioState *s = bs->opaque; in blkio_detach_aio_context() local 324 BDRVBlkioState *s = opaque; in blkio_deferred_fn() local 337 BDRVBlkioState *s = bs->opaque; in blkio_submit_io() local [all …]
|
| /openbmc/qemu/hw/m68k/ |
| H A D | mcf5206.c | 43 static void m5206_timer_update(m5206_timer_state *s) in m5206_timer_update() 51 static void m5206_timer_reset(m5206_timer_state *s) in m5206_timer_reset() 57 static void m5206_timer_recalibrate(m5206_timer_state *s) in m5206_timer_recalibrate() 97 m5206_timer_state *s = (m5206_timer_state *)opaque; in m5206_timer_trigger() local 102 static uint32_t m5206_timer_read(m5206_timer_state *s, uint32_t addr) in m5206_timer_read() 120 static void m5206_timer_write(m5206_timer_state *s, uint32_t addr, uint32_t val) in m5206_timer_write() 151 static void m5206_timer_init(m5206_timer_state *s, qemu_irq irq) in m5206_timer_init() 183 static int m5206_find_pending_irq(m5206_mbar_state *s) in m5206_find_pending_irq() 211 static void m5206_mbar_update(m5206_mbar_state *s) in m5206_mbar_update() 253 m5206_mbar_state *s = (m5206_mbar_state *)opaque; in m5206_mbar_set_irq() local [all …]
|
| /openbmc/phosphor-user-manager/test/ |
| H A D | json_serializer_test.cpp | 41 JsonSerializer s(test_file); in TEST_F() local 48 JsonSerializer s(test_file); in TEST_F() local 57 JsonSerializer s(test_file); in TEST_F() local 72 JsonSerializer s(test_file); in TEST_F() local 91 JsonSerializer s(test_file); in TEST_F() local 110 JsonSerializer s(test_file); in TEST_F() local 122 JsonSerializer s(test_file); in TEST_F() local
|
| /openbmc/qemu/backends/ |
| H A D | rng-random.c | 38 RngRandom *s = RNG_RANDOM(opaque); in entropy_available() local 61 RngRandom *s = RNG_RANDOM(b); in rng_random_request_entropy() local 72 RngRandom *s = RNG_RANDOM(b); in rng_random_opened() local 84 RngRandom *s = RNG_RANDOM(obj); in rng_random_get_filename() local 93 RngRandom *s = RNG_RANDOM(obj); in rng_random_set_filename() local 106 RngRandom *s = RNG_RANDOM(obj); in rng_random_init() local 114 RngRandom *s = RNG_RANDOM(obj); in rng_random_finalize() local
|
| /openbmc/qemu/hw/usb/ |
| H A D | xlnx-versal-usb2-ctrl-regs.c | 75 static void ir_update_irq(VersalUsb2CtrlRegs *s) in ir_update_irq() 83 VersalUsb2CtrlRegs *s = XILINX_VERSAL_USB2_CTRL_REGS(reg->opaque); in ir_status_postw() local 93 VersalUsb2CtrlRegs *s = XILINX_VERSAL_USB2_CTRL_REGS(reg->opaque); in ir_enable_prew() local 103 VersalUsb2CtrlRegs *s = XILINX_VERSAL_USB2_CTRL_REGS(reg->opaque); in ir_disable_prew() local 148 VersalUsb2CtrlRegs *s = XILINX_VERSAL_USB2_CTRL_REGS(obj); in usb2_ctrl_regs_reset_init() local 158 VersalUsb2CtrlRegs *s = XILINX_VERSAL_USB2_CTRL_REGS(obj); in usb2_ctrl_regs_reset_hold() local 175 VersalUsb2CtrlRegs *s = XILINX_VERSAL_USB2_CTRL_REGS(obj); in usb2_ctrl_regs_init() local
|
| /openbmc/qemu/hw/timer/ |
| H A D | allwinner-a10-pit.c | 27 static void a10_pit_update_irq(AwA10PITState *s) in a10_pit_update_irq() 38 AwA10PITState *s = AW_A10_PIT(opaque); in a10_pit_read() local 83 static void a10_pit_set_freq(AwA10PITState *s, int index) in a10_pit_set_freq() 102 AwA10PITState *s = AW_A10_PIT(opaque); in a10_pit_write() local 220 AwA10PITState *s = AW_A10_PIT(dev); in a10_pit_reset() local 246 AwA10PITState *s = tc->container; in a10_pit_timer_cb() local 261 AwA10PITState *s = AW_A10_PIT(obj); in a10_pit_init() local 283 AwA10PITState *s = AW_A10_PIT(obj); in a10_pit_finalize() local
|
| H A D | stm32f2xx_timer.c | 49 STM32F2XXTimerState *s = opaque; in stm32f2xx_timer_interrupt() local 69 static inline int64_t stm32f2xx_ns_to_ticks(STM32F2XXTimerState *s, int64_t t) in stm32f2xx_ns_to_ticks() 74 static void stm32f2xx_timer_set_alarm(STM32F2XXTimerState *s, int64_t now) in stm32f2xx_timer_set_alarm() 99 STM32F2XXTimerState *s = STM32F2XXTIMER(dev); in stm32f2xx_timer_reset() local 127 STM32F2XXTimerState *s = opaque; in stm32f2xx_timer_read() local 182 STM32F2XXTimerState *s = opaque; in stm32f2xx_timer_write() local 308 STM32F2XXTimerState *s = STM32F2XXTIMER(obj); in stm32f2xx_timer_init() local 319 STM32F2XXTimerState *s = STM32F2XXTIMER(dev); in stm32f2xx_timer_realize() local
|
| /openbmc/qemu/util/ |
| H A D | qemu-co-shared-resource.c | 42 SharedResource *s = g_new0(SharedResource, 1); in shres_create() local 51 void shres_destroy(SharedResource *s) in shres_destroy() 59 static bool co_try_get_from_shres_locked(SharedResource *s, uint64_t n) in co_try_get_from_shres_locked() 69 void coroutine_fn co_get_from_shres(SharedResource *s, uint64_t n) in co_get_from_shres() 78 void coroutine_fn co_put_to_shres(SharedResource *s, uint64_t n) in co_put_to_shres()
|
| /openbmc/qemu/hw/ssi/ |
| H A D | ibex_spi_host.c | 110 static void ibex_spi_rxfifo_reset(IbexSPIHostState *s) in ibex_spi_rxfifo_reset() 120 static void ibex_spi_txfifo_reset(IbexSPIHostState *s) in ibex_spi_txfifo_reset() 132 IbexSPIHostState *s = IBEX_SPI_HOST(dev); in ibex_spi_host_reset() local 167 static void ibex_spi_host_irq(IbexSPIHostState *s) in ibex_spi_host_irq() 237 static void ibex_spi_host_transfer(IbexSPIHostState *s) in ibex_spi_host_transfer() 292 IbexSPIHostState *s = opaque; in ibex_spi_host_read() local 345 IbexSPIHostState *s = opaque; in ibex_spi_host_write() local 585 IbexSPIHostState *s = opaque; in fifo_trigger_update() local 591 IbexSPIHostState *s = IBEX_SPI_HOST(dev); in ibex_spi_host_realize() local 615 IbexSPIHostState *s = IBEX_SPI_HOST(obj); in ibex_spi_host_init() local
|
| /openbmc/qemu/hw/xen/ |
| H A D | xen_pt_msi.c | 74 static int msi_msix_enable(XenPCIPassthroughState *s, in msi_msix_enable() 105 static int msi_msix_setup(XenPCIPassthroughState *s, in msi_msix_setup() 153 static int msi_msix_update(XenPCIPassthroughState *s, in msi_msix_update() 194 static int msi_msix_disable(XenPCIPassthroughState *s, in msi_msix_disable() 236 static int xen_pt_msi_set_enable(XenPCIPassthroughState *s, bool enable) in xen_pt_msi_set_enable() 249 int xen_pt_msi_setup(XenPCIPassthroughState *s) in xen_pt_msi_setup() 277 int xen_pt_msi_update(XenPCIPassthroughState *s) in xen_pt_msi_update() 286 void xen_pt_msi_disable(XenPCIPassthroughState *s) in xen_pt_msi_disable() 310 static int msix_set_enable(XenPCIPassthroughState *s, bool enabled) in msix_set_enable() 322 static int xen_pt_msix_update_one(XenPCIPassthroughState *s, int entry_nr, in xen_pt_msix_update_one() [all …]
|
| /openbmc/qemu/hw/riscv/ |
| H A D | virt.c | 117 static PFlashCFI01 *virt_flash_create1(RISCVVirtState *s, in virt_flash_create1() 144 static void virt_flash_create(RISCVVirtState *s) in virt_flash_create() 166 static void virt_flash_map(RISCVVirtState *s, in virt_flash_map() 178 static void create_pcie_irq_map(RISCVVirtState *s, void *fdt, char *nodename, in create_pcie_irq_map() 232 static void create_fdt_socket_cpus(RISCVVirtState *s, int socket, in create_fdt_socket_cpus() 303 static void create_fdt_socket_memory(RISCVVirtState *s, int socket) in create_fdt_socket_memory() 319 static void create_fdt_socket_clint(RISCVVirtState *s, in create_fdt_socket_clint() 355 static void create_fdt_socket_aclint(RISCVVirtState *s, in create_fdt_socket_aclint() 442 static void create_fdt_socket_plic(RISCVVirtState *s, in create_fdt_socket_plic() 523 static void create_fdt_one_imsic(RISCVVirtState *s, hwaddr base_addr, in create_fdt_one_imsic() [all …]
|
| H A D | riscv-iommu-hpm.c | 33 uint64_t riscv_iommu_hpmcycle_read(RISCVIOMMUState *s) in riscv_iommu_hpmcycle_read() 58 static void hpm_incr_ctr(RISCVIOMMUState *s, uint32_t ctr_idx) in hpm_incr_ctr() 87 void riscv_iommu_hpm_incr_ctr(RISCVIOMMUState *s, RISCVIOMMUContext *ctx, in riscv_iommu_hpm_incr_ctr() 177 RISCVIOMMUState *s = priv; in riscv_iommu_hpm_timer_cb() local 210 static void hpm_setup_timer(RISCVIOMMUState *s, uint64_t value) in hpm_setup_timer() 241 void riscv_iommu_process_iocntinh_cy(RISCVIOMMUState *s, bool prev_cy_inh) in riscv_iommu_process_iocntinh_cy() 272 void riscv_iommu_process_hpmcycle_write(RISCVIOMMUState *s) in riscv_iommu_process_hpmcycle_write() 312 static void update_event_map(RISCVIOMMUState *s, uint64_t value, in update_event_map() 353 void riscv_iommu_process_hpmevt_write(RISCVIOMMUState *s, uint32_t evt_reg) in riscv_iommu_process_hpmevt_write()
|
| /openbmc/qemu/hw/watchdog/ |
| H A D | sbsa_gwdt.c | 50 SBSA_GWDTState *s = SBSA_GWDT(opaque); in sbsa_gwdt_rread() local 70 SBSA_GWDTState *s = SBSA_GWDT(opaque); in sbsa_gwdt_read() local 99 static void sbsa_gwdt_update_timer(SBSA_GWDTState *s, WdtRefreshType rtype) in sbsa_gwdt_update_timer() 128 SBSA_GWDTState *s = SBSA_GWDT(opaque); in sbsa_gwdt_rwrite() local 142 SBSA_GWDTState *s = SBSA_GWDT(opaque); in sbsa_gwdt_write() local 181 SBSA_GWDTState *s = SBSA_GWDT(dev); in wdt_sbsa_gwdt_reset() local 195 SBSA_GWDTState *s = SBSA_GWDT(opaque); in sbsa_gwdt_timer_sysinterrupt() local 242 SBSA_GWDTState *s = SBSA_GWDT(dev); in wdt_sbsa_gwdt_realize() local
|
| /openbmc/qemu/hw/i386/kvm/ |
| H A D | xen_primary_console.c | 53 XenPrimaryConsoleState *s = XEN_PRIMARY_CONSOLE(dev); in xen_primary_console_realize() local 108 XenPrimaryConsoleState *s = xen_primary_console_singleton; in type_init() local 117 XenPrimaryConsoleState *s = xen_primary_console_singleton; in xen_primary_console_set_be_port() local 125 XenPrimaryConsoleState *s = xen_primary_console_singleton; in xen_primary_console_get_pfn() local 134 XenPrimaryConsoleState *s = xen_primary_console_singleton; in xen_primary_console_get_map() local 141 static void alloc_guest_port(XenPrimaryConsoleState *s) in alloc_guest_port() 153 static void rebind_guest_port(XenPrimaryConsoleState *s) in rebind_guest_port() 169 XenPrimaryConsoleState *s = xen_primary_console_singleton; in xen_primary_console_reset() local
|