/openbmc/qemu/hw/scsi/ |
H A D | scsi-disk.c | 818 static inline bool media_is_dvd(SCSIDiskState *s) in media_is_dvd() 831 static inline bool media_is_cd(SCSIDiskState *s) in media_is_cd() 1675 static inline bool check_lba_range(SCSIDiskState *s, in check_lba_range() 2370 SCSIDiskState *s = opaque; in scsi_disk_drained_begin() local 2377 SCSIDiskState *s = opaque; in scsi_disk_drained_end() local 2384 SCSIDiskState *s = opaque; in scsi_disk_resize_cb() local 2396 SCSIDiskState *s = opaque; in scsi_cd_change_media_cb() local 2417 SCSIDiskState *s = opaque; in scsi_cd_eject_request_cb() local 2689 SCSIDiskState *s = DO_UPCAST(SCSIDiskState, qdev, d); in scsi_new_request() local 2709 static int get_device_type(SCSIDiskState *s) in get_device_type() [all …]
|
H A D | lsi53c895a.c | 2106 LSIState *s = opaque; in lsi_mmio_write() local 2114 LSIState *s = opaque; in lsi_mmio_read() local 2131 LSIState *s = opaque; in lsi_ram_write() local 2138 LSIState *s = opaque; in lsi_ram_read() local 2151 LSIState *s = opaque; in lsi_io_read() local 2158 LSIState *s = opaque; in lsi_io_write() local 2174 LSIState *s = LSI53C895A(dev); in lsi_scsi_reset() local 2181 LSIState *s = opaque; in lsi_pre_save() local 2194 LSIState *s = opaque; in lsi_post_load() local 2299 LSIState *s = LSI53C895A(dev); in lsi_scsi_realize() local [all …]
|
/openbmc/qemu/hw/net/can/ |
H A D | ctucan_core.c | 154 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() 406 uint64_t ctucan_mem_read(CtuCanCoreState *s, hwaddr addr, unsigned size) in ctucan_mem_read() 525 CtuCanCoreState *s = container_of(client, CtuCanCoreState, bus_client); in ctucan_can_receive() local 585 int ctucan_connect_to_bus(CtuCanCoreState *s, CanBusState *bus) in ctucan_connect_to_bus() 600 void ctucan_disconnect(CtuCanCoreState *s) in ctucan_disconnect() 605 int ctucan_init(CtuCanCoreState *s, qemu_irq irq) in ctucan_init() [all …]
|
/openbmc/linux/drivers/md/persistent-data/ |
H A D | dm-btree-spine.c | 124 void init_ro_spine(struct ro_spine *s, struct dm_btree_info *info) in init_ro_spine() 132 void exit_ro_spine(struct ro_spine *s) in exit_ro_spine() 140 int ro_step(struct ro_spine *s, dm_block_t new_child) in ro_step() 157 void ro_pop(struct ro_spine *s) in ro_pop() 164 struct btree_node *ro_node(struct ro_spine *s) in ro_node() 182 void exit_shadow_spine(struct shadow_spine *s) in exit_shadow_spine() 190 int shadow_step(struct shadow_spine *s, dm_block_t b, in shadow_step() 212 struct dm_block *shadow_current(struct shadow_spine *s) in shadow_current() 219 struct dm_block *shadow_parent(struct shadow_spine *s) in shadow_parent() 226 int shadow_has_parent(struct shadow_spine *s) in shadow_has_parent() [all …]
|
/openbmc/qemu/hw/misc/ |
H A D | xlnx-versal-cfu.c | 49 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 164 XlnxVersalCFUAPB *s = XLNX_VERSAL_CFU_APB(dev); in cfu_apb_reset() local 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 343 XlnxVersalCFUAPB *s = XLNX_VERSAL_CFU_APB(obj); in cfu_apb_init() local 374 XlnxVersalCFUSFR *s = XLNX_VERSAL_CFU_SFR(obj); in cfu_sfr_init() local 384 XlnxVersalCFUSFR *s = XLNX_VERSAL_CFU_SFR(obj); in cfu_sfr_reset_enter() local 391 XlnxVersalCFUFDRO *s = XLNX_VERSAL_CFU_FDRO(obj); in cfu_fdro_init() local [all …]
|
H A D | bcm2835_cprman.c | 58 CprmanPllState *s = CPRMAN_PLL(dev); in pll_reset() local 117 CprmanPllState *s = CPRMAN_PLL(obj); in pll_init() local 155 CprmanPllChannelState *s = CPRMAN_PLL_CHANNEL(dev); in pll_channel_reset() local 220 CprmanPllChannelState *s = CPRMAN_PLL_CHANNEL(obj); in pll_channel_init() local 311 CprmanClockMuxState *s = *backref; in clock_mux_src_update() local 332 CprmanClockMuxState *s = CPRMAN_CLOCK_MUX(obj); in clock_mux_init() local 455 BCM2835CprmanState *s = CPRMAN(opaque); in cprman_read() local 522 BCM2835CprmanState *s = CPRMAN(opaque); in cprman_write() local 622 BCM2835CprmanState *s = CPRMAN(dev); in cprman_reset() local 646 BCM2835CprmanState *s = CPRMAN(obj); in cprman_init() local [all …]
|
H A D | pca9552.c | 56 static uint16_t pca955x_pins_get_status(PCA955xState *s) in pca955x_pins_get_status() 61 static void pca955x_display_pins_status(PCA955xState *s, in pca955x_display_pins_status() 103 static void pca955x_update_pin_input(PCA955xState *s) in pca955x_update_pin_input() 187 static void pca955x_autoinc(PCA955xState *s) in pca955x_autoinc() 201 PCA955xState *s = PCA955X(i2c); in pca955x_recv() local 229 PCA955xState *s = PCA955X(i2c); in pca955x_send() local 246 PCA955xState *s = PCA955X(i2c); in pca955x_event() local 256 PCA955xState *s = PCA955X(obj); in pca955x_get_led() local 293 PCA955xState *s = PCA955X(obj); in pca955x_set_led() local 342 PCA955xState *s = PCA955X(dev); in pca9552_reset() local [all …]
|
/openbmc/qemu/hw/i2c/ |
H A D | imx_i2c.c | 59 static inline bool imx_i2c_is_enabled(IMXI2CState *s) in imx_i2c_is_enabled() 64 static inline bool imx_i2c_interrupt_is_enabled(IMXI2CState *s) in imx_i2c_interrupt_is_enabled() 69 static inline bool imx_i2c_is_master(IMXI2CState *s) in imx_i2c_is_master() 76 IMXI2CState *s = IMX_I2C(dev); in imx_i2c_reset() local 91 static inline void imx_i2c_raise_interrupt(IMXI2CState *s) in imx_i2c_raise_interrupt() 107 IMXI2CState *s = IMX_I2C(opaque); in imx_i2c_read() local 164 IMXI2CState *s = IMX_I2C(opaque); in imx_i2c_write() local 302 IMXI2CState *s = IMX_I2C(dev); in imx_i2c_realize() local
|
/openbmc/qemu/hw/usb/ |
H A D | hcd-uhci.c | 142 UHCIState *s = queue->uhci; in uhci_queue_free() local 307 UHCIState *s = UHCI(d); in uhci_reset() local 350 UHCIState *s = opaque; in uhci_post_load() local 386 UHCIState *s = opaque; in uhci_port_write() local 486 UHCIState *s = opaque; in uhci_port_read() local 550 UHCIState *s = port1->opaque; in uhci_attach() local 568 UHCIState *s = port1->opaque; in uhci_detach() local 1075 UHCIState *s = opaque; in uhci_bh() local 1081 UHCIState *s = opaque; in uhci_frame_timer() local 1163 UHCIState *s = UHCI(dev); in usb_uhci_common_realize() local [all …]
|
/openbmc/qemu/hw/net/ |
H A D | sunhme.c | 223 SunHMEState *s = SUNHME(opaque); in sunhme_seb_write() local 258 SunHMEState *s = SUNHME(opaque); in sunhme_seb_read() local 304 SunHMEState *s = SUNHME(opaque); in sunhme_etx_write() local 322 SunHMEState *s = SUNHME(opaque); in sunhme_etx_read() local 345 SunHMEState *s = SUNHME(opaque); in sunhme_erx_write() local 355 SunHMEState *s = SUNHME(opaque); in sunhme_erx_read() local 378 SunHMEState *s = SUNHME(opaque); in sunhme_mac_write() local 398 SunHMEState *s = SUNHME(opaque); in sunhme_mac_read() local 459 SunHMEState *s = SUNHME(opaque); in sunhme_mif_write() local 891 SunHMEState *s = SUNHME(obj); in sunhme_instance_init() local [all …]
|
/openbmc/linux/tools/cgroup/ |
H A D | memcg_slabinfo.py | 31 def err(s): argument 47 def is_root_cache(s): argument 54 def cache_name(s): argument 63 def oo_order(s): argument 67 def oo_objects(s): argument 83 def slub_get_slabinfo(s, cfg): argument 106 def cache_show(s, cfg, objs): argument
|
/openbmc/qemu/net/ |
H A D | socket.c | 73 NetSocketState *s = opaque; in net_socket_writable() local 157 NetSocketState *s = opaque; in net_socket_send() local 195 NetSocketState *s = opaque; in net_socket_send_dgram() local 339 NetSocketState *s; in net_socket_fd_init_dgram() local 408 NetSocketState *s = opaque; in net_socket_connect() local 426 NetSocketState *s; in net_socket_fd_init_stream() local 468 NetSocketState *s = opaque; in net_socket_accept() local 498 NetSocketState *s; in net_socket_listen_init() local 546 NetSocketState *s; in net_socket_connect_init() local 597 NetSocketState *s; in net_socket_mcast_init() local [all …]
|
/openbmc/linux/arch/xtensa/variants/dc233c/include/variant/ |
H A D | tie.h | 112 #define XCHAL_NCP_SA_LIST(s) \ argument 123 #define XCHAL_CP0_SA_LIST(s) /* empty */ argument 126 #define XCHAL_CP1_SA_LIST(s) /* empty */ argument 129 #define XCHAL_CP2_SA_LIST(s) /* empty */ argument 132 #define XCHAL_CP3_SA_LIST(s) /* empty */ argument 135 #define XCHAL_CP4_SA_LIST(s) /* empty */ argument 138 #define XCHAL_CP5_SA_LIST(s) /* empty */ argument 141 #define XCHAL_CP6_SA_LIST(s) /* empty */ argument 144 #define XCHAL_CP7_SA_LIST(s) /* empty */ argument
|
/openbmc/linux/arch/xtensa/variants/test_mmuhifi_c3/include/variant/ |
H A D | tie.h | 92 #define XCHAL_NCP_SA_LIST(s) \ argument 98 #define XCHAL_CP0_SA_LIST(s) /* empty */ argument 101 #define XCHAL_CP1_SA_LIST(s) \ argument 120 #define XCHAL_CP2_SA_LIST(s) /* empty */ argument 123 #define XCHAL_CP3_SA_LIST(s) /* empty */ argument 126 #define XCHAL_CP4_SA_LIST(s) /* empty */ argument 129 #define XCHAL_CP5_SA_LIST(s) /* empty */ argument 132 #define XCHAL_CP6_SA_LIST(s) /* empty */ argument 135 #define XCHAL_CP7_SA_LIST(s) /* empty */ argument
|
/openbmc/linux/arch/xtensa/variants/dc232b/include/variant/ |
H A D | tie.h | 93 #define XCHAL_NCP_SA_LIST(s) \ argument 104 #define XCHAL_CP0_SA_LIST(s) /* empty */ argument 107 #define XCHAL_CP1_SA_LIST(s) /* empty */ argument 110 #define XCHAL_CP2_SA_LIST(s) /* empty */ argument 113 #define XCHAL_CP3_SA_LIST(s) /* empty */ argument 116 #define XCHAL_CP4_SA_LIST(s) /* empty */ argument 119 #define XCHAL_CP5_SA_LIST(s) /* empty */ argument 122 #define XCHAL_CP6_SA_LIST(s) /* empty */ argument 125 #define XCHAL_CP7_SA_LIST(s) /* empty */ argument
|
/openbmc/linux/arch/xtensa/variants/csp/include/variant/ |
H A D | tie.h | 112 #define XCHAL_NCP_SA_LIST(s) \ argument 124 #define XCHAL_CP0_SA_LIST(s) /* empty */ argument 127 #define XCHAL_CP1_SA_LIST(s) /* empty */ argument 130 #define XCHAL_CP2_SA_LIST(s) /* empty */ argument 133 #define XCHAL_CP3_SA_LIST(s) /* empty */ argument 136 #define XCHAL_CP4_SA_LIST(s) /* empty */ argument 139 #define XCHAL_CP5_SA_LIST(s) /* empty */ argument 142 #define XCHAL_CP6_SA_LIST(s) /* empty */ argument 145 #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/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/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
|
/openbmc/qemu/hw/gpio/ |
H A D | imx_gpio.c | 69 static void imx_gpio_update_int(IMXGPIOState *s) in imx_gpio_update_int() 79 static void imx_gpio_set_int_line(IMXGPIOState *s, int line, IMXGPIOLevel level) in imx_gpio_set_int_line() 111 IMXGPIOState *s = IMX_GPIO(opaque); in imx_gpio_set() local 122 static void imx_gpio_set_all_int_lines(IMXGPIOState *s) in imx_gpio_set_all_int_lines() 134 static inline void imx_gpio_set_all_output_lines(IMXGPIOState *s) in imx_gpio_set_all_output_lines() 151 IMXGPIOState *s = IMX_GPIO(opaque); in imx_gpio_read() local 211 IMXGPIOState *s = IMX_GPIO(opaque); in imx_gpio_write() local 302 IMXGPIOState *s = IMX_GPIO(dev); in imx_gpio_reset() local 318 IMXGPIOState *s = IMX_GPIO(dev); in imx_gpio_realize() local
|
/openbmc/qemu/hw/intc/ |
H A D | goldfish_pic.c | 35 GoldfishPICState *s = GOLDFISH_PIC(obj); in goldfish_pic_get_statistics() local 44 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/tests/qtest/ |
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/linux/drivers/media/pci/tw5864/ |
H A D | tw5864-h264.c | 31 static void bs_init(struct bs *s, void *buf, int size) in bs_init() 39 static int bs_len(struct bs *s) in bs_len() 44 static void bs_write(struct bs *s, int count, u32 bits) in bs_write() 64 static void bs_write1(struct bs *s, u32 bit) in bs_write1() 77 static void bs_write_ue(struct bs *s, u32 val) in bs_write_ue() 87 static void bs_write_se(struct bs *s, int val) in bs_write_se() 92 static void bs_rbsp_trailing(struct bs *s) in bs_rbsp_trailing() 103 struct bs bs, *s; in tw5864_h264_gen_sps_rbsp() local 132 struct bs bs, *s; in tw5864_h264_gen_pps_rbsp() local 160 struct bs bs, *s; in tw5864_h264_gen_slice_head() local
|
/openbmc/qemu/hw/9pfs/ |
H A D | cofile.c | 29 V9fsState *s = pdu->s; in v9fs_co_st_gen() local 52 V9fsState *s = pdu->s; in v9fs_co_lstat() local 73 V9fsState *s = pdu->s; in v9fs_co_fstat() local 105 V9fsState *s = pdu->s; in v9fs_co_open() local 137 V9fsState *s = pdu->s; in v9fs_co_open2() local 188 V9fsState *s = pdu->s; in v9fs_co_close() local 209 V9fsState *s = pdu->s; in v9fs_co_fsync() local 228 V9fsState *s = pdu->s; in v9fs_co_link() local 250 V9fsState *s = pdu->s; in v9fs_co_pwritev() local 270 V9fsState *s = pdu->s; in v9fs_co_preadv() local
|
/openbmc/linux/tools/virtio/linux/ |
H A D | dma-mapping.h | 16 #define dma_alloc_coherent(d, s, hp, f) ({ \ argument 22 #define dma_free_coherent(d, s, p, h) kfree(p) argument 24 #define dma_map_page(d, p, o, s, dir) (page_to_phys(p) + (o)) argument 26 #define dma_map_single(d, p, s, dir) (virt_to_phys(p)) argument 27 #define dma_map_single_attrs(d, p, s, dir, a) (virt_to_phys(p)) argument 30 #define dma_unmap_single(d, a, s, r) do { (void)(d); (void)(a); (void)(s); (void)(r); } while (0) argument 31 #define dma_unmap_page(d, a, s, r) do { (void)(d); (void)(a); (void)(s); (void)(r); } while (0) argument 35 #define dma_unmap_single_attrs(d, a, s, r, t) do { \ argument 38 #define dma_sync_single_range_for_cpu(d, a, o, s, r) do { \ argument 41 #define dma_sync_single_range_for_device(d, a, o, s, r) do { \ argument
|