/openbmc/linux/Documentation/devicetree/bindings/net/ |
H A D | xlnx,emaclite.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Radhey Shyam Pandey <radhey.shyam.pandey@amd.com> 11 - Harini Katakam <harini.katakam@amd.com> 14 - $ref: ethernet-controller.yaml# 19 - xlnx,opb-ethernetlite-1.01.a 20 - xlnx,opb-ethernetlite-1.01.b 21 - xlnx,xps-ethernetlite-1.00.a 22 - xlnx,xps-ethernetlite-2.00.a [all …]
|
/openbmc/u-boot/drivers/net/ |
H A D | xilinx_emaclite.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * (C) Copyright 2007-2009 Michal Simek 64 u32 tx_ping; /* 0x0 - TX Ping buffer */ 66 u32 mdioaddr; /* 0x7e4 - MDIO Address Register */ 67 u32 mdiowr; /* 0x7e8 - MDIO Write Data Register */ 68 u32 mdiord;/* 0x7ec - MDIO Read Data Register */ 69 u32 mdioctrl; /* 0x7f0 - MDIO Control Register */ 70 u32 tx_ping_tplr; /* 0x7f4 - Tx packet length */ 71 u32 global_interrupt; /* 0x7f8 - Global interrupt enable */ 72 u32 tx_ping_tsr; /* 0x7fc - Tx status */ [all …]
|
/openbmc/u-boot/arch/mips/dts/ |
H A D | nexys4ddr.dts | 1 /dts-v1/; 13 cpuintc: interrupt-controller@0 { 14 #address-cells = <0>; 15 #interrupt-cells = <1>; 16 interrupt-controller; 17 compatible = "mti,cpu-interrupt-controller"; 25 compatible = "xlnx,xps-ethernetlite-1.00.a"; 27 local-mac-address = [08 86 4C 0D F7 09]; 28 phy-handle = <&phy0>; 31 xlnx,include-global-buffers = <0x1>; [all …]
|
/openbmc/u-boot/drivers/spi/ |
H A D | bcm63xx_hsspi.c | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * Derived from linux/drivers/spi/spi-bcm63xx-hsspi.c: 6 * Copyright (C) 2000-2010 Broadcom Corporation 7 * Copyright (C) 2012-2013 Jonas Gorski <jogo@openwrt.org> 38 /* SPI Ping-Pong Command registers */ 47 /* SPI Ping-Pong Status registers */ 79 /* SPI Ping-Pong FIFO registers */ 84 /* SPI Ping-Pong FIFO OP register */ 109 if (cs >= priv->num_cs) { in bcm63xx_hsspi_cs_info() 111 return -ENODEV; in bcm63xx_hsspi_cs_info() [all …]
|
/openbmc/linux/arch/mips/boot/dts/xilfpga/ |
H A D | nexys4ddr.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 14 stdout-path = "serial0:115200n8"; 22 cpuintc: interrupt-controller { 23 #address-cells = <0>; 24 #interrupt-cells = <1>; 25 interrupt-controller; 26 compatible = "mti,cpu-interrupt-controller"; 29 axi_intc: interrupt-controller@10200000 { 30 #interrupt-cells = <1>; [all …]
|
/openbmc/qemu/hw/microblaze/ |
H A D | petalogix_s3adsp1800_mmu.c | 2 * Model of Petalogix linux reference design targeting Xilinx Spartan 3ADSP-1800 36 #include "exec/address-spaces.h" 44 #define BINARY_DEVICE_TREE_FILE "petalogix-s3adsp1800.dtb" 59 MACHINE_TYPE_NAME("petalogix-s3adsp1800") 64 ram_addr_t ram_size = machine->ram_size; in petalogix_s3adsp1800_init() 77 object_property_set_bool(OBJECT(cpu), "little-endian", in petalogix_s3adsp1800_init() 97 dev = qdev_new("xlnx.xps-intc"); in petalogix_s3adsp1800_init() 98 qdev_prop_set_uint32(dev, "kind-of-intr", in petalogix_s3adsp1800_init() 115 dev = qdev_new("xlnx.xps-timer"); in petalogix_s3adsp1800_init() 116 qdev_prop_set_uint32(dev, "one-timer-only", 0); in petalogix_s3adsp1800_init() [all …]
|
/openbmc/qemu/hw/net/ |
H A D | xilinx_ethlite.c | 31 #include "hw/qdev-properties.h" 55 #define TYPE_XILINX_ETHLITE "xlnx.xps-ethernetlite" 79 if (s->regs[R_TX_GIE0] & GIE_GIE) { in eth_pulse_irq() 80 qemu_irq_pulse(s->irq); in eth_pulse_irq() 101 r = s->regs[addr]; in eth_read() 106 r = tswap32(s->regs[addr]); in eth_read() 131 qemu_send_packet(qemu_get_queue(s->nic), in eth_write() 132 (void *) &s->regs[base], in eth_write() 133 s->regs[base + R_TX_LEN0]); in eth_write() 134 D(qemu_log("eth_tx %d\n", s->regs[base + R_TX_LEN0])); in eth_write() [all …]
|
/openbmc/qemu/pc-bios/ |
H A D | petalogix-s3adsp1800.dts | 5 * SPDX-License-Identifier: GPL-2.0+ 8 /dts-v1/; 11 #address-cells = <0x01>; 12 #size-cells = <0x01>; 23 stdout-path = "/plb/serial@84000000"; 27 #address-cells = <0x01>; 28 #size-cells = <0x00>; 32 clock-frequency = <0x3b9aca0>; 33 compatible = "xlnx,microblaze-7.10.d"; 34 d-cache-baseaddr = <0x90000000>; [all …]
|
/openbmc/linux/drivers/net/ethernet/xilinx/ |
H A D | xilinx_emaclite.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 * Copyright (c) 2007 - 2013 Xilinx, Inc. 40 #define XEL_RPLR_OFFSET 0x100C /* Rx packet length */ 41 #define XEL_RSR_OFFSET 0x17FC /* Rx status */ 43 #define XEL_BUFFER_OFFSET 0x0800 /* Next Tx/Rx buffer's offset */ 77 #define XEL_RSR_RECV_DONE_MASK 0x00000001 /* Rx complete */ 78 #define XEL_RSR_RECV_IE_MASK 0x00000008 /* Rx interrupt enable bit */ 84 #define XEL_RPLR_LENGTH_MASK 0x0000FFFF /* Rx packet length */ 104 * struct net_local - Our private per device data 106 * @tx_ping_pong: indicates whether Tx Pong buffer is configured in HW [all …]
|
/openbmc/linux/net/rds/ |
H A D | recv.c | 14 * - Redistributions of source code must retain the above 18 * - Redistributions in binary form must reproduce the above 47 refcount_set(&inc->i_refcount, 1); in rds_inc_init() 48 INIT_LIST_HEAD(&inc->i_item); in rds_inc_init() 49 inc->i_conn = conn; in rds_inc_init() 50 inc->i_saddr = *saddr; in rds_inc_init() 51 inc->i_usercopy.rdma_cookie = 0; in rds_inc_init() 52 inc->i_usercopy.rx_tstamp = ktime_set(0, 0); in rds_inc_init() 54 memset(inc->i_rx_lat_trace, 0, sizeof(inc->i_rx_lat_trace)); in rds_inc_init() 61 refcount_set(&inc->i_refcount, 1); in rds_inc_path_init() [all …]
|
H A D | rds.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 56 /* Used to limit both RDMA and non-RDMA RDS message to 1MB */ 96 #define RDS_MPATH_HASH(rs, n) (jhash_1word((rs)->rs_bound_port, \ 97 (rs)->rs_hash_initval) & ((n) - 1)) 176 return read_pnet(&conn->c_net); in rds_conn_net() 182 write_pnet(&conn->c_net, net); in rds_conn_net_set() 190 /* RDS_FLAG_PROBE_PORT is the reserved sport used for sending a ping 194 * it would return a pong message without additional control information 221 * Reserved - indicates end of extensions 328 * conn->c_lock. m_sock_item has additional meaning in that once it is empty [all …]
|
/openbmc/linux/drivers/net/ethernet/8390/ |
H A D | 8390.h | 1 /* SPDX-License-Identifier: GPL-1.0+ */ 6 * under the same license. Auto-loading of 8390.o only in v2.2 - Paul G. 21 /* The 8390 specific per-packet-header format. */ 34 /* Without I/O delay - non ISA or later chips */ 70 /* You have one of these per-board */ 85 unsigned word16:1; /* We have the 16-bit (vs 8-bit) 88 unsigned bigendian:1; /* 16-bit big endian mode. Do NOT 98 short tx1, tx2; /* Packet lengths for ping-pong tx. */ 102 unsigned char saved_irq; /* Original dev->irq value. */ 148 #define E8390_PAGE1 0x40 /* using the two high-order bits */ [all …]
|
/openbmc/linux/drivers/net/ethernet/sfc/falcon/ |
H A D | net_driver.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 4 * Copyright 2005-2006 Fen Systems Ltd. 5 * Copyright 2005-2013 Solarflare Communications Inc. 63 /* Checksum generation is a per-queue option in hardware, so each 79 /* Size of an RX scatter buffer. Small enough to pack 2 into a 4K page, 82 #define EF4_RX_USR_BUF_SIZE (2048 - 256) 85 * of every buffer. Otherwise, we just need to ensure 4-byte 97 * struct ef4_buffer - A general-purpose DMA buffer 112 * struct ef4_special_buffer - DMA buffer entered into buffer table 119 * table entries (and so can be physically non-contiguous, although we [all …]
|
/openbmc/linux/drivers/net/ethernet/sfc/ |
H A D | net_driver.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 4 * Copyright 2005-2006 Fen Systems Ltd. 5 * Copyright 2005-2013 Solarflare Communications Inc. 63 /* Checksum generation is a per-queue option in hardware, so each 83 /* Size of an RX scatter buffer. Small enough to pack 2 into a 4K page, 86 #define EFX_RX_USR_BUF_SIZE (2048 - 256) 89 * of every buffer. Otherwise, we just need to ensure 4-byte 98 /* Non-standard XDP_PACKET_HEADROOM and tailroom to satisfy XDP_REDIRECT and 111 * struct efx_buffer - A general-purpose DMA buffer 126 * struct efx_tx_buffer - buffer state for a TX descriptor [all …]
|
/openbmc/linux/drivers/net/ethernet/sfc/siena/ |
H A D | net_driver.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 4 * Copyright 2005-2006 Fen Systems Ltd. 5 * Copyright 2005-2013 Solarflare Communications Inc. 61 /* Checksum generation is a per-queue option in hardware, so each 68 #define EFX_TXQ_TYPE_HIGHPRI 4 /* High-priority (for TC) */ 70 /* HIGHPRI is Siena-only, and INNER_CSUM is EF10, so no need for both */ 83 /* Size of an RX scatter buffer. Small enough to pack 2 into a 4K page, 86 #define EFX_RX_USR_BUF_SIZE (2048 - 256) 89 * of every buffer. Otherwise, we just need to ensure 4-byte 98 /* Non-standard XDP_PACKET_HEADROOM and tailroom to satisfy XDP_REDIRECT and [all …]
|
/openbmc/linux/drivers/usb/gadget/udc/ |
H A D | udc-xilinx.c | 1 // SPDX-License-Identifier: GPL-2.0+ 8 * Copyright (C) 2010 - 2014 Xilinx, Inc. 10 * Some parts of this driver code is based on the driver for at91-series 17 #include <linux/dma-mapping.h> 109 * struct xusb_req - Xilinx USB device request structure 121 * struct xusb_ep - USB end point structure. 159 * struct xusb_udc - USB peripheral driver structure 169 * @setupseqrx: rx status 201 static const char driver_name[] = "xilinx-udc"; 214 * xudc_write32 - little endian write to device registers [all …]
|
H A D | at91_udc.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * at91_udc -- driver for at91-series USB peripheral controller 32 #include <linux/mfd/syscon/atmel-matrix.h> 38 * This controller is simple and PIO-only. It's used in many AT91-series 40 * at91sam926x (arm926ejs, with MMU), and several no-mmu versions. 75 EP_INFO("ep3-int", 90 __raw_readl((udc)->udp_baseaddr + (reg)) 92 __raw_writel((val), (udc)->udp_baseaddr + (reg)) 94 /*-------------------------------------------------------------------------*/ 108 "control", "out-iso", "out-bulk", "out-int", in proc_ep_show() [all …]
|
/openbmc/linux/net/dccp/ |
H A D | input.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 19 /* rate-limit for syncs in reply to sequence-invalid packets; RFC 4340, 7.5.4 */ 24 __skb_pull(skb, dccp_hdr(skb)->dccph_doff * 4); in dccp_enqueue_skb() 25 __skb_queue_tail(&sk->sk_receive_queue, skb); in dccp_enqueue_skb() 27 sk->sk_data_ready(sk); in dccp_enqueue_skb() 38 sk->sk_shutdown = SHUTDOWN_MASK; in dccp_fin() 47 switch (sk->sk_state) { in dccp_rcv_close() 50 * - CLOSED (may be a late or duplicate packet) in dccp_rcv_close() 51 * - PASSIVE_CLOSEREQ (the peer has sent a CloseReq earlier) in dccp_rcv_close() 52 * - RESPOND (already handled by dccp_check_req) in dccp_rcv_close() [all …]
|
/openbmc/linux/drivers/mmc/host/ |
H A D | rtsx_pci_sdmmc.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /* Realtek PCI-Express SD/MMC Card Interface driver 4 * Copyright(c) 2009-2013 Realtek Semiconductor Corp. All rights reserved. 52 return &(host->pdev->dev); in sdmmc_dev() 57 rtsx_pci_write_register(host->pcr, CARD_STOP, in sd_clear_error() 64 u16 len = end - start + 1; in dump_reg_range() 70 int n = min(8, len - i); in dump_reg_range() 74 rtsx_pci_read_register(host->pcr, start + i + j, in dump_reg_range() 92 return rtsx_pci_readl(host->pcr, RTSX_BIPR) & SD_EXIST; in sd_get_cd_int() 98 SD_CMD_START | cmd->opcode); in sd_cmd_set_sd_cmd() [all …]
|
H A D | rtsx_usb_sdmmc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Copyright(c) 2009-2013 Realtek Semiconductor Corp. All rights reserved. 61 return &(host->pdev->dev); in sdmmc_dev() 66 struct rtsx_ucr *ucr = host->ucr; in sd_clear_error() 78 struct rtsx_ucr *ucr = host->ucr; in sd_print_debug_regs() 95 struct rtsx_ucr *ucr = host->ucr; in sd_read_data() 105 , cmd->opcode); in sd_read_data() 106 if (cmd->opcode == MMC_SEND_TUNING_BLOCK) in sd_read_data() 112 SD_CMD0, 0xFF, (u8)(cmd->opcode) | 0x40); in sd_read_data() 114 SD_CMD1, 0xFF, (u8)(cmd->arg >> 24)); in sd_read_data() [all …]
|
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/mei/ |
H A D | main.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2021-2023 Intel Corporation 23 #include "iwl-mei.h" 25 #include "trace-data.h" 96 * +-----------------------------------+ 98 * +-----------------------------------+ 99 * |Host -> ME data queue | 100 * +-----------------------------------+ 101 * |Host -> ME notif queue | 102 * +-----------------------------------+ [all …]
|
/openbmc/linux/include/soc/tegra/ |
H A D | bpmp-abi.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (c) 2014-2022, NVIDIA CORPORATION. All rights reserved. 66 * A well-defined subset of the MRQ messages that the CPU sends to the 130 * -BPMP_EBADMSG and ignore the request. 144 …* | -------------------- | ------------------------------------ | --------------------------------… 223 * calculated by BPMP, -BPMP_EBADMSG will be returned and the request will 382 * @defgroup Ping Ping 402 * @defgroup CC3 Auto-CC3 415 * @brief A simple ping 425 * @brief A deeper ping [all …]
|
/openbmc/linux/tools/testing/selftests/bpf/ |
H A D | test_sockmap.c | 1 // SPDX-License-Identifier: GPL-2.0 2 // Copyright (c) 2017-2018 Covalent IO, Inc. http://covalent.io 192 env.type = o->map; in test_start_subtest() 193 env.subtest = t->title; in test_start_subtest() 194 env.prepend = o->prepend; in test_start_subtest() 204 int error = env.fail_cnt - env.fail_last; in test_end_subtest() 227 printf(" Usage: %s --cgroup <cgroup_path>\n", argv[0]); in usage() 230 printf(" --%-12s", long_options[i].name); in usage() 235 printf(" -%c\n", long_options[i].val); in usage() 278 return -EINVAL; in sockmap_init_ktls() [all …]
|
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb/ |
H A D | sge.c | 1 // SPDX-License-Identifier: GPL-2.0-only 14 * Copyright (c) 2003 - 2005 Chelsio Communications, Inc. * 170 unsigned int in_use; /* # of in-use command descriptors */ 186 unsigned int credits; /* # of available RX buffers */ 218 unsigned int avail; /* available bits - quota */ 244 * separate the RX(in irq context) and TX state in order to decrease memory 253 unsigned int rx_pkt_pad; /* RX padding for L2 packets */ 255 unsigned int intrtimer_nres; /* no-resource interrupt timer */ 256 unsigned int fixed_intrtimer;/* non-adaptive interrupt timer */ 277 struct sched *s = sge->tx_sched; in tx_sched_stop() [all …]
|
/openbmc/linux/include/trace/events/ |
H A D | rxrpc.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 21 EM(afs_abort_general_error, "afs-error") \ 22 EM(afs_abort_interrupted, "afs-intr") \ 23 EM(afs_abort_oom, "afs-oom") \ 24 EM(afs_abort_op_not_supported, "afs-op-notsupp") \ 25 EM(afs_abort_probeuuid_negative, "afs-probeuuid-neg") \ 26 EM(afs_abort_send_data_error, "afs-send-data") \ 27 EM(afs_abort_unmarshal_error, "afs-unmarshal") \ 29 EM(rxperf_abort_general_error, "rxperf-error") \ 30 EM(rxperf_abort_oom, "rxperf-oom") \ [all …]
|