/openbmc/qemu/hw/misc/ |
H A D | tz-ppc.c | 24 static void tz_ppc_update_irq(TZPPC *s) in tz_ppc_update_irq() 34 TZPPC *s = TZ_PPC(opaque); in tz_ppc_cfg_nonsec() local 43 TZPPC *s = TZ_PPC(opaque); in tz_ppc_cfg_ap() local 52 TZPPC *s = TZ_PPC(opaque); in tz_ppc_cfg_sec_resp() local 60 TZPPC *s = TZ_PPC(opaque); in tz_ppc_irq_enable() local 69 TZPPC *s = TZ_PPC(opaque); in tz_ppc_irq_clear() local 109 TZPPC *s = p->ppc; in tz_ppc_read() local 149 TZPPC *s = p->ppc; in tz_ppc_write() local 219 TZPPC *s = TZ_PPC(dev); in tz_ppc_reset() local 230 TZPPC *s = TZ_PPC(obj); in tz_ppc_init() local [all …]
|
H A D | bcm2835_mphi.c | 29 static inline void mphi_raise_irq(BCM2835MphiState *s) in mphi_raise_irq() 34 static inline void mphi_lower_irq(BCM2835MphiState *s) in mphi_lower_irq() 41 BCM2835MphiState *s = ptr; in mphi_reg_read() local 74 BCM2835MphiState *s = ptr; in mphi_reg_write() local 129 BCM2835MphiState *s = BCM2835_MPHI(dev); in mphi_reset() local 141 BCM2835MphiState *s = BCM2835_MPHI(dev); in mphi_realize() local 149 BCM2835MphiState *s = BCM2835_MPHI(obj); in mphi_init() local
|
/openbmc/qemu/net/ |
H A D | dgram.c | 53 static void net_dgram_update_fd_handler(NetDgramState *s) in net_dgram_update_fd_handler() 61 static void net_dgram_read_poll(NetDgramState *s, bool enable) in net_dgram_read_poll() 75 NetDgramState *s = opaque; in net_dgram_writable() local 85 NetDgramState *s = DO_UPCAST(NetDgramState, nc, nc); in net_dgram_receive() local 105 NetDgramState *s = DO_UPCAST(NetDgramState, nc, nc); in net_dgram_send_completed() local 114 NetDgramState *s = container_of(rs, NetDgramState, rs); in net_dgram_rs_finalize() local 125 NetDgramState *s = opaque; in net_dgram_send() local 240 NetDgramState *s = DO_UPCAST(NetDgramState, nc, nc); in net_dgram_cleanup() local 266 NetDgramState *s; in net_dgram_fd_init() local 286 NetDgramState *s; in net_dgram_mcast_init() local [all …]
|
H A D | netmap.c | 107 static void netmap_update_fd_handler(NetmapState *s) in netmap_update_fd_handler() 135 NetmapState *s = DO_UPCAST(NetmapState, nc, nc); in netmap_poll() local 151 NetmapState *s = opaque; in netmap_writable() local 160 NetmapState *s = DO_UPCAST(NetmapState, nc, nc); in netmap_receive_iov() local 243 NetmapState *s = DO_UPCAST(NetmapState, nc, nc); in netmap_send_completed() local 250 NetmapState *s = opaque; in netmap_send() local 301 NetmapState *s = DO_UPCAST(NetmapState, nc, nc); in netmap_cleanup() local 329 NetmapState *s = DO_UPCAST(NetmapState, nc, nc); in netmap_has_vnet_hdr_len() local 360 NetmapState *s = DO_UPCAST(NetmapState, nc, nc); in netmap_set_vnet_hdr_len() local 376 NetmapState *s = DO_UPCAST(NetmapState, nc, nc); in netmap_set_offload() local [all …]
|
/openbmc/qemu/hw/usb/ |
H A D | dev-storage.c | 180 static void usb_msd_packet_complete(MSDState *s) in usb_msd_packet_complete() 194 static void usb_msd_fatal_error(MSDState *s) in usb_msd_fatal_error() 211 static void usb_msd_copy_data(MSDState *s, USBPacket *p) in usb_msd_copy_data() 229 static void usb_msd_send_status(MSDState *s, USBPacket *p) in usb_msd_send_status() 244 MSDState *s = DO_UPCAST(MSDState, dev.qdev, req->bus->qbus.parent); in usb_msd_transfer_data() local 266 MSDState *s = DO_UPCAST(MSDState, dev.qdev, req->bus->qbus.parent); in usb_msd_command_complete() local 309 MSDState *s = DO_UPCAST(MSDState, dev.qdev, req->bus->qbus.parent); in usb_msd_request_cancelled() local 326 MSDState *s = (MSDState *)dev; in usb_msd_handle_reset() local 348 MSDState *s = (MSDState *)dev; in usb_msd_handle_control() local 389 MSDState *s = USB_STORAGE_DEV(dev); in usb_msd_cancel_io() local [all …]
|
/openbmc/qemu/hw/display/ |
H A D | xlnx_dp.c | 287 XlnxDPState *s = XLNX_DP(opaque); in xlnx_dp_audio_read() local 296 XlnxDPState *s = XLNX_DP(opaque); in xlnx_dp_audio_write() local 390 XlnxDPState *s = XLNX_DP(opaque); in xlnx_dp_audio_callback() local 548 XlnxDPState *s = XLNX_DP(obj); in xlnx_dp_set_dpdma() local 680 XlnxDPState *s = XLNX_DP(opaque); in xlnx_dp_read() local 741 XlnxDPState *s = XLNX_DP(opaque); in xlnx_dp_write() local 925 XlnxDPState *s = XLNX_DP(opaque); in xlnx_dp_vblend_write() local 1233 XlnxDPState *s = XLNX_DP(obj); in xlnx_dp_init() local 1285 XlnxDPState *s = XLNX_DP(obj); in xlnx_dp_finalize() local 1301 XlnxDPState *s = XLNX_DP(dev); in xlnx_dp_realize() local [all …]
|
/openbmc/qemu/hw/audio/ |
H A D | ac97.c | 510 AC97LinkState *s = opaque; in nam_readb() local 518 AC97LinkState *s = opaque; in nam_readw() local 525 AC97LinkState *s = opaque; in nam_readl() local 537 AC97LinkState *s = opaque; in nam_writeb() local 544 AC97LinkState *s = opaque; in nam_writew() local 641 AC97LinkState *s = opaque; in nam_writel() local 652 AC97LinkState *s = opaque; in nabm_readb() local 706 AC97LinkState *s = opaque; in nabm_readw() local 734 AC97LinkState *s = opaque; in nabm_readl() local 783 AC97LinkState *s = opaque; in nabm_writeb() local [all …]
|
H A D | sb16.c | 199 SB16State *s = opaque; in aux_timer() local 924 SB16State *s = opaque; in dsp_write() local 1002 SB16State *s = opaque; in dsp_read() local 1101 SB16State *s = opaque; in mixer_write_indexb() local 1108 SB16State *s = opaque; in mixer_write_datab() local 1163 SB16State *s = opaque; in mixer_read() local 1216 SB16State *s = opaque; in SB_read_DMA() local 1282 SB16State *s = opaque; in SB_audio_callback() local 1288 SB16State *s = opaque; in sb16_post_load() local 1393 SB16State *s = SB16 (obj); in sb16_initfn() local [all …]
|
H A D | asc.c | 107 static void asc_raise_irq(ASCState *s) in asc_raise_irq() 112 static void asc_lower_irq(ASCState *s) in asc_lower_irq() 154 static int generate_fifo(ASCState *s, int maxsamples) in generate_fifo() 319 ASCState *s = opaque; in asc_out_cb() local 427 ASCState *s = opaque; in asc_read() local 463 ASCState *s = opaque; in asc_write() local 545 ASCState *s = ASC(opaque); in asc_post_load() local 615 ASCState *s = ASC(obj); in asc_reset_hold() local 633 ASCState *s = ASC(dev); in asc_unrealize() local 643 ASCState *s = ASC(dev); in asc_realize() local [all …]
|
/openbmc/qemu/tests/qtest/ |
H A D | sdhci-test.c | 27 static void check_specs_version(QSDHCI *s, uint8_t version) in check_specs_version() 37 static void check_capab_capareg(QSDHCI *s, uint64_t expec_capab) in check_capab_capareg() 45 static void check_capab_readonly(QSDHCI *s) in check_capab_readonly() 59 static void check_capab_baseclock(QSDHCI *s, uint8_t expec_freq) in check_capab_baseclock() 71 static void check_capab_sdma(QSDHCI *s, bool supported) in check_capab_sdma() 80 static void check_capab_v3(QSDHCI *s, uint8_t version) in check_capab_v3() 96 QSDHCI *s = obj; in test_registers() local
|
H A D | wdt_ib700-test.c | 15 static void qmp_check_no_event(QTestState *s) in qmp_check_no_event() 22 static QDict *ib700_program_and_wait(QTestState *s) in ib700_program_and_wait() 60 QTestState *s = qtest_init("-watchdog-action pause -device ib700"); in ib700_pause() local 73 QTestState *s = qtest_init("-watchdog-action reset -device ib700"); in ib700_reset() local 86 QTestState *s; in ib700_shutdown() local 100 QTestState *s = qtest_init("-watchdog-action none -device ib700"); in ib700_none() local
|
/openbmc/linux/lib/ |
H A D | slub_kunit.c | 22 struct kmem_cache *s = kmem_cache_create(name, size, 0, in test_kmem_cache_create() local 30 struct kmem_cache *s = test_kmem_cache_create("TestSlub_RZ_alloc", 64, in test_clobber_zone() local 48 struct kmem_cache *s = test_kmem_cache_create("TestSlub_next_ptr_free", in test_next_pointer() local 93 struct kmem_cache *s = test_kmem_cache_create("TestSlub_1th_word_free", in test_first_word() local 108 struct kmem_cache *s = test_kmem_cache_create("TestSlub_50th_word_free", in test_clobber_50th_byte() local 124 struct kmem_cache *s = test_kmem_cache_create("TestSlub_RZ_free", 64, in test_clobber_redzone_free() local 141 struct kmem_cache *s = test_kmem_cache_create("TestSlub_RZ_kmalloc", 32, in test_kmalloc_redzone_access() local
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/fb/ |
H A D | ramfuc.h | 164 #define ram_init(s,p) ramfuc_init(&(s)->base, (p)) argument 165 #define ram_exec(s,e) ramfuc_exec(&(s)->base, (e)) argument 166 #define ram_have(s,r) ((s)->r_##r.addr != 0x000000) argument 167 #define ram_rd32(s,r) ramfuc_rd32(&(s)->base, &(s)->r_##r) argument 169 #define ram_nuke(s,r) ramfuc_nuke(&(s)->base, &(s)->r_##r) argument 172 #define ram_nsec(s,n) ramfuc_nsec(&(s)->base, (n)) argument 173 #define ram_wait_vblank(s) ramfuc_wait_vblank(&(s)->base) argument 174 #define ram_train(s) ramfuc_train(&(s)->base) argument 175 #define ram_train_result(s,r,l) ramfuc_train_result((s), (r), (l)) argument 176 #define ram_block(s) ramfuc_block(&(s)->base) argument [all …]
|
/openbmc/qemu/hw/timer/ |
H A D | arm_timer.c | 43 static void arm_timer_update(arm_timer_state *s) in arm_timer_update() 55 arm_timer_state *s = (arm_timer_state *)opaque; in arm_timer_read() local 177 arm_timer_state *s; in arm_timer_init() local 217 SP804State *s = (SP804State *)opaque; in sp804_set_irq() local 226 SP804State *s = (SP804State *)opaque; in sp804_read() local 258 SP804State *s = (SP804State *)opaque; in sp804_write() local 293 SP804State *s = SP804(obj); in sp804_init() local 304 SP804State *s = SP804(dev); in sp804_realize() local 327 icp_pit_state *s = (icp_pit_state *)opaque; in icp_pit_read() local 343 icp_pit_state *s = (icp_pit_state *)opaque; in icp_pit_write() local [all …]
|
/openbmc/linux/drivers/gpu/drm/nouveau/include/nvkm/core/ |
H A D | subdev.h | 7 #define NVKM_LAYOUT_ONCE(t,s,p,...) t, argument 83 #define nvkm_printk__(s,l,p,f,a...) nvkm_printk___((s), (s), (l), p, f, ##a) argument 84 #define nvkm_printk_(s,l,p,f,a...) nvkm_printk__((s), (l), p, " "f, ##a) argument 85 #define nvkm_printk(s,l,p,f,a...) nvkm_printk_((s), NV_DBG_##l, p, f, ##a) argument 86 #define nvkm_fatal(s,f,a...) nvkm_printk((s), FATAL, crit, f, ##a) argument 87 #define nvkm_error(s,f,a...) nvkm_printk((s), ERROR, err, f, ##a) argument 88 #define nvkm_warn(s,f,a...) nvkm_printk((s), WARN, notice, f, ##a) argument 89 #define nvkm_info(s,f,a...) nvkm_printk((s), INFO, info, f, ##a) argument 90 #define nvkm_debug(s,f,a...) nvkm_printk((s), DEBUG, info, f, ##a) argument 91 #define nvkm_trace(s,f,a...) nvkm_printk((s), TRACE, info, f, ##a) argument [all …]
|
/openbmc/linux/drivers/tty/serial/ |
H A D | mxs-auart.c | 519 struct mxs_auart_port *s = param; in dma_tx_callback() local 698 struct mxs_auart_port *s = to_auart_port(u); in mxs_auart_type() local 709 struct mxs_auart_port *s = to_auart_port(u); in mxs_auart_set_mctrl() local 751 struct mxs_auart_port *s = to_auart_port(u); in mxs_auart_get_mctrl() local 950 struct mxs_auart_port *s = to_auart_port(u); in mxs_auart_settermios() local 1084 struct mxs_auart_port *s = context; in mxs_auart_irq_handle() local 1173 struct mxs_auart_port *s = to_auart_port(u); in mxs_auart_startup() local 1210 struct mxs_auart_port *s = to_auart_port(u); in mxs_auart_shutdown() local 1315 struct mxs_auart_port *s; in auart_console_write() local 1396 struct mxs_auart_port *s; in auart_console_setup() local [all …]
|
/openbmc/linux/drivers/char/mwave/ |
H A D | mwavedd.h | 74 #define PRINTK_1(f,s) \ argument 79 #define PRINTK_2(f,s,v1) \ argument 84 #define PRINTK_3(f,s,v1,v2) \ argument 115 #define PRINTK_1(f,s) argument 116 #define PRINTK_2(f,s,v1) argument 117 #define PRINTK_3(f,s,v1,v2) argument 118 #define PRINTK_4(f,s,v1,v2,v3) argument 119 #define PRINTK_5(f,s,v1,v2,v3,v4) argument 120 #define PRINTK_6(f,s,v1,v2,v3,v4,v5) argument 121 #define PRINTK_7(f,s,v1,v2,v3,v4,v5,v6) argument [all …]
|
/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 bool co_try_get_from_shres(SharedResource *s, uint64_t n) in co_try_get_from_shres() 75 void coroutine_fn co_get_from_shres(SharedResource *s, uint64_t n) in co_get_from_shres() 84 void coroutine_fn co_put_to_shres(SharedResource *s, uint64_t n) in co_put_to_shres()
|
/openbmc/qemu/hw/m68k/ |
H A D | q800-glue.c | 73 GLUEState *s = opaque; in GLUE_set_irq() local 157 GLUEState *s = GLUE(opaque); in glue_auxmode_set_irq() local 164 GLUEState *s = GLUE(n); in glue_nmi() local 173 GLUEState *s = GLUE(opaque); in glue_nmi_release() local 180 GLUEState *s = GLUE(obj); in glue_reset_hold() local 213 GLUEState *s = GLUE(obj); in glue_finalize() local 221 GLUEState *s = GLUE(dev); in glue_init() local
|
/openbmc/linux/drivers/media/usb/airspy/ |
H A D | airspy.c | 269 struct airspy *s = urb->context; in airspy_urb_complete() local 315 static int airspy_kill_urbs(struct airspy *s) in airspy_kill_urbs() 484 struct airspy *s = vb2_get_drv_priv(vq); in airspy_queue_setup() local 519 struct airspy *s = vb2_get_drv_priv(vq); in airspy_start_streaming() local 580 struct airspy *s = vb2_get_drv_priv(vq); in airspy_stop_streaming() local 612 struct airspy *s = video_drvdata(file); in airspy_querycap() local 634 struct airspy *s = video_drvdata(file); in airspy_g_fmt_sdr_cap() local 645 struct airspy *s = video_drvdata(file); in airspy_s_fmt_sdr_cap() local 730 struct airspy *s = video_drvdata(file); in airspy_g_frequency() local 753 struct airspy *s = video_drvdata(file); in airspy_s_frequency() local [all …]
|
/openbmc/qemu/hw/isa/ |
H A D | vt82c686.c | 73 ViaPMState *s = opaque; in vmstate_acpi_post_load() local 99 ViaPMState *s = VIA_PM(d); in pm_write_config() local 176 ViaPMState *s = VIA_PM(d); in via_pm_reset() local 196 ViaPMState *s = VIA_PM(dev); in via_pm_realize() local 574 ViaISAState *s = VIA_ISA(obj); in via_isa_init() local 663 ViaISAState *s = opaque; in via_isa_request_i8259_irq() local 669 ViaISAState *s = VIA_ISA(d); in via_isa_realize() local 751 ViaISAState *s = VIA_ISA(d); in vt82c686b_write_config() local 763 ViaISAState *s = VIA_ISA(dev); in vt82c686b_isa_reset() local 783 ViaISAState *s = VIA_ISA(obj); in vt82c686b_init() local [all …]
|
/openbmc/qemu/backends/ |
H A D | rng.c | 19 void rng_backend_request_entropy(RngBackend *s, size_t size, in rng_backend_request_entropy() 43 RngBackend *s = RNG_BACKEND(obj); in rng_backend_prop_get_opened() local 50 RngBackend *s = RNG_BACKEND(uc); in rng_backend_complete() local 71 static void rng_backend_free_requests(RngBackend *s) in rng_backend_free_requests() 82 void rng_backend_finalize_request(RngBackend *s, RngRequest *req) in rng_backend_finalize_request() 90 RngBackend *s = RNG_BACKEND(obj); in rng_backend_init() local 97 RngBackend *s = RNG_BACKEND(obj); in rng_backend_finalize() local
|
/openbmc/phosphor-fan-presence/presence/ |
H A D | tach.cpp | 45 for (const auto& s : sensors) in Tach() local 55 auto& s = state[i]; in start() local 83 currentState = std::any_of(state.begin(), state.end(), [](const auto& s) { in start() 92 for (auto& s : state) in stop() local 103 for (const auto& s : state) in present() local 129 auto& s = state[sensor]; in propertiesChanged() local 134 [](const auto& s) { return std::get<double>(s) != 0; }); in propertiesChanged()
|
/openbmc/qemu/include/ui/ |
H A D | surface.h | 58 static inline int surface_stride(DisplaySurface *s) in surface_stride() 63 static inline void *surface_data(DisplaySurface *s) in surface_data() 68 static inline int surface_width(DisplaySurface *s) in surface_width() 73 static inline int surface_height(DisplaySurface *s) in surface_height() 78 static inline pixman_format_code_t surface_format(DisplaySurface *s) in surface_format() 83 static inline int surface_bits_per_pixel(DisplaySurface *s) in surface_bits_per_pixel() 89 static inline int surface_bytes_per_pixel(DisplaySurface *s) in surface_bytes_per_pixel()
|
/openbmc/qemu/hw/rtc/ |
H A D | ls7a_rtc.c | 100 static bool toy_enabled(LS7ARtcState *s) in toy_enabled() argument 106 static bool rtc_enabled(LS7ARtcState *s) in rtc_enabled() 165 static void ls7a_toy_stop(LS7ARtcState *s) in ls7a_toy_stop() 175 static void ls7a_rtc_stop(LS7ARtcState *s) in ls7a_rtc_stop() 185 static void ls7a_toy_start(LS7ARtcState *s) in ls7a_toy_start() 215 LS7ARtcState *s = LS7A_RTC(opaque); in ls7a_rtc_read() local 278 LS7ARtcState *s = LS7A_RTC(opaque); in ls7a_rtc_write() local 370 LS7ARtcState *s = opaque; in toy_timer_cb() local 379 LS7ARtcState *s = opaque; in rtc_timer_cb() local 429 LS7ARtcState *s = LS7A_RTC(opaque); in ls7a_rtc_pre_save() local [all …]
|