Home
last modified time | relevance | path

Searched refs:tap (Results 1 – 25 of 67) sorted by relevance

123

/Linux-v6.6/drivers/net/
Dtap.c146 static int tap_enable_queue(struct tap_dev *tap, struct file *file, in tap_enable_queue() argument
157 rcu_assign_pointer(tap->taps[tap->numvtaps], q); in tap_enable_queue()
158 q->queue_index = tap->numvtaps; in tap_enable_queue()
161 tap->numvtaps++; in tap_enable_queue()
167 static int tap_set_queue(struct tap_dev *tap, struct file *file, in tap_set_queue() argument
170 if (tap->numqueues == MAX_TAP_QUEUES) in tap_set_queue()
173 rcu_assign_pointer(q->tap, tap); in tap_set_queue()
174 rcu_assign_pointer(tap->taps[tap->numvtaps], q); in tap_set_queue()
178 q->queue_index = tap->numvtaps; in tap_set_queue()
181 list_add_tail(&q->next, &tap->queue_list); in tap_set_queue()
[all …]
Dmacvtap.c30 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 …]
DKconfig181 tristate "MAC-VLAN based tap driver"
186 This adds a specialized tap character device driver that is based
189 macvtap', and then be accessed through the tap user space interface.
219 tristate "IP-VLAN based tap driver"
224 This adds a specialized tap character device driver that is based
227 ipvtap', and then be accessed through the tap user space interface.
408 This option is selected by any driver implementing tap user space
409 interface for a virtual interface to re-use core tap functionality.
447 messages if they tap into the netlink device, record pcaps for further
DMakefile32 obj-$(CONFIG_TAP) += tap.o
/Linux-v6.6/drivers/net/ipvlan/
Dipvtap.c47 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-v6.6/include/linux/
Dif_tap.h47 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-v6.6/tools/testing/selftests/net/
Dtest_vxlan_under_vrf.sh50 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
Dtap.c363 FIXTURE(tap) in FIXTURE() argument
368 FIXTURE_SETUP(tap) in FIXTURE_SETUP() argument
383 FIXTURE_TEARDOWN(tap) in FIXTURE_TEARDOWN() argument
397 TEST_F(tap, test_packet_valid_udp_gso) in TEST_F() argument
409 TEST_F(tap, test_packet_valid_udp_csum) in TEST_F() argument
421 TEST_F(tap, test_packet_crash_tap_invalid_eth_proto) in TEST_F() argument
D.gitignore41 tap
/Linux-v6.6/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-v6.6/drivers/mmc/host/
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()
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()
Dsdhci-tegra.c335 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 …]
Drenesas_sdhi.h17 u32 tap; /* sampling clock position for SDR104/HS400 (8 TAP) */ member
/Linux-v6.6/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-v6.6/sound/soc/meson/
Daxg-pdm.c64 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-v6.6/tools/testing/selftests/tc-testing/
D.gitignore5 *.tap
/Linux-v6.6/tools/testing/selftests/hid/
Drun-hid-tools-tests.sh28 python3 -u -m pytest $PYTEST_XDIST ./tests/$TARGET --tap-stream --udevd
/Linux-v6.6/tools/testing/selftests/tc-testing/plugin-lib/
DvalgrindPlugin.py24 self.tap = ''
160 self.tap += more_tap_output
DbuildebpfPlugin.py16 self.tap = ''
/Linux-v6.6/Documentation/input/devices/
Dappletouch.rst33 tap for middle button mouse emulation, 3 finger tap for right button mouse
Delantech.rst192 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-v6.6/drivers/input/mouse/
Dcypress_ps2.h149 unsigned int tap:1; /* multi-finger tap detected. */ member
/Linux-v6.6/drivers/media/pci/ddbridge/
Dddbridge-mci.h132 u8 tap; member
/Linux-v6.6/Documentation/networking/
Dtuntap.rst34 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.
/Linux-v6.6/arch/arm/mach-omap2/
Did.c728 void __init omap2_set_globals_tap(u32 class, void __iomem *tap) in omap2_set_globals_tap() argument
731 tap_base = tap; in omap2_set_globals_tap()

123