/linux-6.12.1/drivers/net/ethernet/freescale/fman/ |
D | fman.h | 1 /* SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-or-later */ 3 * Copyright 2008 - 2015 Freescale Semiconductor Inc. 21 /* TX-Port: Unsupported Format */ 29 /* IPR non-consistent-sp */ 66 /* non Frame-Manager error */ 119 __be16 cksum; /* Running-sum */ 120 /* Flags&fragment-offset field of the last IP-header */ 127 u8 ip_pid_off; /* IP PID (last IP-proto) offset */ 143 * buffer; Note that the private-area will start from the base 149 * order to get the parser-result from a buffer. [all …]
|
D | fman_mac.h | 2 * Copyright 2008-2015 Freescale Semiconductor Inc. 62 (u8)((_addr64) >> ((5 - i) * 8)); \ 134 /* dTSEC Magic Packet detection */ 146 /* dTSEC Time-Stamp Receive Error */ 150 /* mEMAC Time-stamp FIFO ECC error interrupt; 154 /* mEMAC Magic Packet Indication Interrupt */ 167 /* MAC ID; numbering of dTSEC and 1G-mEMAC: 168 * 0 - FM_MAX_NUM_OF_1G_MACS; 169 * numbering of 10G-MAC (TGEC) and 10G-mEMAC: 170 * 0 - FM_MAX_NUM_OF_10G_MACS [all …]
|
/linux-6.12.1/arch/um/drivers/ |
D | mconsole_user.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * Copyright (C) 2001 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com) 17 * With uts namespaces, uts information becomes process-specific, so 48 msg.msg_name = &(req->origin); in mconsole_reply_v0() 49 msg.msg_namelen = req->originlen; in mconsole_reply_v0() 56 return sendmsg(req->originating_fd, &msg, 0); in mconsole_reply_v0() 66 if (!strncmp(req->request.data, cmd->command, in mconsole_parse() 67 strlen(cmd->command))) { in mconsole_parse() 85 req->originlen = sizeof(req->origin); in mconsole_get_request() 86 req->len = recvfrom(fd, &req->request, sizeof(req->request), 0, in mconsole_get_request() [all …]
|
/linux-6.12.1/include/uapi/linux/ |
D | pg.h | 1 /* SPDX-License-Identifier: GPL-1.0+ WITH Linux-syscall-note */ 6 pg.h defines the user interface to the generic ATAPI packet 33 read and write buffers contain a single character "magic" flag. 49 char magic; /* == PG_MAGIC */ member 53 char packet[12]; /* packet command */ member 59 char magic; /* == PG_MAGIC */ member
|
D | nbd.h | 1 /* SPDX-License-Identifier: GPL-1.0+ WITH Linux-syscall-note */ 51 #define NBD_FLAG_HAS_FLAGS (1 << 0) /* nbd-server supports flags */ 52 #define NBD_FLAG_READ_ONLY (1 << 1) /* device is read-only */ 74 /* These are sent over the network in the request/reply magic fields */ 79 /* magic 0x668e33ef for structured reply not supported by kernel yet */ 82 * This is the packet used for communication between client and 86 __be32 magic; /* NBD_REQUEST_MAGIC */ member 97 * This is the reply packet that nbd-server sends back to the client after 101 __be32 magic; /* NBD_REPLY_MAGIC */ member
|
/linux-6.12.1/drivers/power/reset/ |
D | linkstation-poweroff.c | 1 // SPDX-License-Identifier: GPL-2.0 68 /* If WOL was enabled and a magic packet was received before powering in linkstation_mvphy_reg_intn() 69 * off, we won't be able to wake up by sending another magic packet. in linkstation_mvphy_reg_intn() 79 dev_err(&phydev->mdio.dev, "Write register failed, %d\n", rc); in linkstation_mvphy_reg_intn() 99 /* If WOL was enabled and a magic packet was received before powering in readynas_mvphy_set_reg() 100 * off, we won't be able to wake up by sending another magic packet. in readynas_mvphy_set_reg() 110 dev_err(&phydev->mdio.dev, "Write register failed, %d\n", rc); in readynas_mvphy_set_reg() 119 .mdio_node_name = "mdio-bus", 127 cfg->phy_set_reg(true); in linkstation_reboot_notifier() 139 cfg->phy_set_reg(false); in linkstation_poweroff() [all …]
|
/linux-6.12.1/drivers/net/usb/ |
D | lg-vl600.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 28 * replaces the standard ethernet header in a packet so only actual 43 __le32 magic; member 62 return -ENOMEM; in vl600_bind() 70 dev->driver_priv = s; in vl600_bind() 78 * packet depend only on whether it is on the IN or OUT endpoint. */ in vl600_bind() 79 dev->net->flags |= IFF_NOARP; in vl600_bind() 81 dev->net->flags |= IFF_MULTICAST; in vl600_bind() 88 struct vl600_state *s = dev->driver_priv; in vl600_unbind() 90 dev_kfree_skb(s->current_rx_buf); in vl600_unbind() [all …]
|
D | gl620a.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * GeneSys GL620USB-A based links 4 * Copyright (C) 2001 by Jiun-Jie Huang <huangjj@genesyslogic.com.tw> 23 * GeneSys GL620USB-A (www.genesyslogic.com.tw) 29 * - GL620USB-A is full duplex; GL620USB is only half duplex for bulk. 30 * (Some cables, like the BAFO-100c, use the half duplex version.) 31 * - For the full duplex model, the low bit of the version code says 33 * - For the half duplex type, a control/interrupt handshake settles 37 * Original code from Jiun-Jie Huang <huangjj@genesyslogic.com.tw> 49 // max transmit packet number per transmit [all …]
|
/linux-6.12.1/tools/perf/util/ |
D | cs-etm.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright(C) 2015-2018 Linaro Limited. 12 #include <linux/coresight-pmu.h> 22 #include "cs-etm.h" 23 #include "cs-etm-decoder/cs-etm-decoder.h" 37 #include "thread-stack.h" 40 #include "util/synthetic-events.h" 61 * Per-thread ignores the trace channel ID and instead assumes that 96 struct cs_etm_packet *packet; member 151 #define SINK_UNSET ((u32) -1) [all …]
|
/linux-6.12.1/drivers/input/mouse/ |
D | logips2pp.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (c) 1999-2003 Vojtech Pavlik <vojtech@suse.cz> 38 * Process a PS2++ or PS2T++ packet. 43 struct input_dev *dev = psmouse->dev; in ps2pp_process_byte() 44 u8 *packet = psmouse->packet; in ps2pp_process_byte() local 46 if (psmouse->pktcnt < 3) in ps2pp_process_byte() 50 * Full packet accumulated, process it in ps2pp_process_byte() 53 if ((packet[0] & 0x48) == 0x48 && (packet[1] & 0x02) == 0x02) { in ps2pp_process_byte() 55 /* Logitech extended packet */ in ps2pp_process_byte() 56 switch ((packet[1] >> 4) | (packet[0] & 0x30)) { in ps2pp_process_byte() [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/net/ |
D | fsl-tsec-phy.txt | 5 the definition of the PHY node in booting-without-of.txt for an example 9 - reg : Offset and length of the register set for the device, and optionally 14 - compatible : Should define the compatible device type for the 16 - "fsl,gianfar-tbi" 17 - "fsl,gianfar-mdio" 18 - "fsl,etsec2-tbi" 19 - "fsl,etsec2-mdio" 20 - "fsl,ucc-mdio" 21 - "fsl,fman-mdio" 23 - "gianfar" [all …]
|
D | cdns,macb.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Nicolas Ferre <nicolas.ferre@microchip.com> 11 - Claudiu Beznea <claudiu.beznea@microchip.com> 16 - items: 17 - enum: 18 - cdns,at91rm9200-emac # Atmel at91rm9200 SoC 19 - const: cdns,emac # Generic 21 - items: [all …]
|
/linux-6.12.1/Documentation/userspace-api/media/v4l/ |
D | dev-sliced-vbi.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 17 :ref:`raw VBI interface <raw-vbi>`. The data is passed as short 51 .. _sliced-vbi-format-negotitation: 103 ----------------------------- 115 .. flat-table:: 116 :header-rows: 0 117 :stub-columns: 0 120 * - __u16 121 - ``service_set`` 122 - :cspan:`2` [all …]
|
/linux-6.12.1/net/core/ |
D | selftests.c | 1 // SPDX-License-Identifier: GPL-2.0 33 struct net_packet_attrs *packet; member 43 __be64 magic; member 65 size = attr->size + NET_TEST_PKT_SIZE; in net_test_get_skb() 67 if (attr->tcp) in net_test_get_skb() 72 if (attr->max_size && attr->max_size > size) in net_test_get_skb() 73 size = attr->max_size; in net_test_get_skb() 79 prefetchw(skb->data); in net_test_get_skb() 84 skb_set_network_header(skb, skb->len); in net_test_get_skb() 87 skb_set_transport_header(skb, skb->len); in net_test_get_skb() [all …]
|
/linux-6.12.1/include/net/9p/ |
D | 9p.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 14 * enum p9_debug_flags - bits for mount time debug parameter 24 * @P9_DEBUG_PKT: packet marshalling/unmarshalling 25 * @P9_DEBUG_FSC: FS-cache tracing 26 * @P9_DEBUG_VPKT: Verbose packet debugging (full packet dump) 62 * enum p9_msg_t - 9P message types 112 * See Also: http://plan9.bell-labs.com/sys/man/5/INDEX.html 187 * enum p9_open_mode_t - 9P open modes 192 * @P9_OTRUNC: truncate file to zero-length before opening it 205 * See Also: http://plan9.bell-labs.com/magic/man2html/2/open [all …]
|
/linux-6.12.1/drivers/net/ethernet/broadcom/genet/ |
D | bcmgenet_wol.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Broadcom GENET (Gigabit Ethernet) Wake-on-LAN support 5 * Copyright (c) 2014-2024 Broadcom 37 /* ethtool function - get WOL (Wake on LAN) settings, Only Magic Packet 43 struct device *kdev = &priv->pdev->dev; in bcmgenet_get_wol() 45 if (dev->phydev) in bcmgenet_get_wol() 46 phy_ethtool_get_wol(dev->phydev, wol); in bcmgenet_get_wol() 48 /* MAC is not wake-up capable, return what the PHY does */ in bcmgenet_get_wol() 53 wol->supported |= WAKE_MAGIC | WAKE_MAGICSECURE | WAKE_FILTER; in bcmgenet_get_wol() 54 wol->wolopts = priv->wolopts; in bcmgenet_get_wol() [all …]
|
/linux-6.12.1/net/batman-adv/ |
D | distributed-arp-table.c | 1 // SPDX-License-Identifier: GPL-2.0 7 #include "distributed-arp-table.h" 43 #include "hard-interface.h" 49 #include "soft-interface.h" 50 #include "translation-table.h" 89 __be32 magic; member 93 #define BATADV_DHCP_YIADDR_LEN sizeof(((struct batadv_dhcp_packet *)0)->yiaddr) 94 #define BATADV_DHCP_CHADDR_LEN sizeof(((struct batadv_dhcp_packet *)0)->chaddr) 99 * batadv_dat_start_timer() - initialise the DAT periodic worker 104 queue_delayed_work(batadv_event_workqueue, &bat_priv->dat.work, in batadv_dat_start_timer() [all …]
|
/linux-6.12.1/drivers/block/drbd/ |
D | drbd_protocol.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 33 P_SUPERSEDED = 0x18, /* Used in proto C, two-primaries conflict detection */ 53 P_RS_CANCEL = 0x29, /* meta: Used to cancel RS_DATA_REQUEST packet by SyncSource */ 74 P_ZEROES = 0x36, /* data sock: zero-out, WRITE_ZEROES */ 83 P_INITIAL_META = 0xfff1, /* First Packet on the MetaSock */ 84 P_INITIAL_DATA = 0xfff2, /* First Packet on the Socket */ 93 /* This is the layout for a packet on the wire. 104 u32 magic; member 111 u16 magic; /* use DRBD_MAGIC_BIG here */ member 117 u32 magic; member [all …]
|
/linux-6.12.1/drivers/net/wireless/broadcom/b43legacy/ |
D | xmit.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 8 Copyright (C) 2005 Martin Langer <martin-langer@gmx.de> 29 switch (plcp->raw[0]) { in b43legacy_plcp_get_bitrate_idx_cck() 40 return -1; in b43legacy_plcp_get_bitrate_idx_cck() 49 switch (plcp->raw[0] & 0xF) { in b43legacy_plcp_get_bitrate_idx_ofdm() 68 return -1; in b43legacy_plcp_get_bitrate_idx_ofdm() 114 __le32 *data = &(plcp->data); in b43legacy_generate_plcp_hdr() 115 __u8 *raw = plcp->raw; in b43legacy_generate_plcp_hdr() 182 int use_encryption = !!info->control.hw_key; in generate_txhdr_fw3() 197 tx_rate = ieee80211_get_tx_rate(dev->wl->hw, info); in generate_txhdr_fw3() [all …]
|
/linux-6.12.1/drivers/misc/sgi-xp/ |
D | xpnet.c | 7 * Copyright (C) 1999-2009 Silicon Graphics, Inc. All rights reserved. 16 * XPNET provides direct point-to-point and broadcast-like support 17 * for an ethernet-like device. The ethernet broadcast medium is 18 * replaced with a point-to-point message structure which passes 19 * pointers to a DMA-capable block that a remote partition should 42 * size is the number of bytes to transfer which includes the skb->len 48 u32 magic; /* Special number indicating this is xpnet */ member 64 (XPNET_MSG_SIZE - offsetof(struct xpnet_message, data)) 83 ((XPNET_VERSION_MAJOR(_m->version) == XPNET_VERSION_MAJOR(XPNET_VERSION)) \ 84 && (msg->magic == XPNET_MAGIC)) [all …]
|
/linux-6.12.1/arch/arm/boot/dts/nxp/imx/ |
D | imx7d-cl-som-imx7.dts | 2 * Support for CompuLab CL-SOM-iMX7 System-on-Module 4 * Copyright (C) 2015 CompuLab Ltd. - http://www.compulab.co.il/ 7 * This file is dual-licensed: you can use it either under the terms 13 /dts-v1/; 18 model = "CompuLab CL-SOM-iMX7"; 19 compatible = "compulab,cl-som-imx7", "fsl,imx7d"; 23 reg = <0x80000000 0x10000000>; /* 256 MB - minimal configuration */ 26 reg_usb_otg1_vbus: regulator-vbus { 27 compatible = "regulator-fixed"; 28 regulator-name = "usb_otg1_vbus"; [all …]
|
/linux-6.12.1/drivers/net/ethernet/wangxun/ngbe/ |
D | ngbe_type.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* Copyright (c) 2019 - 2022 Beijing WangXun Technology Co., Ltd. */ 93 #define NGBE_PSR_WKUP_CTL_MAG BIT(1) /* Magic Packet Wakeup Enable */ 97 #define NGBE_PSR_WKUP_CTL_ARP BIT(5) /* ARP Request Packet Wakeup Enable*/ 119 #define NGBE_TDB_PB_SZ (20 * 1024) /* 160KB Packet Buffer */
|
/linux-6.12.1/tools/testing/selftests/bpf/progs/ |
D | test_misc_tcp_hdr_options.c | 1 // SPDX-License-Identifier: GPL-2.0 50 if (ret != -ENOSPC) in __check_active_hdr_in() 53 /* Test searching magic with regular kind */ in __check_active_hdr_in() 57 if (ret != -EINVAL) in __check_active_hdr_in() 70 hdr.exprm_opt.magic = 0; in __check_active_hdr_in() 73 if (ret != -EINVAL) in __check_active_hdr_in() 76 /* Test searching experimental option with 0 magic value */ in __check_active_hdr_in() 80 if (ret != -ENOMSG) in __check_active_hdr_in() 83 hdr.exprm_opt.magic = __bpf_htons(0xeB9F); in __check_active_hdr_in() 88 hdr.exprm_opt.magic != __bpf_htons(0xeB9F)) in __check_active_hdr_in() [all …]
|
/linux-6.12.1/arch/arm64/boot/dts/freescale/ |
D | imx8mm-emtop-baseboard.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include "imx8mm-emtop-som.dtsi" 12 compatible = "ees,imx8mm-emtop-baseboard", "ees,imx8mm-emtop-som", 17 pinctrl-names = "default"; 18 pinctrl-0 = <&pinctrl_fec1>; 19 phy-mode = "rgmii-id"; 20 phy-handle = <ðphy0>; 21 fsl,magic-packet; 25 #address-cells = <1>; [all …]
|
/linux-6.12.1/include/net/ |
D | mctp.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 18 /* MCTP packet definitions */ 79 * by sk->net->keys_lock 94 * - individual key data (ie, the struct itself) is protected by key->lock; 97 * - the lookup fields: peer_addr, local_addr and tag are set before the 100 * - A ref to the key must be held (throuh key->refs) if a pointer to the 101 * key is to be accessed after key->lock is released. 103 * - a mctp_sk_key contains a reference to a struct sock; this is valid 107 * - these mctp_sk_keys appear on two lists: 108 * 1) the struct mctp_sock->keys list [all …]
|