Home
last modified time | relevance | path

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

123

/Linux-v5.10/drivers/net/
Dtap.c144 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()
179 list_add_tail(&q->next, &tap->queue_list); 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()
93 vlantap->tap.tap_features = TUN_OFFLOADS; in macvtap_newlink()
98 vlantap->tap.count_tx_dropped = macvtap_count_tx_dropped; in macvtap_newlink()
[all …]
DKconfig180 tristate "MAC-VLAN based tap driver"
185 This adds a specialized tap character device driver that is based
188 macvtap', and then be accessed through the tap user space interface.
218 tristate "IP-VLAN based tap driver"
223 This adds a specialized tap character device driver that is based
226 ipvtap', and then be accessed through the tap user space interface.
369 This option is selected by any driver implementing tap user space
370 interface for a virtual interface to re-use core tap functionality.
407 messages if they tap into the netlink device, record pcaps for further
DMakefile29 obj-$(CONFIG_TAP) += tap.o
/Linux-v5.10/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()
89 vlantap->tap.tap_features = TUN_OFFLOADS; in ipvtap_newlink()
90 vlantap->tap.count_tx_dropped = ipvtap_count_tx_dropped; in ipvtap_newlink()
[all …]
/Linux-v5.10/include/linux/
Dif_tap.h46 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);
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.10/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
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
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>;
/Linux-v5.10/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
/Linux-v5.10/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.10/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.10/sound/soc/meson/
Daxg-pdm.c64 const unsigned int *tap; member
375 regmap_write(priv->map, PDM_COEFF_DATA, lpf[i].tap[j]); in axg_pdm_set_lpf_filters()
553 .tap = lpf1_default_tap,
559 .tap = lpf2_default_tap,
565 .tap = lpf3_default_tap,
/Linux-v5.10/tools/testing/selftests/tc-testing/
D.gitignore6 *.tap
/Linux-v5.10/drivers/mmc/host/
Dsdhci-tegra.c323 static void tegra_sdhci_set_tap(struct sdhci_host *host, unsigned int tap) in tegra_sdhci_set_tap() argument
342 reg |= tap << SDHCI_CLOCK_CTRL_TAP_SHIFT; in tegra_sdhci_set_tap()
831 u8 word, bit, edge1, tap, window; in tegra_sdhci_tap_correction() local
856 tap = word * TUNING_WORD_BIT_SIZE + bit; in tegra_sdhci_tap_correction()
861 first_fail_tap = tap; in tegra_sdhci_tap_correction()
866 start_pass_tap = tap; in tegra_sdhci_tap_correction()
869 first_pass_tap = tap; in tegra_sdhci_tap_correction()
875 end_pass_tap = tap - 1; in tegra_sdhci_tap_correction()
882 start_pass_tap = tap; in tegra_sdhci_tap_correction()
886 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
Drenesas_sdhi_sys_dmac.c49 .tap = 0x00000703,
53 .tap = 0x00000300,
/Linux-v5.10/tools/testing/selftests/tc-testing/plugin-lib/
DvalgrindPlugin.py24 self.tap = ''
160 self.tap += more_tap_output
DbuildebpfPlugin.py16 self.tap = ''
/Linux-v5.10/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-v5.10/drivers/input/mouse/
Dcypress_ps2.h149 unsigned int tap:1; /* multi-finger tap detected. */ member
/Linux-v5.10/drivers/media/pci/ddbridge/
Dddbridge-mci.h141 u8 tap; member
/Linux-v5.10/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-v5.10/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()
Dcommon.h208 void __init omap2_set_globals_tap(u32 class, void __iomem *tap);
/Linux-v5.10/Documentation/devicetree/bindings/mmc/
Dnvidia,tegra20-sdhci.txt82 - nvidia,default-tap : Specify the default inbound sampling clock
97 Notes on tap and trim values:

123