/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 282 CMSDKAPBWatchdog *s = CMSDK_APB_WATCHDOG(opaque); in cmsdk_apb_watchdog_tick() local 297 CMSDKAPBWatchdog *s = CMSDK_APB_WATCHDOG(dev); in cmsdk_apb_watchdog_reset() local 315 CMSDKAPBWatchdog *s = CMSDK_APB_WATCHDOG(opaque); in cmsdk_apb_watchdog_clk_update() local 325 CMSDKAPBWatchdog *s = CMSDK_APB_WATCHDOG(obj); in cmsdk_apb_watchdog_init() local 341 CMSDKAPBWatchdog *s = CMSDK_APB_WATCHDOG(dev); in cmsdk_apb_watchdog_realize() local [all …]
|
/openbmc/linux/kernel/bpf/ |
H A D | percpu_freelist.c | 6 int pcpu_freelist_init(struct pcpu_freelist *s) in pcpu_freelist_init() 25 void pcpu_freelist_destroy(struct pcpu_freelist *s) in pcpu_freelist_destroy() 45 static inline bool pcpu_freelist_try_push_extra(struct pcpu_freelist *s, in pcpu_freelist_try_push_extra() 56 static inline void ___pcpu_freelist_push_nmi(struct pcpu_freelist *s, in ___pcpu_freelist_push_nmi() 80 void __pcpu_freelist_push(struct pcpu_freelist *s, in __pcpu_freelist_push() 89 void pcpu_freelist_push(struct pcpu_freelist *s, in pcpu_freelist_push() 99 void pcpu_freelist_populate(struct pcpu_freelist *s, void *buf, u32 elem_size, in pcpu_freelist_populate() 121 static struct pcpu_freelist_node *___pcpu_freelist_pop(struct pcpu_freelist *s) in ___pcpu_freelist_pop() 153 ___pcpu_freelist_pop_nmi(struct pcpu_freelist *s) in ___pcpu_freelist_pop_nmi() 184 struct pcpu_freelist_node *__pcpu_freelist_pop(struct pcpu_freelist *s) in __pcpu_freelist_pop() [all …]
|
/openbmc/linux/lib/ |
H A D | parser.c | 34 static int match_one(char *s, const char *p, substring_t args[]) in match_one() 115 int match_token(char *s, const match_table_t table, substring_t args[]) in match_token() 138 static int match_number(substring_t *s, int *result, int base) in match_number() 170 static int match_u64int(substring_t *s, u64 *result, int base) in match_u64int() 194 int match_int(substring_t *s, int *result) in match_int() 210 int match_uint(substring_t *s, unsigned int *result) in match_uint() 233 int match_u64(substring_t *s, u64 *result) in match_u64() 249 int match_octal(substring_t *s, int *result) in match_octal() 265 int match_hex(substring_t *s, int *result) in match_hex() 285 const char *s = str; in match_wildcard() local [all …]
|
/openbmc/qemu/hw/xen/ |
H A D | xen_pt_config_init.c | 118 static int xen_pt_common_reg_init(XenPCIPassthroughState *s, in xen_pt_common_reg_init() 240 static int xen_pt_vendor_reg_init(XenPCIPassthroughState *s, in xen_pt_vendor_reg_init() 247 static int xen_pt_device_reg_init(XenPCIPassthroughState *s, in xen_pt_device_reg_init() 254 static int xen_pt_status_reg_init(XenPCIPassthroughState *s, in xen_pt_status_reg_init() 299 static int xen_pt_irqpin_reg_init(XenPCIPassthroughState *s, in xen_pt_irqpin_reg_init() 1183 static int xen_pt_mask_reg_init(XenPCIPassthroughState *s, in xen_pt_mask_reg_init() 1588 static int xen_pt_pcie_size_init(XenPCIPassthroughState *s, in xen_pt_pcie_size_init() 1660 static int xen_pt_msi_size_init(XenPCIPassthroughState *s, in xen_pt_msi_size_init() 1688 static int xen_pt_msix_size_init(XenPCIPassthroughState *s, in xen_pt_msix_size_init() 1819 static int xen_pt_ptr_reg_init(XenPCIPassthroughState *s, in xen_pt_ptr_reg_init() [all …]
|
/openbmc/qemu/hw/timer/ |
H A D | sifive_pwm.c | 86 static void sifive_pwm_set_alarms(SiFivePwmState *s) in sifive_pwm_set_alarms() 147 static void sifive_pwm_interrupt(SiFivePwmState *s, int num) in sifive_pwm_interrupt() 195 SiFivePwmState *s = opaque; in sifive_pwm_interrupt_0() local 202 SiFivePwmState *s = opaque; in sifive_pwm_interrupt_1() local 209 SiFivePwmState *s = opaque; in sifive_pwm_interrupt_2() local 216 SiFivePwmState *s = opaque; in sifive_pwm_interrupt_3() local 224 SiFivePwmState *s = opaque; in sifive_pwm_read() local 275 SiFivePwmState *s = opaque; in sifive_pwm_write() local 376 SiFivePwmState *s = SIFIVE_PWM(dev); in sifive_pwm_reset() local 416 SiFivePwmState *s = SIFIVE_PWM(obj); in sifive_pwm_init() local [all …]
|
H A D | imx_epit.c | 68 static void imx_epit_update_int(IMXEPITState *s) in imx_epit_update_int() 77 static uint32_t imx_epit_get_freq(IMXEPITState *s) in imx_epit_get_freq() 90 static void imx_epit_reset(IMXEPITState *s, bool is_hard_reset) in imx_epit_reset() 120 IMXEPITState *s = IMX_EPIT(opaque); in imx_epit_read() local 160 static void imx_epit_update_compare_timer(IMXEPITState *s) in imx_epit_update_compare_timer() 224 static void imx_epit_write_cr(IMXEPITState *s, uint32_t value) in imx_epit_write_cr() 285 static void imx_epit_write_sr(IMXEPITState *s, uint32_t value) in imx_epit_write_sr() 329 IMXEPITState *s = IMX_EPIT(opaque); in imx_epit_write() local 360 IMXEPITState *s = IMX_EPIT(opaque); in imx_epit_cmp() local 399 IMXEPITState *s = IMX_EPIT(dev); in imx_epit_realize() local [all …]
|
H A D | nrf51_timer.c | 28 static uint32_t ns_to_ticks(NRF51TimerState *s, int64_t ns) in ns_to_ticks() 35 static int64_t ticks_to_ns(NRF51TimerState *s, uint32_t ticks) in ticks_to_ns() 58 static void rearm_timer(NRF51TimerState *s, int64_t now) in rearm_timer() 87 static void update_irq(NRF51TimerState *s) in update_irq() 100 NRF51TimerState *s = NRF51_TIMER(opaque); in timer_expire() local 142 static void counter_compare(NRF51TimerState *s) in counter_compare() 160 NRF51TimerState *s = NRF51_TIMER(opaque); in nrf51_timer_read() local 202 NRF51TimerState *s = NRF51_TIMER(opaque); in nrf51_timer_write() local 319 NRF51TimerState *s = NRF51_TIMER(obj); in nrf51_timer_init() local 332 NRF51TimerState *s = NRF51_TIMER(dev); in nrf51_timer_reset() local [all …]
|
/openbmc/qemu/hw/net/ |
H A D | e1000e.c | 103 E1000EState *s = opaque; in e1000e_mmio_read() local 111 E1000EState *s = opaque; in e1000e_mmio_write() local 140 E1000EState *s = opaque; in e1000e_io_read() local 165 E1000EState *s = opaque; in e1000e_io_write() local 290 e1000e_init_msix(E1000EState *s) in e1000e_init_msix() 307 e1000e_cleanup_msix(E1000EState *s) in e1000e_cleanup_msix() 518 E1000EState *s = E1000E(obj); in e1000e_qdev_reset_hold() local 531 E1000EState *s = opaque; in e1000e_pre_save() local 542 E1000EState *s = opaque; in e1000e_post_load() local 559 E1000EState *s = opaque; in e1000e_migrate_timadj() local [all …]
|
H A D | igb.c | 101 IGBState *s = IGB(dev); in igb_write_config() local 118 IGBState *s = opaque; in igb_mmio_read() local 125 IGBState *s = opaque; in igb_mmio_write() local 131 IGBState *s = opaque; in igb_vf_reset() local 160 IGBState *s = opaque; in igb_io_read() local 184 IGBState *s = opaque; in igb_io_write() local 293 igb_init_msix(IGBState *s) in igb_init_msix() 492 IGBState *s = IGB(obj); in igb_qdev_reset_hold() local 502 IGBState *s = opaque; in igb_pre_save() local 513 IGBState *s = opaque; in igb_post_load() local [all …]
|
/openbmc/qemu/hw/char/ |
H A D | cadence_uart.c | 146 CadenceUARTState *s = opaque; in fifo_trigger_update() local 237 CadenceUARTState *s = opaque; in uart_can_receive() local 279 CadenceUARTState *s = opaque; in uart_write_rx_fifo() local 304 CadenceUARTState *s = opaque; in cadence_uart_xmit() local 363 CadenceUARTState *s = opaque; in uart_receive() local 376 CadenceUARTState *s = opaque; in uart_event() local 416 CadenceUARTState *s = opaque; in uart_write() local 484 CadenceUARTState *s = opaque; in uart_read() local 551 CadenceUARTState *s = opaque; in cadence_uart_refclk_update() local 576 CadenceUARTState *s = opaque; in cadence_uart_pre_load() local [all …]
|
/openbmc/linux/arch/xtensa/variants/de212/include/variant/ |
H A D | tie.h | 89 #define XCHAL_NCP_SA_LIST(s) \ argument 99 #define XCHAL_CP0_SA_LIST(s) /* empty */ argument 102 #define XCHAL_CP1_SA_LIST(s) /* empty */ argument 105 #define XCHAL_CP2_SA_LIST(s) /* empty */ argument 108 #define XCHAL_CP3_SA_LIST(s) /* empty */ argument 111 #define XCHAL_CP4_SA_LIST(s) /* empty */ argument 114 #define XCHAL_CP5_SA_LIST(s) /* empty */ argument 117 #define XCHAL_CP6_SA_LIST(s) /* empty */ argument 120 #define XCHAL_CP7_SA_LIST(s) /* empty */ argument
|
/openbmc/u-boot/arch/xtensa/include/asm/arch-de212/ |
H A D | tie.h | 68 #define XCHAL_NCP_SA_LIST(s) \ argument 78 #define XCHAL_CP0_SA_LIST(s) /* empty */ argument 81 #define XCHAL_CP1_SA_LIST(s) /* empty */ argument 84 #define XCHAL_CP2_SA_LIST(s) /* empty */ argument 87 #define XCHAL_CP3_SA_LIST(s) /* empty */ argument 90 #define XCHAL_CP4_SA_LIST(s) /* empty */ argument 93 #define XCHAL_CP5_SA_LIST(s) /* empty */ argument 96 #define XCHAL_CP6_SA_LIST(s) /* empty */ argument 99 #define XCHAL_CP7_SA_LIST(s) /* empty */ argument
|
/openbmc/qemu/block/ |
H A D | io_uring.c | 69 static void luring_resubmit(LuringState *s, LuringAIOCB *luringcb) in luring_resubmit() 124 static void luring_process_completions(LuringState *s) in luring_process_completions() 229 static int ioq_submit(LuringState *s) in ioq_submit() 284 LuringState *s = opaque; in qemu_luring_completion_bh() local 290 LuringState *s = opaque; in qemu_luring_completion_cb() local 296 LuringState *s = opaque; in qemu_luring_poll_cb() local 303 LuringState *s = opaque; in qemu_luring_poll_ready() local 318 LuringState *s = opaque; in luring_deferred_fn() local 387 LuringState *s = aio_get_linux_io_uring(ctx); in luring_co_submit() local 428 LuringState *s = g_new0(LuringState, 1); in luring_init() local [all …]
|
/openbmc/qemu/hw/i386/kvm/ |
H A D | apic.c | 64 APICCommonState *s = APIC_COMMON(dev); in kvm_get_apic_state() local 98 static void kvm_apic_set_base(APICCommonState *s, uint64_t val) in kvm_apic_set_base() 103 static void kvm_apic_set_tpr(APICCommonState *s, uint8_t val) in kvm_apic_set_tpr() 108 static uint8_t kvm_apic_get_tpr(APICCommonState *s) in kvm_apic_get_tpr() 122 static void kvm_apic_vapic_base_update(APICCommonState *s) in kvm_apic_vapic_base_update() 139 APICCommonState *s = data.host_ptr; in kvm_apic_put() local 153 static void kvm_apic_post_load(APICCommonState *s) in kvm_apic_post_load() 160 APICCommonState *s = data.host_ptr; in do_inject_external_nmi() local 176 static void kvm_apic_external_nmi(APICCommonState *s) in kvm_apic_external_nmi() 219 static void kvm_apic_reset(APICCommonState *s) in kvm_apic_reset() [all …]
|
/openbmc/linux/arch/alpha/lib/ |
H A D | memcpy.c | 26 #define ALIGN_DEST_TO8_UP(d,s,n) \ argument 33 #define ALIGN_DEST_TO8_DN(d,s,n) \ argument 45 #define DO_REST_UP(d,s,n) \ argument 51 #define DO_REST_DN(d,s,n) \ argument 62 #define DO_REST_ALIGNED_UP(d,s,n) DO_REST_UP(d,s,n) argument 63 #define DO_REST_ALIGNED_DN(d,s,n) DO_REST_DN(d,s,n) argument 72 static inline void __memcpy_unaligned_up (unsigned long d, unsigned long s, in __memcpy_unaligned_up() 100 static inline void __memcpy_unaligned_dn (unsigned long d, unsigned long s, in __memcpy_unaligned_dn() 118 static inline void __memcpy_aligned_up (unsigned long d, unsigned long s, in __memcpy_aligned_up() 134 static inline void __memcpy_aligned_dn (unsigned long d, unsigned long s, in __memcpy_aligned_dn()
|
/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/phosphor-fan-presence/presence/ |
H A D | anyof.cpp | 37 const std::vector<std::reference_wrapper<PresenceSensor>>& s, in AnyOf() 66 std::find_if(state.begin(), state.end(), [&sensor](const auto& s) { in stateChanged() 73 [](const auto& s) { return std::get<presentPos>(s); }); in stateChanged() 79 [](const auto& s) { return std::get<presentPos>(s); }); in stateChanged() 100 std::for_each(state.begin(), state.end(), [](auto& s) { in stateChanged() 114 for (auto& s : state) in monitor() local 120 auto present = std::any_of(state.begin(), state.end(), [](const auto& s) { in monitor() 143 [this](const auto& s) { in checkSensorConflicts() 147 [this](const auto& s) { return std::get<presentPos>(s); })) in checkSensorConflicts()
|
/openbmc/linux/net/bluetooth/rfcomm/ |
H A D | core.c | 343 struct rfcomm_session *s = d->session; in rfcomm_dlc_unlink() local 373 struct rfcomm_session *s; in __rfcomm_dlc_open() local 507 struct rfcomm_session *s, *s_list; in rfcomm_dlc_close() local 539 struct rfcomm_session *s; in rfcomm_dlc_exists() local 732 struct rfcomm_session *s, *n; in rfcomm_session_get() local 768 struct rfcomm_session *s = NULL; in rfcomm_session_create() local 2017 struct rfcomm_session *s, *n; in rfcomm_process_sessions() local 2054 struct rfcomm_session *s; in rfcomm_add_listener() local 2105 struct rfcomm_session *s, *n; in rfcomm_kill_listener() local 2139 struct rfcomm_session *s; in rfcomm_security_cfm() local [all …]
|
/openbmc/qemu/target/arm/tcg/ |
H A D | translate-m-nocp.c | 35 static bool trans_VLLDM_VLSTM(DisasContext *s, arg_VLLDM_VLSTM *a) in trans_VLLDM_VLSTM() 103 static bool trans_VSCCLRM(DisasContext *s, arg_VSCCLRM *a) in trans_VSCCLRM() 277 static void gen_branch_fpInactive(DisasContext *s, TCGCond cond, in gen_branch_fpInactive() 305 static bool gen_M_fp_sysreg_write(DisasContext *s, int regno, in gen_M_fp_sysreg_write() 428 static bool gen_M_fp_sysreg_read(DisasContext *s, int regno, in gen_M_fp_sysreg_read() 600 static bool trans_VMSR_VMRS(DisasContext *s, arg_VMSR_VMRS *a) in trans_VMSR_VMRS() 663 static TCGv_i32 memory_to_fp_sysreg(DisasContext *s, void *opaque, in memory_to_fp_sysreg() 704 static bool trans_VLDR_sysreg(DisasContext *s, arg_vldr_sysreg *a) in trans_VLDR_sysreg() 715 static bool trans_VSTR_sysreg(DisasContext *s, arg_vldr_sysreg *a) in trans_VSTR_sysreg() 726 static bool trans_NOCP(DisasContext *s, arg_nocp *a) in trans_NOCP() [all …]
|
H A D | translate-a64.c | 58 static int uimm_scaled(DisasContext *s, int x) in uimm_scaled() 154 static void set_btype(DisasContext *s, int val) in set_btype() 162 static void reset_btype(DisasContext *s) in reset_btype() 538 TCGv_i64 cpu_reg(DisasContext *s, int reg) in cpu_reg() 550 TCGv_i64 cpu_reg_sp(DisasContext *s, int reg) in cpu_reg_sp() 1226 static bool fp_access_check(DisasContext *s) in fp_access_check() 1244 bool sve_access_check(DisasContext *s) in sve_access_check() 1271 static bool sme_access_check(DisasContext *s) in sme_access_check() 1283 bool sme_enabled_check(DisasContext *s) in sme_enabled_check() 4155 unsigned e, levels, s, r; in logic_imm_decode_wmask() local [all …]
|
/openbmc/qemu/tests/qtest/ |
H A D | fw_cfg-test.c | 29 QTestState *s; in test_fw_cfg_signature() local 46 QTestState *s; in test_fw_cfg_id() local 62 QTestState *s; in test_fw_cfg_uuid() local 84 QTestState *s; in test_fw_cfg_ram_size() local 98 QTestState *s; in test_fw_cfg_nographic() local 112 QTestState *s; in test_fw_cfg_nb_cpus() local 126 QTestState *s; in test_fw_cfg_max_cpus() local 139 QTestState *s; in test_fw_cfg_numa() local 168 QTestState *s; in test_fw_cfg_boot_menu() local 181 QTestState *s; in test_fw_cfg_reboot_timeout() local [all …]
|
/openbmc/qemu/hw/misc/ |
H A D | xlnx-zynqmp-apu-ctrl.c | 30 XlnxZynqMPAPUCtrl *s = XLNX_ZYNQMP_APU_CTRL(opaque); in update_wfi_out() local 41 XlnxZynqMPAPUCtrl *s = XLNX_ZYNQMP_APU_CTRL(reg->opaque); in zynqmp_apu_rvbar_post_write() local 56 XlnxZynqMPAPUCtrl *s = XLNX_ZYNQMP_APU_CTRL(reg->opaque); in zynqmp_apu_pwrctl_post_write() local 71 static void imr_update_irq(XlnxZynqMPAPUCtrl *s) in imr_update_irq() 79 XlnxZynqMPAPUCtrl *s = XLNX_ZYNQMP_APU_CTRL(reg->opaque); in isr_postw() local 85 XlnxZynqMPAPUCtrl *s = XLNX_ZYNQMP_APU_CTRL(reg->opaque); in ien_prew() local 142 XlnxZynqMPAPUCtrl *s = XLNX_ZYNQMP_APU_CTRL(obj); in zynqmp_apu_reset_enter() local 155 XlnxZynqMPAPUCtrl *s = XLNX_ZYNQMP_APU_CTRL(obj); in zynqmp_apu_reset_hold() local 173 XlnxZynqMPAPUCtrl *s = XLNX_ZYNQMP_APU_CTRL(opaque); in zynqmp_apu_handle_wfi() local 181 XlnxZynqMPAPUCtrl *s = XLNX_ZYNQMP_APU_CTRL(obj); in zynqmp_apu_init() local [all …]
|
/openbmc/qemu/hw/intc/ |
H A D | i8259.c | 78 static int pic_get_irq(PICCommonState *s) in pic_get_irq() 107 static void pic_update_irq(PICCommonState *s) in pic_update_irq() 123 PICCommonState *s = opaque; in pic_set_irq() local 176 int pic_read_irq(PICCommonState *s) in pic_read_irq() 224 PICCommonState *s = PIC_COMMON(dev); in pic_reset() local 234 PICCommonState *s = opaque; in pic_ioport_write() local 327 PICCommonState *s = opaque; in pic_ioport_read() local 354 int pic_get_output(PICCommonState *s) in pic_get_output() 362 PICCommonState *s = opaque; in elcr_ioport_write() local 369 PICCommonState *s = opaque; in elcr_ioport_read() local [all …]
|
/openbmc/linux/drivers/media/platform/st/sti/bdisp/ |
H A D | bdisp-debug.c | 35 static void bdisp_dbg_dump_ins(struct seq_file *s, u32 val) in bdisp_dbg_dump_ins() 110 static void bdisp_dbg_dump_tty(struct seq_file *s, u32 val) in bdisp_dbg_dump_tty() 159 static void bdisp_dbg_dump_xy(struct seq_file *s, u32 val, char *name) in bdisp_dbg_dump_xy() 171 static void bdisp_dbg_dump_sty(struct seq_file *s, in bdisp_dbg_dump_sty() 236 static void bdisp_dbg_dump_fctl(struct seq_file *s, u32 val) in bdisp_dbg_dump_fctl() 287 static void bdisp_dbg_dump_ivmx(struct seq_file *s, in bdisp_dbg_dump_ivmx() 318 static int last_nodes_show(struct seq_file *s, void *data) in last_nodes_show() 391 static int last_nodes_raw_show(struct seq_file *s, void *data) in last_nodes_raw_show() 440 static int last_request_show(struct seq_file *s, void *data) in last_request_show() 477 static int regs_show(struct seq_file *s, void *data) in regs_show() [all …]
|
/openbmc/linux/drivers/comedi/ |
H A D | comedi_buf.c | 53 struct comedi_subdevice *s) in __comedi_buf_free() 140 struct comedi_subdevice *s, in __comedi_buf_alloc() 228 comedi_buf_map_from_subdev_get(struct comedi_subdevice *s) in comedi_buf_map_from_subdev_get() 249 bool comedi_buf_is_mmapped(struct comedi_subdevice *s) in comedi_buf_is_mmapped() 290 void comedi_buf_reset(struct comedi_subdevice *s) in comedi_buf_reset() 339 unsigned int comedi_buf_write_alloc(struct comedi_subdevice *s, in comedi_buf_write_alloc() 429 unsigned int comedi_buf_write_free(struct comedi_subdevice *s, in comedi_buf_write_free() 494 unsigned int comedi_buf_read_alloc(struct comedi_subdevice *s, in comedi_buf_read_alloc() 534 unsigned int comedi_buf_read_free(struct comedi_subdevice *s, in comedi_buf_read_free() 557 static void comedi_buf_memcpy_to(struct comedi_subdevice *s, in comedi_buf_memcpy_to() [all …]
|