| /linux/Documentation/devicetree/bindings/bus/ | 
| H A D | ti-sysc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)3 ---
 4 $id: http://devicetree.org/schemas/bus/ti-sysc.yaml#
 5 $schema: http://devicetree.org/meta-schemas/core.yaml#
 7 title: Texas Instruments interconnect target module
 10   - Tony Lindgren <tony@atomide.com>
 13   Texas Instruments SoCs can have a generic interconnect target module
 15   using Arteris NoC, and L4 interconnect using Sonics s3220. This module
 16   is mostly used for interaction between module and Power, Reset and Clock
 20   Each interconnect target module can have one or more devices connected to
 [all …]
 
 | 
| /linux/net/netfilter/ | 
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only71 	  and is also scheduled to replace the old syslog-based ipt_LOG
 96 	  To compile it as a module, choose M here.  If unsure, say N.
 107 	  If both are enabled the backend to use can be configured at run-time
 108 	  by means of per-address-family sysctl tunables.
 119 	  `CONNMARK' target and `connmark' match. Similar to the mark value
 130 	  packets using the CONNSECMARK target and copied back from
 131 	  connections to packets with the same target, with the packets
 173 	  via the CT target.
 182 	  This allows you to store the flow start-time and to obtain
 [all …]
 
 | 
| /linux/net/bridge/netfilter/ | 
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only40 	  To compile it as a module, choose M here.  If unsure, say N.
 51 	 (iptables-nft).
 76 	  To compile it as a module, choose M here.  If unsure, say N.
 86 	  To compile it as a module, choose M here.  If unsure, say N.
 96 	  To compile it as a module, choose M here.  If unsure, say N.
 105 	  To compile it as a module, choose M here.  If unsure, say N.
 112 	  MAC/IP address pairs can be matched, f.e. for anti-spoofing rules.
 114 	  To compile it as a module, choose M here.  If unsure, say N.
 122 	  To compile it as a module, choose M here.  If unsure, say N.
 [all …]
 
 | 
| /linux/Documentation/target/ | 
| H A D | tcm_mod_builder.rst | 2 The TCM v4 fabric module script generator7 This document is intended to be a mini-HOWTO for using the tcm_mod_builder.py
 8 script to generate a brand new functional TCM v4 fabric .ko module of your very own,
 13 	mkdir -p /sys/kernel/config/target/$TCM_NEW_MOD
 15 This script will create a new drivers/target/$TCM_NEW_MOD/, and will do the following
 17 	1) Generate new API callers for drivers/target/target_core_fabric_configs.c logic
 18 	   ->make_tpg(), ->drop_tpg(), ->make_wwn(), ->drop_wwn().  These are created
 20 	2) Generate basic infrastructure for loading/unloading LKMs and TCM/ConfigFS fabric module
 22 	3) Based on user defined T10 Proto_Ident for the new fabric module being built,
 23 	   the TransportID / Initiator and Target WWPN related handlers for
 [all …]
 
 | 
| /linux/arch/arm/boot/dts/ti/omap/ | 
| H A D | omap5-l4.dtsi | 2 	compatible = "ti,omap5-l4-cfg", "simple-pm-bus";3 	power-domains = <&prm_core>;
 5 	clock-names = "fck";
 9 	reg-names = "ap", "la", "ia0";
 10 	#address-cells = <1>;
 11 	#size-cells = <1>;
 21 		compatible = "simple-pm-bus";
 22 		#address-cells = <1>;
 23 		#size-cells = <1>;
 55 		target-module@2000 {			/* 0x4a002000, ap 3 44.0 */
 [all …]
 
 | 
| H A D | omap4-l4.dtsi | 1 // SPDX-License-Identifier: GPL-2.03 	compatible = "ti,omap4-l4-cfg", "simple-pm-bus";
 4 	power-domains = <&prm_core>;
 6 	clock-names = "fck";
 10 	reg-names = "ap", "la", "ia0";
 11 	#address-cells = <1>;
 12 	#size-cells = <1>;
 22 		compatible = "simple-pm-bus";
 23 		#address-cells = <1>;
 24 		#size-cells = <1>;
 [all …]
 
 | 
| H A D | omap5-l4-abe.dtsi | 2 	compatible = "ti,omap5-l4-abe", "simple-pm-bus";5 	reg-names = "la", "ap";
 6 	power-domains = <&prm_abe>;
 7 	/* OMAP5_L4_ABE_CLKCTRL is read-only */
 8 	#address-cells = <1>;
 9 	#size-cells = <1>;
 13 		compatible = "simple-pm-bus";
 14 		#address-cells = <1>;
 15 		#size-cells = <1>;
 89 		target-module@22000 {			/* 0x40122000, ap 2 02.0 */
 [all …]
 
 | 
| H A D | omap4.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only3  * Copyright (C) 2011 Texas Instruments Incorporated - https://www.ti.com/
 6 #include <dt-bindings/bus/ti-sysc.h>
 7 #include <dt-bindings/clock/omap4.h>
 8 #include <dt-bindings/gpio/gpio.h>
 9 #include <dt-bindings/interrupt-controller/arm-gic.h>
 10 #include <dt-bindings/pinctrl/omap.h>
 11 #include <dt-bindings/clock/omap4.h>
 15 	interrupt-parent = <&wakeupgen>;
 16 	#address-cells = <1>;
 [all …]
 
 | 
| H A D | omap4-l4-abe.dtsi | 2 	compatible = "ti,omap4-l4-abe", "simple-pm-bus";5 	reg-names = "la", "ap";
 6 	power-domains = <&prm_abe>;
 7 	/* OMAP4_L4_ABE_CLKCTRL is read-only */
 8 	#address-cells = <1>;
 9 	#size-cells = <1>;
 13 		compatible = "simple-pm-bus";
 14 		#address-cells = <1>;
 15 		#size-cells = <1>;
 89 		target-module@22000 {			/* 0x40122000, ap 2 02.0 */
 [all …]
 
 | 
| H A D | omap5.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only3  * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/
 8 #include <dt-bindings/bus/ti-sysc.h>
 9 #include <dt-bindings/gpio/gpio.h>
 10 #include <dt-bindings/interrupt-controller/arm-gic.h>
 11 #include <dt-bindings/pinctrl/omap.h>
 12 #include <dt-bindings/clock/omap5.h>
 15 	#address-cells = <2>;
 16 	#size-cells = <2>;
 19 	interrupt-parent = <&wakeupgen>;
 [all …]
 
 | 
| /linux/net/ipv4/netfilter/ | 
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only22 	  (iptables-nft).
 52 	  This module enables IPv4 packet duplication support for nf_tables.
 58 	  This module enables IPv4 FIB lookups, e.g. for reverse path filtering.
 84 	This is a backwards-compat option for the user's convenience
 92 	This is a backwards-compat option for the user's convenience
 101 	tristate "Basic SNMP-ALG support"
 108 	  This module implements an Application Layer Gateway (ALG) for
 112 	  inside SNMP payloads to match IP-layer NAT mapping.
 114 	  This is the "basic" form of SNMP-ALG, as described in RFC 2962
 [all …]
 
 | 
| H A D | arpt_mangle.c | 1 // SPDX-License-Identifier: GPL-2.0-only2 /* module that allows mangling of the arp payload */
 3 #include <linux/module.h>
 10 MODULE_DESCRIPTION("arptables arp payload mangle target");
 13 target(struct sk_buff *skb, const struct xt_action_param *par)  in target()  function
 15 	const struct arpt_mangle *mangle = par->targinfo;  in target()
 20 	if (skb_ensure_writable(skb, skb->len))  in target()
 25 	pln = arp->ar_pln;  in target()
 26 	hln = arp->ar_hln;  in target()
 28 	if (mangle->flags & ARPT_MANGLE_SDEV) {  in target()
 [all …]
 
 | 
| /linux/tools/testing/selftests/livepatch/ | 
| H A D | test-callbacks.sh | 2 # SPDX-License-Identifier: GPL-2.015 # Test a combination of loading a kernel module and a livepatch that
 16 # patches a function in the first module.  Load the target module
 17 # before the livepatch module.  Unload them in the same order.
 19 # - On livepatch enable, before the livepatch transition starts,
 20 #   pre-patch callbacks are executed for vmlinux and $MOD_TARGET (those
 22 #   according to the klp_patch, their post-patch callbacks run and the
 25 # - Similarly, on livepatch disable, pre-patch callbacks run before the
 26 #   unpatching transition starts.  klp_objects are reverted, post-patch
 29 start_test "target module before livepatch"
 [all …]
 
 | 
| /linux/net/ipv6/netfilter/ | 
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only18 	  (iptables-nft).
 48 	  This module enables IPv6 packet duplication support for nf_tables.
 54 	  This module enables IPv6 FIB lookups, e.g. for reverse path filtering.
 77 	  This is a backwards-compat option for the user's convenience
 91 	  To compile it as a module, choose M here.  If unsure, say N.
 100 	  This module allows one to match AH packets.
 102 	  To compile it as a module, choose M here.  If unsure, say N.
 108 	  This module performs checking on the IPv6 source address
 112 	  To compile it as a module, choose M here.  If unsure, say N.
 [all …]
 
 | 
| /linux/include/linux/netfilter_bridge/ | 
| H A D | ebtables.h | 1 /* SPDX-License-Identifier: GPL-2.0 */34 	struct module *me;
 40 	unsigned int (*target)(struct sk_buff *skb,  member
 42 		unsigned int hook_num, const struct xt_target *target,
 45 		const struct xt_target *target, void *targinfo,
 47 	void (*destroy)(const struct xt_target *target, void *targinfo);
 51 	struct module *me;
 58 	unsigned int (*target)(struct sk_buff *skb,  member
 60 		unsigned int hook_num, const struct xt_target *target,
 63 		const struct xt_target *target, void *targinfo,
 [all …]
 
 | 
| /linux/include/linux/platform_data/ | 
| H A D | ti-sysc.h | 1 /* SPDX-License-Identifier: GPL-2.0 */29  * struct sysc_regbits - TI OCP_SYSCONFIG register field offsets
 39  * Note that 0 is a valid shift, and for ti-sysc.c -ENODEV can be used if a
 87  * struct sysc_capabilities - capabilities for an interconnect target module
 88  * @type: sysc type identifier for the module
 91  * @mod_quirks: bitmask of module specific quirks
 101  * struct sysc_config - configuration for an interconnect target module
 126  * struct ti_sysc_module_data - ti-sysc to hwmod translation data for a module
 127  * @name: legacy "ti,hwmods" module name
 128  * @module_pa: physical address of the interconnect target module
 [all …]
 
 | 
| /linux/samples/livepatch/ | 
| H A D | livepatch-callbacks-demo.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later7  * livepatch-callbacks-demo.c - (un)patching callbacks livepatch demo
 11  * -------
 17  * -----
 19  * Step 1 - load the simple module
 21  *   insmod samples/livepatch/livepatch-callbacks-mod.ko
 24  * Step 2 - load the demonstration livepatch (with callbacks)
 26  *   insmod samples/livepatch/livepatch-callbacks-demo.ko
 29  * Step 3 - cleanup
 36  * and patching operations for both vmlinux and module targets.
 [all …]
 
 | 
| /linux/scripts/ | 
| H A D | markup_oops.pl | 2 # SPDX-License-Identifier: GPL-2.0-only22 	'cross-compile|c=s'	=> \$cross_compile,
 23 	'module|m=s'		=> \$modulefile,
 28 	my $kerver = `uname -r`;
 37 my $target = "0";
 39 my $module = "";
 49 	if ($line =~ /EAX: ([0-9a-f]+) EBX: ([0-9a-f]+) ECX: ([0-9a-f]+) EDX: ([0-9a-f]+)/) {
 55 	if ($line =~ /ESI: ([0-9a-f]+) EDI: ([0-9a-f]+) EBP: ([0-9a-f]+) ESP: ([0-9a-f]+)/) {
 60 	if ($line =~ /RAX: ([0-9a-f]+) RBX: ([0-9a-f]+) RCX: ([0-9a-f]+)/) {
 65 	if ($line =~ /RDX: ([0-9a-f]+) RSI: ([0-9a-f]+) RDI: ([0-9a-f]+)/) {
 [all …]
 
 | 
| H A D | Makefile.lib | 1 # SPDX-License-Identifier: GPL-2.03 # Finds the multi-part object the current object will be linked into.
 4 # If the object belongs to two or more multi-part objects, list them all.
 5 modname-multi = $(sort $(foreach m,$(multi-obj-ym),\
 6 		$(if $(filter $*.o, $(call suffix-search, $m, .o, -objs -y -m)),$(m:.o=))))
 8 __modname = $(or $(modname-multi),$(basetarget))
 13 # target with $(obj)/ and its suffix stripped
 14 target-stem = $(basename $(patsubst $(obj)/%,%,$@))
 17 # $(modname_flags) defines KBUILD_MODNAME as the name of the module it will
 19 name-fix-token = $(subst $(comma),_,$(subst -,_,$1))
 [all …]
 
 | 
| /linux/include/linux/netfilter/ | 
| H A D | x_tables.h | 1 /* SPDX-License-Identifier: GPL-2.0 */11 /* Test a struct->invflags and a boolean for inequality */
 13 	((boolean) ^ !!((ptr)->invflags & (flag)))
 16  * struct xt_action_param - parameters for matches/targets
 19  * @target:	the target extension
 20  * @matchinfo:	per-match data
 21  * @targetinfo:	per-target data
 24  * @thoff:	position of transport header relative to skb->data
 33 		const struct xt_target *target;  member
 46 	return par->state->net;  in xt_net()
 [all …]
 
 | 
| /linux/drivers/target/tcm_remote/ | 
| H A D | tcm_remote.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later3 #include <linux/module.h>
 15 #include <target/target_core_base.h>
 16 #include <target/target_core_fabric.h>
 28 	 * Return the passed NAA identifier for the Target Port  in tcm_remote_get_endpoint_wwn()
 30 	return &remote_tpg(se_tpg)->remote_hba->remote_wwn_address[0];  in tcm_remote_get_endpoint_wwn()
 37 	 * to represent the SCSI Target Port.  in tcm_remote_get_tag()
 39 	return remote_tpg(se_tpg)->remote_tpgt;  in tcm_remote_get_tag()
 54 	switch (remote_hba->remote_proto_id) {  in tcm_remote_dump_proto_id()
 75 		 lun->unpacked_lun);  in tcm_remote_port_link()
 [all …]
 
 | 
| /linux/drivers/target/sbp/ | 
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only3 	tristate "FireWire SBP-2 fabric module"
 6 	  Say Y or M here to enable SCSI target functionality over FireWire.
 8 	  bus, for example hard disks. Similar to FireWire Target Disk mode on
 11 	  To compile this driver as a module, say M here: The module will be
 12 	  called sbp-target.
 
 | 
| /linux/arch/mips/kernel/ | 
| H A D | jump_label.c | 23  * - the ISA bit of the target, either 0 or 1 respectively,25  * - the amount the jump target address is shifted right to fit in the
 28  * - the mask determining the size of the jump region relative to the
 29  *   delay-slot instruction, either 256MB or 128MB,
 31  * - the jump target alignment, either 4 or 2 bytes.
 34 #define J_RANGE_SHIFT	(2 - J_ISA_BIT)
 35 #define J_RANGE_MASK	((1ul << (26 + J_RANGE_SHIFT)) - 1)
 36 #define J_ALIGN_MASK	((1ul << J_RANGE_SHIFT) - 1)
 45 	insn_p = (union mips_instruction *)msk_isa16_mode(e->code);  in arch_jump_label_transform()
 47 	/* Target must have the right alignment and ISA must be preserved. */  in arch_jump_label_transform()
 [all …]
 
 | 
| /linux/tools/testing/selftests/hid/ | 
| H A D | run-hid-tools-tests.sh | 2 # SPDX-License-Identifier: GPL-2.07 if ! command -v python3 > /dev/null 2>&1; then
 8 	echo "hid-tools: [SKIP] python3 not installed"
 12 if ! python3 -c "import pytest" > /dev/null 2>&1; then
 13 	echo "hid: [SKIP] pytest module not installed"
 17 if ! python3 -c "import pytest_tap" > /dev/null 2>&1; then
 18 	echo "hid: [SKIP] pytest_tap module not installed"
 22 if ! python3 -c "import hidtools" > /dev/null 2>&1; then
 23 	echo "hid: [SKIP] hid-tools module not installed"
 27 TARGET=${TARGET:=.}
 [all …]
 
 | 
| /linux/tools/perf/util/ | 
| H A D | probe-event.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later3  * probe-event.c : perf-probe definition to probe_events format converter
 23 #include "build-id.h"
 36 #include "trace-event.h"	/* For __maybe_unused */
 37 #include "probe-event.h"
 38 #include "probe-finder.h"
 39 #include "probe-file.h"
 43 #include "parse-events.h"
 73 		ret = -E2BIG;  in e_snprintf()
 103 		ret = -1;  in init_probe_symbol_maps()
 [all …]
 
 |