| /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() 126 struct tap_dev *tap; tap_disable_queue() local 161 struct tap_dev *tap; tap_put_queue() local 189 tap_get_queue(struct tap_dev * tap,struct sk_buff * skb) tap_get_queue() argument 235 tap_del_queues(struct tap_dev * tap) tap_del_queues() argument 259 struct tap_dev *tap; tap_handle_frame() local 350 tap_get_minor(dev_t major,struct tap_dev * tap) tap_get_minor() argument 378 tap_free_minor(dev_t major,struct tap_dev * tap) tap_free_minor() argument 403 struct tap_dev *tap; dev_get_by_tap_file() local 449 struct tap_dev *tap; tap_open() local 577 struct tap_dev *tap; tap_get_user() local 824 struct tap_dev *tap; tap_get_tap_dev() local 834 tap_put_tap_dev(struct tap_dev * tap) tap_put_tap_dev() argument 842 struct tap_dev *tap; tap_ioctl_set_queue() local 862 struct tap_dev *tap; set_offload() local 919 struct tap_dev *tap; tap_ioctl() local 1049 struct tap_dev *tap; tap_get_user_xdp() local 1198 tap_queue_resize(struct tap_dev * tap) tap_queue_resize() argument [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() 93 vlantap->tap.tap_features = TUN_OFFLOADS; in macvtap_newlink() 98 vlantap->tap.count_tx_dropped = macvtap_count_tx_dropped; in macvtap_newlink() [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() 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/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/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 | 49 tap
|
| H A D | skf_net_off.sh | 14 ip -netns $NS tuntap add name tap1 mode tap
|
| H A D | Makefile | 206 tap \
|
| /linux/drivers/mmc/host/ |
| H A D | sdhci-of-aspeed.c | 131 u8 tap, bool enable, u32 reg) in aspeed_sdc_set_phase_tap() argument 135 reg |= tap << __ffs(desc->tap_mask); in aspeed_sdc_set_phase_tap() 169 unsigned int tap; in aspeed_sdhci_phase_to_tap() local 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() [all...] |
| H A D | renesas_sdhi_sys_dmac.c | 52 .tap = 0x00000703, 56 .tap = 0x00000300,
|
| /linux/sound/soc/meson/ |
| H A D | axg-pdm.c | 64 const unsigned int *tap; member 363 /* Set the tap filter values of all 3 filters */ in axg_pdm_set_lpf_filters() 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
|
| /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 | 208 unsigned int tap) in axi_adc_iodelays_set() 214 if (tap > FIELD_MAX(AXI_ADC_DELAY_CTRL_MASK)) in axi_adc_iodelays_set() 220 ret = regmap_write(st->regmap, ADI_AXI_ADC_REG_DELAY(lane), tap); in axi_adc_iodelays_set() 205 axi_adc_iodelays_set(struct iio_backend * back,unsigned int lane,unsigned int tap) axi_adc_iodelays_set() argument
|
| /linux/drivers/input/mouse/ |
| H A D | cypress_ps2.h | 143 unsigned int tap:1; /* multi-finger tap detected. */ member
|
| H A D | cypress_ps2.c | 414 report_data->tap = (header_byte & ABS_MULTIFINGER_TAP) ? 1 : 0; in cypress_parse_packet() 449 if (report_data->tap) in cypress_parse_packet()
|
| /linux/drivers/media/pci/ddbridge/ |
| H A D | ddbridge-mci.h | 132 u8 tap; 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 280 ethernet frames when using tap.
|
| /linux/arch/arm/mach-omap2/ |
| H A D | common.h | 184 void __init omap2_set_globals_tap(u32 class, void __iomem *tap);
|
| /linux/arch/arm/boot/dts/nxp/imx/ |
| H A D | imxrt1050.dtsi | 97 fsl,tuning-start-tap = <20>;
|
| /linux/tools/testing/selftests/tc-testing/creating-plugins/ |
| H A D | AddingPlugins.txt | 51 co-processes) then that other tap output can be generated in the
|