/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. 36 #define XEL_TSR_OFFSET 0x07FC /* Tx status */ 37 #define XEL_TPLR_OFFSET 0x07F4 /* Tx packet length */ 43 #define XEL_BUFFER_OFFSET 0x0800 /* Next Tx/Rx buffer's offset */ 65 #define XEL_TSR_XMIT_BUSY_MASK 0x00000001 /* Tx complete */ 67 #define XEL_TSR_XMIT_IE_MASK 0x00000008 /* Tx interrupt enable bit */ 81 #define XEL_TPLR_LENGTH_MASK 0x0000FFFF /* Tx packet length */ 93 #define TX_TIMEOUT (60 * HZ) /* Tx timeout is 60 seconds. */ 104 * struct net_local - Our private per device data [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. 19 #define TX_PAGES 12 /* Two Tx slots */ 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 97 unsigned char txqueue; /* Tx Packet buffer queue length. */ 98 short tx1, tx2; /* Packet lengths for ping-pong tx. */ [all …]
|
/openbmc/linux/drivers/gpu/drm/msm/disp/dpu1/ |
H A D | dpu_encoder_phys.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 4 * Copyright (c) 2015-2018 The Linux Foundation. All rights reserved. 29 * enum dpu_enc_split_role - Role this physical encoder will play in a 30 * split-panel configuration, where one panel is master, and others slaves. 43 * enum dpu_enc_enable_state - current enabled state of the physical encoder 64 * struct dpu_encoder_phys_ops - Interface the physical encoders provide to 81 * @wait_for_vblank: Wait for VBLANK, for sub-driver internal use 83 * For CMD encoder, may wait for previous tx done 84 * @handle_post_kickoff: Do any work necessary post-kickoff work 126 * enum dpu_intr_idx - dpu encoder interrupt index [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 64 * queue visible to the networking core is backed by two hardware TX 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/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 62 * queue visible to the networking core is backed by two hardware TX 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 */ 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/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 64 * queue visible to the networking core is backed by two hardware TX 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/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 168 * @setupseqtx: tx 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_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 …]
|
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 …]
|
/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/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/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. * 71 * Period of the TX buffer reclaim timer. This timer does not need to run 72 * frequently as TX buffers are usually reclaimed by new TX packets. 170 unsigned int in_use; /* # of in-use command descriptors */ 174 unsigned int stop_thres; /* SW TX queue suspend threshold */ 214 /* T204 TX SW scheduler */ 216 /* Per T204 TX port */ 218 unsigned int avail; /* available bits - quota */ 244 * separate the RX(in irq context) and TX state in order to decrease memory [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/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 …]
|
/openbmc/linux/drivers/net/wireless/ath/ath10k/ |
H A D | debug.c | 1 // SPDX-License-Identifier: ISC 3 * Copyright (c) 2005-2011 Atheros Communications Inc. 4 * Copyright (c) 2011-2017 Qualcomm Atheros, Inc. 19 #include "wmi-ops.h" 35 dev_info(ar->dev, "%pV", &vaf); in ath10k_info() 50 ar->hw_params.name, in ath10k_debug_print_hwfw_info() 51 ar->target_version, in ath10k_debug_print_hwfw_info() 52 ar->bus_param.chip_id, in ath10k_debug_print_hwfw_info() 53 ar->id.subsystem_vendor, ar->id.subsystem_device); in ath10k_debug_print_hwfw_info() 62 firmware = ar->normal_mode_fw.fw_file.firmware; in ath10k_debug_print_hwfw_info() [all …]
|