| /linux/drivers/net/ |
| H A D | tap.c | 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() 116 list_add_tail(&q->next, &tap->queue_list); in tap_set_queue() [all …]
|
| H A D | macvtap.c | 30 struct tap_dev tap; member 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() 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() 70 static void macvtap_update_features(struct tap_dev *tap, in macvtap_update_features() argument 73 struct macvtap_dev *vlantap = container_of(tap, struct macvtap_dev, tap); in macvtap_update_features() 87 INIT_LIST_HEAD(&vlantap->tap.queue_list); in macvtap_newlink() 92 vlantap->tap.tap_features = TUN_OFFLOADS; in macvtap_newlink() 97 vlantap->tap.count_tx_dropped = macvtap_count_tx_dropped; in macvtap_newlink() [all …]
|
| H A D | Kconfig | 183 tristate "MAC-VLAN based tap driver" 188 This adds a specialized tap character device driver that is based 191 macvtap', and then be accessed through the tap user space interface. 221 tristate "IP-VLAN based tap driver" 226 This adds a specialized tap character device driver that is based 229 ipvtap', and then be accessed through the tap user space interface. 425 This option is selected by any driver implementing tap user space 426 interface for a virtual interface to re-use core tap functionality. 465 messages if they tap into the netlink device, record pcaps for further
|
| /linux/drivers/net/ipvlan/ |
| H A D | ipvtap.c | 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() 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() 66 static void ipvtap_update_features(struct tap_dev *tap, in ipvtap_update_features() argument 69 struct ipvtap_dev *vlantap = container_of(tap, struct ipvtap_dev, tap); in ipvtap_update_features() 83 INIT_LIST_HEAD(&vlantap->tap.queue_list); in ipvtap_newlink() 88 vlantap->tap.tap_features = TUN_OFFLOADS; in ipvtap_newlink() 89 vlantap->tap.count_tx_dropped = ipvtap_count_tx_dropped; in ipvtap_newlink() [all …]
|
| /linux/kernel/rcu/ |
| H A D | refscale.c | 436 unsigned long *tap = this_cpu_ptr(&test_acqrel); in ref_incpercpu_section() local 438 WRITE_ONCE(*tap, READ_ONCE(*tap) + 1); in ref_incpercpu_section() 439 WRITE_ONCE(*tap, READ_ONCE(*tap) - 1); in ref_incpercpu_section() 448 unsigned long *tap = this_cpu_ptr(&test_acqrel); in ref_incpercpu_delay_section() local 450 WRITE_ONCE(*tap, READ_ONCE(*tap) + 1); in ref_incpercpu_delay_section() 452 WRITE_ONCE(*tap, READ_ONCE(*tap) - 1); in ref_incpercpu_delay_section() 468 unsigned long *tap; in ref_incpercpupreempt_section() local 471 tap = this_cpu_ptr(&test_acqrel); in ref_incpercpupreempt_section() 472 WRITE_ONCE(*tap, READ_ONCE(*tap) + 1); in ref_incpercpupreempt_section() 473 WRITE_ONCE(*tap, READ_ONCE(*tap) - 1); in ref_incpercpupreempt_section() [all …]
|
| /linux/include/linux/ |
| H A D | if_tap.h | 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); 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/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/tools/testing/selftests/net/ |
| H A D | test_vxlan_under_vrf.sh | 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 | 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
|
| H A D | .gitignore | 46 tap
|
| H A D | skf_net_off.sh | 14 ip -netns $NS tuntap add name tap1 mode 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/mmc/host/ |
| H A D | sdhci-of-aspeed.c | 130 u8 tap, bool enable, u32 reg) in aspeed_sdc_set_phase_tap() argument 134 reg |= tap << __ffs(desc->tap_mask); in aspeed_sdc_set_phase_tap() 168 unsigned int tap; in aspeed_sdhci_phase_to_tap() local 187 tap = div_u64(phase_period_ps, prop_delay_ps); in aspeed_sdhci_phase_to_tap() 188 if (tap > ASPEED_SDHCI_NR_TAPS) { in aspeed_sdhci_phase_to_tap() 191 tap, phase_deg, rate_hz, ASPEED_SDHCI_NR_TAPS); in aspeed_sdhci_phase_to_tap() 192 tap = ASPEED_SDHCI_NR_TAPS; in aspeed_sdhci_phase_to_tap() 195 return inverted | tap; in aspeed_sdhci_phase_to_tap()
|
| H A D | sdhci-tegra.c | 335 static void tegra_sdhci_set_tap(struct sdhci_host *host, unsigned int tap) in tegra_sdhci_set_tap() argument 354 reg |= tap << SDHCI_CLOCK_CTRL_TAP_SHIFT; in tegra_sdhci_set_tap() 859 u8 word, bit, edge1, tap, window; in tegra_sdhci_tap_correction() local 884 tap = word * TUNING_WORD_BIT_SIZE + bit; in tegra_sdhci_tap_correction() 889 first_fail_tap = tap; in tegra_sdhci_tap_correction() 894 start_pass_tap = tap; in tegra_sdhci_tap_correction() 897 first_pass_tap = tap; in tegra_sdhci_tap_correction() 903 end_pass_tap = tap - 1; in tegra_sdhci_tap_correction() 910 start_pass_tap = tap; in tegra_sdhci_tap_correction() 914 tap = start_pass_tap + window / 2; in tegra_sdhci_tap_correction() [all …]
|
| H A D | renesas_sdhi.h | 20 u32 tap; /* sampling clock position for SDR104/HS400 (8 TAP) */ member
|
| /linux/sound/soc/meson/ |
| H A D | axg-pdm.c | 64 const unsigned int *tap; member 368 regmap_write(priv->map, PDM_COEFF_DATA, lpf[i].tap[j]); in axg_pdm_set_lpf_filters() 555 .tap = lpf1_default_tap, 561 .tap = lpf2_default_tap, 567 .tap = lpf3_default_tap,
|
| /linux/tools/testing/selftests/tc-testing/ |
| H A D | .gitignore | 5 *.tap
|
| /linux/tools/testing/selftests/tc-testing/plugin-lib/ |
| H A D | valgrindPlugin.py | 24 self.tap = '' 161 self.tap += more_tap_output
|
| /linux/tools/testing/selftests/hid/ |
| H A D | run-hid-tools-tests.sh | 30 python3 -u -m pytest $PYTEST_XDIST ./tests/$TARGET --tap-stream --udevd
|
| /linux/Documentation/input/devices/ |
| H A D | appletouch.rst | 33 tap for middle button mouse emulation, 3 finger tap for right button mouse
|
| H A D | elantech.rst | 192 C: 1 = enable corner tap 216 0xff = tap again to release) 220 tap make timeout? 224 tap release timeout? 247 c = 1 when corner tap detected 255 byte 1 = 0xf0 when corner tap detected 275 when corner tap detected: 389 0x7f = never i.e. tap again to release)
|
| /linux/arch/arm64/boot/dts/freescale/ |
| H A D | imx8-ss-conn.dtsi | 83 fsl,tuning-start-tap = <20>; 98 fsl,tuning-start-tap = <20>; 113 fsl,tuning-start-tap = <20>;
|
| /linux/drivers/iio/adc/ |
| H A D | adi-axi-adc.c | 202 unsigned int tap) in axi_adc_iodelays_set() argument 208 if (tap > FIELD_MAX(AXI_ADC_DELAY_CTRL_MASK)) in axi_adc_iodelays_set() 214 ret = regmap_write(st->regmap, ADI_AXI_ADC_REG_DELAY(lane), tap); in axi_adc_iodelays_set()
|
| /linux/drivers/input/mouse/ |
| H A D | cypress_ps2.h | 143 unsigned int tap:1; /* multi-finger tap detected. */ member
|
| /linux/Documentation/networking/ |
| H A D | tuntap.rst | 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 248 ethernet frames when using tap.
|