| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/net/ |
| 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 …]
|
| /kernel/linux/linux-5.10/arch/mips/boot/dts/xilfpga/ |
| 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 …]
|
| /kernel/linux/linux-6.6/arch/mips/boot/dts/xilfpga/ |
| 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 …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/xilinx/ |
| 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 …]
|
| /kernel/linux/linux-5.10/net/rds/ |
| D | recv.c | 14 * - Redistributions of source code must retain the above 18 * - Redistributions in binary form must reproduce the above 46 refcount_set(&inc->i_refcount, 1); in rds_inc_init() 47 INIT_LIST_HEAD(&inc->i_item); in rds_inc_init() 48 inc->i_conn = conn; in rds_inc_init() 49 inc->i_saddr = *saddr; in rds_inc_init() 50 inc->i_usercopy.rdma_cookie = 0; in rds_inc_init() 51 inc->i_usercopy.rx_tstamp = ktime_set(0, 0); in rds_inc_init() 53 memset(inc->i_rx_lat_trace, 0, sizeof(inc->i_rx_lat_trace)); in rds_inc_init() 60 refcount_set(&inc->i_refcount, 1); in rds_inc_path_init() [all …]
|
| 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 …]
|
| /kernel/linux/linux-6.6/net/rds/ |
| 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 …]
|
| 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 …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/xilinx/ |
| D | xilinx_emaclite.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 8 * 2007 - 2013 (c) Xilinx, Inc. 41 #define XEL_RPLR_OFFSET 0x100C /* Rx packet length */ 42 #define XEL_RSR_OFFSET 0x17FC /* Rx status */ 44 #define XEL_BUFFER_OFFSET 0x0800 /* Next Tx/Rx buffer's offset */ 78 #define XEL_RSR_RECV_DONE_MASK 0x00000001 /* Rx complete */ 79 #define XEL_RSR_RECV_IE_MASK 0x00000008 /* Rx interrupt enable bit */ 85 #define XEL_RPLR_LENGTH_MASK 0x0000FFFF /* Rx packet length */ 100 #define BUFFER_ALIGN(adr) ((ALIGNMENT - ((u32)adr)) % ALIGNMENT) 111 * struct net_local - Our private per device data [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/8390/ |
| 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 …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/8390/ |
| D | 8390.h | 4 * under the same license. Auto-loading of 8390.o only in v2.2 - Paul G. 19 /* The 8390 specific per-packet-header format. */ 32 /* Without I/O delay - non ISA or later chips */ 68 /* You have one of these per-board */ 83 unsigned word16:1; /* We have the 16-bit (vs 8-bit) 86 unsigned bigendian:1; /* 16-bit big endian mode. Do NOT 96 short tx1, tx2; /* Packet lengths for ping-pong tx. */ 100 unsigned char saved_irq; /* Original dev->irq value. */ 146 #define E8390_PAGE1 0x40 /* using the two high-order bits */ 150 * - removed AMIGA_PCMCIA from this list, handled as ISA io now [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/sfc/falcon/ |
| 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 …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/sfc/falcon/ |
| 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 …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/sfc/ |
| 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 …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/sfc/siena/ |
| 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 …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/sfc/ |
| 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 …]
|
| /kernel/linux/linux-6.6/drivers/usb/gadget/udc/ |
| 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 …]
|
| /kernel/linux/linux-5.10/drivers/usb/gadget/udc/ |
| 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 16 #include <linux/dma-mapping.h> 110 * struct xusb_req - Xilinx USB device request structure 122 * struct xusb_ep - USB end point structure. 160 * struct xusb_udc - USB peripheral driver structure 170 * @setupseqrx: rx status 200 static const char driver_name[] = "xilinx-udc"; 213 * xudc_write32 - little endian write to device registers [all …]
|
| /kernel/linux/linux-6.6/net/dccp/ |
| 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 …]
|
| /kernel/linux/linux-5.10/net/dccp/ |
| 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 …]
|
| /kernel/linux/linux-5.10/include/soc/tegra/ |
| D | bpmp-abi.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (c) 2014-2020, NVIDIA CORPORATION. All rights reserved. 66 * A well-defined subset of the MRQ messages that the CPU sends to the 91 * |-----|--------------------------------------------| 175 * @defgroup Ping Ping 192 * @defgroup CC3 Auto-CC3 202 * @brief A simple ping 212 * @brief A deeper ping 227 * @ingroup Ping 230 * Used by the sender of an #MRQ_PING message to request a pong from [all …]
|
| /kernel/linux/linux-5.10/drivers/mmc/host/ |
| 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. 49 return &(host->pdev->dev); in sdmmc_dev() 54 rtsx_pci_write_register(host->pcr, CARD_STOP, in sd_clear_error() 61 u16 len = end - start + 1; in dump_reg_range() 67 int n = min(8, len - i); in dump_reg_range() 71 rtsx_pci_read_register(host->pcr, start + i + j, in dump_reg_range() 89 return rtsx_pci_readl(host->pcr, RTSX_BIPR) & SD_EXIST; in sd_get_cd_int() 95 SD_CMD_START | cmd->opcode); in sd_cmd_set_sd_cmd() [all …]
|
| 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 …]
|
| /kernel/linux/linux-6.6/drivers/mmc/host/ |
| 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 …]
|
| 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 …]
|