/openbmc/qemu/hw/isa/ |
H A D | pc87312.c | 68 PC87312State *s = PC87312(sio); in is_parallel_enabled() local 76 PC87312State *s = PC87312(sio); in get_parallel_iobase() local 84 PC87312State *s = PC87312(sio); in get_parallel_irq() local 104 PC87312State *s = PC87312(sio); in get_uart_iobase() local 118 PC87312State *s = PC87312(sio); in get_uart_irq() local 126 PC87312State *s = PC87312(sio); in is_uart_enabled() local 222 PC87312State *s = opaque; in pc87312_io_write() local 241 PC87312State *s = opaque; in pc87312_io_read() local 279 PC87312State *s = opaque; in pc87312_post_load() local 287 PC87312State *s = PC87312(d); in pc87312_reset() local [all …]
|
/openbmc/qemu/hw/char/ |
H A D | pl011.c | 39 SysBusDevice *s; in pl011_create() local 112 static void pl011_update(PL011State *s) in pl011_update() 148 PL011State *s = (PL011State *)opaque; in pl011_read() local 257 PL011State *s = (PL011State *)opaque; in pl011_write() local 376 PL011State *s = PL011(opaque); in pl011_clock_update() local 391 PL011State *s = PL011(opaque); in pl011_clock_needed() local 409 PL011State* s = opaque; in pl011_post_load() local 470 PL011State *s = PL011(obj); in pl011_init() local 487 PL011State *s = PL011(dev); in pl011_realize() local 495 PL011State *s = PL011(dev); in pl011_reset() local [all …]
|
H A D | nrf51_uart.c | 25 static void nrf51_uart_update_irq(NRF51UARTState *s) in nrf51_uart_update_irq() 43 NRF51UARTState *s = NRF51_UART(opaque); in uart_read() local 80 NRF51UARTState *s = NRF51_UART(opaque); in uart_transmit() local 116 NRF51UARTState *s = NRF51_UART(opaque); in uart_write() local 201 NRF51UARTState *s = NRF51_UART(dev); in nrf51_uart_reset() local 225 NRF51UARTState *s = NRF51_UART(opaque); in uart_receive() local 244 NRF51UARTState *s = NRF51_UART(opaque); in uart_can_receive() local 251 NRF51UARTState *s = NRF51_UART(opaque); in uart_event() local 262 NRF51UARTState *s = NRF51_UART(dev); in nrf51_uart_realize() local 270 NRF51UARTState *s = NRF51_UART(obj); in nrf51_uart_init() local [all …]
|
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 …]
|
/openbmc/qemu/block/ |
H A D | qed.c | 316 BDRVQEDState *s = opaque; in qed_need_check_timer_entry() local 325 BDRVQEDState *s = opaque; in qed_need_check_timer_cb() local 352 BDRVQEDState *s = bs->opaque; in bdrv_qed_detach_aio_context() local 361 BDRVQEDState *s = bs->opaque; in bdrv_qed_attach_aio_context() local 373 BDRVQEDState *s = bs->opaque; in bdrv_qed_drain_begin() local 390 BDRVQEDState *s = bs->opaque; in bdrv_qed_init_state() local 402 BDRVQEDState *s = bs->opaque; in bdrv_qed_do_open() local 601 BDRVQEDState *s = bs->opaque; in bdrv_qed_refresh_limits() local 617 BDRVQEDState *s = bs->opaque; in bdrv_qed_do_close() local 839 BDRVQEDState *s = bs->opaque; in bdrv_qed_co_block_status() local [all …]
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/clk/ |
H A D | seq.h | 6 #define clk_init(s,p) hwsq_init(&(s)->base, (p)) argument 7 #define clk_exec(s,e) hwsq_exec(&(s)->base, (e)) argument 8 #define clk_have(s,r) ((s)->r_##r.addr != 0x000000) argument 9 #define clk_rd32(s,r) hwsq_rd32(&(s)->base, &(s)->r_##r) argument 10 #define clk_wr32(s,r,d) hwsq_wr32(&(s)->base, &(s)->r_##r, (d)) argument 11 #define clk_mask(s,r,m,d) hwsq_mask(&(s)->base, &(s)->r_##r, (m), (d)) argument 12 #define clk_setf(s,f,d) hwsq_setf(&(s)->base, (f), (d)) argument 13 #define clk_wait(s,f,d) hwsq_wait(&(s)->base, (f), (d)) argument 14 #define clk_nsec(s,n) hwsq_nsec(&(s)->base, (n)) argument
|
/openbmc/linux/arch/mips/include/asm/octeon/ |
H A D | cvmx-pciercx-defs.h | 82 } s; member 93 } s; member 104 } s; member 117 } s; member 124 } s; member 131 } s; member 157 } s; member 176 } s; member 203 } s; member 232 } s; member [all …]
|
/openbmc/linux/net/bluetooth/bnep/ |
H A D | core.c | 50 struct bnep_session *s; in __bnep_get_session() local 61 static void __bnep_link_session(struct bnep_session *s) in __bnep_link_session() 66 static void __bnep_unlink_session(struct bnep_session *s) in __bnep_unlink_session() 71 static int bnep_send(struct bnep_session *s, void *data, size_t len) in bnep_send() 79 static int bnep_send_rsp(struct bnep_session *s, u8 ctrl, u16 resp) in bnep_send_rsp() 298 static int bnep_rx_frame(struct bnep_session *s, struct sk_buff *skb) in bnep_rx_frame() 481 struct bnep_session *s = arg; in bnep_session() local 561 struct bnep_session *s, *ss; in bnep_add_connection() local 654 struct bnep_session *s; in bnep_del_connection() local 689 struct bnep_session *s; in bnep_get_connlist() local [all …]
|
/openbmc/qemu/include/fpu/ |
H A D | softfloat.h | 310 static inline bool float16_eq(float16 a, float16 b, float_status *s) in float16_eq() 315 static inline bool float16_le(float16 a, float16 b, float_status *s) in float16_le() 320 static inline bool float16_lt(float16 a, float16 b, float_status *s) in float16_lt() 346 float_status *s) in float16_unordered_quiet() 540 float_status *s) in bfloat16_unordered_quiet() 679 static inline bool float32_eq(float32 a, float32 b, float_status *s) in float32_eq() 684 static inline bool float32_le(float32 a, float32 b, float_status *s) in float32_le() 715 float_status *s) in float32_unordered_quiet() 910 float_status *s) in float64_unordered_quiet() 1056 float_status *s) in floatx80_unordered_quiet() [all …]
|
/openbmc/qemu/hw/usb/ |
H A D | hcd-dwc2.c | 151 DWC2State *s = opaque; in dwc2_frame_boundary() local 674 DWC2State *s = ptr; in dwc2_glbreg_read() local 703 DWC2State *s = ptr; in dwc2_glbreg_write() local 802 DWC2State *s = ptr; in dwc2_fszreg_read() local 820 DWC2State *s = ptr; in dwc2_fszreg_write() local 848 DWC2State *s = ptr; in dwc2_hreg0_read() local 875 DWC2State *s = ptr; in dwc2_hreg0_write() local 971 DWC2State *s = ptr; in dwc2_hreg1_read() local 989 DWC2State *s = ptr; in dwc2_hreg1_write() local 1066 DWC2State *s = ptr; in dwc2_pcgreg_read() local [all …]
|
/openbmc/linux/drivers/media/pci/cobalt/ |
H A D | cobalt-v4l2.c | 38 struct cobalt_stream *s = q->drv_priv; in cobalt_queue_setup() local 54 struct cobalt_stream *s = vb->vb2_queue->drv_priv; in cobalt_buf_init() local 90 struct cobalt_stream *s = vb->vb2_queue->drv_priv; in cobalt_buf_cleanup() local 126 struct cobalt_stream *s = q->drv_priv; in cobalt_buf_queue() local 281 struct cobalt_stream *s = q->drv_priv; in cobalt_start_streaming() local 390 struct cobalt_stream *s = q->drv_priv; in cobalt_stop_streaming() local 459 struct cobalt_stream *s = video_drvdata(file); in cobalt_g_register() local 468 struct cobalt_stream *s = video_drvdata(file); in cobalt_s_register() local 479 struct cobalt_stream *s = video_drvdata(file); in cobalt_querycap() local 573 struct cobalt_stream *s = video_drvdata(file); in cobalt_log_status() local [all …]
|
/openbmc/qemu/tests/qtest/libqos/ |
H A D | pci-spapr.c | 27 QPCIBusSPAPR *s = container_of(bus, QPCIBusSPAPR, bus); in qpci_spapr_pio_readb() local 33 QPCIBusSPAPR *s = container_of(bus, QPCIBusSPAPR, bus); in qpci_spapr_pio_writeb() local 39 QPCIBusSPAPR *s = container_of(bus, QPCIBusSPAPR, bus); in qpci_spapr_pio_readw() local 45 QPCIBusSPAPR *s = container_of(bus, QPCIBusSPAPR, bus); in qpci_spapr_pio_writew() local 51 QPCIBusSPAPR *s = container_of(bus, QPCIBusSPAPR, bus); in qpci_spapr_pio_readl() local 57 QPCIBusSPAPR *s = container_of(bus, QPCIBusSPAPR, bus); in qpci_spapr_pio_writel() local 63 QPCIBusSPAPR *s = container_of(bus, QPCIBusSPAPR, bus); in qpci_spapr_pio_readq() local 69 QPCIBusSPAPR *s = container_of(bus, QPCIBusSPAPR, bus); in qpci_spapr_pio_writeq() local 76 QPCIBusSPAPR *s = container_of(bus, QPCIBusSPAPR, bus); in qpci_spapr_memread() local 83 QPCIBusSPAPR *s = container_of(bus, QPCIBusSPAPR, bus); in qpci_spapr_memwrite() local [all …]
|
/openbmc/qemu/hw/watchdog/ |
H A D | allwinner-wdt.c | 104 static bool allwinner_wdt_sun4i_can_reset_system(AwWdtState *s) in allwinner_wdt_sun4i_can_reset_system() 119 static uint8_t allwinner_wdt_sun4i_get_intv_value(AwWdtState *s) in allwinner_wdt_sun4i_get_intv_value() 156 static bool allwinner_wdt_sun6i_can_reset_system(AwWdtState *s) in allwinner_wdt_sun6i_can_reset_system() 171 static uint8_t allwinner_wdt_sun6i_get_intv_value(AwWdtState *s) in allwinner_wdt_sun6i_get_intv_value() 177 static void allwinner_wdt_update_timer(AwWdtState *s) in allwinner_wdt_update_timer() 202 AwWdtState *s = AW_WDT(opaque); in allwinner_wdt_read() local 235 AwWdtState *s = AW_WDT(opaque); in allwinner_wdt_write() local 288 AwWdtState *s = AW_WDT(opaque); in allwinner_wdt_expired() local 304 AwWdtState *s = AW_WDT(obj); in allwinner_wdt_reset_enter() local 326 AwWdtState *s = AW_WDT(obj); in allwinner_wdt_init() local [all …]
|
/openbmc/qemu/hw/block/ |
H A D | vhost-user-blk.c | 61 VHostUserBlk *s = VHOST_USER_BLK(vdev); in vhost_user_blk_update_config() local 71 VHostUserBlk *s = VHOST_USER_BLK(vdev); in vhost_user_blk_set_config() local 126 VHostUserBlk *s = VHOST_USER_BLK(vdev); in vhost_user_blk_start() local 200 VHostUserBlk *s = VHOST_USER_BLK(vdev); in vhost_user_blk_stop() local 227 VHostUserBlk *s = VHOST_USER_BLK(vdev); in vhost_user_blk_set_status() local 256 VHostUserBlk *s = VHOST_USER_BLK(vdev); in vhost_user_blk_get_features() local 276 VHostUserBlk *s = VHOST_USER_BLK(vdev); in vhost_user_blk_handle_output() local 315 VHostUserBlk *s = VHOST_USER_BLK(vdev); in vhost_user_blk_reset() local 323 VHostUserBlk *s = VHOST_USER_BLK(vdev); in vhost_user_blk_connect() local 518 VHostUserBlk *s = VHOST_USER_BLK(dev); in vhost_user_blk_device_unrealize() local [all …]
|
/openbmc/qemu/hw/core/ |
H A D | ptimer.c | 46 static void ptimer_trigger(ptimer_state *s) in ptimer_trigger() argument 157 ptimer_state *s = (ptimer_state *)opaque; in ptimer_tick() local 201 uint64_t ptimer_get_count(ptimer_state *s) in ptimer_get_count() 306 void ptimer_run(ptimer_state *s, int oneshot) in ptimer_run() 326 void ptimer_stop(ptimer_state *s) in ptimer_stop() 385 void ptimer_set_freq(ptimer_state *s, uint32_t freq) in ptimer_set_freq() 409 uint64_t ptimer_get_limit(ptimer_state *s) in ptimer_get_limit() 414 void ptimer_transaction_begin(ptimer_state *s) in ptimer_transaction_begin() 421 void ptimer_transaction_commit(ptimer_state *s) in ptimer_transaction_commit() 460 ptimer_state *s; in ptimer_init() local [all …]
|
/openbmc/qemu/hw/i2c/ |
H A D | npcm7xx_smbus.c | 165 #define NPCM7XX_SMBUS_FIFO_ENABLED(s) ((s)->fif_ctl & \ argument 230 static void npcm7xx_smbus_nack(NPCM7xxSMBusState *s) in npcm7xx_smbus_nack() 266 static void npcm7xx_smbus_recv_byte(NPCM7xxSMBusState *s) in npcm7xx_smbus_recv_byte() 279 static void npcm7xx_smbus_recv_fifo(NPCM7xxSMBusState *s) in npcm7xx_smbus_recv_fifo() 340 static void npcm7xx_smbus_start(NPCM7xxSMBusState *s) in npcm7xx_smbus_start() 432 static void npcm7xx_smbus_stop(NPCM7xxSMBusState *s) in npcm7xx_smbus_stop() 658 NPCM7xxSMBusState *s = opaque; in npcm7xx_smbus_read() local 820 NPCM7xxSMBusState *s = opaque; in npcm7xx_smbus_write() local 993 NPCM7xxSMBusState *s = NPCM7XX_SMBUS(obj); in npcm7xx_smbus_enter_reset() local 1027 NPCM7xxSMBusState *s = NPCM7XX_SMBUS(obj); in npcm7xx_smbus_hold_reset() local [all …]
|
/openbmc/qemu/hw/misc/ |
H A D | xlnx-versal-cframe-reg.c | 49 static void cfrm_imr_update_irq(XlnxVersalCFrameReg *s) in cfrm_imr_update_irq() 57 XlnxVersalCFrameReg *s = XLNX_VERSAL_CFRAME_REG(reg->opaque); in cfrm_isr_postw() local 63 XlnxVersalCFrameReg *s = XLNX_VERSAL_CFRAME_REG(reg->opaque); in cfrm_ier_prew() local 73 XlnxVersalCFrameReg *s = XLNX_VERSAL_CFRAME_REG(reg->opaque); in cfrm_idr_prew() local 91 static void cframe_incr_far(XlnxVersalCFrameReg *s) in cframe_incr_far() 461 XlnxVersalCFrameReg *s = XLNX_VERSAL_CFRAME_REG(cfi_if); in cframe_reg_cfi_transfer_packet() local 508 XlnxVersalCFrameReg *s = XLNX_VERSAL_CFRAME_REG(opaque); in cframe_reg_fdri_write() local 525 XlnxVersalCFrameReg *s = XLNX_VERSAL_CFRAME_REG(obj); in cframe_reg_reset_enter() local 547 XlnxVersalCFrameReg *s = XLNX_VERSAL_CFRAME_REG(obj); in cframe_reg_reset_hold() local 651 XlnxVersalCFrameReg *s = XLNX_VERSAL_CFRAME_REG(dev); in cframe_reg_realize() local [all …]
|
/openbmc/qemu/target/arm/tcg/ |
H A D | translate-mve.c | 24 static inline int vidup_imm(DisasContext *s, int x) in vidup_imm() 63 static bool mve_no_predication(DisasContext *s) in mve_no_predication() 82 bool mve_eci_check(DisasContext *s) in mve_eci_check() 104 void mve_update_eci(DisasContext *s) in mve_update_eci() 115 void mve_update_and_store_eci(DisasContext *s) in mve_update_and_store_eci() 128 static bool mve_skip_first_beat(DisasContext *s) in mve_skip_first_beat() 471 static bool trans_VDUP(DisasContext *s, arg_VDUP *a) in trans_VDUP() 749 static bool trans_VMVN(DisasContext *s, arg_1op *a) in trans_VMVN() 971 static bool trans_VADC(DisasContext *s, arg_2op *a) in trans_VADC() 976 static bool trans_VADCI(DisasContext *s, arg_2op *a) in trans_VADCI() [all …]
|
/openbmc/linux/drivers/tty/serial/ |
H A D | max3100.c | 339 struct max3100_port *s = dev_id; in max3100_irq() local 349 struct max3100_port *s = container_of(port, in max3100_enable_ms() local 360 struct max3100_port *s = container_of(port, in max3100_start_tx() local 371 struct max3100_port *s = container_of(port, in max3100_stop_rx() local 387 struct max3100_port *s = container_of(port, in max3100_tx_empty() local 400 struct max3100_port *s = container_of(port, in max3100_get_mctrl() local 414 struct max3100_port *s = container_of(port, in max3100_set_mctrl() local 436 struct max3100_port *s = container_of(port, in max3100_set_termios() local 555 struct max3100_port *s = container_of(port, in max3100_shutdown() local 589 struct max3100_port *s = container_of(port, in max3100_startup() local [all …]
|
/openbmc/qemu/hw/scsi/ |
H A D | mptconfig.c | 323 size_t mptsas_config_ioc_0(MPTSASState *s, uint8_t **data, int address) in mptsas_config_ioc_0() 335 size_t mptsas_config_ioc_1(MPTSASState *s, uint8_t **data, int address) in mptsas_config_ioc_1() 342 size_t mptsas_config_ioc_2(MPTSASState *s, uint8_t **data, int address) in mptsas_config_ioc_2() 349 size_t mptsas_config_ioc_3(MPTSASState *s, uint8_t **data, int address) in mptsas_config_ioc_3() 356 size_t mptsas_config_ioc_4(MPTSASState *s, uint8_t **data, int address) in mptsas_config_ioc_4() 363 size_t mptsas_config_ioc_5(MPTSASState *s, uint8_t **data, int address) in mptsas_config_ioc_5() 370 size_t mptsas_config_ioc_6(MPTSASState *s, uint8_t **data, int address) in mptsas_config_ioc_6() 397 static SCSIDevice *mptsas_phy_get_device(MPTSASState *s, int i, in mptsas_phy_get_device() 491 static int mptsas_phy_addr_get(MPTSASState *s, int address) in mptsas_phy_addr_get() 556 static int mptsas_device_addr_get(MPTSASState *s, int address) in mptsas_device_addr_get() [all …]
|
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/qemu/hw/rtc/ |
H A D | pl031.c | 43 static void pl031_update(PL031State *s) in pl031_update() 53 PL031State *s = (PL031State *)opaque; in pl031_interrupt() local 66 static void pl031_set_alarm(PL031State *s) in pl031_set_alarm() 86 PL031State *s = (PL031State *)opaque; in pl031_read() local 192 PL031State *s = PL031(obj); in pl031_init() local 209 PL031State *s = PL031(obj); in pl031_finalize() local 216 PL031State *s = opaque; in pl031_pre_save() local 245 PL031State *s = opaque; in pl031_pre_load() local 253 PL031State *s = opaque; in pl031_post_load() local 275 PL031State *s = opaque; in pl031_tick_offset_post_load() local [all …]
|
/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 | 149 pid_t qtest_pid(QTestState *s) in qtest_pid() 154 bool qtest_probe_child(QTestState *s) in qtest_probe_child() 217 void qtest_wait_qemu(QTestState *s) in qtest_wait_qemu() 256 void qtest_kill_qemu(QTestState *s) in qtest_kill_qemu() 447 QTestState *s; in qtest_init_internal() local 550 QTestState *s; in qtest_vinitf() local 560 QTestState *s; in qtest_initf() local 596 void qtest_quit(QTestState *s) in qtest_quit() 711 static void qtest_rsp(QTestState *s) in qtest_rsp() 1419 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 …]
|