Home
last modified time | relevance | path

Searched refs:rx (Results 1 – 25 of 71) sorted by relevance

123

/qemu/target/mips/tcg/
H A Dmips16e_translate.c.inc540 gen_arith_imm(ctx, OPC_ADDIU, rx, rx, imm);
657 int rx, ry;
759 gen_arith_imm(ctx, OPC_ADDIU, rx, rx, imm);
997 gen_logic(ctx, OPC_AND, rx, rx, ry);
1000 gen_logic(ctx, OPC_OR, rx, rx, ry);
1003 gen_logic(ctx, OPC_XOR, rx, rx, ry);
1015 tcg_gen_ext8u_tl(cpu_gpr[rx], cpu_gpr[rx]);
1018 tcg_gen_ext16u_tl(cpu_gpr[rx], cpu_gpr[rx]);
1021 tcg_gen_ext8s_tl(cpu_gpr[rx], cpu_gpr[rx]);
1024 tcg_gen_ext16s_tl(cpu_gpr[rx], cpu_gpr[rx]);
[all …]
/qemu/util/
H A Dcacheflush.c244 if (rx == rw) { in flush_idcache_range()
252 sys_icache_invalidate((void *)rx, len); in flush_idcache_range()
290 for (p = rx & -icache_lsize; p < rx + len; p += icache_lsize) { in flush_idcache_range()
310 if (rx != rw) { in flush_idcache_range()
313 cacheflush((void *)rx, len, ICACHE); in flush_idcache_range()
333 : : "r"(rx) : "memory"); in flush_idcache_range()
347 b = rx & ~(isize - 1); in flush_idcache_range()
361 uintptr_t p, end = (rx + len + 7) & -8; in flush_idcache_range()
362 for (p = rx & -8; p < end; p += 8) { in flush_idcache_range()
371 if (rw != rx) { in flush_idcache_range()
[all …]
/qemu/docs/system/
H A Dtarget-rx.rst6 Use the executable ``qemu-system-rx`` to simulate RX target (GDB simulator).
19 Example of ``qemu-system-rx`` usage for RX is shown below:
24 Start emulation of rx-virt::
25 qemu-system-rx -M gdbsim-r5f562n8 -bios <u-boot_image_file>
31 https://osdn.net/users/ysato/pf/qemu/dl/rx-virt.dtb
33 Start emulation of rx-virt::
34 qemu-system-rx -M gdbsim-r5f562n8 \
/qemu/hw/char/
H A Dexynos4210_uart.c151 Exynos4210UartFIFO rx; member
274 uint32_t count = fifo_elements_number(&s->rx); in exynos4210_uart_update_dmabusy()
303 count = fifo_elements_number(&s->rx); in exynos4210_uart_update_irq()
419 fifo_reset(&s->rx); in exynos4210_uart_write()
504 if (fifo_elements_number(&s->rx)) { in exynos4210_uart_read()
505 res = fifo_retrieve(&s->rx); in exynos4210_uart_read()
558 return fifo_empty_elements_number(&s->rx); in exynos4210_uart_can_receive()
575 fifo_store(&s->rx, buf[i]); in exynos4210_uart_receive()
594 fifo_store(&s->rx, '\0'); in exynos4210_uart_event()
611 fifo_reset(&s->rx); in exynos4210_uart_reset()
[all …]
/qemu/hw/net/
H A Dstellaris_enet.c78 StellarisEnetRxFrame rx[31]; member
106 if (s->next_packet >= ARRAY_SIZE(s->rx)) { in stellaris_enet_post_load()
110 if (s->np > ARRAY_SIZE(s->rx)) { in stellaris_enet_post_load()
114 for (i = 0; i < ARRAY_SIZE(s->rx); i++) { in stellaris_enet_post_load()
115 if (s->rx[i].len > ARRAY_SIZE(s->rx[i].data)) { in stellaris_enet_post_load()
120 if (s->rx_fifo_offset > ARRAY_SIZE(s->rx[0].data) - 4) { in stellaris_enet_post_load()
149 VMSTATE_STRUCT_ARRAY(rx, stellaris_enet_state, 31, 1,
246 if (size >= sizeof(s->rx[n].data) - 6) { in stellaris_enet_receive()
257 s->rx[n].len = size + 6; in stellaris_enet_receive()
258 p = s->rx[n].data; in stellaris_enet_receive()
[all …]
H A Dxgmac.c136 uint64_t rx; member
165 VMSTATE_UINT64(rx, RxTxStats),
183 static void xgmac_read_desc(XgmacState *s, struct desc *d, int rx) in xgmac_read_desc() argument
185 uint32_t addr = rx ? s->regs[DMA_CUR_RX_DESC_ADDR] : in xgmac_read_desc()
190 static void xgmac_write_desc(XgmacState *s, struct desc *d, int rx) in xgmac_write_desc() argument
192 int reg = rx ? DMA_CUR_RX_DESC_ADDR : DMA_CUR_TX_DESC_ADDR; in xgmac_write_desc()
195 if (!rx && (d->ctl_stat & 0x00200000)) { in xgmac_write_desc()
197 } else if (rx && (d->buffer1_size & 0x8000)) { in xgmac_write_desc()
370 s->stats.rx++; in eth_rx()
/qemu/tests/qtest/fuzz/
H A Dvirtio_net_fuzz.c38 uint8_t rx; in virtio_net_fuzz_multi() member
62 if (vqa.rx && sockfds_initialized) { in virtio_net_fuzz_multi()
66 vqa.rx = 0; in virtio_net_fuzz_multi()
86 if (check_used && !vqa.rx) { in virtio_net_fuzz_multi()
93 while (!vqa.rx && q != net_if->queues[QVIRTIO_RX_VQ]) { in virtio_net_fuzz_multi()
/qemu/docs/
H A Dcolo-proxy.txt53 … | | tx | rx rx | | | | | tx …
64 … | NOTE: filter direction is rx/tx/all
65 | tap | rx:receiv…
175 -object filter-redirector,netdev=hn0,id=redire0,queue=rx,indev=compare_out
176 -object filter-redirector,netdev=hn0,id=redire1,queue=rx,outdev=compare0
185 -object filter-redirector,id=f2,netdev=hn0,queue=rx,outdev=red1
200 -object filter-redirector,netdev=hn0,id=redire0,queue=rx,indev=compare_out,vnet_hdr_support
201 -object filter-redirector,netdev=hn0,id=redire1,queue=rx,outdev=compare0,vnet_hdr_support
210 -object filter-redirector,id=f2,netdev=hn0,queue=rx,outdev=red1,vnet_hdr_support
/qemu/tests/qtest/
H A Dahci-test.c859 unsigned char *rx = g_malloc0(bufsize); in ahci_test_io_rw_simple() local
887 g_free(rx); in ahci_test_io_rw_simple()
1028 unsigned char *rx = g_malloc0(bufsize); in test_dma_fragmented() local
1065 g_free(rx); in test_dma_fragmented()
1159 unsigned char *rx = g_malloc0(bufsize); in ahci_migrate_simple() local
1186 g_free(rx); in ahci_migrate_simple()
1252 g_free(rx); in ahci_halted_io_test()
1328 g_free(rx); in ahci_migrate_halted_io()
1554 unsigned char *rx; in ahci_cb_cmp_buff() local
1560 rx = g_malloc0(opts->size); in ahci_cb_cmp_buff()
[all …]
H A Dvirtio-net-test.c151 QVirtQueue *rx = net_if->queues[0]; in send_recv_test() local
155 rx_test(dev, t_alloc, rx, sv[0]); in send_recv_test()
163 QVirtQueue *rx = net_if->queues[0]; in stop_cont_test() local
166 rx_stop_cont_test(dev, t_alloc, rx, sv[0]); in stop_cont_test()
H A Dlibqtest.c85 GString *rx; member
498 s->rx = g_string_new(""); in qtest_init_internal()
603 g_string_free(s->rx, true); in qtest_quit()
661 offset = eol - s->rx->str; in qtest_client_socket_recv_line()
663 g_string_erase(s->rx, 0, offset + 1); in qtest_client_socket_recv_line()
1785 eol = strchr(s->rx->str, '\n'); in qtest_client_inproc_recv_line()
1786 offset = eol - s->rx->str; in qtest_client_inproc_recv_line()
1788 g_string_erase(s->rx, 0, offset + 1); in qtest_client_inproc_recv_line()
1831 if (!qts->rx) { in qtest_client_inproc_recv()
1832 qts->rx = g_string_new(NULL); in qtest_client_inproc_recv()
[all …]
H A Dide-test.c959 uint16_t *rx = g_malloc0(rxsize); in cdrom_pio_impl() local
1015 rx[offset + j] = cpu_to_le16(qpci_io_readw(dev, ide_bar, in cdrom_pio_impl()
1028 g_assert_cmpint(memcmp(pattern, rx, rxsize), ==, 0); in cdrom_pio_impl()
1030 g_free(rx); in cdrom_pio_impl()
1053 char *rx = g_malloc0(len); in test_cdrom_dma() local
1076 qtest_memread(qts, guest_buf, rx, len); in test_cdrom_dma()
1077 g_assert_cmpint(memcmp(pattern, rx, len), ==, 0); in test_cdrom_dma()
1080 g_free(rx); in test_cdrom_dma()
/qemu/net/
H A Daf-xdp.c36 struct xsk_ring_cons rx; member
224 n_rx = xsk_ring_cons__peek(&s->rx, AF_XDP_BATCH_SIZE, &idx); in af_xdp_send()
233 desc = xsk_ring_cons__rx_desc(&s->rx, idx++); in af_xdp_send()
249 xsk_ring_cons__cancel(&s->rx, n_rx - i - 1); in af_xdp_send()
256 xsk_ring_cons__release(&s->rx, n_rx); in af_xdp_send()
367 s->umem, &s->rx, &s->tx, &cfg)) { in af_xdp_socket_create()
375 s->umem, &s->rx, &s->tx, &cfg)) { in af_xdp_socket_create()
381 s->umem, &s->rx, &s->tx, &cfg)) { in af_xdp_socket_create()
/qemu/configs/targets/
H A Drx-softmmu.mak1 TARGET_ARCH=rx
2 TARGET_XML_FILES= gdb-xml/rx-core.xml
/qemu/include/qemu/
H A Dcacheflush.h24 static inline void flush_idcache_range(uintptr_t rx, uintptr_t rw, size_t len) in flush_idcache_range() argument
31 void flush_idcache_range(uintptr_t rx, uintptr_t rw, size_t len);
/qemu/hw/rx/
H A Dmeson.build2 rx_ss.add(when: 'CONFIG_RX_GDBSIM', if_true: files('rx-gdbsim.c'))
5 hw_arch += {'rx': rx_ss}
/qemu/hw/ssi/
H A Dimx_spi.c165 uint32_t rx; in imx_spi_flush_txfifo() local
189 rx = 0; in imx_spi_flush_txfifo()
201 rx = (rx << 8) | byte; in imx_spi_flush_txfifo()
208 DPRINTF("data rx:0x%08x\n", rx); in imx_spi_flush_txfifo()
213 fifo32_push(&s->rx_fifo, rx); in imx_spi_flush_txfifo()
H A Dxilinx_spi.c177 uint32_t rx; in spi_flush_txfifo() local
182 rx = ssi_transfer(s->spi, tx); in spi_flush_txfifo()
183 DB_PRINT("data rx:%x\n", rx); in spi_flush_txfifo()
187 fifo8_push(&s->rx_fifo, (uint8_t)rx); in spi_flush_txfifo()
H A Dmss-spi.c217 uint32_t rx; in spi_flush_txfifo() local
237 rx = ssi_transfer(s->spi, tx); in spi_flush_txfifo()
238 DB_PRINT("data rx:0x%" PRIx32, rx); in spi_flush_txfifo()
244 fifo32_push(&s->rx_fifo, rx); in spi_flush_txfifo()
H A Domap_spi.c49 uint32_t rx; member
93 ch->rx = ch->txrx(ch->opaque, ch->tx, /* WL */ in omap_mcspi_transfer_run()
216 ret = s->ch[ch].rx; in omap_mcspi_read()
H A Dsifive_spi.c133 uint8_t rx; in sifive_spi_flush_txfifo() local
137 rx = ssi_transfer(s->spi, tx); in sifive_spi_flush_txfifo()
141 fifo8_push(&s->rx_fifo, rx); in sifive_spi_flush_txfifo()
/qemu/target/rx/
H A Dmeson.build15 target_arch += {'rx': rx_ss}
16 target_system_arch += {'rx': ss.source_set()}
/qemu/scripts/coverity-scan/
H A DCOMPONENTS.md48 rx
49 ~ (/qemu)?((/include)?/hw/rx/.*|/target/rx/.*)
/qemu/tcg/
H A Dregion.c120 void *tcg_splitwx_to_rw(const void *rx) in tcg_splitwx_to_rw() argument
123 if (rx) { in tcg_splitwx_to_rw()
124 rx -= tcg_splitwx_diff; in tcg_splitwx_to_rw()
126 g_assert(in_code_gen_buffer(rx)); in tcg_splitwx_to_rw()
128 return (void *)rx; in tcg_splitwx_to_rw()
/qemu/target/ppc/translate/
H A Ddfp-impl.c.inc115 TCGv_ptr rt, rx; \
119 rx = gen_fprp_ptr(a->FPRFLD); \
120 gen_helper_##NAME(tcg_env, rt, rx, \

123