/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() 73 static bool mve_check_qreg_bank(DisasContext *s, int qmask) in mve_check_qreg_bank() 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() 144 static bool do_ldst(DisasContext *s, arg_VLDR_VSTR *a, MVEGenLdStFn *fn, in do_ldst() 192 static bool trans_VLDR_VSTR(DisasContext *s, arg_VLDR_VSTR *a) in trans_VLDR_VSTR() 251 static bool trans_VLDR_S_sg(DisasContext *s, arg_vldst_sg *a) in trans_VLDR_S_sg() [all …]
|
/openbmc/qemu/hw/net/can/ |
H A D | can_sja1000.c | 52 static void can_sja_software_reset(CanSJA1000State *s) in can_sja_software_reset() 64 void can_sja_hardware_reset(CanSJA1000State *s) in can_sja_hardware_reset() 148 int can_sja_accept_filter(CanSJA1000State *s, in can_sja_accept_filter() 404 static void can_sja_update_pel_irq(CanSJA1000State *s) in can_sja_update_pel_irq() 413 static void can_sja_update_bas_irq(CanSJA1000State *s) in can_sja_update_bas_irq() 422 void can_sja_mem_write(CanSJA1000State *s, hwaddr addr, uint64_t val, in can_sja_mem_write() 658 uint64_t can_sja_mem_read(CanSJA1000State *s, hwaddr addr, unsigned size) in can_sja_mem_read() 761 CanSJA1000State *s = container_of(client, CanSJA1000State, bus_client); in can_sja_can_receive() local 779 CanSJA1000State *s = container_of(client, CanSJA1000State, bus_client); in can_sja_receive() local 897 int can_sja_connect_to_bus(CanSJA1000State *s, CanBusState *bus) in can_sja_connect_to_bus() [all …]
|
/openbmc/qemu/hw/i386/ |
H A D | vmmouse.c | 95 static uint32_t vmmouse_get_status(VMMouseState *s) in vmmouse_get_status() argument 104 VMMouseState *s = opaque; in vmmouse_mouse_event() local 141 static void vmmouse_remove_handler(VMMouseState *s) in vmmouse_remove_handler() 149 static void vmmouse_update_handler(VMMouseState *s, int absolute) in vmmouse_update_handler() 166 static void vmmouse_read_id(VMMouseState *s) in vmmouse_read_id() 178 static void vmmouse_request_relative(VMMouseState *s) in vmmouse_request_relative() 185 static void vmmouse_request_absolute(VMMouseState *s) in vmmouse_request_absolute() 192 static void vmmouse_disable(VMMouseState *s) in vmmouse_disable() 200 static void vmmouse_data(VMMouseState *s, uint32_t *data, uint32_t size) in vmmouse_data() 223 VMMouseState *s = opaque; in vmmouse_ioport_read() local [all …]
|
/openbmc/qemu/hw/misc/macio/ |
H A D | cuda.c | 68 static uint64_t cuda_get_counter_value(MOS6522State *s, MOS6522Timer *ti) in cuda_get_counter_value() 81 static uint64_t cuda_get_load_time(MOS6522State *s, MOS6522Timer *ti) in cuda_get_load_time() 93 CUDAState *s = opaque; in cuda_set_sr_int() local 101 static void cuda_delay_set_sr_int(CUDAState *s) in cuda_delay_set_sr_int() 112 static void cuda_update(CUDAState *s) in cuda_update() 186 static void cuda_send_packet_to_host(CUDAState *s, in cuda_send_packet_to_host() 205 CUDAState *s = opaque; in cuda_adb_poll() local 227 static bool cuda_cmd_autopoll(CUDAState *s, in cuda_cmd_autopoll() 244 static bool cuda_cmd_set_autorate(CUDAState *s, in cuda_cmd_set_autorate() 264 static bool cuda_cmd_set_device_list(CUDAState *s, in cuda_cmd_set_device_list() [all …]
|
/openbmc/qemu/block/ |
H A D | qed-table.c | 25 qed_read_table(BDRVQEDState *s, uint64_t offset, QEDTable *table) in qed_read_table() 67 qed_write_table(BDRVQEDState *s, uint64_t offset, QEDTable *table, in qed_write_table() 116 int coroutine_fn qed_read_l1_table_sync(BDRVQEDState *s) in qed_read_l1_table_sync() 122 int coroutine_fn qed_write_l1_table(BDRVQEDState *s, unsigned int index, in qed_write_l1_table() 130 int coroutine_fn qed_write_l1_table_sync(BDRVQEDState *s, unsigned int index, in qed_write_l1_table_sync() 137 int coroutine_fn qed_read_l2_table(BDRVQEDState *s, QEDRequest *request, in qed_read_l2_table() 175 int coroutine_fn qed_read_l2_table_sync(BDRVQEDState *s, QEDRequest *request, in qed_read_l2_table_sync() 182 int coroutine_fn qed_write_l2_table(BDRVQEDState *s, QEDRequest *request, in qed_write_l2_table() 191 int coroutine_fn qed_write_l2_table_sync(BDRVQEDState *s, QEDRequest *request, in qed_write_l2_table_sync()
|
/openbmc/qemu/tests/qtest/ |
H A D | aspeed_fsi-test.c | 44 static uint32_t aspeed_fsi_readl(QTestState *s, uint32_t reg) in aspeed_fsi_readl() 49 static void aspeed_fsi_writel(QTestState *s, uint32_t reg, uint32_t val) in aspeed_fsi_writel() 55 static void test_fsi_setup(QTestState *s, uint32_t base_addr) in test_fsi_setup() 87 static void test_fsi_reg_change(QTestState *s, uint32_t reg, uint32_t newval) in test_fsi_reg_change() 103 QTestState *s = (QTestState *)data; in test_fsi0_master_regs() local 118 QTestState *s = (QTestState *)data; in test_fsi1_master_regs() local 133 QTestState *s = (QTestState *)data; in test_fsi0_getcfam_addr0() local 157 QTestState *s = (QTestState *)data; in test_fsi1_getcfam_addr0() local 181 QTestState *s; in main() local
|
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 | qtest_aspeed.c | 18 static void aspeed_i2c_startup(QTestState *s, uint32_t baseaddr, in aspeed_i2c_startup() 42 static uint32_t aspeed_i2c_read_n(QTestState *s, in aspeed_i2c_read_n() 63 uint32_t aspeed_i2c_readl(QTestState *s, in aspeed_i2c_readl() 69 uint16_t aspeed_i2c_readw(QTestState *s, in aspeed_i2c_readw() 75 uint8_t aspeed_i2c_readb(QTestState *s, in aspeed_i2c_readb() 81 static void aspeed_i2c_write_n(QTestState *s, in aspeed_i2c_write_n() 98 void aspeed_i2c_writel(QTestState *s, in aspeed_i2c_writel() 105 void aspeed_i2c_writew(QTestState *s, in aspeed_i2c_writew() 112 void aspeed_i2c_writeb(QTestState *s, in aspeed_i2c_writeb()
|
/openbmc/qemu/hw/misc/ |
H A D | xlnx-zynqmp-crf.c | 25 static void ir_update_irq(XlnxZynqMPCRF *s) in ir_update_irq() 33 XlnxZynqMPCRF *s = XLNX_ZYNQMP_CRF(reg->opaque); in ir_status_postw() local 39 XlnxZynqMPCRF *s = XLNX_ZYNQMP_CRF(reg->opaque); in ir_enable_prew() local 49 XlnxZynqMPCRF *s = XLNX_ZYNQMP_CRF(reg->opaque); in ir_disable_prew() local 59 XlnxZynqMPCRF *s = XLNX_ZYNQMP_CRF(reg->opaque); in rst_fpd_apu_prew() local 186 XlnxZynqMPCRF *s = XLNX_ZYNQMP_CRF(obj); in crf_reset_enter() local 196 XlnxZynqMPCRF *s = XLNX_ZYNQMP_CRF(obj); in crf_reset_hold() local 212 XlnxZynqMPCRF *s = XLNX_ZYNQMP_CRF(obj); in crf_init() local 228 XlnxZynqMPCRF *s = XLNX_ZYNQMP_CRF(obj); in crf_finalize() local
|
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/hw/gpio/ |
H A D | imx_gpio.c | 62 static void imx_gpio_update_int(IMXGPIOState *s) in imx_gpio_update_int() 72 static void imx_gpio_set_int_line(IMXGPIOState *s, int line, IMXGPIOLevel level) in imx_gpio_set_int_line() 104 IMXGPIOState *s = IMX_GPIO(opaque); in imx_gpio_set() local 117 static void imx_gpio_set_all_int_lines(IMXGPIOState *s) in imx_gpio_set_all_int_lines() 129 static inline void imx_gpio_set_all_output_lines(IMXGPIOState *s) in imx_gpio_set_all_output_lines() 146 IMXGPIOState *s = IMX_GPIO(opaque); in imx_gpio_read() local 207 IMXGPIOState *s = IMX_GPIO(opaque); in imx_gpio_write() local 295 IMXGPIOState *s = IMX_GPIO(dev); in imx_gpio_reset() local 311 IMXGPIOState *s = IMX_GPIO(dev); in imx_gpio_realize() local
|
/openbmc/qemu/hw/i2c/ |
H A D | bcm2835_i2c.c | 33 static void bcm2835_i2c_update_interrupt(BCM2835I2CState *s) in bcm2835_i2c_update_interrupt() 53 static void bcm2835_i2c_begin_transfer(BCM2835I2CState *s) in bcm2835_i2c_begin_transfer() 68 static void bcm2835_i2c_finish_transfer(BCM2835I2CState *s) in bcm2835_i2c_finish_transfer() 90 BCM2835I2CState *s = opaque; in bcm2835_i2c_read() local 138 BCM2835I2CState *s = opaque; in bcm2835_i2c_write() local 221 BCM2835I2CState *s = BCM2835_I2C(dev); in bcm2835_i2c_realize() local 232 BCM2835I2CState *s = BCM2835_I2C(dev); in bcm2835_i2c_reset() local
|
/openbmc/qemu/hw/scsi/ |
H A D | vmw_pvscsi.c | 335 pvscsi_reset_state(PVSCSIState *s) in pvscsi_reset_state() 349 pvscsi_update_irq_status(PVSCSIState *s) in pvscsi_update_irq_status() 369 pvscsi_raise_completion_interrupt(PVSCSIState *s) in pvscsi_raise_completion_interrupt() 380 pvscsi_raise_message_interrupt(PVSCSIState *s) in pvscsi_raise_message_interrupt() 391 pvscsi_cmp_ring_put(PVSCSIState *s, struct PVSCSIRingCmpDesc *cmp_desc) in pvscsi_cmp_ring_put() 401 pvscsi_msg_ring_put(PVSCSIState *s, struct PVSCSIRingMsgDesc *msg_desc) in pvscsi_msg_ring_put() 413 PVSCSIState *s = opaque; in pvscsi_process_completion_queue() local 432 pvscsi_reset_adapter(PVSCSIState *s) in pvscsi_reset_adapter() 443 pvscsi_schedule_completion_processing(PVSCSIState *s) in pvscsi_schedule_completion_processing() 452 pvscsi_complete_request(PVSCSIState *s, PVSCSIRequest *r) in pvscsi_complete_request() [all …]
|
/openbmc/qemu/hw/char/ |
H A D | stm32f2xx_usart.c | 37 STM32F2XXUsartState *s = opaque; in stm32f2xx_usart_can_receive() local 46 static void stm32f2xx_update_irq(STM32F2XXUsartState *s) in stm32f2xx_update_irq() 59 STM32F2XXUsartState *s = opaque; in stm32f2xx_usart_receive() local 78 STM32F2XXUsartState *s = STM32F2XX_USART(dev); in stm32f2xx_usart_reset() local 94 STM32F2XXUsartState *s = opaque; in stm32f2xx_usart_read() local 138 STM32F2XXUsartState *s = opaque; in stm32f2xx_usart_write() local 205 STM32F2XXUsartState *s = STM32F2XX_USART(obj); in stm32f2xx_usart_init() local 216 STM32F2XXUsartState *s = STM32F2XX_USART(dev); in stm32f2xx_usart_realize() local
|
/openbmc/qemu/hw/watchdog/ |
H A D | wdt_imx2.c | 24 IMX2WdtState *s = IMX2_WDT(opaque); in imx2_wdt_interrupt() local 34 IMX2WdtState *s = IMX2_WDT(opaque); in imx2_wdt_expired() local 48 IMX2WdtState *s = IMX2_WDT(dev); in imx2_wdt_reset() local 73 IMX2WdtState *s = IMX2_WDT(opaque); in imx2_wdt_read() local 99 static void imx_wdt2_update_itimer(IMX2WdtState *s, bool start) in imx_wdt2_update_itimer() 127 static void imx_wdt2_update_timer(IMX2WdtState *s, bool start) in imx_wdt2_update_timer() 151 IMX2WdtState *s = IMX2_WDT(opaque); in imx2_wdt_write() local 254 IMX2WdtState *s = IMX2_WDT(dev); in imx2_wdt_realize() local
|
/openbmc/qemu/hw/xen/ |
H A D | xen_pt_config_init.c | 63 XenPTRegGroup *xen_pt_find_reg_grp(XenPCIPassthroughState *s, uint32_t address) in xen_pt_find_reg_grp() 101 static uint32_t get_throughable_mask(const XenPCIPassthroughState *s, in get_throughable_mask() 119 static int xen_pt_common_reg_init(XenPCIPassthroughState *s, in xen_pt_common_reg_init() 129 static int xen_pt_byte_reg_read(XenPCIPassthroughState *s, XenPTReg *cfg_entry, in xen_pt_byte_reg_read() 142 static int xen_pt_word_reg_read(XenPCIPassthroughState *s, XenPTReg *cfg_entry, in xen_pt_word_reg_read() 155 static int xen_pt_long_reg_read(XenPCIPassthroughState *s, XenPTReg *cfg_entry, in xen_pt_long_reg_read() 171 static int xen_pt_byte_reg_write(XenPCIPassthroughState *s, XenPTReg *cfg_entry, in xen_pt_byte_reg_write() 190 static int xen_pt_word_reg_write(XenPCIPassthroughState *s, XenPTReg *cfg_entry, in xen_pt_word_reg_write() 209 static int xen_pt_long_reg_write(XenPCIPassthroughState *s, XenPTReg *cfg_entry, in xen_pt_long_reg_write() 241 static int xen_pt_vendor_reg_init(XenPCIPassthroughState *s, in xen_pt_vendor_reg_init() [all …]
|
/openbmc/qemu/hw/display/ |
H A D | macfb.c | 123 static inline uint8_t macfb_read_byte(MacfbState *s, uint32_t addr) in macfb_read_byte() 129 static void macfb_draw_line1(MacfbState *s, uint8_t *d, uint32_t addr, in macfb_draw_line1() 149 static void macfb_draw_line2(MacfbState *s, uint8_t *d, uint32_t addr, in macfb_draw_line2() 169 static void macfb_draw_line4(MacfbState *s, uint8_t *d, uint32_t addr, in macfb_draw_line4() 189 static void macfb_draw_line8(MacfbState *s, uint8_t *d, uint32_t addr, in macfb_draw_line8() 207 static void macfb_draw_line16(MacfbState *s, uint8_t *d, uint32_t addr, in macfb_draw_line16() 227 static void macfb_draw_line24(MacfbState *s, uint8_t *d, uint32_t addr, in macfb_draw_line24() 265 static int macfb_check_dirty(MacfbState *s, DirtyBitmapSnapshot *snap, in macfb_check_dirty() 271 static void macfb_draw_graphic(MacfbState *s) in macfb_draw_graphic() 338 MacfbState *s = opaque; in macfb_invalidate_display() local [all …]
|
/openbmc/u-boot/arch/xtensa/include/asm/arch-dc233c/ |
H A D | tie.h | 91 #define XCHAL_NCP_SA_LIST(s) \ argument 102 #define XCHAL_CP0_SA_LIST(s) /* empty */ argument 105 #define XCHAL_CP1_SA_LIST(s) /* empty */ argument 108 #define XCHAL_CP2_SA_LIST(s) /* empty */ argument 111 #define XCHAL_CP3_SA_LIST(s) /* empty */ argument 114 #define XCHAL_CP4_SA_LIST(s) /* empty */ argument 117 #define XCHAL_CP5_SA_LIST(s) /* empty */ argument 120 #define XCHAL_CP6_SA_LIST(s) /* empty */ argument 123 #define XCHAL_CP7_SA_LIST(s) /* empty */ argument
|
/openbmc/u-boot/arch/xtensa/include/asm/arch-dc232b/ |
H A D | tie.h | 91 #define XCHAL_NCP_SA_LIST(s) \ argument 102 #define XCHAL_CP0_SA_LIST(s) /* empty */ argument 105 #define XCHAL_CP1_SA_LIST(s) /* empty */ argument 108 #define XCHAL_CP2_SA_LIST(s) /* empty */ argument 111 #define XCHAL_CP3_SA_LIST(s) /* empty */ argument 114 #define XCHAL_CP4_SA_LIST(s) /* empty */ argument 117 #define XCHAL_CP5_SA_LIST(s) /* empty */ argument 120 #define XCHAL_CP6_SA_LIST(s) /* empty */ argument 123 #define XCHAL_CP7_SA_LIST(s) /* empty */ argument
|
/openbmc/qemu/hw/usb/ |
H A D | hcd-xhci-pci.c | 40 XHCIPciState *s = container_of(xhci, XHCIPciState, xhci); in xhci_pci_intr_update() local 62 XHCIPciState *s = container_of(xhci, XHCIPciState, xhci); in xhci_pci_intr_raise() local 87 XHCIPciState *s = container_of(xhci, XHCIPciState, xhci); in xhci_pci_intr_mapping_conditional() local 102 XHCIPciState *s = XHCI_PCI(dev); in xhci_pci_reset() local 109 XHCIPciState *s = XHCI_PCI(opaque); in xhci_pci_vmstate_post_load() local 127 XHCIPciState *s = XHCI_PCI(dev); in usb_xhci_pci_realize() local 187 XHCIPciState *s = XHCI_PCI(dev); in usb_xhci_pci_exit() local 209 XHCIPciState *s = XHCI_PCI(obj); in xhci_instance_init() local 269 XHCIPciState *s = XHCI_PCI(obj); in qemu_xhci_instance_init() local
|
/openbmc/qemu/hw/intc/ |
H A D | goldfish_pic.c | 34 GoldfishPICState *s = GOLDFISH_PIC(obj); in goldfish_pic_get_statistics() local 43 GoldfishPICState *s = GOLDFISH_PIC(obj); in goldfish_pic_print_info() local 49 static void goldfish_pic_update(GoldfishPICState *s) in goldfish_pic_update() 60 GoldfishPICState *s = opaque; in goldfish_irq_request() local 76 GoldfishPICState *s = opaque; in goldfish_pic_read() local 103 GoldfishPICState *s = opaque; in goldfish_pic_write() local 138 GoldfishPICState *s = GOLDFISH_PIC(dev); in goldfish_pic_reset() local 152 GoldfishPICState *s = GOLDFISH_PIC(dev); in goldfish_pic_realize() local 174 GoldfishPICState *s = GOLDFISH_PIC(obj); in goldfish_pic_instance_init() local
|
/openbmc/qemu/hw/timer/ |
H A D | armv7m_systick.c | 33 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 D | a9gtimer.c | 50 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 …]
|
/openbmc/u-boot/lib/zlib/ |
H A D | deflate.c | 164 #define UPDATE_HASH(s,h,c) (h = (((h)<<s->hash_shift) ^ (c)) & s->hash_mask) argument 178 #define INSERT_STRING(s, str, match_head) \ argument 183 #define INSERT_STRING(s, str, match_head) \ argument 193 #define CLEAR_HASH(s) \ argument 221 deflate_state *s; local 316 deflate_state *s; local 356 deflate_state *s; local 417 deflate_state *s; local 458 deflate_state *s; local 490 deflate_state *s; local [all …]
|
/openbmc/qemu/hw/arm/ |
H A D | xlnx-versal.c | 34 static void versal_create_apu_cpus(Versal *s) in versal_create_apu_cpus() 65 static void versal_create_apu_gic(Versal *s, qemu_irq *pic) in versal_create_apu_gic() 138 static void versal_create_rpu_cpus(Versal *s) in versal_create_rpu_cpus() 167 static void versal_create_uarts(Versal *s, qemu_irq *pic) in versal_create_uarts() 192 static void versal_create_canfds(Versal *s, qemu_irq *pic) in versal_create_canfds() 224 static void versal_create_usbs(Versal *s, qemu_irq *pic) in versal_create_usbs() 249 static void versal_create_gems(Versal *s, qemu_irq *pic) in versal_create_gems() 289 static void versal_create_admas(Versal *s, qemu_irq *pic) in versal_create_admas() 316 static void versal_create_sds(Versal *s, qemu_irq *pic) in versal_create_sds() 344 static void versal_create_pmc_apb_irq_orgate(Versal *s, qemu_irq *pic) in versal_create_pmc_apb_irq_orgate() [all …]
|