/linux/Documentation/userspace-api/netlink/ |
H A D | netlink-raw.rst | 1 .. SPDX-License-Identifier: BSD-3-Clause 8 families such as ``NETLINK_ROUTE`` which use the ``netlink-raw`` protocol 14 The netlink-raw schema extends the :doc:`genetlink-legacy <genetlink-legacy>` 17 information. The raw netlink families also make use of type-specific 18 sub-messages. 21 ------- 29 .. code-block:: yaml 31 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 33 name: rt-addr 34 protocol: netlink-raw [all …]
|
H A D | genetlink-legacy.rst | 1 .. SPDX-License-Identifier: BSD-3-Clause 9 the ``genetlink-legacy`` protocol level. 15 ------- 29 -------------------- 31 New Netlink families should use ``multi-attr`` to define arrays. 35 For reference the ``multi-attr`` array may look like this:: 37 [ARRAY-ATTR] 41 [SOME-OTHER-ATTR] 42 [ARRAY-ATTR] 47 where ``ARRAY-ATTR`` is the array entry type. [all …]
|
H A D | specs.rst | 1 .. SPDX-License-Identifier: BSD-3-Clause 17 - the C uAPI header 18 …- documentation of the protocol as a ReST file - see :ref:`Documentation/networking/netlink_spec/i… 19 - policy tables for input attribute validation 20 - operation tables 25 See :doc:`intro-specs` for a practical starting guide. 28 ``((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)`` 40 - ``genetlink`` - most streamlined, should be used by all new families 41 - ``genetlink-c`` - superset of ``genetlink`` with extra attributes allowing 45 - ``genetlink-legacy`` - Generic Netlink catch all schema supporting quirks of [all …]
|
/linux/Documentation/netlink/ |
H A D | netlink-raw.yaml | 1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 3 --- 4 $id: http://kernel.org/schemas/netlink/netlink-raw.yaml# 5 $schema: https://json-schema.org/draft-07/schema 12 len-or-define: 14 pattern: ^[0-9A-Za-z_-]+( - 1)?$ 21 required: [ name, doc, attribute-sets, operations ] 31 enum: [ netlink-raw ] # Trim 32 # Start netlink-raw 34 description: Protocol number to use for netlink-raw [all …]
|
/linux/Documentation/devicetree/bindings/powerpc/fsl/ |
H A D | srio-rmu.txt | 1 Message unit node: 3 For SRIO controllers that implement the message unit as part of the controller 5 node is composed of three types of sub-nodes ("fsl-srio-msg-unit", 6 "fsl-srio-dbell-unit" and "fsl-srio-port-write-unit"). 10 - compatible 13 Definition: Must include "fsl,srio-rmu-vX.Y", "fsl,srio-rmu". 18 - reg 20 Value type: <prop-encoded-array> 22 length of the SRIO configuration registers for message units 25 - fsl,liodn [all …]
|
/linux/arch/x86/crypto/ |
H A D | nh-sse2-x86_64.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * NH - ε-almost-universal hash function, x86_64 SSE2 accelerated 30 #define MESSAGE %rsi macro 36 // Load next message stride 37 movdqu \offset(MESSAGE), T1 42 // Add message words to key words 70 * void nh_sse2(const u32 *key, const u8 *message, size_t message_len, 86 sub $0x40, MESSAGE_LEN 94 add $0x40, MESSAGE 95 sub $0x40, MESSAGE_LEN [all …]
|
H A D | nh-avx2-x86_64.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * NH - ε-almost-universal hash function, x86_64 AVX2 accelerated 36 #define MESSAGE %rsi macro 42 // Add message words to key words 68 * void nh_avx2(const u32 *key, const u8 *message, size_t message_len, 83 sub $0x40, MESSAGE_LEN 86 vmovdqu (MESSAGE), T3 91 vmovdqu 0x20(MESSAGE), T3 96 add $0x40, MESSAGE 98 sub $0x40, MESSAGE_LEN [all …]
|
/linux/net/batman-adv/ |
H A D | bat_v.c | 1 // SPDX-License-Identifier: GPL-2.0 38 #include "hard-interface.h" 46 struct batadv_priv *bat_priv = netdev_priv(hard_iface->soft_iface); in batadv_v_iface_activate() 60 if (hard_iface->if_status == BATADV_IF_TO_BE_ACTIVATED) in batadv_v_iface_activate() 61 hard_iface->if_status = BATADV_IF_ACTIVE; in batadv_v_iface_activate() 92 * batadv_v_iface_update_mac() - react to hard-interface MAC address change 100 struct batadv_priv *bat_priv = netdev_priv(hard_iface->soft_iface); in batadv_v_iface_update_mac() 115 ewma_throughput_init(&hardif_neigh->bat_v.throughput); in batadv_v_hardif_neigh_init() 116 INIT_WORK(&hardif_neigh->bat_v.metric_work, in batadv_v_hardif_neigh_init() 121 * batadv_v_neigh_dump_neigh() - Dump a neighbour into a message [all …]
|
/linux/tools/net/ynl/lib/ |
H A D | nlspec.py | 1 # SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 37 self.ident_name = self.name.replace('-', '_') 119 value_start = self.yaml.get('value-start', 0) 160 sub_type string, name of sub type 164 sub_message string, name of sub message typ [all...] |
H A D | ynl.py | 1 # SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 35 # Netlink message 99 'binary', 'string', 'nul-string', 100 'nested', 'nested-array', 106 self.error = -nl_msg.error 141 return format.big if byte_order == "big-endian" \ 151 raise Exception(f"Auto-scalar len payload be 4 or 8 bytes, got {len(self.raw)}") 157 return self.raw.decode('ascii')[:-1] 221 self.extack['miss-type'] = extack.as_scalar('u32') 223 self.extack['miss-nest'] = extack.as_scalar('u32') [all …]
|
/linux/include/linux/platform_data/ |
H A D | wilco-ec.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 14 /* Message flags for using the mailbox() interface */ 25 * struct wilco_ec_device - Wilco Embedded Controller handle. 34 * @debugfs_pdev: The child platform_device used by the debugfs sub-driver. 35 * @rtc_pdev: The child platform_device used by the RTC sub-driver. 36 * @charger_pdev: Child platform_device used by the charger config sub-driver. 37 * @telem_pdev: The child platform_device used by the telemetry sub-driver. 54 * struct wilco_ec_request - Mailbox request message format. 72 * struct wilco_ec_response - Mailbox response message format. 75 * @result: Result code from the EC. Non-zero indicates an error. [all …]
|
/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. 46 * @defgroup MRQ_Format Message Format 47 * @defgroup MRQ_Codes Message Request (MRQ) Codes 48 * @defgroup MRQ_Payloads Message Payloads 57 * sending it an IVC frame containing a single MRQ message. An MRQ 58 * message consists of a @ref mrq_request followed by a payload whose 66 * A well-defined subset of the MRQ messages that the CPU sends to the 67 * BPMP can lead to BPMP eventually sending an MRQ message to the 68 * CPU. For example, when the CPU uses an #MRQ_THERMAL message to set [all …]
|
/linux/include/drm/bridge/ |
H A D | mhl.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Defines for Mobile High-Definition Link (MHL) interface 9 * Copyright (C) 2013-2014 Silicon Image, Inc. 209 MHL_MSC_MSG = 0x68, /* VS command to send RCP sub-commands */ 210 MHL_GET_SC1_ERRORCODE = 0x69, /* Get Vendor-Specific error code */ 213 MHL_WRITE_BURST = 0x6C, /* Write 1-16 bytes to responder's scratchpad */ 224 /* MSC message types */ 226 MHL_MSC_MSG_RCP = 0x10, /* RCP sub-command */ 227 MHL_MSC_MSG_RCPK = 0x11, /* RCP Acknowledge sub-command */ 228 MHL_MSC_MSG_RCPE = 0x12, /* RCP Error sub-command */ [all …]
|
/linux/net/xfrm/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 52 bool "Transformation sub policy support" 55 Support sub policy for developers. By using sub policy with main 57 Policy which lives shorter time in kernel should be a sub. 127 Add a PF_KEY MIGRATE message to PF_KEYv2 socket family. 128 The PF_KEY MIGRATE message is used to dynamically update 133 information can be found in the internet-draft 134 <draft-sugimoto-mip6-pfkey-migrate>.
|
/linux/Documentation/devicetree/bindings/firmware/ |
H A D | arm,scpi.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: System Control and Power Interface (SCPI) Message Protocol 11 - Sudeep Holla <sudeep.holla@arm.com> 15 0922B ("ARM Compute Subsystem SCP: Message Interface Protocols")[0] can be 33 - const: arm,scpi # SCPI v1.0 and above 34 - const: arm,scpi-pre-1.0 # Unversioned SCPI before v1.0 35 - items: 36 - enum: [all …]
|
/linux/include/uapi/linux/ |
H A D | netlink.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 17 #define NETLINK_ISCSI 8 /* Open-iSCSI */ 45 * struct nlmsghdr - fixed format metadata header of Netlink messages 46 * @nlmsg_len: Length of message including header 47 * @nlmsg_type: Message content type 62 #define NLM_F_REQUEST 0x01 /* It is request message. */ 63 #define NLM_F_MULTI 0x02 /* Multipart message, terminated by NLMSG_DONE */ 85 /* Flags for ACK message */ 99 #define NLMSG_ALIGN(len) ( ((len)+NLMSG_ALIGNTO-1) & ~(NLMSG_ALIGNTO-1) ) 104 #define NLMSG_NEXT(nlh,len) ((len) -= NLMSG_ALIGN((nlh)->nlmsg_len), \ [all …]
|
/linux/drivers/net/pse-pd/ |
H A D | pd692x0.c | 1 // SPDX-License-Identifier: GPL-2.0-only 14 #include <linux/pse-pd/pse.h> 44 u8 sub[3]; member 80 /* add new message above here */ 100 /* Template list of communication messages. The non-null bytes defined here 109 .sub = {0x07, 0x55, 0x00}, 115 .sub = {0x07, 0xd0, 0x4e}, 121 .sub = {0x07, 0x1e, 0x21}, 127 .sub = {0x05, 0x43}, 133 .sub = {0x07, 0x43, 0x4e}, [all …]
|
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/fuc/ |
H A D | kernel.fuc | 48 // $r15 - current 49 // $r14 - addr 50 // $r13 - data (return) 51 // $r0 - zero 65 // $r15 - current 66 // $r14 - addr 67 // $r13 - data 68 // $r0 - zero 92 // busy-wait for a period of time 94 // $r15 - current [all …]
|
/linux/include/linux/ |
H A D | hyperv.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 27 #include <asm/hyperv-tlfs.h> 48 * gva: |-- 64k --|-- 64k --| ... | 59 * gva: |-- 64k --|-- 64k --| ... |-- 64k --|-- 64k --| ... | 69 * index: 0 1 2 ... 16 ... n-15 n-14 n-13 ... 2n-30 76 /* Single-page buffer */ 83 /* Multiple-page buffer */ 92 * Multiple-page buffer array; the pfn array is variable size: 123 * WS2012/Win8 and later versions of Hyper-V implement interrupt 125 * is set by the host on the host->guest ring buffer, and by the [all …]
|
/linux/Documentation/filesystems/ |
H A D | relay.rst | 1 .. SPDX-License-Identifier: GPL-2.0 9 to userspace via user-defined 'relay channels'. 11 A 'relay channel' is a kernel->user data relay mechanism implemented 12 as a set of per-cpu kernel buffers ('channel buffers'), each 25 filtering - this also is left to the kernel client. The purpose is to 30 functions in the relay interface code - please see that for details. 36 sub-buffers. Messages are written to the first sub-buffer until it is 37 too full to contain a new message, in which case it is written to 38 the next (if available). Messages are never split across sub-buffers. 40 sub-buffer, while the kernel continues writing to the next. [all …]
|
/linux/drivers/platform/x86/ |
H A D | intel_scu_ipc.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * (C) Copyright 2008-2010,2015 Intel Corporation 10 * SCU has two IPC mechanism IPC-1 and IPC-2. IPC-1 is used between IA32 and 11 * SCU where IPC-2 is used between P-Unit and SCU. This driver delas with 12 * IPC-1 Driver provides an API for power control unit registers (e.g. MSIC) 29 /* IPC defines the following message types */ 32 /* Command id associated with message IPCMSG_PCNTRL */ 35 #define IPC_CMD_PCNTRL_M 2 /* Register read-modify-write */ 41 * To read or write information to the SCU, driver writes to IPC-1 memory 45 * Transaction Layer Packet (TLP) message which is sent across the cDMI. [all …]
|
/linux/tools/net/ynl/ |
H A D | ynl-gen-rst.py | 2 # SPDX-License-Identifier: GPL-2.0 3 # -*- coding: utf-8; mode: python -*- 34 def headroom(level: int) -> str: 39 def bold(text: str) -> str: 44 def inline(text: str) -> str: 49 def sanitize(text: str) -> str: 55 def rst_fields(key: str, value: str, level: int = 0) -> str: 60 def rst_definition(key: str, value: Any, level: int = 0) -> str: 65 def rst_paragraph(paragraph: str, level: int = 0) -> str: 70 def rst_bullet(item: str, level: int = 0) -> str: [all …]
|
/linux/tools/verification/rv/src/ |
H A D | rv.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * user-space controlled monitors. 20 * stop_rv - tell monitors to stop 28 * should_stop - check if the monitor should stop. 38 * rv_list - list all available monitors 44 " usage: rv list [-h]", in rv_list() 48 " -h/--help: print this menu", in rv_list() 60 /* but only -h is valid */ in rv_list() 61 if (!strcmp(argv[1], "-h") || !strcmp(argv[1], "--help")) in rv_list() 72 * rv_mon - try to run a monitor passed as argument [all …]
|
/linux/sound/usb/hiface/ |
H A D | pcm.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright 2012-2013 (C) M2TECH S.r.l and Amarula Solutions B.V. 100 /* message values used to change the sample rate */ 114 struct usb_device *device = rt->chip->dev; in hiface_pcm_set_rate() 147 dev_err(&device->dev, "Unsupported rate %d\n", rate); in hiface_pcm_set_rate() 148 return -EINVAL; in hiface_pcm_set_rate() 156 * This control message doesn't have any ack from the in hiface_pcm_set_rate() 164 dev_err(&device->dev, "Error setting samplerate %d.\n", rate); in hiface_pcm_set_rate() 173 struct device *device = &rt->chip->dev->dev; in hiface_pcm_get_substream() 175 if (alsa_sub->stream == SNDRV_PCM_STREAM_PLAYBACK) in hiface_pcm_get_substream() [all …]
|
/linux/include/linux/mfd/ |
H A D | dln2.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 8 u16 handle; /* sub-driver handle (internally used only) */ 13 * dln2_event_cb_t - event callback function signature 15 * @pdev - the sub-device that registered this callback 16 * @echo - the echo header field received in the message 17 * @data - the data payload 18 * @len - the data payload length 29 * dl2n_register_event_cb - register a callback function for an event 31 * @pdev - the sub-device that registers the callback 32 * @event - the event for which to register a callback [all …]
|