| /openbmc/phosphor-fan-presence/presence/ |
| H A D | anyof.cpp | 35 const std::vector<std::reference_wrapper<PresenceSensor>>& s, in AnyOf() 64 std::find_if(state.begin(), state.end(), [&sensor](const auto& s) { in stateChanged() 71 [](const auto& s) { return std::get<presentPos>(s); }); in stateChanged() 77 [](const auto& s) { return std::get<presentPos>(s); }); in stateChanged() 98 std::for_each(state.begin(), state.end(), [](auto& s) { in stateChanged() 112 for (auto& s : state) in monitor() local 118 auto present = std::any_of(state.begin(), state.end(), [](const auto& s) { in monitor() 141 [](const auto& s) { return std::get<presentPos>(s); }) && in checkSensorConflicts() 143 [](const auto& s) { return std::get<presentPos>(s); })) in checkSensorConflicts()
|
| /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() 108 static void tpm_tis_raise_irq(TPMState *s, uint8_t locty, uint32_t irqmask) in tpm_tis_raise_irq() 122 static uint32_t tpm_tis_check_request_use_except(TPMState *s, uint8_t locty) in tpm_tis_check_request_use_except() 138 static void tpm_tis_new_active_locality(TPMState *s, uint8_t new_active_locty) in tpm_tis_new_active_locality() 179 static void tpm_tis_abort(TPMState *s) in tpm_tis_abort() 205 static void tpm_tis_prep_abort(TPMState *s, uint8_t locty, uint8_t newlocty) in tpm_tis_prep_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 [all …]
|
| /openbmc/qemu/target/arm/tcg/ |
| H A D | translate-vfp.c | 114 static void gen_preserve_fp_state(DisasContext *s, bool skip_context_update) in gen_preserve_fp_state() 155 static void gen_update_fp_context(DisasContext *s) in gen_update_fp_context() 219 static bool vfp_access_check_a(DisasContext *s, bool ignore_vfp_enabled) in vfp_access_check_a() 265 bool vfp_access_check_m(DisasContext *s, bool skip_context_update) in vfp_access_check_m() 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() 577 bool mve_skip_vmov(DisasContext *s, int vn, int index, int size) in mve_skip_vmov() 619 static bool trans_VMOV_to_gp(DisasContext *s, arg_VMOV_to_gp *a) in trans_VMOV_to_gp() [all …]
|
| /openbmc/qemu/hw/misc/macio/ |
| H A D | pmu.c | 57 PMUState *s = opaque; in via_set_sr_int() local 65 static void pmu_update_extirq(PMUState *s) in pmu_update_extirq() 76 PMUState *s = opaque; in pmu_adb_poll() local 94 PMUState *s = opaque; in pmu_one_sec_timer() local 105 static void pmu_cmd_int_ack(PMUState *s, in pmu_cmd_int_ack() 137 static void pmu_cmd_set_int_mask(PMUState *s, in pmu_cmd_set_int_mask() 154 static void pmu_cmd_set_adb_autopoll(PMUState *s, uint16_t mask) in pmu_cmd_set_adb_autopoll() 168 static void pmu_cmd_adb(PMUState *s, in pmu_cmd_adb() 243 static void pmu_cmd_adb_poll_off(PMUState *s, in pmu_cmd_adb_poll_off() 261 static void pmu_cmd_shutdown(PMUState *s, in pmu_cmd_shutdown() [all …]
|
| /openbmc/qemu/hw/intc/ |
| H A D | armv7m_nvic.c | 69 static void signal_sysresetreq(NVICState *s) in signal_sysresetreq() 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() 166 static inline uint32_t nvic_gprio_mask(NVICState *s, bool secure) in nvic_gprio_mask() 171 static bool exc_targets_secure(NVICState *s, int exc) in exc_targets_secure() 204 static int exc_group_prio(NVICState *s, int rawprio, bool targets_secure) in exc_group_prio() 227 static void nvic_recompute_state_secure(NVICState *s) in nvic_recompute_state_secure() 290 static void nvic_recompute_state(NVICState *s) in nvic_recompute_state() 342 static inline int nvic_exec_prio(NVICState *s) in nvic_exec_prio() [all …]
|
| H A D | apic.c | 97 static void apic_sync_vapic(APICCommonState *s, int sync_type) in apic_sync_vapic() argument 146 apic_vapic_base_update(APICCommonState * s) apic_vapic_base_update() argument 151 apic_local_deliver(APICCommonState * s,int vector) apic_local_deliver() argument 185 APICCommonState *s = APIC(dev); apic_deliver_pic_intr() local 205 apic_external_nmi(APICCommonState * s) apic_external_nmi() argument 305 APICCommonState *s = APIC(dev); is_x2apic_mode() local 310 apic_set_base_check(APICCommonState * s,uint64_t val) apic_set_base_check() argument 347 apic_set_base(APICCommonState * s,uint64_t val) apic_set_base() argument 381 apic_set_tpr(APICCommonState * s,uint8_t val) apic_set_tpr() argument 392 APICCommonState *s; apic_get_highest_priority_irr() local 402 apic_get_tpr(APICCommonState * s) apic_get_tpr() argument 408 apic_get_ppr(APICCommonState * s) apic_get_ppr() argument 424 apic_get_arb_pri(APICCommonState * s) apic_get_arb_pri() argument 436 apic_irq_pending(APICCommonState * s) apic_irq_pending() argument 457 apic_update_irq(APICCommonState * s) apic_update_irq() argument 474 APICCommonState *s = APIC(dev); apic_poll_irq() local 480 apic_set_irq(APICCommonState * s,int vector_num,int trigger_mode) apic_set_irq() argument 502 apic_eoi(APICCommonState * s) apic_eoi() argument 638 apic_startup(APICCommonState * s,int vector_num) apic_startup() argument 646 APICCommonState *s = APIC(dev); apic_sipi() local 660 APICCommonState *s = APIC(dev); apic_deliver() local 711 apic_check_pic(APICCommonState * s) apic_check_pic() argument 724 APICCommonState *s = APIC(dev); apic_get_interrupt() local 758 APICCommonState *s = APIC(dev); apic_accept_pic_intr() local 773 apic_timer_update(APICCommonState * s,int64_t current_time) apic_timer_update() argument 784 APICCommonState *s = opaque; apic_timer() local 793 APICCommonState *s; apic_register_read() local 941 APICCommonState *s; apic_register_write() local 1113 apic_pre_save(APICCommonState * s) apic_pre_save() argument 1118 apic_post_load(APICCommonState * s) apic_post_load() argument 1139 APICCommonState *s = APIC(dev); apic_realize() local 1173 APICCommonState *s = APIC(dev); apic_unrealize() local [all...] |
| H A D | arm_gic.c | 59 static inline int gic_get_current_cpu(GICState *s) in gic_get_current_cpu() 67 static inline int gic_get_current_vcpu(GICState *s) in gic_get_current_vcpu() 75 static inline bool gic_has_groups(GICState *s) in gic_has_groups() 80 static inline bool gic_cpu_ns_access(GICState *s, int cpu, MemTxAttrs attrs) in gic_cpu_ns_access() 85 static inline void gic_get_best_irq(GICState *s, int cpu, in gic_get_best_irq() 110 static inline void gic_get_best_virq(GICState *s, int cpu, in gic_get_best_virq() 142 static inline bool gic_irq_signaling_enabled(GICState *s, int cpu, bool virt, in gic_irq_signaling_enabled() 164 static inline void gic_update_internal(GICState *s, bool virt) in gic_update_internal() 227 static void gic_update(GICState *s) in gic_update() 250 static inline void gic_extract_lr_info(GICState *s, int cpu, in gic_extract_lr_info() [all …]
|
| /openbmc/qemu/target/i386/tcg/ |
| H A D | translate.c | 328 static void set_cc_op_1(DisasContext *s, CCOp op, bool dirty) in set_cc_op_1() 358 static void set_cc_op(DisasContext *s, CCOp op) in set_cc_op() 367 static void assume_cc_op(DisasContext *s, CCOp op) in assume_cc_op() 372 static void gen_update_cc_op(DisasContext *s) in gen_update_cc_op() 410 static inline bool byte_reg_is_xH(DisasContext *s, int reg) in byte_reg_is_xH() 420 static inline MemOp mo_pushpop(DisasContext *s, MemOp ot) in mo_pushpop() 430 static inline MemOp mo_stacksize(DisasContext *s) in mo_stacksize() 443 static TCGv gen_op_deposit_reg_v(DisasContext *s, MemOp ot, int reg, TCGv dest, TCGv t0) in gen_op_deposit_reg_v() 477 static void gen_op_mov_reg_v(DisasContext *s, MemOp ot, int reg, TCGv t0) in gen_op_mov_reg_v() 483 void gen_op_mov_v_reg(DisasContext *s, MemOp ot, TCGv t0, int reg) in gen_op_mov_v_reg() [all …]
|
| /openbmc/qemu/include/qemu/ |
| H A D | stats64.h | 32 static inline void stat64_init(Stat64 *s, uint64_t value) in stat64_init() 38 static inline uint64_t stat64_get(const Stat64 *s) in stat64_get() 43 static inline void stat64_set(Stat64 *s, uint64_t value) in stat64_set() 48 static inline void stat64_add(Stat64 *s, uint64_t value) in stat64_add() 53 static inline void stat64_min(Stat64 *s, uint64_t value) in stat64_min() 61 static inline void stat64_max(Stat64 *s, uint64_t value) in stat64_max() 75 static inline void stat64_init(Stat64 *s, uint64_t value) in stat64_init() 81 static inline void stat64_add(Stat64 *s, uint64_t value) in stat64_add() 117 static inline void stat64_min(Stat64 *s, uint64_t value) in stat64_min() 157 static inline void stat64_max(Stat64 *s, uint64_t value) in stat64_max()
|
| /openbmc/qemu/hw/net/ |
| H A D | tulip.c | 70 static void tulip_desc_read(TULIPState *s, hwaddr p, in tulip_desc_read() 88 static void tulip_desc_write(TULIPState *s, hwaddr p, in tulip_desc_write() 106 static void tulip_update_int(TULIPState *s) in tulip_update_int() 128 static bool tulip_rx_stopped(TULIPState *s) in tulip_rx_stopped() 133 static void tulip_dump_tx_descriptor(TULIPState *s, in tulip_dump_tx_descriptor() 142 static void tulip_dump_rx_descriptor(TULIPState *s, in tulip_dump_rx_descriptor() 151 static void tulip_next_rx_descriptor(TULIPState *s, in tulip_next_rx_descriptor() 165 static void tulip_copy_rx_bytes(TULIPState *s, struct tulip_descriptor *desc) in tulip_copy_rx_bytes() 196 static bool tulip_filter_address(TULIPState *s, const uint8_t *addr) in tulip_filter_address() 230 static ssize_t tulip_receive(TULIPState *s, const uint8_t *buf, size_t size) in tulip_receive() [all …]
|
| H A D | vmxnet3.c | 235 static bool _vmxnet3_assert_interrupt_line(VMXNET3State *s, uint32_t int_idx) in _vmxnet3_assert_interrupt_line() 255 static void _vmxnet3_deassert_interrupt_line(VMXNET3State *s, int lidx) in _vmxnet3_deassert_interrupt_line() 274 static void vmxnet3_update_interrupt_line_state(VMXNET3State *s, int lidx) in vmxnet3_update_interrupt_line_state() 295 static void vmxnet3_trigger_interrupt(VMXNET3State *s, int lidx) in vmxnet3_trigger_interrupt() 316 static bool vmxnet3_interrupt_asserted(VMXNET3State *s, int lidx) in vmxnet3_interrupt_asserted() 321 static void vmxnet3_clear_interrupt(VMXNET3State *s, int int_idx) in vmxnet3_clear_interrupt() 331 vmxnet3_on_interrupt_mask_changed(VMXNET3State *s, int lidx, bool is_masked) in vmxnet3_on_interrupt_mask_changed() 346 static void vmxnet3_set_variable_mac(VMXNET3State *s, uint32_t h, uint32_t l) in vmxnet3_set_variable_mac() 375 vmxnet3_inc_tx_consumption_counter(VMXNET3State *s, int qidx) in vmxnet3_inc_tx_consumption_counter() 381 vmxnet3_inc_rx_consumption_counter(VMXNET3State *s, int qidx, int ridx) in vmxnet3_inc_rx_consumption_counter() [all …]
|
| H A D | dp8393x.c | 150 static uint32_t dp8393x_cdp(dp8393xState *s) in dp8393x_cdp() 155 static uint32_t dp8393x_crba(dp8393xState *s) in dp8393x_crba() 160 static uint32_t dp8393x_crda(dp8393xState *s) in dp8393x_crda() 166 static uint32_t dp8393x_rbwc(dp8393xState *s) in dp8393x_rbwc() 171 static uint32_t dp8393x_rrp(dp8393xState *s) in dp8393x_rrp() 176 static uint32_t dp8393x_tsa(dp8393xState *s) in dp8393x_tsa() 181 static uint32_t dp8393x_ttda(dp8393xState *s) in dp8393x_ttda() 187 static uint32_t dp8393x_wt(dp8393xState *s) in dp8393x_wt() 192 static uint16_t dp8393x_get(dp8393xState *s, hwaddr addr, int offset) in dp8393x_get() 216 static void dp8393x_put(dp8393xState *s, in dp8393x_put() [all …]
|
| /openbmc/qemu/hw/watchdog/ |
| H A D | cmsdk-apb-watchdog.c | 85 static bool cmsdk_apb_watchdog_intstatus(CMSDKAPBWatchdog *s) in cmsdk_apb_watchdog_intstatus() 91 static bool cmsdk_apb_watchdog_resetstatus(CMSDKAPBWatchdog *s) in cmsdk_apb_watchdog_resetstatus() 97 static void cmsdk_apb_watchdog_update(CMSDKAPBWatchdog *s) in cmsdk_apb_watchdog_update() 123 CMSDKAPBWatchdog *s = CMSDK_APB_WATCHDOG(opaque); in cmsdk_apb_watchdog_read() local 186 CMSDKAPBWatchdog *s = CMSDK_APB_WATCHDOG(opaque); in cmsdk_apb_watchdog_write() local 296 CMSDKAPBWatchdog *s = CMSDK_APB_WATCHDOG(opaque); in cmsdk_apb_watchdog_tick() local 311 CMSDKAPBWatchdog *s = CMSDK_APB_WATCHDOG(dev); in cmsdk_apb_watchdog_reset() local 335 CMSDKAPBWatchdog *s = CMSDK_APB_WATCHDOG(opaque); in cmsdk_apb_watchdog_clk_update() local 345 CMSDKAPBWatchdog *s = CMSDK_APB_WATCHDOG(obj); in cmsdk_apb_watchdog_init() local 361 CMSDKAPBWatchdog *s = CMSDK_APB_WATCHDOG(dev); in cmsdk_apb_watchdog_realize() local [all …]
|
| H A D | allwinner-wdt.c | 91 static bool allwinner_wdt_sun4i_read(AwWdtState *s, uint32_t offset) in allwinner_wdt_sun4i_read() 97 static bool allwinner_wdt_sun4i_write(AwWdtState *s, uint32_t offset, in allwinner_wdt_sun4i_write() 104 static bool allwinner_wdt_sun4i_can_reset_system(AwWdtState *s) in allwinner_wdt_sun4i_can_reset_system() 113 static bool allwinner_wdt_sun4i_is_key_valid(AwWdtState *s, uint32_t val) in allwinner_wdt_sun4i_is_key_valid() 119 static uint8_t allwinner_wdt_sun4i_get_intv_value(AwWdtState *s) in allwinner_wdt_sun4i_get_intv_value() 125 static bool allwinner_wdt_sun6i_read(AwWdtState *s, uint32_t offset) in allwinner_wdt_sun6i_read() 140 static bool allwinner_wdt_sun6i_write(AwWdtState *s, uint32_t offset, in allwinner_wdt_sun6i_write() 156 static bool allwinner_wdt_sun6i_can_reset_system(AwWdtState *s) in allwinner_wdt_sun6i_can_reset_system() 165 static bool allwinner_wdt_sun6i_is_key_valid(AwWdtState *s, uint32_t val) in allwinner_wdt_sun6i_is_key_valid() 171 static uint8_t allwinner_wdt_sun6i_get_intv_value(AwWdtState *s) in allwinner_wdt_sun6i_get_intv_value() [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() 165 MirrorState *s = FILTER_REDIRECTOR(nf); in redirector_chr_read() local 179 MirrorState *s = FILTER_REDIRECTOR(nf); in redirector_chr_event() local 198 MirrorState *s = FILTER_MIRROR(nf); in filter_mirror_receive_iov() local 220 MirrorState *s = FILTER_REDIRECTOR(nf); in filter_redirector_receive_iov() local 236 MirrorState *s = FILTER_MIRROR(nf); in filter_mirror_cleanup() local 243 MirrorState *s = FILTER_REDIRECTOR(nf); in filter_redirector_cleanup() local 251 MirrorState *s = FILTER_MIRROR(nf); in filter_mirror_setup() local [all …]
|
| /openbmc/qemu/hw/rtc/ |
| H A D | pl031.c | 43 static void pl031_update(PL031State *s) in pl031_update() 53 PL031State *s = (PL031State *)opaque; in pl031_interrupt() local 60 static uint32_t pl031_get_count(PL031State *s) in pl031_get_count() 66 static void pl031_set_alarm(PL031State *s) in pl031_set_alarm() 86 PL031State *s = (PL031State *)opaque; in pl031_read() local 135 PL031State *s = (PL031State *)opaque; in pl031_write() local 192 PL031State *s = PL031(obj); in pl031_init() local 209 PL031State *s = PL031(obj); in pl031_finalize() local 216 PL031State *s = opaque; in pl031_pre_save() local 245 PL031State *s = opaque; in pl031_pre_load() 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() 76 uint32_t cpu_to_dump32(DumpState *s, uint32_t val) in cpu_to_dump32() 87 uint64_t cpu_to_dump64(DumpState *s, uint64_t val) in cpu_to_dump64() 98 static int dump_cleanup(DumpState *s) in dump_cleanup() 126 DumpState *s = opaque; in fd_write_vmcore() local 137 static void prepare_elf64_header(DumpState *s, Elf64_Ehdr *elf_header) in prepare_elf64_header() 164 static void prepare_elf32_header(DumpState *s, Elf32_Ehdr *elf_header) in prepare_elf32_header() 191 static void write_elf_header(DumpState *s, Error **errp) in write_elf_header() [all …]
|
| /openbmc/qemu/hw/misc/ |
| H A D | stm32l4x5_rcc.c | 79 RccClockMuxState *s = *backref; in clock_mux_src_update() local 94 RccClockMuxState *s = RCC_CLOCK_MUX(obj); in clock_mux_init() local 112 RccClockMuxState *s = RCC_CLOCK_MUX(obj); in clock_mux_reset_enter() local 118 RccClockMuxState *s = RCC_CLOCK_MUX(obj); in clock_mux_reset_hold() local 124 RccClockMuxState *s = RCC_CLOCK_MUX(obj); in clock_mux_reset_exit() local 241 RccPllState *s = opaque; in pll_src_update() local 247 RccPllState *s = RCC_PLL(obj); in pll_init() local 264 RccPllState *s = RCC_PLL(obj); in pll_reset_enter() local 270 RccPllState *s = RCC_PLL(obj); in pll_reset_hold() local 276 RccPllState *s = RCC_PLL(obj); in pll_reset_exit() local [all …]
|
| H A D | nrf51_rng.c | 23 static void update_irq(NRF51RNGState *s) in update_irq() 31 NRF51RNGState *s = NRF51_RNG(opaque); in rng_read() local 62 static int64_t calc_next_timeout(NRF51RNGState *s) in calc_next_timeout() 75 static void rng_update_timer(NRF51RNGState *s) in rng_update_timer() 88 NRF51RNGState *s = NRF51_RNG(opaque); in rng_write() local 150 NRF51RNGState *s = NRF51_RNG(opaque); in nrf51_rng_timer_expire() local 167 NRF51RNGState *s = NRF51_RNG(opaque); in nrf51_rng_tep_start() local 177 NRF51RNGState *s = NRF51_RNG(opaque); in nrf51_rng_tep_stop() local 188 NRF51RNGState *s = NRF51_RNG(obj); in nrf51_rng_init() local 209 NRF51RNGState *s = NRF51_RNG(dev); in nrf51_rng_reset() local
|
| H A D | ivshmem-pci.c | 135 static inline bool ivshmem_is_master(IVShmemState *s) in ivshmem_is_master() 141 static void ivshmem_IntrMask_write(IVShmemState *s, uint32_t val) in ivshmem_IntrMask_write() 148 static uint32_t ivshmem_IntrMask_read(IVShmemState *s) in ivshmem_IntrMask_read() 156 static void ivshmem_IntrStatus_write(IVShmemState *s, uint32_t val) in ivshmem_IntrStatus_write() 163 static uint32_t ivshmem_IntrStatus_read(IVShmemState *s) in ivshmem_IntrStatus_read() 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 [all …]
|
| /openbmc/qemu/hw/char/ |
| H A D | stm32l4x5_usart.c | 157 static void stm32l4x5_update_isr(Stm32l4x5UsartBaseState *s) in stm32l4x5_update_isr() 172 static void stm32l4x5_update_irq(Stm32l4x5UsartBaseState *s) in stm32l4x5_update_irq() 200 Stm32l4x5UsartBaseState *s = opaque; in stm32l4x5_usart_base_can_receive() local 212 Stm32l4x5UsartBaseState *s = opaque; in stm32l4x5_usart_base_receive() local 245 Stm32l4x5UsartBaseState *s = STM32L4X5_USART_BASE(opaque); in usart_transmit() local 281 static void usart_cancel_transmit(Stm32l4x5UsartBaseState *s) in usart_cancel_transmit() 289 static void stm32l4x5_update_params(Stm32l4x5UsartBaseState *s) in stm32l4x5_update_params() 377 Stm32l4x5UsartBaseState *s = STM32L4X5_USART_BASE(obj); in stm32l4x5_usart_base_reset_hold() local 393 static void usart_update_rqr(Stm32l4x5UsartBaseState *s, uint32_t value) in usart_update_rqr() 409 Stm32l4x5UsartBaseState *s = opaque; in stm32l4x5_usart_base_read() local [all …]
|
| H A D | imx_serial.c | 65 static void imx_update(IMXSerialState *s) in imx_update() 98 static void imx_serial_rx_fifo_push(IMXSerialState *s, uint32_t value) in imx_serial_rx_fifo_push() 113 static uint32_t imx_serial_rx_fifo_pop(IMXSerialState *s) in imx_serial_rx_fifo_pop() 123 IMXSerialState *s = (IMXSerialState *) opaque; in imx_serial_rx_fifo_ageing_timer_int() local 138 IMXSerialState *s = (IMXSerialState *) opaque; in imx_serial_rx_fifo_ageing_timer_restart() local 148 static void imx_serial_reset(IMXSerialState *s) in imx_serial_reset() 171 IMXSerialState *s = IMX_SERIAL(dev); in imx_serial_reset_at_boot() local 188 IMXSerialState *s = (IMXSerialState *)opaque; in imx_serial_read() local 279 IMXSerialState *s = (IMXSerialState *)opaque; in imx_serial_write() local 388 IMXSerialState *s = (IMXSerialState *)opaque; in imx_can_receive() local [all …]
|
| /openbmc/qemu/hw/display/ |
| H A D | dm163.c | 59 DM163State *s = DM163(obj); in dm163_reset_hold() local 84 DM163State *s = opaque; in dm163_dck_gpio_handler() local 107 static void dm163_propagate_outputs(DM163State *s) in dm163_propagate_outputs() 145 DM163State *s = opaque; in dm163_en_b_gpio_handler() local 152 static uint8_t dm163_bank0(const DM163State *s, uint8_t led) in dm163_bank0() 186 static uint8_t dm163_bank1(const DM163State *s, uint8_t led) in dm163_bank1() 194 DM163State *s = opaque; in dm163_lat_b_gpio_handler() local 209 DM163State *s = opaque; in dm163_rst_b_gpio_handler() local 218 DM163State *s = opaque; in dm163_selbk_gpio_handler() local 226 DM163State *s = opaque; in dm163_sin_gpio_handler() local [all …]
|
| /openbmc/qemu/hw/core/ |
| H A D | ptimer.c | 46 static void ptimer_trigger(ptimer_state *s) in ptimer_trigger() argument 51 static void ptimer_reload(ptimer_state *s, int delta_adjust) in ptimer_reload() 157 ptimer_state *s = (ptimer_state *)opaque; in ptimer_tick() local 201 uint64_t ptimer_get_count(ptimer_state *s) in ptimer_get_count() 297 void ptimer_set_count(ptimer_state *s, uint64_t count) in ptimer_set_count() 306 void ptimer_run(ptimer_state *s, int oneshot) in ptimer_run() 326 void ptimer_stop(ptimer_state *s) in ptimer_stop() 340 void ptimer_set_period(ptimer_state *s, int64_t period) in ptimer_set_period() 352 void ptimer_set_period_from_clock(ptimer_state *s, const Clock *clk, in ptimer_set_period_from_clock() 385 void ptimer_set_freq(ptimer_state *s, uint32_t freq) in ptimer_set_freq() [all …]
|
| /openbmc/qemu/tests/qtest/libqos/ |
| H A D | pci-spapr.c | 27 QPCIBusSPAPR *s = container_of(bus, QPCIBusSPAPR, bus); in qpci_spapr_pio_readb() local 33 QPCIBusSPAPR *s = container_of(bus, QPCIBusSPAPR, bus); in qpci_spapr_pio_writeb() local 39 QPCIBusSPAPR *s = container_of(bus, QPCIBusSPAPR, bus); in qpci_spapr_pio_readw() local 45 QPCIBusSPAPR *s = container_of(bus, QPCIBusSPAPR, bus); in qpci_spapr_pio_writew() local 51 QPCIBusSPAPR *s = container_of(bus, QPCIBusSPAPR, bus); in qpci_spapr_pio_readl() local 57 QPCIBusSPAPR *s = container_of(bus, QPCIBusSPAPR, bus); in qpci_spapr_pio_writel() local 63 QPCIBusSPAPR *s = container_of(bus, QPCIBusSPAPR, bus); in qpci_spapr_pio_readq() local 69 QPCIBusSPAPR *s = container_of(bus, QPCIBusSPAPR, bus); in qpci_spapr_pio_writeq() local 76 QPCIBusSPAPR *s = container_of(bus, QPCIBusSPAPR, bus); in qpci_spapr_memread() local 83 QPCIBusSPAPR *s = container_of(bus, QPCIBusSPAPR, bus); in qpci_spapr_memwrite() local [all …]
|