Home
last modified time | relevance | path

Searched defs:s (Results 251 – 275 of 1843) sorted by relevance

1...<<11121314151617181920>>...74

/openbmc/qemu/hw/misc/
H A Dimx7_src.c95 IMX7SRCState *s = IMX7_SRC(dev); in imx7_src_reset() local
108 IMX7SRCState *s = (IMX7SRCState *)opaque; in imx7_src_read() local
130 IMX7SRCState *s; member
137 IMX7SRCState *s = ri->s; in imx7_clear_reset_bit() local
149 IMX7SRCState *s, in imx7_defer_clear_reset_bit()
170 IMX7SRCState *s = (IMX7SRCState *)opaque; in imx7_src_write() local
247 IMX7SRCState *s = IMX7_SRC(dev); in imx7_src_realize() local
H A Daspeed_peci.c34 static void aspeed_peci_raise_interrupt(AspeedPECIState *s, uint32_t status) in aspeed_peci_raise_interrupt()
47 AspeedPECIState *s = ASPEED_PECI(opaque); in aspeed_peci_read() local
65 AspeedPECIState *s = ASPEED_PECI(opaque); in aspeed_peci_write() local
117 AspeedPECIState *s = ASPEED_PECI(dev); in aspeed_peci_realize() local
128 AspeedPECIState *s = ASPEED_PECI(dev); in aspeed_peci_reset() local
/openbmc/qemu/fpu/
H A Dsoftfloat.c252 float32 s; member
257 float64 s; member
338 float32_gen2(float32 xa, float32 xb, float_status *s, in float32_gen2()
369 float64_gen2(float64 xa, float64 xb, float_status *s, in float64_gen2()
1666 float_status *s, const FloatFmt *params) in float16a_unpack_canonical()
1673 float_status *s) in float16_unpack_canonical()
1679 float_status *s) in bfloat16_unpack_canonical()
1686 float_status *s, in float16a_round_pack_canonical()
1694 float_status *s) in float16_round_pack_canonical()
1700 float_status *s) in bfloat16_round_pack_canonical()
[all …]
/openbmc/qemu/block/
H A Dssh.c85 static void ssh_state_init(BDRVSSHState *s) in ssh_state_init()
92 static void ssh_state_free(BDRVSSHState *s) in ssh_state_free()
112 session_error_setg(Error **errp, BDRVSSHState *s, const char *fs, ...) in session_error_setg()
137 sftp_error_setg(Error **errp, BDRVSSHState *s, const char *fs, ...) in sftp_error_setg()
166 static void sftp_error_trace(BDRVSSHState *s, const char *op) in sftp_error_trace()
281 static int check_host_key_knownhosts(BDRVSSHState *s, Error **errp) in check_host_key_knownhosts()
410 check_host_key_hash(BDRVSSHState *s, const char *hash, in check_host_key_hash()
451 static int check_host_key(BDRVSSHState *s, SshHostKeyCheck *hkc, Error **errp) in check_host_key()
488 static int authenticate(BDRVSSHState *s, Error **errp) in authenticate()
646 static int connect_to_ssh(BDRVSSHState *s, BlockdevOptionsSsh *opts, in connect_to_ssh()
[all …]
H A Dparallels.c108 static int64_t bat2sect(BDRVParallelsState *s, uint32_t idx) in bat2sect()
118 static int64_t seek_to_sector(BDRVParallelsState *s, int64_t sector_num) in seek_to_sector()
132 static int cluster_remainder(BDRVParallelsState *s, int64_t sector_num, in cluster_remainder()
139 static uint32_t host_cluster_index(BDRVParallelsState *s, int64_t off) in host_cluster_index()
145 static int64_t block_status(BDRVParallelsState *s, int64_t sector_num, in block_status()
174 static void parallels_set_bat_entry(BDRVParallelsState *s, in parallels_set_bat_entry()
184 BDRVParallelsState *s = bs->opaque; in mark_used() local
205 BDRVParallelsState *s = bs->opaque; in parallels_fill_used_bitmap() local
245 BDRVParallelsState *s = bs->opaque; in parallels_free_used_bitmap() local
255 BDRVParallelsState *s = bs->opaque; in allocate_clusters() local
[all …]
/openbmc/qemu/hw/scsi/
H A Dspapr_vscsi.c65 struct viosrp_crq s; member
106 static struct vscsi_req *vscsi_get_req(VSCSIState *s) in vscsi_get_req() argument
123 static struct vscsi_req *vscsi_find_req(VSCSIState *s, uint64_t srp_tag) in vscsi_find_req()
180 static int vscsi_send_iu(VSCSIState *s, vscsi_req *req, in vscsi_send_iu()
216 static void vscsi_makeup_sense(VSCSIState *s, vscsi_req *req, in vscsi_makeup_sense()
232 static int vscsi_send_rsp(VSCSIState *s, vscsi_req *req, in vscsi_send_rsp()
294 static int vscsi_fetch_desc(VSCSIState *s, struct vscsi_req *req, in vscsi_fetch_desc()
364 static int vscsi_srp_direct_data(VSCSIState *s, vscsi_req *req, in vscsi_srp_direct_data()
395 static int vscsi_srp_indirect_data(VSCSIState *s, vscsi_req *req, in vscsi_srp_indirect_data()
443 static int vscsi_srp_transfer_data(VSCSIState *s, vscsi_req *req, in vscsi_srp_transfer_data()
[all …]
H A Dscsi-disk.c145 SCSIDiskState *s = DO_UPCAST(SCSIDiskState, qdev, r->req.dev); in scsi_init_iovec() local
175 SCSIDiskState *s = DO_UPCAST(SCSIDiskState, qdev, req->dev); in scsi_disk_emulate_save_request() local
207 SCSIDiskState *s = DO_UPCAST(SCSIDiskState, qdev, req->dev); in scsi_disk_emulate_load_request() local
224 SCSIDiskState *s = DO_UPCAST(SCSIDiskState, qdev, r->req.dev); in scsi_handle_rw_error() local
347 SCSIDiskState *s = DO_UPCAST(SCSIDiskState, qdev, r->req.dev); in scsi_aio_complete() local
410 SCSIDiskState *s = DO_UPCAST(SCSIDiskState, qdev, r->req.dev); in scsi_dma_complete() local
448 SCSIDiskState *s = DO_UPCAST(SCSIDiskState, qdev, r->req.dev); in scsi_read_complete() local
466 SCSIDiskState *s = DO_UPCAST(SCSIDiskState, qdev, r->req.dev); in scsi_do_read() local
499 SCSIDiskState *s = DO_UPCAST(SCSIDiskState, qdev, r->req.dev); in scsi_do_read_cb() local
516 SCSIDiskState *s = DO_UPCAST(SCSIDiskState, qdev, r->req.dev); in scsi_read_data() local
[all …]
/openbmc/qemu/hw/nvram/
H A Dxlnx-zynqmp-efuse.c259 #define EFUSE_CACHE_FLD(s, reg, field) \ argument
264 #define EFUSE_CACHE_BIT(s, reg, field) \ argument
272 static void update_tbit_status(XlnxZynqMPEFuse *s) in update_tbit_status()
285 static void cache_sync_u32(XlnxZynqMPEFuse *s, unsigned int r_start, in cache_sync_u32()
312 static void zynqmp_efuse_sync_cache(XlnxZynqMPEFuse *s, unsigned int bit) in zynqmp_efuse_sync_cache()
356 static void zynqmp_efuse_update_irq(XlnxZynqMPEFuse *s) in zynqmp_efuse_update_irq()
364 XlnxZynqMPEFuse *s = XLNX_ZYNQMP_EFUSE(reg->opaque); in zynqmp_efuse_isr_postw() local
370 XlnxZynqMPEFuse *s = XLNX_ZYNQMP_EFUSE(reg->opaque); in zynqmp_efuse_ier_prew() local
380 XlnxZynqMPEFuse *s = XLNX_ZYNQMP_EFUSE(reg->opaque); in zynqmp_efuse_idr_prew() local
390 XlnxZynqMPEFuse *s = XLNX_ZYNQMP_EFUSE(reg->opaque); in zynqmp_efuse_pgm_addr_postw() local
[all …]
/openbmc/qemu/hw/rtc/
H A Dls7a_rtc.c100 static bool toy_enabled(LS7ARtcState *s) in toy_enabled() argument
106 static bool rtc_enabled(LS7ARtcState *s) in rtc_enabled()
125 static void toymatch_val_to_time(LS7ARtcState *s, uint64_t val, struct tm *tm) in toymatch_val_to_time()
136 static void toymatch_write(LS7ARtcState *s, uint64_t val, int num) in toymatch_write()
152 static void rtcmatch_write(LS7ARtcState *s, uint64_t val, int num) in rtcmatch_write()
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()
201 static void ls7a_rtc_start(LS7ARtcState *s) in ls7a_rtc_start()
215 LS7ARtcState *s = LS7A_RTC(opaque); in ls7a_rtc_read() local
[all …]
/openbmc/qemu/net/
H A Daf-xdp.c66 static void af_xdp_update_fd_handler(AFXDPState *s) in af_xdp_update_fd_handler()
75 static void af_xdp_read_poll(AFXDPState *s, bool enable) in af_xdp_read_poll()
84 static void af_xdp_write_poll(AFXDPState *s, bool enable) in af_xdp_write_poll()
94 AFXDPState *s = DO_UPCAST(AFXDPState, nc, nc); in af_xdp_poll() local
103 static void af_xdp_complete_tx(AFXDPState *s) in af_xdp_complete_tx()
128 AFXDPState *s = opaque; in af_xdp_writable() local
148 AFXDPState *s = DO_UPCAST(AFXDPState, nc, nc); in af_xdp_receive() local
193 AFXDPState *s = DO_UPCAST(AFXDPState, nc, nc); in af_xdp_send_completed() local
198 static void af_xdp_fq_refill(AFXDPState *s, uint32_t n) in af_xdp_fq_refill()
225 AFXDPState *s = opaque; in af_xdp_send() local
[all …]
/openbmc/qemu/hw/i2c/
H A Dmpc_i2c.c88 static bool mpc_i2c_is_enabled(MPCI2CState *s) in mpc_i2c_is_enabled() argument
93 static bool mpc_i2c_is_master(MPCI2CState *s) in mpc_i2c_is_master()
98 static bool mpc_i2c_direction_is_tx(MPCI2CState *s) in mpc_i2c_direction_is_tx()
103 static bool mpc_i2c_irq_pending(MPCI2CState *s) in mpc_i2c_irq_pending()
108 static bool mpc_i2c_irq_is_enabled(MPCI2CState *s) in mpc_i2c_irq_is_enabled()
125 static void mpc_i2c_irq(MPCI2CState *s) in mpc_i2c_irq()
141 static void mpc_i2c_soft_reset(MPCI2CState *s) in mpc_i2c_soft_reset()
149 static void mpc_i2c_address_send(MPCI2CState *s) in mpc_i2c_address_send()
163 static void mpc_i2c_data_send(MPCI2CState *s) in mpc_i2c_data_send()
177 static void mpc_i2c_data_recive(MPCI2CState *s) in mpc_i2c_data_recive()
[all …]
/openbmc/qemu/hw/char/
H A Dsh_serial.c81 static void sh_serial_clear_fifo(SHSerialState *s) in sh_serial_clear_fifo() argument
92 SHSerialState *s = opaque; in sh_serial_write() local
211 SHSerialState *s = opaque; in sh_serial_read() local
317 static int sh_serial_can_receive(SHSerialState *s) in sh_serial_can_receive()
322 static void sh_serial_receive_break(SHSerialState *s) in sh_serial_receive_break()
331 SHSerialState *s = opaque; in sh_serial_can_receive1() local
337 SHSerialState *s = opaque; in sh_serial_timeout_int() local
347 SHSerialState *s = opaque; in sh_serial_receive1() local
375 SHSerialState *s = opaque; in sh_serial_event() local
389 SHSerialState *s = SH_SERIAL(dev); in sh_serial_reset() local
[all …]
/openbmc/qemu/hw/intc/
H A Dloongarch_extioi.c19 static int extioi_get_index_from_archid(LoongArchExtIOICommonState *s, in extioi_get_index_from_archid()
37 static void extioi_update_irq(LoongArchExtIOICommonState *s, int irq, int level) in extioi_update_irq()
72 LoongArchExtIOICommonState *s = LOONGARCH_EXTIOI_COMMON(opaque); in extioi_setirq() local
85 LoongArchExtIOICommonState *s = LOONGARCH_EXTIOI_COMMON(opaque); in extioi_readw() local
124 static inline void extioi_enable_irq(LoongArchExtIOICommonState *s, int index,\ in extioi_enable_irq()
143 static inline void extioi_update_sw_coremap(LoongArchExtIOICommonState *s, in extioi_update_sw_coremap()
185 static inline void extioi_update_sw_ipmap(LoongArchExtIOICommonState *s, in extioi_update_sw_ipmap()
209 LoongArchExtIOICommonState *s = LOONGARCH_EXTIOI_COMMON(opaque); in extioi_writew() local
289 LoongArchExtIOICommonState *s = LOONGARCH_EXTIOI_COMMON(opaque); in extioi_virt_readw() local
309 LoongArchExtIOICommonState *s = LOONGARCH_EXTIOI_COMMON(opaque); in extioi_virt_writew() local
[all …]
H A Dxlnx-pmu-iomod-intc.c335 static void xlnx_pmu_io_irq_update(XlnxPMUIOIntc *s) in xlnx_pmu_io_irq_update()
349 XlnxPMUIOIntc *s = XLNX_PMU_IO_INTC(reg->opaque); in xlnx_pmu_io_irq_enable_postw() local
356 XlnxPMUIOIntc *s = XLNX_PMU_IO_INTC(reg->opaque); in xlnx_pmu_io_irq_ack_postw() local
431 XlnxPMUIOIntc *s = XLNX_PMU_IO_INTC(opaque); in irq_handler() local
457 XlnxPMUIOIntc *s = XLNX_PMU_IO_INTC(dev); in xlnx_pmu_io_intc_reset() local
485 XlnxPMUIOIntc *s = XLNX_PMU_IO_INTC(dev); in xlnx_pmu_io_intc_realize() local
503 XlnxPMUIOIntc *s = XLNX_PMU_IO_INTC(obj); in xlnx_pmu_io_intc_init() local
H A Dioapic.c91 static void ioapic_service(IOAPICCommonState *s) in ioapic_service()
148 IOAPICCommonState *s = opaque; in delayed_ioapic_service_cb() local
155 IOAPICCommonState *s = opaque; in ioapic_set_irq() local
192 static void ioapic_update_kvm_routes(IOAPICCommonState *s) in ioapic_update_kvm_routes()
217 IOAPICCommonState *s = (IOAPICCommonState *)private; in ioapic_iec_notifier() local
225 IOAPICCommonState *s; in ioapic_eoi_broadcast() local
298 IOAPICCommonState *s = opaque; in ioapic_mem_read() local
371 IOAPICCommonState *s = opaque; in ioapic_mem_write() local
432 IOAPICCommonState *s = container_of(notifier, IOAPICCommonState, in ioapic_machine_done_notify() local
451 IOAPICCommonState *s = IOAPIC_COMMON(dev); in ioapic_realize() local
[all …]
H A Dallwinner-a10-pic.c26 static void aw_a10_pic_update(AwA10PICState *s) in aw_a10_pic_update()
51 AwA10PICState *s = opaque; in aw_a10_pic_set_irq() local
60 AwA10PICState *s = opaque; in aw_a10_pic_read() local
94 AwA10PICState *s = opaque; in aw_a10_pic_write() local
161 AwA10PICState *s = AW_A10_PIC(obj); in aw_a10_pic_init() local
174 AwA10PICState *s = AW_A10_PIC(d); in aw_a10_pic_reset() local
/openbmc/qemu/hw/pci-host/
H A Dsabre.c63 static inline void sabre_set_request(SabreState *s, unsigned int irq_num) in sabre_set_request()
70 static inline void sabre_check_irqs(SabreState *s) in sabre_check_irqs()
101 static inline void sabre_clear_request(SabreState *s, unsigned int irq_num) in sabre_clear_request()
122 SabreState *s = opaque; in sabre_config_write() local
200 SabreState *s = opaque; in sabre_config_read() local
252 SabreState *s = opaque; in sabre_pci_config_write() local
263 SabreState *s = opaque; in sabre_pci_config_read() local
303 SabreState *s = opaque; in pci_sabre_set_irq() local
334 SabreState *s = SABRE(d); in sabre_reset() local
372 SabreState *s = SABRE(dev); in sabre_realize() local
[all …]
/openbmc/qemu/hw/ssi/
H A Dsifive_spi.c62 static void sifive_spi_txfifo_reset(SiFiveSPIState *s) in sifive_spi_txfifo_reset()
70 static void sifive_spi_rxfifo_reset(SiFiveSPIState *s) in sifive_spi_rxfifo_reset()
78 static void sifive_spi_update_cs(SiFiveSPIState *s) in sifive_spi_update_cs()
89 static void sifive_spi_update_irq(SiFiveSPIState *s) in sifive_spi_update_irq()
111 SiFiveSPIState *s = SIFIVE_SPI(d); in sifive_spi_reset() local
130 static void sifive_spi_flush_txfifo(SiFiveSPIState *s) in sifive_spi_flush_txfifo()
182 SiFiveSPIState *s = opaque; in sifive_spi_read() local
220 SiFiveSPIState *s = opaque; in sifive_spi_write() local
312 SiFiveSPIState *s = SIFIVE_SPI(dev); in sifive_spi_realize() local
/openbmc/qemu/hw/remote/
H A Dmachine.c31 RemoteMachineState *s = REMOTE_MACHINE(machine); in remote_machine_init() local
75 RemoteMachineState *s = REMOTE_MACHINE(obj); in remote_machine_get_vfio_user() local
82 RemoteMachineState *s = REMOTE_MACHINE(obj); in remote_machine_set_vfio_user() local
94 RemoteMachineState *s = REMOTE_MACHINE(obj); in remote_machine_get_auto_shutdown() local
102 RemoteMachineState *s = REMOTE_MACHINE(obj); in remote_machine_set_auto_shutdown() local
109 RemoteMachineState *s = REMOTE_MACHINE(obj); in remote_machine_instance_init() local
/openbmc/qemu/hw/usb/
H A Dhcd-dwc3.c350 static void reset_csr(USBDWC3 * s) in reset_csr()
387 USBDWC3 *s = USB_DWC3(reg->opaque); in usb_dwc3_gctl_postw() local
396 USBDWC3 *s = USB_DWC3(reg->opaque); in usb_dwc3_guid_postw() local
573 USBDWC3 *s = USB_DWC3(dev); in usb_dwc3_reset() local
602 USBDWC3 *s = USB_DWC3(dev); in usb_dwc3_realize() local
632 USBDWC3 *s = USB_DWC3(obj); in usb_dwc3_init() local
/openbmc/qemu/hw/ide/
H A Dmacio.c63 IDEState *s = ide_bus_active_if(&m->bus); in pmac_ide_atapi_transfer_cb() local
136 IDEState *s = ide_bus_active_if(&m->bus); in pmac_ide_transfer_cb() local
216 IDEState *s = ide_bus_active_if(&m->bus); in pmac_ide_transfer() local
247 IDEState *s = ide_bus_active_if(&m->bus); in pmac_ide_flush() local
384 static void ide_dbdma_start(const IDEDMA *dma, IDEState *s, in ide_dbdma_start()
414 MACIOIDEState *s = MACIO_IDE(dev); in macio_ide_realizefn() local
426 MACIOIDEState *s = opaque; in pmac_ide_irq() local
446 MACIOIDEState *s = MACIO_IDE(obj); in macio_ide_initfn() local
491 void macio_ide_init_drives(MACIOIDEState *s, DriveInfo **hd_table) in macio_ide_init_drives()
502 void macio_ide_register_dma(MACIOIDEState *s) in macio_ide_register_dma()
/openbmc/qemu/target/arm/tcg/
H A Dtranslate.h198 static inline int negate(DisasContext *s, int x) in negate()
203 static inline int plus_1(DisasContext *s, int x) in plus_1()
208 static inline int plus_2(DisasContext *s, int x) in plus_2()
213 static inline int plus_8(DisasContext *s, int x) in plus_8()
218 static inline int plus_12(DisasContext *s, int x) in plus_12()
223 static inline int times_2(DisasContext *s, int x) in times_2()
228 static inline int times_4(DisasContext *s, int x) in times_4()
233 static inline int times_8(DisasContext *s, int x) in times_8()
238 static inline int times_2_plus_1(DisasContext *s, int x) in times_2_plus_1()
243 static inline int rsub_64(DisasContext *s, int x) in rsub_64()
[all …]
/openbmc/qemu/hw/dma/
H A Dsparc32_dma.c77 DMADeviceState *s = opaque; in ledma_memory_read() local
98 DMADeviceState *s = opaque; in ledma_memory_write() local
129 DMADeviceState *s = opaque; in dma_set_irq() local
149 DMADeviceState *s = opaque; in espdma_memory_read() local
160 DMADeviceState *s = opaque; in espdma_memory_write() local
172 DMADeviceState *s = opaque; in dma_mem_read() local
183 DMADeviceState *s = opaque; in dma_mem_write() local
242 DMADeviceState *s = SPARC32_DMA_DEVICE(d); in sparc32_dma_device_reset() local
261 DMADeviceState *s = SPARC32_DMA_DEVICE(obj); in sparc32_dma_device_init() local
296 DMADeviceState *s = SPARC32_DMA_DEVICE(obj); in sparc32_espdma_device_init() local
[all …]
/openbmc/qemu/hw/sensor/
H A Dlsm303dlhc_mag.c87 LSM303DLHCMagState *s = LSM303DLHC_MAG(obj); in lsm303dlhc_mag_get_x() local
98 LSM303DLHCMagState *s = LSM303DLHC_MAG(obj); in lsm303dlhc_mag_get_y() local
109 LSM303DLHCMagState *s = LSM303DLHC_MAG(obj); in lsm303dlhc_mag_get_z() local
120 LSM303DLHCMagState *s = LSM303DLHC_MAG(obj); in lsm303dlhc_mag_set_x() local
143 LSM303DLHCMagState *s = LSM303DLHC_MAG(obj); in lsm303dlhc_mag_set_y() local
166 LSM303DLHCMagState *s = LSM303DLHC_MAG(obj); in lsm303dlhc_mag_set_z() local
193 LSM303DLHCMagState *s = LSM303DLHC_MAG(obj); in lsm303dlhc_mag_get_temperature() local
209 LSM303DLHCMagState *s = LSM303DLHC_MAG(obj); in lsm303dlhc_mag_set_temperature() local
230 static void lsm303dlhc_mag_read(LSM303DLHCMagState *s) in lsm303dlhc_mag_read()
252 static void lsm303dlhc_mag_finish(LSM303DLHCMagState *s) in lsm303dlhc_mag_finish()
[all …]
/openbmc/qemu/hw/gpio/
H A Dnrf51_gpio.c59 static void update_output_irq(NRF51GPIOState *s, size_t i, in update_output_irq()
75 static void update_state(NRF51GPIOState *s) in update_state()
136 static void reflect_dir_bit_in_cnf(NRF51GPIOState *s) in reflect_dir_bit_in_cnf()
149 NRF51GPIOState *s = NRF51_GPIO(opaque); in nrf51_gpio_read() local
185 NRF51GPIOState *s = NRF51_GPIO(opaque); in nrf51_gpio_write() local
247 NRF51GPIOState *s = NRF51_GPIO(opaque); in nrf51_gpio_set() local
263 NRF51GPIOState *s = NRF51_GPIO(dev); in nrf51_gpio_reset() local
296 NRF51GPIOState *s = NRF51_GPIO(obj); in nrf51_gpio_init() local

1...<<11121314151617181920>>...74