Home
last modified time | relevance | path

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

12345678910>>...74

/openbmc/qemu/hw/gpio/
H A Dpca9554.c38 static void pca9554_update_pin_input(PCA9554State *s) in pca9554_update_pin_input() argument
84 pca9554_read(PCA9554State * s,uint8_t reg) pca9554_read() argument
100 pca9554_write(PCA9554State * s,uint8_t reg,uint8_t data) pca9554_write() argument
120 PCA9554State *s = PCA9554(i2c); pca9554_recv() local
127 PCA9554State *s = PCA9554(i2c); pca9554_send() local
142 PCA9554State *s = PCA9554(i2c); pca9554_event() local
151 PCA9554State *s = PCA9554(obj); pca9554_get_pin() local
174 PCA9554State *s = PCA9554(obj); pca9554_set_pin() local
234 PCA9554State *s = PCA9554(dev); pca9554_reset() local
262 pca9554_set_ext_state(PCA9554State * s,int pin,int level) pca9554_set_ext_state() argument
273 PCA9554State *s = PCA9554(opaque); pca9554_gpio_in_handler() local
281 PCA9554State *s = PCA9554(dev); pca9554_realize() 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/timer/
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
/openbmc/qemu/hw/char/
H A Dmax78000_uart.c22 Max78000UartState *s = opaque; in max78000_uart_can_receive() local
29 static void max78000_update_irq(Max78000UartState *s) in max78000_update_irq() argument
39 Max78000UartState *s = opaque; in max78000_uart_receive() local
56 Max78000UartState *s = MAX78000_UART(obj); max78000_uart_reset_hold() local
75 Max78000UartState *s = opaque; max78000_uart_read() local
134 Max78000UartState *s = opaque; max78000_uart_write() local
240 Max78000UartState *s = MAX78000_UART(obj); max78000_uart_init() local
252 Max78000UartState *s = MAX78000_UART(dev); max78000_uart_realize() local
[all...]
H A Descc.c77 #define CHN_C(s) ((s)->chn == escc_chn_b ? 'b' : 'a') argument
200 static int reg_shift(ESCCState *s) in reg_shift()
205 static int chn_shift(ESCCState *s) in chn_shift()
212 ESCCChannelState *s = opaque; in clear_queue() local
219 ESCCChannelState *s = opaque; in put_queue() local
236 ESCCChannelState *s = opaque; in get_queue() local
256 static int escc_update_irq_chn(ESCCChannelState *s) in escc_update_irq_chn()
272 static void escc_update_irq(ESCCChannelState *s) in escc_update_irq()
283 static void escc_reset_chn(ESCCChannelState *s) in escc_reset_chn()
294 static void escc_soft_reset_chn(ESCCChannelState *s) in escc_soft_reset_chn()
[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/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/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 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 …]
H A Dimx31_ccm.c110 IMX31CCMState *s = IMX31_CCM(dev); in imx31_ccm_get_pll_ref_clk() local
131 IMX31CCMState *s = IMX31_CCM(dev); in imx31_ccm_get_mpll_clk() local
144 IMX31CCMState *s = IMX31_CCM(dev); in imx31_ccm_get_mcu_main_clk() local
161 IMX31CCMState *s = IMX31_CCM(dev); in imx31_ccm_get_hclk_clk() local
174 IMX31CCMState *s = IMX31_CCM(dev); in imx31_ccm_get_ipg_clk() local
211 IMX31CCMState *s = IMX31_CCM(dev); in imx31_ccm_reset() local
238 IMX31CCMState *s = (IMX31CCMState *)opaque; in imx31_ccm_read() local
256 IMX31CCMState *s = (IMX31CCMState *)opaque; in imx31_ccm_write() local
315 IMX31CCMState *s = IMX31_CCM(obj); in imx31_ccm_init() local
/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/target/arm/tcg/
H A Dtranslate-neon.c121 static bool do_neon_ddda(DisasContext *s, int q, int vd, int vn, int vm, in do_neon_ddda()
151 static bool do_neon_ddda_env(DisasContext *s, int q, int vd, int vn, int vm, in do_neon_ddda_env()
182 static bool do_neon_ddda_fpst(DisasContext *s, int q, int vd, int vn, int vm, in do_neon_ddda_fpst()
215 static bool trans_VCMLA(DisasContext *s, arg_VCMLA *a) in trans_VCMLA()
231 static bool trans_VCADD(DisasContext *s, arg_VCADD *a) in trans_VCADD()
268 static bool trans_VSDOT(DisasContext *s, arg_VSDOT *a) in trans_VSDOT()
277 static bool trans_VUDOT(DisasContext *s, arg_VUDOT *a) in trans_VUDOT()
286 static bool trans_VUSDOT(DisasContext *s, arg_VUSDOT *a) in trans_VUSDOT()
295 static bool trans_VDOT_b16(DisasContext *s, arg_VDOT_b16 *a) in trans_VDOT_b16()
304 static bool trans_VFML(DisasContext *s, arg_VFML *a) in trans_VFML()
[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/arm/
H A Daspeed_soc_common.c29 qemu_irq aspeed_soc_get_irq(AspeedSoCState *s, int dev) in aspeed_soc_get_irq()
34 bool aspeed_soc_uart_realize(AspeedSoCState *s, Error **errp) in aspeed_soc_uart_realize()
58 void aspeed_soc_uart_set_chr(AspeedSoCState *s, int dev, Chardev *chr) in aspeed_soc_uart_set_chr()
73 bool aspeed_soc_dram_init(AspeedSoCState *s, Error **errp) in aspeed_soc_dram_init()
110 void aspeed_mmio_map(AspeedSoCState *s, SysBusDevice *dev, int n, hwaddr addr) in aspeed_mmio_map()
116 void aspeed_mmio_map_unimplemented(AspeedSoCState *s, SysBusDevice *dev, in aspeed_mmio_map_unimplemented()
129 AspeedSoCState *s = ASPEED_SOC(dev); in aspeed_soc_realize() local
137 static bool aspeed_soc_boot_from_emmc(AspeedSoCState *s) in aspeed_soc_boot_from_emmc()
/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/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/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/net/
H A Dfilter-buffer.c33 FilterBufferState *s = FILTER_BUFFER(nf); in filter_buffer_flush() local
44 FilterBufferState *s = FILTER_BUFFER(nf); in filter_buffer_release_timer() local
66 FilterBufferState *s = FILTER_BUFFER(nf); in filter_buffer_receive_iov() local
89 FilterBufferState *s = FILTER_BUFFER(nf); in filter_buffer_cleanup() local
104 FilterBufferState *s = FILTER_BUFFER(nf); in filter_buffer_setup_timer() local
117 FilterBufferState *s = FILTER_BUFFER(nf); in filter_buffer_setup() local
135 FilterBufferState *s = FILTER_BUFFER(nf); in filter_buffer_status_changed() local
151 FilterBufferState *s = FILTER_BUFFER(obj); in filter_buffer_get_interval() local
161 FilterBufferState *s = FILTER_BUFFER(obj); in filter_buffer_set_interval() local
/openbmc/qemu/util/
H A Dqemu-co-shared-resource.c42 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 void coroutine_fn co_get_from_shres(SharedResource *s, uint64_t n) in co_get_from_shres()
78 void coroutine_fn co_put_to_shres(SharedResource *s, uint64_t n) in co_put_to_shres()
/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 …]

12345678910>>...74