Home
last modified time | relevance | path

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

/drivers/net/
A Dtap.c108 rcu_assign_pointer(q->tap, tap); in tap_set_queue()
133 tap = rtnl_dereference(q->tap); in tap_disable_queue()
164 tap = rtnl_dereference(q->tap); in tap_put_queue()
332 tap->count_rx_dropped(tap); in tap_handle_frame()
642 tap = rcu_dereference(q->tap); in tap_get_user()
683 tap = rcu_dereference(q->tap); in tap_get_user()
685 tap->count_tx_dropped(tap); in tap_get_user()
827 tap = rtnl_dereference(q->tap); in tap_get_tap_dev()
1087 tap = rcu_dereference(q->tap); in tap_get_user_xdp()
1103 tap = rcu_dereference(q->tap); in tap_get_user_xdp()
[all …]
A Dmacvtap.c30 struct tap_dev tap; member
56 struct macvtap_dev *vlantap = container_of(tap, struct macvtap_dev, tap); in macvtap_count_tx_dropped()
64 struct macvtap_dev *vlantap = container_of(tap, struct macvtap_dev, tap); in macvtap_count_rx_dropped()
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()
114 vlantap->tap.dev = vlantap->vlan.dev; in macvtap_newlink()
125 tap_del_queues(&vlantap->tap); in macvtap_dellink()
189 if (vlantap->tap.minor == 0) in macvtap_device_event()
194 tap_free_minor(macvtap_major, &vlantap->tap); in macvtap_device_event()
[all …]
A DKconfig196 tristate "MAC-VLAN based tap driver"
201 This adds a specialized tap character device driver that is based
204 macvtap', and then be accessed through the tap user space interface.
234 tristate "IP-VLAN based tap driver"
239 This adds a specialized tap character device driver that is based
242 ipvtap', and then be accessed through the tap user space interface.
436 This option is selected by any driver implementing tap user space
437 interface for a virtual interface to re-use core tap functionality.
476 messages if they tap into the netlink device, record pcaps for further
A DMakefile34 obj-$(CONFIG_TAP) += tap.o
/drivers/net/ipvlan/
A Dipvtap.c47 struct tap_dev tap; member
52 struct ipvtap_dev *vlantap = container_of(tap, struct ipvtap_dev, tap); in ipvtap_count_tx_dropped()
60 struct ipvtap_dev *vlantap = container_of(tap, struct ipvtap_dev, tap); in ipvtap_count_rx_dropped()
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()
106 vlantap->tap.dev = vlantap->vlan.dev; in ipvtap_newlink()
117 tap_del_queues(&vlan->tap); in ipvtap_dellink()
176 if (vlantap->tap.minor == 0) in ipvtap_device_event()
181 tap_free_minor(ipvtap_major, &vlantap->tap); in ipvtap_device_event()
[all …]
/drivers/mmc/host/
A 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()
A 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 …]
A Drenesas_sdhi.h19 u32 tap; /* sampling clock position for SDR104/HS400 (8 TAP) */ member
A Drenesas_sdhi_sys_dmac.c53 .tap = 0x00000703,
57 .tap = 0x00000300,
A Drenesas_sdhi_core.c1249 priv->scc_tappos = taps->tap; in renesas_sdhi_probe()
1252 taps->tap; in renesas_sdhi_probe()
A Drenesas_sdhi_internal_dmac.c88 .tap = 0x00000300,
A Dsdhci-of-dwcmshc.c912 static void cv18xx_sdhci_set_tap(struct sdhci_host *host, int tap) in cv18xx_sdhci_set_tap() argument
929 FIELD_PREP(CV18XX_PHY_RX_DLY_MSK, tap)); in cv18xx_sdhci_set_tap()
/drivers/iio/adc/
A Dadi-axi-adc.c202 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()
/drivers/input/mouse/
A Dcypress_ps2.h143 unsigned int tap:1; /* multi-finger tap detected. */ member
A Dcypress_ps2.c414 report_data->tap = (header_byte & ABS_MULTIFINGER_TAP) ? 1 : 0; in cypress_parse_packet()
449 if (report_data->tap) in cypress_parse_packet()
/drivers/media/pci/ddbridge/
A Dddbridge-mci.h132 u8 tap; member
/drivers/staging/media/ipu3/
A Dipu3-css-params.c49 int tap, phase, phase_sum_left, phase_sum_right; in imgu_css_scaler_setup_lut() local
57 for (tap = 0; tap < taps; tap++) in imgu_css_scaler_setup_lut()
58 coeff_lut[phase_taps + tap] = 0; in imgu_css_scaler_setup_lut()
74 for (tap = 0; tap < taps; tap++) { in imgu_css_scaler_setup_lut()
77 ((tap * (coeffs_size / taps)) + phase) - 1]; in imgu_css_scaler_setup_lut()
84 coeff_lut[phase_taps + tap] = coeff; in imgu_css_scaler_setup_lut()

Completed in 47 milliseconds