/Linux-v5.15/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. 34 static void pnp_remove_protocol(struct pnp_protocol *protocol) in pnp_remove_protocol() argument 37 list_del(&protocol->protocol_list); in pnp_remove_protocol() 42 * pnp_register_protocol - adds a pnp protocol to the pnp layer 43 * @protocol: pointer to the corresponding pnp_protocol structure 47 int pnp_register_protocol(struct pnp_protocol *protocol) in pnp_register_protocol() argument [all …]
|
/Linux-v5.15/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 | u32.json | 3 "id": "afa9", string 15 …"cmdUnderTest": "$TC filter add dev $DEV1 ingress protocol ip prio 1 u32 match ip src 127.0.0.1/32… 18 …"matchPattern": "filter protocol ip pref 1 u32 chain (0[ ]+$|0 fh 800: ht divisor 1|0 fh 800::800 … 25 "id": "6aa7", string 37 …"cmdUnderTest": "$TC filter replace dev $DEV1 ingress protocol ip prio 1 u32 match ip src 127.0.0.… 40 "matchPattern": "filter protocol ip pref 1 u32 chain 0", 47 "id": "bc4d", string 58 …"$TC filter add dev $DEV1 ingress protocol ip prio 1 u32 match ip src 127.0.0.3/32 flowid 1:3 acti… 60 …"cmdUnderTest": "$TC filter replace dev $DEV1 ingress protocol ip prio 1 u32 match ip src 127.0.0.… 63 …"matchPattern": "filter protocol ip pref 1 u32 chain (0[ ]+$|0 fh 800: ht divisor 1|0 fh 800::800 … [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-v5.15/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-v5.15/drivers/firmware/arm_scmi/ |
D | common.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * System Control and Management Interface (SCMI) Message Protocol 7 * Copyright (C) 2018-2021 ARM Ltd. 43 * struct scmi_msg_resp_prot_version - Response for a message 75 * maximum number of in-flight messages on a specific platform, but such value 83 * struct scmi_msg_hdr - Message(Tx/Rx) header 85 * @id: The identifier of the message being sent 86 * @protocol_id: The identifier of the protocol used to send @id message 96 u8 id; member 105 * pack_scmi_header() - packs and returns 32-bit header [all …]
|
D | bus.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * System Control and Management Interface (SCMI) Message Protocol bus layer 5 * Copyright (C) 2018-2021 ARM Ltd. 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() [all …]
|
D | notify.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2020-2021 ARM Ltd. 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 [all …]
|
D | notify.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * System Control and Management Interface (SCMI) Message Protocol 7 * Copyright (C) 2020-2021 ARM Ltd. 19 * struct scmi_event - Describes an event to be supported 20 * @id: Event ID 24 * Each SCMI protocol, during its initialization phase, can describe the events 29 u8 id; member 37 * struct scmi_event_ops - Protocol helpers called by the notification core. 39 * protocol 41 * using the proper custom protocol commands. [all …]
|
D | base.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * System Control and Management Interface (SCMI) Base Protocol 5 * Copyright (C) 2018-2021 ARM Ltd. 8 #define pr_fmt(fmt) "SCMI Notifications BASE - " fmt 51 * scmi_base_attributes_get() - gets the implementation details 52 * that are associated with the base protocol. 54 * @ph: SCMI protocol handle 63 struct scmi_revision_info *rev = ph->get_priv(ph); in scmi_base_attributes_get() 65 ret = ph->xops->xfer_get_init(ph, PROTOCOL_ATTRIBUTES, in scmi_base_attributes_get() 70 ret = ph->xops->do_xfer(ph, t); in scmi_base_attributes_get() [all …]
|
D | driver.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * System Control and Management Interface (SCMI) Message Protocol driver 5 * SCMI Message Protocol is used between the System Control Processor(SCP) 7 * provides a mechanism for inter-processor communication between SCP's 14 * Copyright (C) 2018-2021 ARM Ltd. 41 SCMI_ERR_SUPPORT = -1, /* Not supported */ 42 SCMI_ERR_PARAMS = -2, /* Invalid Parameters */ 43 SCMI_ERR_ACCESS = -3, /* Invalid access/permission denied */ 44 SCMI_ERR_ENTRY = -4, /* Not found */ 45 SCMI_ERR_RANGE = -5, /* Value out of range */ [all …]
|
/Linux-v5.15/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-v5.15/tools/testing/selftests/drivers/net/mlxsw/ |
D | q_in_q_veto.sh | 2 # SPDX-License-Identifier: GPL-2.0 56 protocol $netdev_proto id 100 2>/dev/null 60 protocol $netdev_proto id 100 2>&1 >/dev/null \ 61 | grep -q mlxsw_spectrum 74 protocol 802.1ad id 100 2>/dev/null 78 protocol 802.1ad id 100 2>&1 >/dev/null \ 79 | grep -q mlxsw_spectrum 96 protocol 802.1ad id 100 2>/dev/null 100 protocol 802.1ad id 100 2>&1 >/dev/null \ 101 | grep -q mlxsw_spectrum [all …]
|
/Linux-v5.15/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-v5.15/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-v5.15/Documentation/devicetree/bindings/firmware/ |
D | arm,scmi.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/firmware/arm,scmi.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: System Control and Management Interface (SCMI) Message Protocol bindings 11 - Sudeep Holla <sudeep.holla@arm.com> 31 - description: SCMI compliant firmware with mailbox transport 33 - const: arm,scmi 34 - description: SCMI compliant firmware with ARM SMC/HVC transport 36 - const: arm,scmi-smc [all …]
|
/Linux-v5.15/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-v5.15/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-v5.15/drivers/net/ethernet/intel/iavf/ |
D | iavf_fdir.c | 1 // SPDX-License-Identifier: GPL-2.0 22 * iavf_pkt_udp_no_pay_len - the length of UDP packet without payload 28 (fltr->ip_ver == 4 ? sizeof(struct iphdr) : sizeof(struct ipv6hdr)) + in iavf_pkt_udp_no_pay_len() 33 * iavf_fill_fdir_gtpu_hdr - fill the GTP-U protocol header 35 * @proto_hdrs: Flow Director protocol headers data structure 37 * Returns 0 if the GTP-U protocol header is set successfully 43 struct virtchnl_proto_hdr *uhdr = &proto_hdrs->proto_hdr[proto_hdrs->count - 1]; in iavf_fill_fdir_gtpu_hdr() 44 struct virtchnl_proto_hdr *ghdr = &proto_hdrs->proto_hdr[proto_hdrs->count++]; in iavf_fill_fdir_gtpu_hdr() 53 for (i = 0; i < fltr->flex_cnt; i++) { in iavf_fill_fdir_gtpu_hdr() 64 if (fltr->flex_words[i].offset < adj_offs) in iavf_fill_fdir_gtpu_hdr() [all …]
|
/Linux-v5.15/include/linux/ |
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 …]
|
/Linux-v5.15/net/can/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 10 communications protocol. Development of the CAN bus started in 11 1983 at Robert Bosch GmbH, and the protocol was officially 14 applications. More information on the CAN network protocol family 23 tristate "Raw CAN Protocol (raw access with CAN-ID filtering)" 26 The raw CAN protocol option offers access to the CAN bus via 28 most cases where no higher level protocol is being used. The raw 29 socket has several filter options e.g. ID masking / error frames. 30 To receive/send raw CAN messages, use AF_CAN with protocol CAN_RAW. 33 tristate "Broadcast Manager CAN Protocol (with content filtering)" [all …]
|