/linux-5.10/drivers/pnp/ |
D | core.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * core.c - contains all core device and protocol registration functions 18 #include <linux/dma-mapping.h> 28 * skip some blind probes. ISAPNP typically enumerates only plug-in ISA 29 * devices, not built-in things like COM ports. 46 static void pnp_remove_protocol(struct pnp_protocol *protocol) in pnp_remove_protocol() argument 49 list_del(&protocol->protocol_list); in pnp_remove_protocol() 54 * pnp_register_protocol - adds a pnp protocol to the pnp layer 55 * @protocol: pointer to the corresponding pnp_protocol structure 59 int pnp_register_protocol(struct pnp_protocol *protocol) in pnp_register_protocol() argument [all …]
|
/linux-5.10/tools/testing/selftests/tc-testing/tc-tests/filters/ |
D | basic.json | 3 "id": "7a92", string 15 …"cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 protocol ip prio 1 basic match 'cm… 17 "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 prio 1 protocol ip basic", 18 …"matchPattern": "^filter parent ffff: protocol ip pref 1 basic.*handle 0x1 flowid 1:1.*cmp\\(u8 at… 25 "id": "2e8a", string 37 …"cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 protocol ip prio 1 basic match 'cm… 39 "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 prio 1 protocol ip basic", 40 …"matchPattern": "^filter parent ffff: protocol ip pref 1 basic.*handle 0x1 flowid 1:1.*cmp\\(u8 at… 47 "id": "4d9f", string 59 …"cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 protocol ip prio 1 basic match 'cm… [all …]
|
D | matchall.json | 3 "id": "f62b", string 4 "name": "Add ingress matchall filter for protocol ipv4 and action PASS", 13 …"cmdUnderTest": "$TC filter add dev $DUMMY parent ffff: handle 0x1 prio 1 protocol ip matchall act… 15 "verifyCmd": "$TC filter get dev $DUMMY parent ffff: handle 1 prio 1 protocol ip matchall", 16 …"matchPattern": "^filter parent ffff: protocol ip pref 1 matchall.*handle 0x1.*gact action pass.*r… 24 "id": "7f09", string 25 "name": "Add egress matchall filter for protocol ipv4 and action PASS", 34 …"cmdUnderTest": "$TC filter add dev $DUMMY parent 1: handle 0x1 prio 1 protocol ip matchall action… 36 "verifyCmd": "$TC filter get dev $DUMMY parent 1: handle 1 prio 1 protocol ip matchall", 37 …"matchPattern": "^filter parent 1: protocol ip pref 1 matchall.*handle 0x1.*gact action pass.*ref … [all …]
|
D | fw.json | 3 "id": "901f", string 4 "name": "Add fw filter with prio at 32-bit maxixum", 17 "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 prio 65535 protocol all fw", 25 "id": "51e2", string 26 "name": "Add fw filter with prio exceeding 32-bit maxixum", 39 "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 prio 65536 protocol all fw", 47 "id": "d987", string 166 "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 prio 1 protocol all fw", 174 "id": "c591", string 188 "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 prio 1 protocol all fw", [all …]
|
D | tests.json | 3 "id": "2638", string 14 "$TC filter add dev $DEV1 protocol all pref 1 ingress handle 0x1234 matchall action ok" 16 … "cmdUnderTest": "$TC filter get dev $DEV1 protocol all pref 1 ingress handle 0x1234 matchall", 19 "matchPattern": "filter protocol all pref 1 matchall chain 0 handle 0x1234", 26 "id": "2ff3", string 35 …"cmdUnderTest": "$TC filter add dev $DEV2 protocol ip pref 1 ingress handle 0xffffffff flower acti… 38 "matchPattern": "filter protocol ip pref 1 flower.*handle 0xffffffff", 45 "id": "d052", string 56 "./tdc_batch.py $DEV2 $BATCH_FILE --share_action -n 1000000" 58 "cmdUnderTest": "$TC -b $BATCH_FILE", [all …]
|
D | concurrency.json | 3 "id": "e41d", string 15 "cmdUnderTest": "bash -c \"find $BATCH_DIR/add* -print | xargs -n 1 -P 10 $TC -b\"", 17 "verifyCmd": "$TC -s filter show dev $DEV2 ingress", 18 "matchPattern": "filter protocol ip pref 1 flower chain 0 handle", 22 "/bin/rm -rf $BATCH_DIR" 26 "id": "6f52", string 37 "$TC -b $BATCH_DIR/add_0", 40 "cmdUnderTest": "bash -c \"find $BATCH_DIR/del* -print | xargs -n 1 -P 10 $TC -b\"", 42 "verifyCmd": "$TC -s filter show dev $DEV2 ingress", 43 "matchPattern": "filter protocol ip pref 1 flower chain 0 handle", [all …]
|
/linux-5.10/tools/testing/selftests/tc-testing/tc-tests/actions/ |
D | vlan.json | 3 "id": "6f5a", string 20 "matchPattern": "action order [0-9]+: vlan.*pop.*pipe.*index 8 ref", 27 "id": "df35", string 44 "matchPattern": "action order [0-9]+: vlan.*pop.*pass.*index 8 ref", 51 "id": "b0d4", string 68 "matchPattern": "action order [0-9]+: vlan.*pop.*drop.*index 8 ref", 75 "id": "95ee", string 92 "matchPattern": "action order [0-9]+: vlan.*pop.*reclassify.*index 8 ref", 99 "id": "0283", string 116 "matchPattern": "action order [0-9]+: vlan.*pop.*continue.*index 8 ref", [all …]
|
D | mpls.json | 3 "id": "a933", string 20 "matchPattern": "action order [0-9]+: mpls.*dec_ttl.*pipe.*index 8 ref", 27 "id": "08d1", string 44 "matchPattern": "action order [0-9]+: mpls.*dec_ttl.*pass.*index 8 ref", 51 "id": "d786", string 68 "matchPattern": "action order [0-9]+: mpls.*dec_ttl.*drop.*index 8 ref", 75 "id": "f334", string 92 "matchPattern": "action order [0-9]+: mpls.*dec_ttl.*reclassify.*index 8 ref", 99 "id": "29bd", string 116 "matchPattern": "action order [0-9]+: mpls.*dec_ttl.*continue.*index 8 ref", [all …]
|
/linux-5.10/include/uapi/linux/ |
D | if_ether.h | 1 /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ 3 * INET An implementation of the TCP/IP protocol suite for the LINUX 44 * These are the defined Ethernet Protocol ID's. 52 #define ETH_P_IP 0x0800 /* Internet Protocol packet */ 55 #define ETH_P_BPQ 0x08FF /* G8BPQ AX.25 Ethernet Packet [ NOT AN OFFICIALLY REGISTERED ID ] */ 58 #define ETH_P_BATMAN 0x4305 /* B.A.T.M.A.N.-Advanced packet [ NOT AN OFFICIALLY REGISTERED ID ] */ 76 #define ETH_P_SLOW 0x8809 /* Slow Protocol. See 802.3ad 43B */ 77 #define ETH_P_WCCP 0x883E /* Web-cache coordination protocol 78 * defined in draft-wilson-wrec-wccp-v2-00.txt */ 85 #define ETH_P_ATMFATE 0x8884 /* Frame-based ATM Transport [all …]
|
/linux-5.10/drivers/usb/common/ |
D | usb-otg-fsm.c | 1 // SPDX-License-Identifier: GPL-2.0+ 8 * Jerry Huang <Chang-Ming.Huang@freescale.com> 19 #include <linux/usb/otg-fsm.h> 28 /* Change USB protocol when there is a protocol change */ 29 static int otg_set_protocol(struct otg_fsm *fsm, int protocol) in otg_set_protocol() argument 33 if (fsm->protocol != protocol) { in otg_set_protocol() 34 VDBG("Changing role fsm->protocol= %d; new protocol= %d\n", in otg_set_protocol() 35 fsm->protocol, protocol); in otg_set_protocol() 36 /* stop old protocol */ in otg_set_protocol() 37 if (fsm->protocol == PROTO_HOST) in otg_set_protocol() [all …]
|
/linux-5.10/Documentation/devicetree/bindings/arm/ |
D | arm,scmi.txt | 1 System Control and Management Interface (SCMI) Message Protocol 2 ---------------------------------------------------------- 17 - compatible : shall be "arm,scmi" or "arm,scmi-smc" for smc/hvc transports 18 - mboxes: List of phandle and mailbox channel specifiers. It should contain 22 - shmem : List of phandle pointing to the shared memory(SHM) area as per 24 - #address-cells : should be '1' if the device has sub-nodes, maps to 25 protocol identifier for a given sub-node. 26 - #size-cells : should be '0' as 'reg' property doesn't have any size 28 - arm,smc-id : SMC id required when using smc or hvc transports 32 - mbox-names: shall be "tx" or "rx" depending on mboxes entries. [all …]
|
/linux-5.10/include/linux/ |
D | scmi_protocol.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * SCMI Message Protocol driver header 19 * struct scmi_revision_info - version information structure 26 * base protocol. 28 * @impl_ver: A vendor-specific implementation version. 30 * @sub_vendor_id: A sub-vendor identifier(Null terminated ASCII string) 61 * struct scmi_clk_ops - represents the various operations provided 62 * by SCMI Clock Protocol 85 * struct scmi_perf_ops - represents the various operations provided 86 * by SCMI Performance Protocol [all …]
|
D | pnp.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 5 * Copyright (C) 2008 Hewlett-Packard Development Company, L.P. 46 if (res && !(res->flags & IORESOURCE_DISABLED)) in pnp_resource_enabled() 53 if (res->start == 0 && res->end == 0) in pnp_resource_len() 65 return res->start; in pnp_port_start() 75 return res->end; in pnp_port_end() 85 return res->flags; in pnp_port_flags() 111 return res->start; in pnp_mem_start() 121 return res->end; in pnp_mem_end() 130 return res->flags; in pnp_mem_flags() [all …]
|
D | if_vlan.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 23 * According to 802.3ac, the packet can be 4 bytes longer. --Klika Jan 31 * struct vlan_hdr - vlan header 32 * @h_vlan_TCI: priority and VLAN ID 33 * @h_vlan_encapsulated_proto: packet type ID or len 41 * struct vlan_ethhdr - vlan ethernet header (ethhdr + vlan_hdr) 44 * @h_vlan_proto: ethernet protocol 45 * @h_vlan_TCI: priority and VLAN ID 46 * @h_vlan_encapsulated_proto: packet type ID or len 74 return dev->priv_flags & IFF_802_1Q_VLAN; in is_vlan_dev() [all …]
|
/linux-5.10/drivers/isdn/mISDN/ |
D | stack.c | 1 // SPDX-License-Identifier: GPL-2.0-only 26 printk(KERN_DEBUG "%s prim(%x) id(%x) %p\n", in _queue_message() 27 __func__, hh->prim, hh->id, skb); in _queue_message() 28 skb_queue_tail(&st->msgq, skb); in _queue_message() 29 if (likely(!test_bit(mISDN_STACK_STOPPED, &st->status))) { in _queue_message() 30 test_and_set_bit(mISDN_STACK_WORK, &st->status); in _queue_message() 31 wake_up_interruptible(&st->workq); in _queue_message() 38 _queue_message(ch->st, skb); in mISDN_queue_message() 43 get_channel4id(struct mISDNstack *st, u_int id) in get_channel4id() argument 47 mutex_lock(&st->lmutex); in get_channel4id() [all …]
|
/linux-5.10/Documentation/networking/ |
D | phonet.rst | 1 .. SPDX-License-Identifier: GPL-2.0 5 Linux Phonet protocol family 9 ------------ 11 Phonet is a packet protocol used by Nokia cellular modems for both IPC 19 - USB with the CDC Phonet interface, 20 - infrared, 21 - Bluetooth, 22 - an RS232 serial port (with a dedicated "FBUS" line discipline), 23 - the SSI bus with some TI OMAP processors. 27 -------------- [all …]
|
/linux-5.10/tools/testing/selftests/net/forwarding/ |
D | tc_vlan_modify.sh | 2 # SPDX-License-Identifier: GPL-2.0 113 tc filter add dev $swp1 ingress protocol all pref 1 handle 1 \ 114 flower action vlan modify id 65 115 tc filter add dev $swp2 ingress protocol all pref 1 handle 1 \ 116 flower action vlan modify id 85 126 tc filter del dev $swp2 ingress protocol all pref 1 handle 1 flower 127 tc filter del dev $swp1 ingress protocol all pref 1 handle 1 flower 140 tc filter add dev $swp1 egress protocol all pref 1 handle 1 \ 141 flower action vlan modify id 85 142 tc filter add dev $swp2 egress protocol all pref 1 handle 1 \ [all …]
|
/linux-5.10/drivers/firmware/arm_scmi/ |
D | notify.c | 1 // SPDX-License-Identifier: GPL-2.0 10 * SCMI Protocol specification allows the platform to signal events to 18 * Each SCMI Protocol implementation, during its initialization, registers with 28 * of the SCMI Protocol itself, the underlying notification chains are created 36 * All users provided callbacks and allocated notification-chains are stored in 44 * hash-keys. 47 * as described in the SCMI Protocol specification, while src_id represents an 48 * optional, protocol dependent, source identifier (like domain_id, perf_id 54 * pushes the event-data itself on a protocol-dedicated kfifo queue for further 57 * Each protocol has it own dedicated work_struct and worker which, once kicked [all …]
|
D | common.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * System Control and Management Interface (SCMI) Message Protocol 36 * struct scmi_msg_resp_prot_version - Response for a message 66 * struct scmi_msg_hdr - Message(Tx/Rx) header 68 * @id: The identifier of the message being sent 69 * @protocol_id: The identifier of the protocol used to send @id message 78 u8 id; member 86 * pack_scmi_header() - packs and returns 32-bit header 88 * @hdr: pointer to header containing all the information on message id, 89 * protocol id and sequence id. [all …]
|
D | bus.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * System Control and Management Interface (SCMI) Message Protocol bus layer 25 const struct scmi_device_id *id = scmi_drv->id_table; in scmi_dev_match_id() local 27 if (!id) in scmi_dev_match_id() 30 for (; id->protocol_id; id++) in scmi_dev_match_id() 31 if (id->protocol_id == scmi_dev->protocol_id) { in scmi_dev_match_id() 32 if (!id->name) in scmi_dev_match_id() 33 return id; in scmi_dev_match_id() 34 else if (!strcmp(id->name, scmi_dev->name)) in scmi_dev_match_id() 35 return id; in scmi_dev_match_id() [all …]
|
/linux-5.10/net/can/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 11 communications protocol. Development of the CAN bus started in 12 1983 at Robert Bosch GmbH, and the protocol was officially 15 applications. More information on the CAN network protocol family 24 tristate "Raw CAN Protocol (raw access with CAN-ID filtering)" 27 The raw CAN protocol option offers access to the CAN bus via 29 most cases where no higher level protocol is being used. The raw 30 socket has several filter options e.g. ID masking / error frames. 31 To receive/send raw CAN messages, use AF_CAN with protocol CAN_RAW. 34 tristate "Broadcast Manager CAN Protocol (with content filtering)" [all …]
|
/linux-5.10/drivers/input/touchscreen/ |
D | elo.c | 1 // SPDX-License-Identifier: GPL-2.0-only 11 * 'E271-2210' 10-byte protocol, Elo legacy 'E281A-4002' 6-byte protocol, Elo 12 * legacy 'E271-140' 4-byte protocol and Elo legacy 'E261-280' 3-byte protocol. 48 * Per-touchscreen data. 56 int id; member 67 struct input_dev *dev = elo->dev; in elo_process_data_10() 69 elo->data[elo->idx] = data; in elo_process_data_10() 71 switch (elo->idx++) { in elo_process_data_10() 73 elo->csum = 0xaa; in elo_process_data_10() 75 dev_dbg(&elo->serio->dev, in elo_process_data_10() [all …]
|
/linux-5.10/include/uapi/linux/usb/ |
D | audio.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 3 * <linux/usb/audio.h> -- USB Audio definitions. 37 /* A.5 Audio Class-Specific AC Interface Descriptor Subtypes */ 47 /* A.6 Audio Class-Specific AS Interface Descriptor Subtypes */ 61 /* A.8 Audio Class-Specific Endpoint Descriptor Subtypes */ 64 /* A.9 Audio Class-Specific Request Codes */ 104 #define UAC_CONTROL_BIT(CS) (1 << ((CS) - 1)) 106 /* A.10.3.1 Up/Down-mix Processing Unit Controls Selectors */ 141 /* MIDI - A.1 MS Class-Specific Interface Descriptor Subtypes */ 146 /* MIDI - A.1 MS Class-Specific Endpoint Descriptor Subtypes */ [all …]
|
/linux-5.10/drivers/net/wan/ |
D | hdlc_ppp.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Point-to-point protocol support 6 * Copyright (C) 1999 - 2008 Krzysztof Halasa <khc@pm.waw.pl> 52 __be16 protocol; member 57 u8 id; member 66 u16 pid; /* protocol ID */ 68 u8 cr_id; /* ID of last Configuration-Request */ 79 u8 echo_id; /* ID of last Echo-Request (LCP) */ 95 "Start", "Stop", "TO+", "TO-", "RCR+", "RCR-", "RCA", "RCN", 96 "RTR", "RTA", "RUC", "RXJ+", "RXJ-" [all …]
|
/linux-5.10/sound/usb/ |
D | mixer.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 17 * - support for UAC2 effect units 18 * - support for graphical equalizers 19 * - RANGE and MEM set commands (UAC2) 20 * - RANGE and MEM interrupt dispatchers (UAC2) 21 * - audio channel clustering (UAC2) 22 * - audio sample rate converter units (UAC2) 23 * - proper handling of clock multipliers (UAC2) 24 * - dispatch clock change notifications (UAC2) 25 * - stop PCM streams which use a clock that became invalid [all …]
|