| /linux/drivers/net/ |
| H A D | tap.c | 34 .name = "tap", 81 static int tap_enable_queue(struct tap_dev *tap, struct file *file, in tap_enable_queue() argument 92 rcu_assign_pointer(tap->taps[tap->numvtaps], q); in tap_enable_queue() 93 q->queue_index = tap->numvtaps; in tap_enable_queue() 96 tap->numvtaps++; in tap_enable_queue() 102 static int tap_set_queue(struct tap_dev *tap, struct file *file, in tap_set_queue() argument 105 if (tap->numqueues == MAX_TAP_QUEUES) in tap_set_queue() 108 rcu_assign_pointer(q->tap, tap); in tap_set_queue() 109 rcu_assign_pointer(tap->taps[tap->numvtaps], q); in tap_set_queue() 113 q->queue_index = tap->numvtaps; in tap_set_queue() [all …]
|
| H A D | macvtap.c | 30 struct tap_dev tap; member 55 static void macvtap_count_tx_dropped(struct tap_dev *tap) in macvtap_count_tx_dropped() argument 57 struct macvtap_dev *vlantap = container_of(tap, struct macvtap_dev, tap); in macvtap_count_tx_dropped() 63 static void macvtap_count_rx_dropped(struct tap_dev *tap) in macvtap_count_rx_dropped() argument 65 struct macvtap_dev *vlantap = container_of(tap, struct macvtap_dev, tap); in macvtap_count_rx_dropped() 71 static void macvtap_update_features(struct tap_dev *tap, in macvtap_update_features() argument 74 struct macvtap_dev *vlantap = container_of(tap, struct macvtap_dev, tap); in macvtap_update_features() 88 INIT_LIST_HEAD(&vlantap->tap.queue_list); in macvtap_newlink() 91 * tap support all offloads also. in macvtap_newlink() 93 vlantap->tap.tap_features = TUN_OFFLOADS; in macvtap_newlink() [all …]
|
| H A D | Kconfig | 180 tristate "MAC-VLAN based tap driver" 183 select TAP 185 This adds a specialized tap character device driver that is based 188 macvtap', and then be accessed through the tap user space interface. 217 tristate "IP-VLAN based tap driver" 220 select TAP 222 This adds a specialized tap character device driver that is based 225 ipvtap', and then be accessed through the tap user space interface. 392 tristate "Universal TUN/TAP device driver support" 396 TUN/TAP provide 422 config TAP global() config [all...] |
| /linux/drivers/net/ipvlan/ |
| H A D | ipvtap.c | 48 struct tap_dev tap; member 51 static void ipvtap_count_tx_dropped(struct tap_dev *tap) in ipvtap_count_tx_dropped() argument 53 struct ipvtap_dev *vlantap = container_of(tap, struct ipvtap_dev, tap); in ipvtap_count_tx_dropped() 59 static void ipvtap_count_rx_dropped(struct tap_dev *tap) in ipvtap_count_rx_dropped() argument 61 struct ipvtap_dev *vlantap = container_of(tap, struct ipvtap_dev, tap); in ipvtap_count_rx_dropped() 67 static void ipvtap_update_features(struct tap_dev *tap, in ipvtap_update_features() argument 70 struct ipvtap_dev *vlantap = container_of(tap, struct ipvtap_dev, tap); in ipvtap_update_features() 84 INIT_LIST_HEAD(&vlantap->tap.queue_list); in ipvtap_newlink() 87 * tap support all offloads also. in ipvtap_newlink() 89 vlantap->tap.tap_features = TUN_OFFLOADS; in ipvtap_newlink() [all …]
|
| /linux/include/linux/ |
| H A D | if_tap.h | 28 * Maximum times a tap device can be opened. This can be used to 47 void (*update_features)(struct tap_dev *tap, netdev_features_t features); 48 void (*count_tx_dropped)(struct tap_dev *tap); 49 void (*count_rx_dropped)(struct tap_dev *tap); 53 * A tap queue is the central object of tap module, it connects 67 struct tap_dev __rcu *tap; member 77 void tap_del_queues(struct tap_dev *tap); 78 int tap_get_minor(dev_t major, struct tap_dev *tap); 79 void tap_free_minor(dev_t major, struct tap_dev *tap); 80 int tap_queue_resize(struct tap_dev *tap);
|
| /linux/Documentation/networking/ |
| H A D | tuntap.rst | 5 Universal TUN/TAP device driver 13 FreeBSD TAP driver 21 TUN/TAP provides packet reception and transmission for user space programs. 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 104 * IFF_TAP - TAP device 158 * IFF_TAP - TAP device 209 Universal TUN/TAP device driver Frequently Asked Question 212 1. What platforms are supported by TUN/TAP driver ? 220 2. What is TUN/TAP driver used for? [all …]
|
| /linux/kernel/rcu/ |
| H A D | refscale.c | 426 unsigned long *tap = this_cpu_ptr(&test_acqrel); 428 WRITE_ONCE(*tap, READ_ONCE(*tap) + 1); 429 WRITE_ONCE(*tap, READ_ONCE(*tap) - 1); 438 unsigned long *tap = this_cpu_ptr(&test_acqrel); in ref_incpercpu_section() 440 WRITE_ONCE(*tap, READ_ONCE(*tap) + 1); in ref_incpercpu_section() 442 WRITE_ONCE(*tap, READ_ONCE(*tap) in ref_incpercpu_section() 436 unsigned long *tap = this_cpu_ptr(&test_acqrel); ref_incpercpu_section() local 448 unsigned long *tap = this_cpu_ptr(&test_acqrel); ref_incpercpu_delay_section() local 468 unsigned long *tap; ref_incpercpupreempt_section() local 483 unsigned long *tap; ref_incpercpupreempt_delay_section() local 506 unsigned long *tap; ref_incpercpubh_section() local 521 unsigned long *tap; ref_incpercpubh_delay_section() local 546 unsigned long *tap; ref_incpercpuirqsave_section() local 562 unsigned long *tap; ref_incpercpuirqsave_delay_section() local [all...] |
| /linux/include/linux/input/ |
| H A D | adxl34x.h | 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. 69 * from the detection of a tap event to the opening of the time [all …]
|
| /linux/Documentation/devicetree/bindings/spi/ |
| H A D | nvidia,tegra210-quad-peripheral-props.yaml | 14 nvidia,tx-clk-tap-delay: 16 Delays the clock going out to device with this tap value. 17 Tap value varies based on platform design trace lengths from Tegra 23 nvidia,rx-clk-tap-delay: 25 Delays the clock coming in from the device with this tap value. 26 Tap value varies based on platform design trace lengths from Tegra
|
| /linux/Documentation/iio/ |
| H A D | adxl345.rst | 93 | in_accel_gesture_doubletap_en | Enable double tap detection on all axis | 95 | in_accel_gesture_doubletap_reset_timeout | Double tap window in [us] | 97 | in_accel_gesture_doubletap_tap2_min_delay | Double tap latent in [us] | 99 | in_accel_gesture_singletap_timeout | Single tap duration in [us] | 101 | in_accel_gesture_singletap_value | Single tap threshold value in 62.5/LSB | 119 | in_accel_x_gesture_singletap_en | Enable single tap detection on X axis | 125 | in_accel_y_gesture_singletap_en | Enable single tap detection on Y axis | 127 | in_accel_z_gesture_singletap_en | Enable single tap detection on Z axis | 192 **Single tap** detection can be configured per the datasheet by setting the 193 threshold and duration parameters. When only single tap detection is enabled, [all …]
|
| /linux/drivers/iio/accel/ |
| H A D | adxl345.h | 18 /* Tap duration */ 20 /* Tap latency */ 22 /* Tap window */ 36 /* Axis control for single tap or double tap */ 38 /* Source of single tap or double tap */
|
| /linux/tools/testing/selftests/net/ |
| H A D | test_vxlan_under_vrf.sh | 27 # | | veth-tap | | | | veth-tap | | 51 ip link del veth-tap 2>/dev/null || true 100 ip link add veth-tap type veth peer name veth-hv 102 ip link set veth-tap netns ${hv[$id]} 103 ip -netns ${hv[$id]} link set veth-tap master br0 104 ip -netns ${hv[$id]} link set veth-tap up
|
| H A D | tap.c | 200 sprintf(buf, "/dev/tap%d", ifindex); in opentap() 357 FIXTURE(tap) in FIXTURE() argument 362 FIXTURE_SETUP(tap) in FIXTURE_SETUP() argument 377 FIXTURE_TEARDOWN(tap) in FIXTURE_TEARDOWN() argument 391 TEST_F(tap, test_packet_valid_udp_gso) in TEST_F() argument 403 TEST_F(tap, test_packet_valid_udp_csum) in TEST_F() argument 415 TEST_F(tap, test_packet_crash_tap_invalid_eth_proto) in TEST_F() argument
|
| /linux/tools/testing/kunit/test_data/ |
| H A D | test_is_test_passed-kselftest.log | 1 TAP version 13 4 # TAP version 13 10 # TAP version 13
|
| /linux/drivers/firewire/ |
| H A D | Kconfig | 30 log in TAP format (https://testanything.org/). Only useful for 46 log in TAP format (https://testanything.org/). Only useful for 62 log in TAP format (https://testanything.org/). Only useful for 77 log in TAP format (https://testanything.org/). Only useful for 104 log in TAP format (https://testanything.org/). Only useful for
|
| /linux/drivers/mmc/host/ |
| H A D | sdhci-of-aspeed.c | 131 u8 tap, bool enable, u32 reg) in aspeed_sdc_set_phase_tap() 135 reg |= tap << __ffs(desc->tap_mask); in aspeed_sdc_set_phase_tap() 169 unsigned int tap; in aspeed_sdhci_phase_to_tap() 188 tap = div_u64(phase_period_ps, prop_delay_ps); in aspeed_sdhci_phase_to_tap() 189 if (tap > ASPEED_SDHCI_NR_TAPS) { in aspeed_sdhci_phase_to_tap() 191 "Requested out of range phase tap %d for %d degrees of phase compensation at %luHz, clamping to tap %d\n", in aspeed_sdhci_phase_to_tap() 192 tap, phase_deg, rate_hz, ASPEED_SDHCI_NR_TAPS); in aspeed_sdhci_phase_to_tap() 193 tap = ASPEED_SDHCI_NR_TAPS; in aspeed_sdhci_phase_to_tap() 196 return inverted | tap; in aspeed_sdhci_phase_to_tap() 130 aspeed_sdc_set_phase_tap(const struct aspeed_sdhci_tap_desc * desc,u8 tap,bool enable,u32 reg) aspeed_sdc_set_phase_tap() argument 168 unsigned int tap; aspeed_sdhci_phase_to_tap() local [all...] |
| /linux/drivers/media/platform/ti/omap3isp/ |
| H A D | ispresizer.h | 27 * @h_filter_coef_4tap: Horizontal filter coefficients for 8-phase/4-tap 29 * @v_filter_coef_4tap: Vertical filter coefficients for 8-phase/4-tap 31 * @h_filter_coef_7tap: Horizontal filter coefficients for 4-phase/7-tap 33 * @v_filter_coef_7tap: Vertical filter coefficients for 4-phase/7-tap
|
| /linux/arch/arm64/boot/dts/amd/ |
| H A D | amd-seattle-xgbe-b.dtsi | 24 amd,serdes-dfe-tap-config = <3>, <3>, <3>; 25 amd,serdes-dfe-tap-enable = <0>, <0>, <7>; 50 amd,serdes-dfe-tap-config = <3>, <3>, <3>; 51 amd,serdes-dfe-tap-enable = <0>, <0>, <7>;
|
| /linux/drivers/media/platform/via/ |
| H A D | via-camera.h | 52 001 = 2 tap 53 010 = 3 tap 54 011 = 4 tap 55 100 = 5 tap */
|
| /linux/arch/um/drivers/ |
| H A D | vector_user.h | 16 #define TRANS_TAP "tap" 59 * rx and tx method. Example - read tap via raw socket using 60 * recvmmsg, write using legacy tap write calls
|
| /linux/tools/testing/selftests/tc-testing/creating-plugins/ |
| H A D | AddingPlugins.txt | 48 TAP output. The tdc.py script will do that for the test suite as 51 co-processes) then that other tap output can be generated in the 59 the TAP output for the extra test cases.
|
| /linux/tools/testing/kunit/ |
| H A D | kunit_parser.py | 212 TAP_START = re.compile(r'\s*TAP version ([0-9]+)$') 236 prefix_len = len(line.split('TAP version')[0]) 260 version_num - The inputted version number from the parsed KTAP or TAP 262 accepted_version - List of accepted KTAP or TAP versions 263 version_type - 'KTAP' or 'TAP' depending on the type of 275 Parses KTAP/TAP header line and checks version number. 276 Returns False if fails to parse KTAP/TAP header line. 280 - 'TAP version [version number]' 288 True if successfully parsed KTAP/TAP header line 297 check_version(version_num, TAP_VERSIONS, 'TAP', tes [all...] |
| /linux/arch/arm/mach-omap2/ |
| H A D | ti81xx.h | 18 * Adjust TAP register base such that omap3_check_revision accesses the correct 19 * TI81XX register for checking device ID (it adds 0x204 to tap base while
|
| /linux/tools/testing/selftests/hid/ |
| H A D | run-hid-tools-tests.sh | 29 echo TAP version 13 30 python3 -u -m pytest $PYTEST_XDIST ./tests/$TARGET --tap-stream --udevd
|
| /linux/drivers/input/mouse/ |
| H A D | byd.c | 65 * Tap and drag delay time 100 * Tap to click 106 * Tap and drag 107 * 1 : tap and hold to drag 108 * 2 : tap and hold to drag + lock 291 /* needed to detect tap */ in byd_process_byte()
|