/openbmc/linux/drivers/media/pci/cx18/ |
H A D | cx18-streams.c | 107 struct cx18_stream *s = vb2_get_drv_priv(vq); in cx18_queue_setup() local 189 struct cx18_stream *s = vb2_get_drv_priv(vq); in cx18_start_streaming() local 215 struct cx18_stream *s = vb2_get_drv_priv(vq); in cx18_stop_streaming() local 237 struct cx18_stream *s = &cx->streams[type]; in cx18_stream_init() local 304 struct cx18_stream *s = &cx->streams[type]; in cx18_prep_dev() local 409 struct cx18_stream *s = &cx->streams[type]; in cx18_reg_dev() local 549 static void cx18_vbi_setup(struct cx18_stream *s) in cx18_vbi_setup() 731 struct cx18_stream *s = in cx18_out_work_handler() local 963 struct cx18_stream *s = &cx->streams[i]; in cx18_stop_all_captures() local 1028 struct cx18_stream *s = &cx->streams[i]; in cx18_find_handle() local [all …]
|
/openbmc/qemu/tests/qtest/ |
H A D | libqtest.c | 150 pid_t qtest_pid(QTestState *s) in qtest_pid() 155 bool qtest_probe_child(QTestState *s) in qtest_probe_child() 218 void qtest_wait_qemu(QTestState *s) in qtest_wait_qemu() 257 void qtest_kill_qemu(QTestState *s) in qtest_kill_qemu() 448 QTestState *s; in qtest_init_internal() local 556 QTestState *s; in qtest_vinitf() local 566 QTestState *s; in qtest_initf() local 602 void qtest_quit(QTestState *s) in qtest_quit() 717 static void qtest_rsp(QTestState *s) in qtest_rsp() 1427 bool qtest_big_endian(QTestState *s) in qtest_big_endian() [all …]
|
/openbmc/qemu/util/ |
H A D | vfio-helpers.c | 163 void *qemu_vfio_pci_map_bar(QEMUVFIOState *s, int index, in qemu_vfio_pci_map_bar() 196 int qemu_vfio_pci_init_irq(QEMUVFIOState *s, EventNotifier *e, in qemu_vfio_pci_init_irq() 490 static void qemu_vfio_open_common(QEMUVFIOState *s) in qemu_vfio_open_common() 506 QEMUVFIOState *s = g_new0(QEMUVFIOState, 1); in qemu_vfio_open_pci() local 529 static void qemu_vfio_dump_mappings(QEMUVFIOState *s) in qemu_vfio_dump_mappings() 588 static IOVAMapping *qemu_vfio_add_mapping(QEMUVFIOState *s, in qemu_vfio_add_mapping() 661 static bool qemu_vfio_verify_mappings(QEMUVFIOState *s) in qemu_vfio_verify_mappings() 801 int qemu_vfio_dma_reset_temporary(QEMUVFIOState *s) in qemu_vfio_dma_reset_temporary() 821 void qemu_vfio_dma_unmap(QEMUVFIOState *s, void *host) in qemu_vfio_dma_unmap() 839 static void qemu_vfio_reset(QEMUVFIOState *s) in qemu_vfio_reset() [all …]
|
/openbmc/qemu/target/arm/tcg/ |
H A D | translate-neon.c | 184 static bool trans_VCMLA(DisasContext *s, arg_VCMLA *a) in trans_VCMLA() 200 static bool trans_VCADD(DisasContext *s, arg_VCADD *a) in trans_VCADD() 237 static bool trans_VSDOT(DisasContext *s, arg_VSDOT *a) in trans_VSDOT() 246 static bool trans_VUDOT(DisasContext *s, arg_VUDOT *a) in trans_VUDOT() 255 static bool trans_VUSDOT(DisasContext *s, arg_VUSDOT *a) in trans_VUSDOT() 273 static bool trans_VFML(DisasContext *s, arg_VFML *a) in trans_VFML() 1669 DO_PREWIDEN(VADDL_S, s, add, false, MO_SIGN) in DO_PREWIDEN() argument 2529 static bool trans_VEXT(DisasContext *s, arg_VEXT *a) in trans_VEXT() 2595 static bool trans_VTBL(DisasContext *s, arg_VTBL *a) in trans_VTBL() 2863 static bool do_zip_uzp(DisasContext *s, arg_2misc *a, in do_zip_uzp() [all …]
|
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 …]
|
/openbmc/qemu/hw/char/ |
H A D | sifive_uart.c | 36 static uint64_t sifive_uart_ip(SiFiveUARTState *s) in sifive_uart_ip() 70 SiFiveUARTState *s = opaque; in sifive_uart_read() local 107 SiFiveUARTState *s = opaque; in sifive_uart_write() local 146 SiFiveUARTState *s = opaque; in sifive_uart_rx() local 160 SiFiveUARTState *s = opaque; in sifive_uart_can_rx() local 171 SiFiveUARTState *s = opaque; in sifive_uart_be_change() local 188 SiFiveUARTState *s = SIFIVE_UART(obj); in sifive_uart_init() local 198 SiFiveUARTState *s = SIFIVE_UART(dev); in sifive_uart_realize() local 208 SiFiveUARTState *s = SIFIVE_UART(obj); in sifive_uart_reset_enter() local 219 SiFiveUARTState *s = SIFIVE_UART(obj); in sifive_uart_reset_hold() local [all …]
|
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/qemu/hw/scsi/ |
H A D | vmw_pvscsi.c | 81 #define PVSCSI_MSI_OFFSET(s) \ argument 348 pvscsi_reset_state(PVSCSIState *s) in pvscsi_reset_state() 426 PVSCSIState *s = opaque; in pvscsi_process_completion_queue() local 523 PVSCSIState *s; in pvscsi_command_failed() local 561 PVSCSIState *s; in pvscsi_command_complete() local 758 pvscsi_process_io(PVSCSIState *s) in pvscsi_process_io() 1034 PVSCSIState *s = opaque; in pvscsi_io_write() local 1082 PVSCSIState *s = opaque; in pvscsi_io_read() local 1108 pvscsi_init_msi(PVSCSIState *s) in pvscsi_init_msi() 1124 pvscsi_cleanup_msi(PVSCSIState *s) in pvscsi_cleanup_msi() [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/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/qemu/hw/xen/ |
H A D | xen_pt_config_init.c | 119 static int xen_pt_common_reg_init(XenPCIPassthroughState *s, in xen_pt_common_reg_init() 241 static int xen_pt_vendor_reg_init(XenPCIPassthroughState *s, in xen_pt_vendor_reg_init() 248 static int xen_pt_device_reg_init(XenPCIPassthroughState *s, in xen_pt_device_reg_init() 255 static int xen_pt_status_reg_init(XenPCIPassthroughState *s, in xen_pt_status_reg_init() 303 static int xen_pt_irqpin_reg_init(XenPCIPassthroughState *s, in xen_pt_irqpin_reg_init() 1187 static int xen_pt_mask_reg_init(XenPCIPassthroughState *s, in xen_pt_mask_reg_init() 1592 static int xen_pt_pcie_size_init(XenPCIPassthroughState *s, in xen_pt_pcie_size_init() 1664 static int xen_pt_msi_size_init(XenPCIPassthroughState *s, in xen_pt_msi_size_init() 1692 static int xen_pt_msix_size_init(XenPCIPassthroughState *s, in xen_pt_msix_size_init() 1823 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 …]
|
/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() 517 E1000EState *s = E1000E(obj); in e1000e_qdev_reset_hold() local 530 E1000EState *s = opaque; in e1000e_pre_save() local 541 E1000EState *s = opaque; in e1000e_post_load() local 558 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() 490 IGBState *s = IGB(obj); in igb_qdev_reset_hold() local 499 IGBState *s = opaque; in igb_pre_save() local 510 IGBState *s = opaque; in igb_post_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/hw/gpio/ |
H A D | stm32l4x5_gpio.c | 49 static bool is_pull_up(Stm32l4x5GpioState *s, unsigned pin) in is_pull_up() 59 static bool is_output(Stm32l4x5GpioState *s, unsigned pin) in is_output() 76 Stm32l4x5GpioState *s = STM32L4X5_GPIO(obj); in stm32l4x5_gpio_reset_hold() local 96 Stm32l4x5GpioState *s = opaque; in stm32l4x5_gpio_set() local 120 static void update_gpio_idr(Stm32l4x5GpioState *s) in update_gpio_idr() 235 Stm32l4x5GpioState *s = STM32L4X5_GPIO(obj); in disconnected_pins_set() local 252 Stm32l4x5GpioState *s = STM32L4X5_GPIO(obj); in clock_freq_get() local 260 Stm32l4x5GpioState *s = opaque; in stm32l4x5_gpio_write() local 346 Stm32l4x5GpioState *s = opaque; in stm32l4x5_gpio_read() local 400 Stm32l4x5GpioState *s = STM32L4X5_GPIO(obj); in stm32l4x5_gpio_init() local [all …]
|
/openbmc/qemu/block/ |
H A D | io_uring.c | 69 static void luring_resubmit(LuringState *s, LuringAIOCB *luringcb) in luring_resubmit() argument 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 int kvm_apic_set_base(APICCommonState *s, uint64_t val) in kvm_apic_set_base() 104 static void kvm_apic_set_tpr(APICCommonState *s, uint8_t val) in kvm_apic_set_tpr() 109 static uint8_t kvm_apic_get_tpr(APICCommonState *s) in kvm_apic_get_tpr() 123 static void kvm_apic_vapic_base_update(APICCommonState *s) in kvm_apic_vapic_base_update() 140 APICCommonState *s = data.host_ptr; in kvm_apic_put() local 154 static void kvm_apic_post_load(APICCommonState *s) in kvm_apic_post_load() 161 APICCommonState *s = data.host_ptr; in do_inject_external_nmi() local 177 static void kvm_apic_external_nmi(APICCommonState *s) in kvm_apic_external_nmi() 220 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 …]
|