| /kernel/linux/linux-6.6/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 */ 122 __be16 cksum; /* Running-sum */ 123 /* Flags&fragment-offset field of the last IP-header */ 130 u8 ip_pid_off; /* IP PID (last IP-proto) offset */ 146 * buffer; Note that the private-area will start from the base 152 * order to get the parser-result from a buffer. [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/freescale/fman/ |
| D | fman.h | 2 * Copyright 2008-2015 Freescale Semiconductor Inc. 48 /* TX-Port: Unsupported Format */ 56 /* IPR non-consistent-sp */ 93 /* non Frame-Manager error */ 146 __be16 cksum; /* Running-sum */ 147 /* Flags&fragment-offset field of the last IP-header */ 154 u8 ip_pid_off; /* IP PID (last IP-proto) offset */ 170 * buffer; Note that the private-area will start from the base 176 * order to get the parser-result from a buffer. 183 * parser-result from a buffer. [all …]
|
| /kernel/linux/linux-6.6/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 */ 50 #define NBD_FLAG_HAS_FLAGS (1 << 0) /* nbd-server supports flags */ 51 #define NBD_FLAG_READ_ONLY (1 << 1) /* device is read-only */ 70 /* These are sent over the network in the request/reply magic fields */ 75 /* magic 0x668e33ef for structured reply not supported by kernel yet */ 78 * This is the packet used for communication between client and 82 __be32 magic; /* NBD_REQUEST_MAGIC */ member 93 * This is the reply packet that nbd-server sends back to the client after 97 __be32 magic; /* NBD_REPLY_MAGIC */ member
|
| /kernel/linux/linux-5.10/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 */ 42 #define NBD_FLAG_HAS_FLAGS (1 << 0) /* nbd-server supports flags */ 43 #define NBD_FLAG_READ_ONLY (1 << 1) /* device is read-only */ 62 /* These are sent over the network in the request/reply magic fields */ 69 * This is the packet used for communication between client and 73 __be32 magic; member 81 * This is the reply packet that nbd-server sends back to the client after 85 __be32 magic; member
|
| /kernel/linux/linux-5.10/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() 83 req->originlen = sizeof(req->origin); in mconsole_get_request() 84 req->len = recvfrom(fd, &req->request, sizeof(req->request), 0, in mconsole_get_request() [all …]
|
| /kernel/linux/linux-6.6/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() 83 req->originlen = sizeof(req->origin); in mconsole_get_request() 84 req->len = recvfrom(fd, &req->request, sizeof(req->request), 0, in mconsole_get_request() [all …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-5.10/tools/perf/util/ |
| D | cs-etm.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright(C) 2015-2018 Linaro Limited. 21 #include "cs-etm.h" 22 #include "cs-etm-decoder/cs-etm-decoder.h" 36 #include "thread-stack.h" 38 #include "util/synthetic-events.h" 79 struct cs_etm_packet *packet; member 131 static int cs_etm__get_magic(u8 trace_chan_id, u64 *magic) in cs_etm__get_magic() argument 138 return -EINVAL; in cs_etm__get_magic() 140 metadata = inode->priv; in cs_etm__get_magic() [all …]
|
| /kernel/linux/linux-6.6/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 147 static int cs_etm__get_magic(u8 trace_chan_id, u64 *magic) in cs_etm__get_magic() argument [all …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-5.10/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 | macb.txt | 4 - compatible: Should be "cdns,[<chip>-]{macb|gem}" 5 Use "cdns,at91rm9200-emac" Atmel at91rm9200 SoC. 6 Use "cdns,at91sam9260-macb" for Atmel at91sam9 SoCs. 7 Use "cdns,sam9x60-macb" for Microchip sam9x60 SoC. 8 Use "cdns,np4-macb" for NP4 SoC devices. 9 Use "cdns,at32ap7000-macb" for other 10/100 usage or use the generic form: "cdns,macb". 10 Use "cdns,pc302-gem" for Picochip picoXcell pc302 and later devices based on 12 Use "atmel,sama5d2-gem" for the GEM IP (10/100) available on Atmel sama5d2 SoCs. 13 Use "atmel,sama5d3-macb" for the 10/100Mbit IP available on Atmel sama5d3 SoCs. 14 Use "atmel,sama5d3-gem" for the Gigabit IP available on Atmel sama5d3 SoCs. [all …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-6.6/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() 46 if (dev->phydev) { in bcmgenet_get_wol() 47 phy_ethtool_get_wol(dev->phydev, wol); in bcmgenet_get_wol() 48 phy_wolopts = wol->wolopts; in bcmgenet_get_wol() 51 /* MAC is not wake-up capable, return what the PHY does */ in bcmgenet_get_wol() 56 wol->supported |= WAKE_MAGIC | WAKE_MAGICSECURE | WAKE_FILTER; in bcmgenet_get_wol() [all …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-5.10/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-2020 Broadcom 38 /* ethtool function - get WOL (Wake on LAN) settings, Only Magic Packet 44 struct device *kdev = &priv->pdev->dev; in bcmgenet_get_wol() 47 wol->supported = 0; in bcmgenet_get_wol() 48 wol->wolopts = 0; in bcmgenet_get_wol() 52 wol->supported = WAKE_MAGIC | WAKE_MAGICSECURE | WAKE_FILTER; in bcmgenet_get_wol() 53 wol->wolopts = priv->wolopts; in bcmgenet_get_wol() 54 memset(wol->sopass, 0, sizeof(wol->sopass)); in bcmgenet_get_wol() [all …]
|
| /kernel/linux/linux-5.10/drivers/power/reset/ |
| D | linkstation-poweroff.c | 1 // SPDX-License-Identifier: GPL-2.0 55 /* If WOL was enabled and a magic packet was received before powering in mvphy_reg_intn() 56 * off, we won't be able to wake up by sending another magic packet. in mvphy_reg_intn() 66 dev_err(&phydev->mdio.dev, "Write register failed, %d\n", rc); in mvphy_reg_intn() 103 return -ENODEV; in linkstation_poweroff_init() 108 return -ENODEV; in linkstation_poweroff_init() 113 return -EPROBE_DEFER; in linkstation_poweroff_init() 117 return -EPROBE_DEFER; in linkstation_poweroff_init()
|