Home
last modified time | relevance | path

Searched defs:s (Results 151 – 175 of 1844) sorted by relevance

12345678910>>...74

/openbmc/qemu/hw/timer/
H A Darmv7m_systick.c33 static void systick_set_period_from_clock(SysTickState *s) in systick_set_period_from_clock()
48 SysTickState *s = (SysTickState *)opaque; in systick_timer_tick() local
69 SysTickState *s = opaque; in systick_read() local
128 SysTickState *s = opaque; in systick_write() local
202 SysTickState *s = SYSTICK(dev); in systick_reset() local
219 SysTickState *s = SYSTICK(opaque); in systick_cpuclk_update() local
232 SysTickState *s = SYSTICK(opaque); in systick_refclk_update() local
246 SysTickState *s = SYSTICK(obj); in systick_instance_init() local
260 SysTickState *s = SYSTICK(dev); in systick_realize() local
H A Da9gtimer.c50 static inline int a9_gtimer_get_current_cpu(A9GTimerState *s) in a9_gtimer_get_current_cpu()
63 static inline uint64_t a9_gtimer_get_conv(A9GTimerState *s) in a9_gtimer_get_conv()
71 static A9GTimerUpdate a9_gtimer_get_update(A9GTimerState *s) in a9_gtimer_get_update()
81 static void a9_gtimer_update(A9GTimerState *s, bool sync) in a9_gtimer_update()
135 A9GTimerState *s = A9_GTIMER(opaque); in a9_gtimer_update_no_sync() local
143 A9GTimerState *s = gtb->parent; in a9_gtimer_read() local
185 A9GTimerState *s = gtb->parent; in a9_gtimer_write() local
238 A9GTimerState *s = A9_GTIMER(opaque); in a9_gtimer_this_read() local
250 A9GTimerState *s = A9_GTIMER(opaque); in a9_gtimer_this_write() local
281 A9GTimerState *s = A9_GTIMER(dev); in a9_gtimer_reset() local
[all …]
H A Dibex_timer.c61 static void ibex_timer_update_irqs(IbexTimerState *s) in ibex_timer_update_irqs()
108 IbexTimerState *s = opaque; in ibex_timer_cb() local
119 IbexTimerState *s = IBEX_TIMER(dev); in ibex_timer_reset() local
138 IbexTimerState *s = opaque; in ibex_timer_read() local
187 IbexTimerState *s = opaque; in ibex_timer_write() local
244 IbexTimerState *s = opaque; in ibex_timer_post_load() local
272 IbexTimerState *s = IBEX_TIMER(obj); in ibex_timer_init() local
283 IbexTimerState *s = IBEX_TIMER(dev); in ibex_timer_realize() local
H A Dstellaris-gptm.c18 static void gptm_update_irq(gptm_state *s) in gptm_update_irq()
25 static void gptm_stop(gptm_state *s, int n) in gptm_stop()
30 static void gptm_reload(gptm_state *s, int n, int reset) in gptm_reload()
62 gptm_state *s; in gptm_tick() local
104 gptm_state *s = (gptm_state *)opaque; in gptm_read() local
161 gptm_state *s = (gptm_state *)opaque; in gptm_write() local
275 gptm_state *s = STELLARIS_GPTM(obj); in stellaris_gptm_init() local
300 gptm_state *s = STELLARIS_GPTM(dev); in stellaris_gptm_realize() local
H A Dexynos4210_mct.c366 static void exynos4210_gfrc_set_count(Exynos4210MCTGT *s, uint64_t count) in exynos4210_gfrc_set_count()
376 static uint64_t exynos4210_gfrc_get_count(Exynos4210MCTGT *s) in exynos4210_gfrc_get_count()
388 static void exynos4210_gfrc_stop(Exynos4210MCTGT *s) in exynos4210_gfrc_stop()
399 static void exynos4210_gfrc_start(Exynos4210MCTGT *s) in exynos4210_gfrc_start()
410 static void exynos4210_gfrc_tx_begin(Exynos4210MCTGT *s) in exynos4210_gfrc_tx_begin()
416 static void exynos4210_gfrc_tx_commit(Exynos4210MCTGT *s) in exynos4210_gfrc_tx_commit()
425 static int32_t exynos4210_gcomp_find(Exynos4210MCTState *s) in exynos4210_gcomp_find()
498 static uint64_t exynos4210_gcomp_get_distance(Exynos4210MCTState *s, int32_t id) in exynos4210_gcomp_get_distance()
515 static void exynos4210_gfrc_restart(Exynos4210MCTState *s) in exynos4210_gfrc_restart()
538 Exynos4210MCTGT *s = opaque; in exynos4210_gcomp_raise_irq() local
[all …]
/openbmc/qemu/target/i386/whpx/
H A Dwhpx-apic.c30 static void whpx_put_apic_state(APICCommonState *s, in whpx_put_apic_state()
59 static void whpx_get_apic_state(APICCommonState *s, in whpx_get_apic_state()
93 static int whpx_apic_set_base(APICCommonState *s, uint64_t val) in whpx_apic_set_base()
116 static void whpx_apic_set_tpr(APICCommonState *s, uint8_t val) in whpx_apic_set_tpr()
121 static uint8_t whpx_apic_get_tpr(APICCommonState *s) in whpx_apic_get_tpr()
126 static void whpx_apic_vapic_base_update(APICCommonState *s) in whpx_apic_vapic_base_update()
133 APICCommonState *s = data.host_ptr; in whpx_apic_put() local
156 APICCommonState *s = APIC_COMMON(dev); in whpx_apic_get() local
177 static void whpx_apic_post_load(APICCommonState *s) in whpx_apic_post_load()
182 static void whpx_apic_external_nmi(APICCommonState *s) in whpx_apic_external_nmi()
[all …]
/openbmc/qemu/hw/gpio/
H A Dpca9554.c38 static void pca9554_update_pin_input(PCA9554State *s) in pca9554_update_pin_input()
84 static uint8_t pca9554_read(PCA9554State *s, uint8_t reg) in pca9554_read()
100 static void pca9554_write(PCA9554State *s, uint8_t reg, uint8_t data) in pca9554_write()
120 PCA9554State *s = PCA9554(i2c); in pca9554_recv() local
127 PCA9554State *s = PCA9554(i2c); in pca9554_send() local
142 PCA9554State *s = PCA9554(i2c); in pca9554_event() local
151 PCA9554State *s = PCA9554(obj); in pca9554_get_pin() local
174 PCA9554State *s = PCA9554(obj); in pca9554_set_pin() local
234 PCA9554State *s = PCA9554(dev); in pca9554_reset() local
262 static void pca9554_set_ext_state(PCA9554State *s, int pin, int level) in pca9554_set_ext_state()
[all …]
/openbmc/qemu/hw/ssi/
H A Dpnv_spi.c40 static bool does_rdr_match(PnvSpi *s) in does_rdr_match()
56 static uint8_t get_from_offset(PnvSpi *s, uint8_t offset) in get_from_offset()
78 static uint8_t read_from_frame(PnvSpi *s, uint8_t nr_bytes, uint8_t ecc_count, in read_from_frame()
101 static void spi_response(PnvSpi *s) in spi_response()
194 static void transfer(PnvSpi *s) in transfer()
243 static void calculate_N1(PnvSpi *s, uint8_t opcode) in calculate_N1()
323 static bool operation_shiftn1(PnvSpi *s, uint8_t opcode, bool send_n1_alone) in operation_shiftn1()
478 static void calculate_N2(PnvSpi *s, uint8_t opcode) in calculate_N2()
554 static bool operation_shiftn2(PnvSpi *s, uint8_t opcode) in operation_shiftn2()
644 static void operation_sequencer(PnvSpi *s) in operation_sequencer()
[all …]
H A Dnpcm_pspi.c44 static void npcm_pspi_update_irq(NPCMPSPIState *s) in npcm_pspi_update_irq()
65 static uint16_t npcm_pspi_read_data(NPCMPSPIState *s) in npcm_pspi_read_data()
75 static void npcm_pspi_write_data(NPCMPSPIState *s, uint16_t data) in npcm_pspi_write_data()
93 NPCMPSPIState *s = opaque; in npcm_pspi_ctrl_read() local
125 NPCMPSPIState *s = opaque; in npcm_pspi_ctrl_write() local
172 NPCMPSPIState *s = NPCM_PSPI(obj); in npcm_pspi_enter_reset() local
180 NPCMPSPIState *s = NPCM_PSPI(dev); in npcm_pspi_realize() local
/openbmc/qemu/hw/misc/
H A Dbcm2835_mphi.c29 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
H A Dtz-mpc.c74 static void tz_mpc_irq_update(TZMPC *s) in tz_mpc_irq_update()
79 static void tz_mpc_iommu_notify(TZMPC *s, uint32_t lutidx, in tz_mpc_iommu_notify()
130 static void tz_mpc_autoinc_idx(TZMPC *s, unsigned access_size) in tz_mpc_autoinc_idx()
143 TZMPC *s = TZ_MPC(opaque); in tz_mpc_reg_read() local
235 TZMPC *s = TZ_MPC(opaque); in tz_mpc_reg_write() local
349 static inline bool tz_mpc_cfg_ns(TZMPC *s, hwaddr addr) in tz_mpc_cfg_ns()
363 static MemTxResult tz_mpc_handle_block(TZMPC *s, hwaddr addr, MemTxAttrs attrs) in tz_mpc_handle_block()
396 TZMPC *s = TZ_MPC(opaque); in tz_mpc_mem_blocked_read() local
408 TZMPC *s = TZ_MPC(opaque); in tz_mpc_mem_blocked_write() local
429 TZMPC *s = TZ_MPC(container_of(iommu, TZMPC, upstream)); in tz_mpc_translate() local
[all …]
H A Dxlnx-versal-cfu.c49 static void cfu_imr_update_irq(XlnxVersalCFUAPB *s) in cfu_imr_update_irq()
57 XlnxVersalCFUAPB *s = XLNX_VERSAL_CFU_APB(reg->opaque); in cfu_isr_postw() local
63 XlnxVersalCFUAPB *s = XLNX_VERSAL_CFU_APB(reg->opaque); in cfu_ier_prew() local
73 XlnxVersalCFUAPB *s = XLNX_VERSAL_CFU_APB(reg->opaque); in cfu_idr_prew() local
83 XlnxVersalCFUAPB *s = XLNX_VERSAL_CFU_APB(reg->opaque); in cfu_itr_prew() local
93 XlnxVersalCFUAPB *s = XLNX_VERSAL_CFU_APB(reg->opaque); in cfu_fgcr_postw() local
164 XlnxVersalCFUAPB *s = XLNX_VERSAL_CFU_APB(dev); in cfu_apb_reset() local
186 static void cfu_transfer_cfi_packet(XlnxVersalCFUAPB *s, uint8_t row_addr, in cfu_transfer_cfi_packet()
214 XlnxVersalCFUAPB *s = XLNX_VERSAL_CFU_APB(opaque); in cfu_stream_write() local
277 XlnxVersalCFUSFR *s = XLNX_VERSAL_CFU_SFR(opaque); in cfu_sfr_write() local
[all …]
/openbmc/qemu/hw/intc/
H A Darm_gic_kvm.c77 GICState *s = (GICState *)opaque; in kvm_arm_gicv2_set_irq() local
82 static bool kvm_arm_gic_can_save_restore(GICState *s) in kvm_arm_gic_can_save_restore()
93 static void kvm_gicd_access(GICState *s, int offset, int cpu, in kvm_gicd_access()
100 static void kvm_gicc_access(GICState *s, int offset, int cpu, in kvm_gicc_access()
120 static void translate_clear(GICState *s, int irq, int cpu, in translate_clear()
131 static void translate_group(GICState *s, int irq, int cpu, in translate_group()
145 static void translate_enabled(GICState *s, int irq, int cpu, in translate_enabled()
159 static void translate_pending(GICState *s, int irq, int cpu, in translate_pending()
174 static void translate_active(GICState *s, int irq, int cpu, in translate_active()
188 static void translate_trigger(GICState *s, int irq, int cpu, in translate_trigger()
[all …]
/openbmc/phosphor-fan-presence/presence/
H A Dtach.cpp44 for (const auto& s : sensors) in Tach() local
54 auto& s = state[i]; in start() local
81 currentState = std::any_of(state.begin(), state.end(), [](const auto& s) { in start()
90 for (auto& s : state) in stop() local
101 for (const auto& s : state) in present() local
127 auto& s = state[sensor]; in propertiesChanged() local
132 [](const auto& s) { return std::get<double>(s) != 0; }); in propertiesChanged()
/openbmc/qemu/hw/m68k/
H A Dq800-glue.c73 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
212 GLUEState *s = GLUE(obj); in glue_finalize() local
220 GLUEState *s = GLUE(dev); in glue_init() local
/openbmc/qemu/backends/
H A Drng.c19 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/u-boot/lib/zlib/
H A Dtrees.c168 # define send_code(s, c, tree) send_bits(s, tree[c].Code, tree[c].Len) argument
172 # define send_code(s, c, tree) \ argument
181 #define put_short(s, w) { \ argument
193 local void send_bits(s, value, length) in send_bits() argument
218 #define send_bits(s, value, length) \ argument
386 void ZLIB_INTERNAL _tr_init(s) in _tr_init() argument
415 local void init_block(s) in init_block() argument
438 #define pqremove(s, tree, top) \ argument
459 local void pqdownheap(s, tree, k) in pqdownheap() argument
494 local void gen_bitlen(s, desc) in gen_bitlen() argument
[all …]
/openbmc/qemu/hw/9pfs/
H A Dcofile.c30 V9fsState *s = pdu->s; in v9fs_co_st_gen() local
53 V9fsState *s = pdu->s; in v9fs_co_lstat() local
74 V9fsState *s = pdu->s; in v9fs_co_fstat() local
106 V9fsState *s = pdu->s; in v9fs_co_open() local
138 V9fsState *s = pdu->s; in v9fs_co_open2() local
189 V9fsState *s = pdu->s; in v9fs_co_close() local
214 V9fsState *s = pdu->s; in v9fs_co_fsync() local
233 V9fsState *s = pdu->s; in v9fs_co_link() local
255 V9fsState *s = pdu->s; in v9fs_co_pwritev() local
275 V9fsState *s = pdu->s; in v9fs_co_preadv() local
/openbmc/qemu/hw/block/
H A Dvirtio-blk.c43 static void virtio_blk_init_request(VirtIOBlock *s, VirtQueue *vq, in virtio_blk_init_request()
56 VirtIOBlock *s = req->dev; in virtio_blk_req_complete() local
75 VirtIOBlock *s = req->dev; in virtio_blk_handle_rw_error() local
102 VirtIOBlock *s = next->dev; in virtio_blk_rw_complete() local
142 VirtIOBlock *s = req->dev; in virtio_blk_flush_complete() local
156 VirtIOBlock *s = req->dev; in virtio_blk_discard_write_zeroes_complete() local
171 static VirtIOBlockReq *virtio_blk_get_request(VirtIOBlock *s, VirtQueue *vq) in virtio_blk_get_request()
216 static inline void submit_requests(VirtIOBlock *s, MultiReqBuffer *mrb, in submit_requests()
287 static void virtio_blk_submit_multireq(VirtIOBlock *s, MultiReqBuffer *mrb) in virtio_blk_submit_multireq()
340 VirtIOBlock *s = req->dev; in virtio_blk_handle_flush() local
[all …]
/openbmc/qemu/hw/acpi/
H A Dacpi-pci-hotplug-stub.c7 void acpi_pcihp_init(Object *owner, AcpiPciHpState *s, in acpi_pcihp_init()
12 void acpi_pcihp_device_plug_cb(HotplugHandler *hotplug_dev, AcpiPciHpState *s, in acpi_pcihp_device_plug_cb()
22 void acpi_pcihp_device_unplug_cb(HotplugHandler *hotplug_dev, AcpiPciHpState *s, in acpi_pcihp_device_unplug_cb()
28 AcpiPciHpState *s, DeviceState *dev, in acpi_pcihp_device_unplug_request_cb()
33 void acpi_pcihp_reset(AcpiPciHpState *s) in acpi_pcihp_reset()
37 bool acpi_pcihp_is_hotpluggable_bus(AcpiPciHpState *s, BusState *bus) in acpi_pcihp_is_hotpluggable_bus()
/openbmc/qemu/block/
H A Dnbd.c115 BDRVNBDState *s = (BDRVNBDState *)bs->opaque; in nbd_clear_bdrvstate() local
151 static void coroutine_fn nbd_recv_coroutines_wake(BDRVNBDState *s) in nbd_recv_coroutines_wake()
164 static void coroutine_fn nbd_channel_error_locked(BDRVNBDState *s, int ret) in nbd_channel_error_locked()
180 static void coroutine_fn nbd_channel_error(BDRVNBDState *s, int ret) in nbd_channel_error()
186 static void reconnect_delay_timer_del(BDRVNBDState *s) in reconnect_delay_timer_del()
196 BDRVNBDState *s = opaque; in reconnect_delay_timer_cb() local
208 static void reconnect_delay_timer_init(BDRVNBDState *s, uint64_t expire_time_ns) in reconnect_delay_timer_init()
220 BDRVNBDState *s = (BDRVNBDState *)bs->opaque; in nbd_teardown_connection() local
237 static void open_timer_del(BDRVNBDState *s) in open_timer_del()
247 BDRVNBDState *s = opaque; in open_timer_cb() local
[all …]
/openbmc/qemu/include/ui/
H A Dsurface.h57 static inline int surface_stride(DisplaySurface *s) in surface_stride()
62 static inline void *surface_data(DisplaySurface *s) in surface_data()
67 static inline int surface_width(DisplaySurface *s) in surface_width()
72 static inline int surface_height(DisplaySurface *s) in surface_height()
77 static inline pixman_format_code_t surface_format(DisplaySurface *s) in surface_format()
82 static inline int surface_bits_per_pixel(DisplaySurface *s) in surface_bits_per_pixel()
88 static inline int surface_bytes_per_pixel(DisplaySurface *s) in surface_bytes_per_pixel()
/openbmc/qemu/hw/net/can/
H A Dctucan_core.c154 static void ctucan_update_irq(CtuCanCoreState *s) in ctucan_update_irq()
173 static void ctucan_update_txnf(CtuCanCoreState *s) in ctucan_update_txnf()
190 void ctucan_hardware_reset(CtuCanCoreState *s) in ctucan_hardware_reset()
237 static void ctucan_send_ready_buffers(CtuCanCoreState *s) in ctucan_send_ready_buffers()
289 void ctucan_mem_write(CtuCanCoreState *s, hwaddr addr, uint64_t val, in ctucan_mem_write()
404 uint64_t ctucan_mem_read(CtuCanCoreState *s, hwaddr addr, unsigned size) in ctucan_mem_read()
523 CtuCanCoreState *s = container_of(client, CtuCanCoreState, bus_client); in ctucan_can_receive() local
535 CtuCanCoreState *s = container_of(client, CtuCanCoreState, bus_client); in ctucan_receive() local
583 int ctucan_connect_to_bus(CtuCanCoreState *s, CanBusState *bus) in ctucan_connect_to_bus()
598 void ctucan_disconnect(CtuCanCoreState *s) in ctucan_disconnect()
[all …]
/openbmc/qemu/hw/net/
H A Dne2000.c124 void ne2000_reset(NE2000State *s) in ne2000_reset()
140 static void ne2000_update_irq(NE2000State *s) in ne2000_update_irq()
151 static int ne2000_buffer_full(NE2000State *s) in ne2000_buffer_full()
172 NE2000State *s = qemu_get_nic_opaque(nc); in ne2000_receive() local
262 NE2000State *s = opaque; in ne2000_ioport_write() local
366 NE2000State *s = opaque; in ne2000_ioport_read() local
433 static inline void ne2000_mem_writeb(NE2000State *s, uint32_t addr, in ne2000_mem_writeb()
442 static inline void ne2000_mem_writew(NE2000State *s, uint32_t addr, in ne2000_mem_writew()
452 static inline void ne2000_mem_writel(NE2000State *s, uint32_t addr, in ne2000_mem_writel()
463 static inline uint32_t ne2000_mem_readb(NE2000State *s, uint32_t addr) in ne2000_mem_readb()
[all …]
H A Dcadence_gem.c425 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 …]

12345678910>>...74