Home
last modified time | relevance | path

Searched full:tap (Results 1 – 25 of 196) sorted by relevance

12345678

/Linux-v5.15/drivers/net/
Dtap.c97 .name = "tap",
144 static int tap_enable_queue(struct tap_dev *tap, struct file *file, in tap_enable_queue() argument
155 rcu_assign_pointer(tap->taps[tap->numvtaps], q); in tap_enable_queue()
156 q->queue_index = tap->numvtaps; in tap_enable_queue()
159 tap->numvtaps++; in tap_enable_queue()
165 static int tap_set_queue(struct tap_dev *tap, struct file *file, in tap_set_queue() argument
168 if (tap->numqueues == MAX_TAP_QUEUES) in tap_set_queue()
171 rcu_assign_pointer(q->tap, tap); in tap_set_queue()
172 rcu_assign_pointer(tap->taps[tap->numvtaps], q); in tap_set_queue()
176 q->queue_index = tap->numvtaps; in tap_set_queue()
[all …]
Dmacvtap.c30 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 …]
DKconfig182 tristate "MAC-VLAN based tap driver"
185 select TAP
187 This adds a specialized tap character device driver that is based
190 macvtap', and then be accessed through the tap user space interface.
220 tristate "IP-VLAN based tap driver"
223 select TAP
225 This adds a specialized tap character device driver that is based
228 ipvtap', and then be accessed through the tap user space interface.
345 tristate "Universal TUN/TAP device driver support"
349 TUN/TAP provides packet reception and transmission for user space
[all …]
/Linux-v5.15/drivers/net/ipvlan/
Dipvtap.c48 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-v5.15/Documentation/devicetree/bindings/mmc/
Dsdhci-am654.yaml51 # PHY output tap delays:
57 description: Output tap delay for SD/MMC legacy timing
63 description: Output tap delay for MMC high speed timing
69 description: Output tap delay for SD high speed timing
75 description: Output tap delay for SD UHS SDR12 timing
81 description: Output tap delay for SD UHS SDR25 timing
87 description: Output tap delay for SD UHS SDR50 timing
93 description: Output tap delay for SD UHS SDR104 timing
99 description: Output tap delay for SD UHS DDR50 timing
105 description: Output tap delay for eMMC DDR52 timing
[all …]
/Linux-v5.15/include/linux/
Dif_tap.h27 * Maximum times a tap device can be opened. This can be used to
46 void (*update_features)(struct tap_dev *tap, netdev_features_t features);
47 void (*count_tx_dropped)(struct tap_dev *tap);
48 void (*count_rx_dropped)(struct tap_dev *tap);
52 * A tap queue is the central object of tap module, it connects
66 struct tap_dev __rcu *tap; member
76 void tap_del_queues(struct tap_dev *tap);
77 int tap_get_minor(dev_t major, struct tap_dev *tap);
78 void tap_free_minor(dev_t major, struct tap_dev *tap);
79 int tap_queue_resize(struct tap_dev *tap);
/Linux-v5.15/Documentation/devicetree/bindings/spi/
Dnvidia,tegra114-spi.txt27 - nvidia,tx-clk-tap-delay: Delays the clock going out to the external device
28 with this tap value. This property is used to tune the outgoing data from
30 Tap values vary based on the platform design trace lengths from Tegra SPI
31 to corresponding slave devices. Valid tap values are from 0 thru 63.
32 - nvidia,rx-clk-tap-delay: Delays the clock coming in from the external device
33 with this tap value. This property is used to adjust the Tegra SPI master
35 Tap values vary based on the platform design trace lengths from Tegra SPI
36 to corresponding slave devices. Valid tap values are from 0 thru 63.
56 nvidia,rx-clk-tap-delay = <0>;
57 nvidia,tx-clk-tap-delay = <16>;
Dnvidia,tegra210-quad.yaml59 nvidia,tx-clk-tap-delay:
61 Delays the clock going out to device with this tap value.
62 Tap value varies based on platform design trace lengths from Tegra
68 nvidia,rx-clk-tap-delay:
70 Delays the clock coming in from the device with this tap value.
71 Tap value varies based on platform design trace lengths from Tegra
114 nvidia,tx-clk-tap-delay = <0>;
115 nvidia,rx-clk-tap-delay = <0>;
/Linux-v5.15/Documentation/networking/
Dtuntap.rst5 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-v5.15/include/linux/input/
Dadxl34x.h31 * 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-v5.15/tools/testing/selftests/net/
Dtest_vxlan_under_vrf.sh27 # | | veth-tap | | | | veth-tap | |
50 ip link del veth-tap 2>/dev/null || true
98 ip link add veth-tap type veth peer name veth-hv
100 ip link set veth-tap netns hv-$id
101 ip -netns hv-$id link set veth-tap master br0
102 ip -netns hv-$id link set veth-tap up
/Linux-v5.15/drivers/mmc/host/
Dsdhci-tegra.c329 static void tegra_sdhci_set_tap(struct sdhci_host *host, unsigned int tap) in tegra_sdhci_set_tap() argument
338 * Touching the tap values is a bit tricky on some SoC generations. in tegra_sdhci_set_tap()
340 * the tap values are changed. in tegra_sdhci_set_tap()
348 reg |= tap << SDHCI_CLOCK_CTRL_TAP_SHIFT; in tegra_sdhci_set_tap()
729 err = device_property_read_u32(mmc_dev(host->mmc), "nvidia,default-tap", in tegra_sdhci_parse_tap_and_trim()
837 u8 word, bit, edge1, tap, window; in tegra_sdhci_tap_correction() local
862 tap = word * TUNING_WORD_BIT_SIZE + bit; in tegra_sdhci_tap_correction()
867 first_fail_tap = tap; in tegra_sdhci_tap_correction()
872 start_pass_tap = tap; in tegra_sdhci_tap_correction()
875 first_pass_tap = tap; in tegra_sdhci_tap_correction()
[all …]
Drenesas_sdhi.h17 u32 tap; /* sampling clock position for SDR104/HS400 (8 TAP) */ member
18 u32 tap_hs400_4tap; /* sampling clock position for HS400 (4 TAP) */
Dsdhci-of-aspeed.c130 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()
190 …"Requested out of range phase tap %d for %d degrees of phase compensation at %luHz, clamping to ta… 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()
/Linux-v5.15/drivers/media/platform/omap3isp/
Dispresizer.h27 * @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-v5.15/Documentation/devicetree/bindings/net/
Damd-xgbe.txt49 - amd,serdes-dfe-tap-config: DFE taps available to run
50 - amd,serdes-dfe-tap-enable: DFE taps to enable
74 amd,serdes-dfe-tap-config = <3>, <3>, <1>;
75 amd,serdes-dfe-tap-enable = <0>, <0>, <127>;
/Linux-v5.15/arch/um/drivers/
Dvector_user.h16 #define TRANS_TAP "tap"
59 * rx and tx method. Example - read tap via raw socket using
60 * recvmmsg, write using legacy tap write calls
DKconfig176 bool "TUN/TAP transport (obsolete)"
179 The UML TUN/TAP network transport allows a UML instance to exchange
180 packets with the host over a TUN/TAP device. This option will only
181 work with a 2.4 host, unless you've applied the TUN/TAP patch to
184 To use this transport, your host kernel must have support for TUN/TAP
242 This driver provides tap, raw, gre and l2tpv3 network transports
/Linux-v5.15/arch/arm64/boot/dts/amd/
Damd-seattle-xgbe-b.dtsi52 amd,serdes-dfe-tap-config = <3>, <3>, <3>;
53 amd,serdes-dfe-tap-enable = <0>, <0>, <7>;
78 amd,serdes-dfe-tap-config = <3>, <3>, <3>;
79 amd,serdes-dfe-tap-enable = <0>, <0>, <7>;
/Linux-v5.15/drivers/media/platform/
Dvia-camera.h52 001 = 2 tap
53 010 = 3 tap
54 011 = 4 tap
55 100 = 5 tap */
/Linux-v5.15/tools/testing/selftests/tc-testing/creating-plugins/
DAddingPlugins.txt48 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-v5.15/arch/arm/mach-omap2/
Dti81xx.h26 * Adjust TAP register base such that omap3_check_revision accesses the correct
27 * TI81XX register for checking device ID (it adds 0x204 to tap base while
/Linux-v5.15/Documentation/dev-tools/kunit/
Drunning_tips.rst152 results to dmesg in TAP format. So you just need to add your tests to your
166 TAP version 14
192 This will then cause it to print TAP output to stdout.
221 ``CONFIG_KUNIT_DEBUGFS`` to expose per-suite TAP-formatted results:
237 ... <TAP output> ...
/Linux-v5.15/drivers/input/misc/
Dadxl34x.c24 #define THRESH_TAP 0x1D /* R/W Tap threshold */
28 #define DUR 0x21 /* R/W Tap duration */
29 #define LATENT 0x22 /* R/W Tap latency */
30 #define WINDOW 0x23 /* R/W Tap window */
38 #define TAP_AXES 0x2A /* R/W Axis control for tap/double tap */
39 #define ACT_TAP_STATUS 0x2B /* R Source of tap/double tap */
54 #define TAP_SIGN 0x3A /* R Sign and source for tap/double tap */
306 * Avoid reading ACT_TAP_STATUS in case TAP detection is disabled in adxl34x_irq()
/Linux-v5.15/tools/testing/selftests/tc-testing/
Dtdc.py253 tap = ""
327 TAP output accordingly.
332 tap = ''
500 '--format', default='tap', const='tap', nargs='?',
501 choices=['none', 'xunit', 'tap'],
502 help='Specify the format for test results. (Default: TAP)')
734 elif args.format == 'tap':
735 suffix = 'tap'

12345678