Home
last modified time | relevance | path

Searched +full:100 +full:base +full:- +full:tx (Results 1 – 13 of 13) sorted by relevance

/qemu/hw/net/
H A De1000_regs.h4 Copyright(c) 1999 - 2006 Intel Corporation.
23 e1000-devel Mailing List <e1000-devel@lists.sourceforge.net>
24 Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497
37 #define E1000_ITR 0x000C4 /* Interrupt Throttling Rate - RW */
38 #define E1000_EIAC 0x000DC /* Ext. Interrupt Auto Clear - RW */
39 #define E1000_IVAR 0x000E4 /* Interrupt Vector Allocation Register - RW */
40 #define E1000_EITR 0x000E8 /* Extended Interrupt Throttling Rate - RW */
41 #define E1000_RDBAL1 0x02900 /* RX Descriptor Base Address Low (1) - RW */
42 #define E1000_RDBAH1 0x02904 /* RX Descriptor Base Address High (1) - RW */
43 #define E1000_RDLEN1 0x02908 /* RX Descriptor Length (1) - RW */
[all …]
H A Dsungem.c7 * Copyright 2017 Mark Cave-Ayland
12 #include "hw/qdev-properties.h"
38 #define GREG_STAT_TXINTME 0x00000001 /* TX INTME frame transferred */
39 #define GREG_STAT_TXALL 0x00000002 /* All TX frames transferred */
40 #define GREG_STAT_TXDONE 0x00000004 /* One TX frame transferred */
44 #define GREG_STAT_TXMAC 0x00004000 /* TX MAC signalled interrupt */
65 #define GREG_SWRST_TXRST 0x00000001 /* TX Software Reset */
69 /* TX DMA Registers */
72 #define TXDMA_KICK 0x0000UL /* TX Kick Register */
74 #define TXDMA_CFG 0x0004UL /* TX Configuration Register */
[all …]
H A Deepro100.c4 * Copyright (C) 2006-2011 Stefan Weil
9 * SPDX-License-Identifier: GPL-2.0-or-later
33 * Intel 8255x 10/100 Mbps Ethernet Controller Family
42 * * Wake-on-LAN is not implemented.
48 #include "hw/qdev-properties.h"
75 #define logout(fmt, ...) fprintf(stderr, "EE100\t%-24s" fmt, __func__, ## __VA_ARGS__)
115 #define BITS(n, m) (((0xffffffffU << (31 - n)) >> (31 - n + m)) << m)
117 /* The SCB accepts the following controls for the Tx and Rx units: */
123 #define CU_CMD_BASE 0x0060 /* Load CU base address. */
181 int32_t tx_buf_size0; /* Length of Tx hdr. */
[all …]
H A Drtl8139.c25 * 2006-Jan-28 Mark Malakanov : TSAD and CSCR implementation (for Windows driver)
27 * 2006-Apr-28 Juergen Lock : EEPROM emulation changes for FreeBSD driver
30 * 2006-Jul-01 Igor Kovalenko : Implemented loopback mode for FreeBSD driver
37 * 2006-Jul-04 Igor Kovalenko : Implemented TCP segmentation offloading
40 * 2006-Jul-09 Igor Kovalenko : Fixed TCP header length calculation while processing
43 * Added rx/tx buffer reset when enabling rx/tx operation
45 * 2010-Feb-04 Frediano Ziglio: Rewrote timer support using QEMU timer only
48 * 2011-Mar-22 Benjamin Poirier: Implemented VLAN offloading
55 #include "hw/qdev-properties.h"
75 ( ( input ) & ( size - 1 ) )
[all …]
H A Dftgmac100.c4 * Copyright (C) 2016-2017, IBM Corporation.
11 * COPYING file in the top-level directory.
24 #include "hw/qdev-properties.h"
61 * values below are offset by - FTGMAC100_REG_HIGH_OFFSET from datasheet
64 #define FTGMAC100_NPTXR_BADR_HIGH (0x17C - FTGMAC100_REG_HIGH_OFFSET)
65 #define FTGMAC100_HPTXR_BADR_HIGH (0x184 - FTGMAC100_REG_HIGH_OFFSET)
66 #define FTGMAC100_RXR_BADR_HIGH (0x18C - FTGMAC100_REG_HIGH_OFFSET)
117 * PHY control register - New MDC/MDIO interface
262 int max = (s->maccr & FTGMAC100_MACCR_JUMBO_LF ? 9216 : 1518); in ftgmac100_max_frame_size()
269 qemu_set_irq(s->irq, s->isr & s->ier); in ftgmac100_update_irq()
[all …]
/qemu/hw/char/
H A Dsifive_uart.c24 #include "chardev/char-fe.h"
27 #include "hw/qdev-properties-system.h"
29 #define TX_INTERRUPT_TRIGGER_DELAY_NS 100
42 uint64_t txcnt = SIFIVE_UART_GET_TXCNT(s->txctrl); in sifive_uart_ip()
43 uint64_t rxcnt = SIFIVE_UART_GET_RXCNT(s->rxctrl); in sifive_uart_ip()
48 if (s->rx_fifo_len > rxcnt) { in sifive_uart_ip()
58 if ((s->ie & SIFIVE_UART_IE_TXWM) || in sifive_uart_update_irq()
59 ((s->ie & SIFIVE_UART_IE_RXWM) && s->rx_fifo_len)) { in sifive_uart_update_irq()
63 qemu_irq_raise(s->irq); in sifive_uart_update_irq()
65 qemu_irq_lower(s->irq); in sifive_uart_update_irq()
[all …]
/qemu/include/standard-headers/linux/
H A Dethtool.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
19 #include "standard-headers/linux/const.h"
20 #include "standard-headers/linux/types.h"
21 #include "standard-headers/linux/if_ether.h"
26 * have the same layout for 32-bit and 64-bit userland.
38 * struct ethtool_cmd - DEPRECATED, link control and status
43 * interface supports autonegotiation or auto-detection.
44 * Read-only.
48 * auto-detection.
56 * @autoneg: Enable/disable autonegotiation and auto-detection;
[all …]
/qemu/hw/arm/
H A Dmps3r.c2 * Arm MPS3 board emulation for Cortex-R-based FPGA images.
3 * (For M-profile images see mps2.c and mps2tz.c.)
15 * which use the Cortex-R CPUs. We model these separately from the
16 * M-profile images, because on M-profile the FPGA image is based on
18 * the R-profile FPGA images don't have that abstraction layer.
21 * "mps3-an536" -- dual Cortex-R52 as documented in Arm Application Note AN536
31 #include "system/address-spaces.h"
35 #include "hw/or-irq.h"
36 #include "hw/qdev-clock.h"
37 #include "hw/qdev-properties.h"
[all …]
H A Domap1.c4 * Copyright (C) 2006-2008 Andrzej Zaborowski <balrog@zabor.org>
22 #include "qemu/error-report.h"
23 #include "qemu/main-loop.h"
26 #include "system/address-spaces.h"
29 #include "hw/qdev-properties.h"
44 #include "target/arm/cpu-qom.h"
49 qemu_log_mask(LOG_GUEST_ERROR, "%s: %d-bit register %#08" HWADDR_PRIx "\n", in omap_log_badwidth()
127 uint64_t distance = qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL) - timer->time; in omap_timer_read()
129 if (timer->st && timer->enable && timer->rate) in omap_timer_read()
130 return timer->val - muldiv64(distance >> (timer->ptv + 1), in omap_timer_read()
[all …]
/qemu/tests/qtest/
H A Dnpcm7xx_emc-test.c25 #define TYPE_NPCM7XX_EMC "npcm7xx-emc"
41 /* Size of tx,rx test buffers. */
48 /* 32-bit register indices. */
205 ptrdiff_t diff = mod - emc_module_list; in emc_module_index()
225 g_assert_cmpint(ret, != , -1); in packet_test_init()
228 * KISS and use -nic. The driver accepts 'emc0' and 'emc1' as aliases in packet_test_init()
231 g_string_append_printf(cmd_line, " -nic socket,fd=%d,model=emc%d " in packet_test_init()
232 "-nic user,model=npcm7xx-emc " in packet_test_init()
233 "-nic user,model=npcm-gmac " in packet_test_init()
234 "-nic user,model=npcm-gmac", in packet_test_init()
[all …]
/qemu/pc-bios/
HDopenbios-ppc ... i-cache-sets d-cache-block-size i-cache-block-size tlb- ...
/qemu/hw/m68k/
H A Dnext-cube.c5 * Copyright (c) 2024 Mark Cave-Ayland
15 #include "exec/cpu-interrupt.h"
19 #include "hw/m68k/next-cube.h"
28 #include "hw/qdev-properties.h"
30 #include "qemu/error-report.h"
48 #define TYPE_NEXT_RTC "next-rtc"
66 #define TYPE_NEXT_SCSI "next-scsi"
82 #define TYPE_NEXT_PC "next-pc"
133 #define TYPE_NEXT_MACHINE MACHINE_TYPE_NAME("next-cube")
170 if (s->scr2 & 0x1) { in next_scr2_led_update()
[all …]
/qemu/
H A Dqemu-options.hx14 "-h or -help display this help and exit\n", QEMU_ARCH_ALL)
16 ``-h``
21 "-version display version information and exit\n", QEMU_ARCH_ALL)
23 ``-version``
28 "-machine [type=]name[,prop[=value][,...]]\n"
29 " selects emulated machine ('-machine help' for list)\n"
33 " dump-guest-core=on|off include guest memory in a core dump (default=on)\n"
34 " mem-merge=on|off controls memory merge support (default: on)\n"
35 " aes-key-wrap=on|off controls support for AES key wrapping (default=on)\n"
36 " dea-key-wrap=on|off controls support for DEA key wrapping (default=on)\n"
[all …]