/linux/Documentation/userspace-api/netlink/ |
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 …]
|
/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 11 pattern: ^[0-9a-z-]+$ 12 name-cap: 14 pattern: ^[0-9a-zA-Z-]+$ 18 len-or-define: 20 pattern: ^[0-9A-Za-z_-]+( - 1)?$ 27 required: [ name, doc, attribute-sets, operations ] [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->mesh_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->mesh_iface); in batadv_v_iface_update_mac() 115 ewma_throughput_init(&hardif_neigh->bat_v.throughput); in batadv_v_hardif_neigh_init() 119 * batadv_v_neigh_dump_neigh() - Dump a neighbour into a message 120 * @msg: Netlink message to dump into [all …]
|
H A D | bat_iv_ogm.c | 1 // SPDX-License-Identifier: GPL-2.0 51 #include "hard-interface.h" 58 #include "translation-table.h" 64 * enum batadv_dup_status - duplicate status 86 * batadv_ring_buffer_set() - update the ring buffer with the given value 98 * batadv_ring_buffer_avg() - compute the average of all non-zero values stored 130 * batadv_iv_ogm_orig_get() - retriev 1885 int sub = 0; batadv_iv_ogm_orig_dump_entry() local 1942 batadv_iv_ogm_orig_dump_bucket(struct sk_buff * msg,u32 portid,u32 seq,struct batadv_priv * bat_priv,struct batadv_hard_iface * if_outgoing,struct hlist_head * head,int * idx_s,int * sub) batadv_iv_ogm_orig_dump_bucket() argument 1983 int sub = cb->args[2]; batadv_iv_ogm_orig_dump() local [all...] |
/linux/lib/crypto/arm64/ |
H A D | sha256-ce.S | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * sha2-ce-core.S - core SHA-224/SHA-256 transform using v8 Crypto Extensions 12 .arch armv8-a+crypto 51 * The SHA-256 round constants 75 ld1 { v0.4s- v3.4s}, [\tmp], #64 76 ld1 { v4.4s- v7.4s}, [\tmp], #64 77 ld1 { v8.4s-v11.4s}, [\tmp], #64 78 ld1 {v12.4s-v15.4s}, [\tmp] 94 0: ld1 {v16.4s-v19.4s}, [x1], #64 95 sub x2, x2, #1 [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/lib/crypto/x86/ |
H A D | sha256-ni-asm.S | 2 * Intel SHA Extensions optimized implementation of a SHA-256 update function 83 movdqa (\i-32)*4(SHA256CONSTANTS), MSG 100 * Intel SHA Extensions optimized implementation of a SHA-256 block function 102 * This function takes a pointer to the current SHA-256 state, a pointer to the 103 * input data, and the number of 64-byte blocks to process. Once all blocks 120 * DCBA, HGFE -> ABEF, CDGH 223 // Do 4 rounds of SHA-256 for each of two messages (interleaved). m0_a and m0_b 224 // contain the current 4 message schedule words for the first and second message 227 // If not all the message schedule words have been computed yet, then this also 228 // computes 4 more message schedule words for each message. m1_a-m3_a contain [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/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/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 */ 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 126 * guest on the guest->host ring buffer. [all …]
|
/linux/drivers/hv/ |
H A D | channel_mgmt.c | 1 // SPDX-License-Identifier: GPL-2.0-only 148 * 64 KB ring buffer + 4 KB header should be sufficient size for any Hyper-V device apart 180 channel->rescind = true; in vmbus_rescind_cleanup() 184 if (msginfo->waiting_channel == channel) { in vmbus_rescind_cleanup() 185 complete(&msginfo->waitevent); in vmbus_rescind_cleanup() 204 const guid_t *guid = &channel->offermsg.offer.if_type; in hv_get_dev_type() 219 * vmbus_prep_negotiate_resp() - Create default response for Negotiate message 232 * Set up and fill in default negotiate response message. 233 * Mainly used by Hyper-V drivers. 254 icmsghdrp->icmsgsize = 0x10; in vmbus_prep_negotiate_resp() [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> 46 u8 sub[3]; member 84 /* add new message above here */ 106 /* Template list of communication messages. The non-null bytes defined here 115 .sub = {0x07, 0x55, 0x00}, 121 .sub = {0x07, 0xd0, 0x4e}, 127 .sub = {0x07, 0x1e, 0x21}, 133 .sub = {0x05, 0x43}, 139 .sub = {0x07, 0x43, 0x4e}, [all …]
|
/linux/tools/net/ynl/pyynl/lib/ |
H A D | ynl.py | 1 # SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 34 # Netlink message 98 'binary', 'string', 'nul-string', 99 'nested', 'nested-array', 105 self.error = -nl_msg.error 140 return format.big if byte_order == "big-endia 391 def message(self, flags, command, version, seq=None): global() member in NetlinkProtocol 425 def message(self, flags, command, version, seq=None): global() member in GenlProtocol [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/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] [container]", in rv_list() 48 " -h/--help: print this menu", in rv_list() 57 if (!strcmp(argv[1], "-h") || !strcmp(argv[1], "--help")) { in rv_list() 60 } else if (argv[1][0] == '-') { in rv_list() 84 * 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->de in hiface_pcm_set_rate() 255 hiface_pcm_playback(struct pcm_substream * sub,struct pcm_urb * urb) hiface_pcm_playback() argument 306 struct pcm_substream *sub; hiface_pcm_out_urb_handler() local 352 struct pcm_substream *sub = NULL; hiface_pcm_open() local 395 struct pcm_substream *sub = hiface_pcm_get_substream(alsa_sub); hiface_pcm_close() local 419 struct pcm_substream *sub = hiface_pcm_get_substream(alsa_sub); hiface_pcm_prepare() local 454 struct pcm_substream *sub = hiface_pcm_get_substream(alsa_sub); hiface_pcm_trigger() local 484 struct pcm_substream *sub = hiface_pcm_get_substream(alsa_sub); hiface_pcm_pointer() local [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 …]
|
/linux/arch/riscv/crypto/ |
H A D | aes-riscv64-zvkned.S | 1 /* SPDX-License-Identifier: Apache-2.0 OR BSD-2-Clause */ 3 // This file is dual-licensed, meaning that you can use it under your 41 // The generated code of this file depends on the following RISC-V extensions: 42 // - RV64I 43 // - RISC-V Vector ('V') with VLEN >= 128 44 // - RISC-V Vector AES block cipher extension ('Zvkned') 51 #include "aes-macros.S" 88 // t0 is the remaining length in 32-bit words. It's a multiple of 4. 91 sub t0, t0, t1 // Subtract number of words processed 134 addi LEN, LEN, -16 [all …]
|