| /linux/drivers/net/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 7 default y if UML 25 # All the following symbols are dependent on NETDEVICES - do not repeat 33 default y 63 This is essentially a bit-bucket device (i.e. traffic you send to 133 section 6.2 of the NET-3-HOWTO, available from 169 tristate "MAC-VLAN support" 175 iproute2 package starting with the iproute2-2.6.23 release: 183 tristate "MAC-VLAN based tap driver" 186 select TAP [all …]
|
| H A D | macvtap.c | 1 // SPDX-License-Identifier: GPL-2.0-only 30 struct tap_dev tap; member 40 const struct net_device *dev = to_net_dev(d->parent); in macvtap_net_namespace() 54 static void macvtap_count_tx_dropped(struct tap_dev *tap) in macvtap_count_tx_dropped() argument 56 struct macvtap_dev *vlantap = container_of(tap, struct macvtap_dev, tap); in macvtap_count_tx_dropped() 57 struct macvlan_dev *vlan = &vlantap->vlan; in macvtap_count_tx_dropped() 59 this_cpu_inc(vlan->pcpu_stats->tx_dropped); in macvtap_count_tx_dropped() 62 static void macvtap_count_rx_dropped(struct tap_dev *tap) in macvtap_count_rx_dropped() argument 64 struct macvtap_dev *vlantap = container_of(tap, struct macvtap_dev, tap); in macvtap_count_rx_dropped() 65 struct macvlan_dev *vlan = &vlantap->vlan; in macvtap_count_rx_dropped() [all …]
|
| H A D | tap.c | 1 // SPDX-License-Identifier: GPL-2.0-only 34 .name = "tap", 61 return rcu_dereference(dev->rx_handler_data); in tap_dev_get_rcu() 71 * through sock_hold(&q->sk). When the macvlan_dev goes away first, 72 * q->vlan becomes inaccessible. When the files gets closed, 81 static int tap_enable_queue(struct tap_dev *tap, struct file *file, in tap_enable_queue() argument 84 int err = -EINVAL; in tap_enable_queue() 88 if (q->enabled) in tap_enable_queue() 92 rcu_assign_pointer(tap->taps[tap->numvtaps], q); in tap_enable_queue() 93 q->queue_index = tap->numvtaps; in tap_enable_queue() [all …]
|
| /linux/drivers/net/ipvlan/ |
| H A D | ipvtap.c | 1 // SPDX-License-Identifier: GPL-2.0-only 35 const struct net_device *dev = to_net_dev(d->parent); in ipvtap_net_namespace() 47 struct tap_dev tap; member 50 static void ipvtap_count_tx_dropped(struct tap_dev *tap) in ipvtap_count_tx_dropped() argument 52 struct ipvtap_dev *vlantap = container_of(tap, struct ipvtap_dev, tap); in ipvtap_count_tx_dropped() 53 struct ipvl_dev *vlan = &vlantap->vlan; in ipvtap_count_tx_dropped() 55 this_cpu_inc(vlan->pcpu_stats->tx_drps); in ipvtap_count_tx_dropped() 58 static void ipvtap_count_rx_dropped(struct tap_dev *tap) in ipvtap_count_rx_dropped() argument 60 struct ipvtap_dev *vlantap = container_of(tap, struct ipvtap_dev, tap); in ipvtap_count_rx_dropped() 61 struct ipvl_dev *vlan = &vlantap->vlan; in ipvtap_count_rx_dropped() [all …]
|
| /linux/include/linux/input/ |
| H A D | adxl34x.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 31 * Y, or Z participation in Tap detection. A '0' excludes the 32 * selected axis from participation in Tap detection. 33 * Setting the SUPPRESS bit suppresses Double Tap detection if 35 * tap_latency period, i.e. after the first tap but before the 36 * opening of the second tap window. 48 * holds the threshold value for tap detection/interrupts. 51 * behavior if Tap/Double Tap is enabled. 60 * to qualify as a tap event. The scale factor is 625 us/LSB. A zero 61 * value will prevent Tap/Double Tap functions from working. [all …]
|
| /linux/drivers/firewire/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 4 # firewire-core does not depend on PCI but is 11 This is the new-generation IEEE 1394 (FireWire) driver stack 19 called firewire-core. 24 default KUNIT_ALL_TESTS 30 log in TAP format (https://testanything.org/). Only useful for 35 to the KUnit documentation in Documentation/dev-tools/kunit/. 40 default KUNIT_ALL_TESTS 46 log in TAP format (https://testanything.org/). Only useful for 51 to the KUnit documentation in Documentation/dev-tools/kunit/. [all …]
|
| /linux/drivers/iio/accel/ |
| H A D | adxl345.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * ADXL345 3-Axis Digital Accelerometer 18 /* Tap duration */ 20 /* Tap latency */ 22 /* Tap window */ 32 /* Free-fall threshold */ 34 /* Free-fall time */ 36 /* Axis control for single tap or double tap */ 38 /* Source of single tap or double tap */ 69 * BW_RATE bits - Bandwidth and output data rate. The default value is [all …]
|
| H A D | bma400_core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 * - Support for power management 9 * - Support events and interrupts 10 * - Create channel for step count 11 * - Create channel for sensor time 38 * The G-range selection may be one of 2g, 4g, 8, or 16g. The scale may 152 default: in bma400_is_writable_reg() 184 default: in bma400_is_volatile_reg() 205 return &data->orientation; in bma400_accel_get_mount_matrix() 267 return -EINVAL; in usec_to_tapreg_raw() [all …]
|
| /linux/Documentation/networking/ |
| H A D | tuntap.rst | 1 .. SPDX-License-Identifier: GPL-2.0 5 Universal TUN/TAP device driver 8 Copyright |copy| 1999-2000 Maxim Krasnyansky <max_mk@yahoo.com> 11 Copyright |copy| 1999-2000 Maxim Krasnyansky <max_mk@yahoo.com> 13 FreeBSD TAP driver 14 Copyright |copy| 1999-2000 Maksim Yevmenkin <m_evmenkin@yahoo.com> 21 TUN/TAP provides packet reception and transmission for user space programs. 22 It can be seen as a simple Point-to-Point or Ethernet device, which, 34 IP packets (with tun) or ethernet frames (with tap). Which one is being used 38 for how to use tun and tap devices. Both programs work like a bridge between [all …]
|
| /linux/tools/testing/selftests/net/ |
| H A D | test_vxlan_under_vrf.sh | 2 # SPDX-License-Identifier: GPL-2.0 4 # This test is for checking VXLAN underlay in a non-default VRF. 11 # +-------------------+ +-------------------+ 13 # | vm-1 netns | | vm-2 netns | 15 # | +-------------+ | | +-------------+ | 16 # | | veth-hv | | | | veth-hv | | 18 # | +-------------+ | | +-------------+ | 20 # +-------------------+ +-------------------+ 24 # +-----------------------------------+ +------------------------------------+ 26 # | +----------+ | | +----------+ | [all …]
|
| /linux/Documentation/devicetree/bindings/net/ |
| H A D | amd-xgbe.txt | 1 * AMD 10GbE driver (amd-xgbe) 4 - compatible: Should be "amd,xgbe-seattle-v1a" 5 - reg: Address and length of the register sets for the device 6 - MAC registers 7 - PCS registers 8 - SerDes Rx/Tx registers 9 - SerDes integration registers (1/2) 10 - SerDes integration registers (2/2) 11 - interrupts: Should contain the amd-xgbe interrupt(s). The first interrupt 13 amd,per-channel-interrupt property is specified, then one additional [all …]
|
| /linux/Documentation/devicetree/bindings/input/ |
| H A D | iqs269a.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jeff LaBundy <jeff@labundy.com> 13 - $ref: input.yaml# 16 The Azoteq IQS269A is an 8-channel capacitive touch controller that features 17 additional Hall-effect and inductive sensing capabilities. 24 - azoteq,iqs269a 25 - azoteq,iqs269a-00 26 - azoteq,iqs269a-d0 [all …]
|
| H A D | iqs626a.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jeff LaBundy <jeff@labundy.com> 13 The Azoteq IQS626A is a 14-channel capacitive touch controller that features 14 additional Hall-effect and inductive sensing capabilities. 19 - $ref: touchscreen/touchscreen.yaml# 31 "#address-cells": 34 "#size-cells": 37 azoteq,suspend-mode: [all …]
|
| /linux/drivers/vhost/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 18 default n 30 default y 36 depends on NET && EVENTFD && (TUN || !TUN) && (TAP || !TAP) 51 default n 54 for use with virtio-scsi guests 57 tristate "vhost virtio-vsock driver" 61 default n 65 virtio_transport.ko driver loaded to use the virtio-vsock device. 71 tristate "Vhost driver for vDPA-based backend" [all …]
|
| /linux/tools/testing/selftests/drivers/net/ |
| H A D | README.rst | 1 .. SPDX-License-Identifier: GPL-2.0 13 By default, when no extra parameters are set or exported, tests execute 17 (for example) can be run under ``virtme-ng`` like the core networking selftests. 33 and a real device. SW-only tests should instead be placed in net/ or 34 drivers/net/netdevsim, HW-only tests in drivers/net/hw. 69 Test framework has built-in support for ``netns`` and ``ssh`` channels. 86 for netns - name of the "remote" namespace 87 for ssh - name/address of the remote host 94 # make -C tools/testing/selftests/ TARGETS="drivers/net drivers/net/hw" 98 # make -C tools/testing/selftests/ TARGETS="drivers/net drivers/net/hw" \ [all …]
|
| /linux/drivers/media/platform/ti/omap3isp/ |
| H A D | ispresizer.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * TI OMAP3 ISP - Resizer module 42 * "TRM ES3.1, table 12-46" 58 * Default (and only) configuration of filter coefficients. 59 * 7-tap mode is for scale factors 0.25x to 0.5x. 60 * 4-tap mode is for scale factors 0.5x to 4.0x. 64 /* For 8-phase 4-tap horizontal filter: */ 75 /* For 8-phase 4-tap vertical filter: */ 86 /* For 4-phase 7-tap horizontal filter: */ 94 /* For 4-phase 7-tap vertical filter: */ [all …]
|
| /linux/Documentation/devicetree/bindings/input/touchscreen/ |
| H A D | azoteq,iqs7211.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jeff LaBundy <jeff@labundy.com> 13 The Azoteq IQS7210A, IQS7211A and IQS7211E trackpad and touchscreen control- 14 lers employ projected-capacitance sensing and can track two contacts. 21 - azoteq,iqs7210a 22 - azoteq,iqs7211a 23 - azoteq,iqs7211e 28 irq-gpios: [all …]
|
| /linux/Documentation/dev-tools/kunit/ |
| H A D | running_tips.rst | 1 .. SPDX-License-Identifier: GPL-2.0 11 -------------------------- 15 .. code-block:: bash 18 ( cd "$(git rev-parse --show-toplevel)" && ./tools/testing/kunit/kunit.py run "$@" ) 26 ------------------------- 33 .. code-block:: bash 35 $ echo -e 'CONFIG_KUNIT=y\nCONFIG_KUNIT_ALL_TESTS=y' > .kunit/.kunitconfig 40 .. code-block:: bash 42 $ echo -e 'CONFIG_KUNIT=y\nCONFIG_KUNIT_ALL_TESTS=y' > .kunit/.kunitconfig 53 ----------------------- [all …]
|
| /linux/Documentation/virt/uml/ |
| H A D | user_mode_linux_howto_v2.rst | 1 .. SPDX-License-Identifier: GPL-2.0 25 Most OSes today have built-in support for a number of "fake" 27 User Mode Linux takes this concept to the ultimate extreme - there 30 concepts which map onto something provided by the host - files, sockets, 36 The UML kernel is just a process running on Linux - same as any other 57 * You can run a usermode kernel as a non-root user (you may need to 99 This is extremely easy on Debian - you can do it using debootstrap. It is 100 also easy on OpenWRT - the build process can build UML images. All other 101 distros - YMMV. 114 or by running ``tune2fs -o discard /dev/ubdXX`` will request UML to [all …]
|
| /linux/tools/testing/selftests/tc-testing/ |
| H A D | tdc.py | 2 # SPDX-License-Identifier: GPL-2.0 5 tdc.py - Linux tc (Traffic Control) unit test driver 55 mn = fn[0:-3] 61 pgname = pgname[0:-3] 72 self.plugin_instances[-1][1].check_args(self.args, None) 101 pgd = ['plugin-lib', 'plugin-lib-custom'] 224 foutput = serr.decode("utf-8", errors="ignore") 226 foutput = rawout.decode("utf-8", errors="ignore") 383 tap = "" 413 NAMES['NS'] = '{}-{}'.format(NAMES['NS'], tidx['random']) [all …]
|
| /linux/tools/testing/kunit/ |
| H A D | kunit_parser.py | 1 # SPDX-License-Identifier: GPL-2.0 4 # results with reader-friendly format. Stores and returns test results in a 29 status : TestStatus - status of the test 30 name : str - name of the test 31 expected_count : int - expected number of subtests (0 if single 33 subtests : List[Test] - list of subtests 34 log : List[str] - log of KTAP lines that correspond to the test 35 counts : TestCounts - count [all...] |
| /linux/sound/soc/meson/ |
| H A D | axg-pdm.c | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 12 #include <sound/soc-dai.h> 53 #define PDM_CHAN_CTRL_POINTER_MAX ((1 << PDM_CHAN_CTRL_POINTER_WIDTH) - 1) 64 const unsigned int *tap; member 134 axg_pdm_enable(priv->map); in axg_pdm_trigger() 140 axg_pdm_disable(priv->map); in axg_pdm_trigger() 143 default: in axg_pdm_trigger() 144 return -EINVAL; in axg_pdm_trigger() 150 const struct axg_pdm_filters *filters = priv->cfg->filters; in axg_pdm_get_os() 151 unsigned int os = filters->hcic.ds; in axg_pdm_get_os() [all …]
|
| /linux/drivers/input/mouse/ |
| H A D | byd.c | 1 // SPDX-License-Identifier: GPL-2.0-only 38 * Absolute coordinate packets are in the range 0-255 for both X and Y 59 * Swipe gesture from off-pad to on-pad 65 * Tap and drag delay time 67 * 1 - 8 : least to most delay 100 * Tap to click 106 * Tap and drag 107 * 1 : tap and hold to drag 108 * 2 : tap and hold to drag + lock 114 * 1 - 7 : least to most sensitive [all …]
|
| /linux/arch/riscv/kernel/tests/ |
| H A D | Kconfig.debug | 1 # SPDX-License-Identifier: GPL-2.0-only 5 …def_bool $(as-instr,.reloc label$(comma) R_RISCV_SET_ULEB128$(comma) 127\n.reloc label$(comma) R_R… 9 default y 18 default KUNIT_ALL_TESTS 24 in TAP format (http://testanything.org/). Only useful for kernel devs 29 to the KUnit documentation in Documentation/dev-tools/kunit/. 37 default KUNIT_ALL_TESTS
|
| /linux/drivers/input/rmi4/ |
| H A D | rmi_f11.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2011-2015 Synaptics Incorporated 181 * struct f11_2d_sensor_queries - describes sensor capabilities 185 * @nr_fingers: describes the maximum number of fingers the 2-D sensor 193 * @nr_x_electrodes: the maximum number of electrodes the 2-D sensor 195 * @nr_y_electrodes: the maximum number of electrodes the 2-D sensor 205 * @has_anchored_finger: then the sensor supports the high-precision second 224 * @has_single_tap: a basic single-tap gesture is supported. 225 * @has_tap_n_hold: tap-and-hold gesture is supported. 226 * @has_double_tap: double-tap gesture is supported. [all …]
|