/drivers/net/ |
D | tap.c | 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() 179 list_add_tail(&q->next, &tap->queue_list); in tap_set_queue() [all …]
|
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 …]
|
D | Kconfig | 180 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
|
D | Makefile | 29 obj-$(CONFIG_TAP) += tap.o
|
/drivers/net/ipvlan/ |
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 …]
|
/drivers/mmc/host/ |
D | sdhci-tegra.c | 328 static void tegra_sdhci_set_tap(struct sdhci_host *host, unsigned int tap) in tegra_sdhci_set_tap() argument 347 reg |= tap << SDHCI_CLOCK_CTRL_TAP_SHIFT; in tegra_sdhci_set_tap() 845 u8 word, bit, edge1, tap, window; in tegra_sdhci_tap_correction() local 870 tap = word * TUNING_WORD_BIT_SIZE + bit; in tegra_sdhci_tap_correction() 875 first_fail_tap = tap; in tegra_sdhci_tap_correction() 880 start_pass_tap = tap; in tegra_sdhci_tap_correction() 883 first_pass_tap = tap; in tegra_sdhci_tap_correction() 889 end_pass_tap = tap - 1; in tegra_sdhci_tap_correction() 896 start_pass_tap = tap; in tegra_sdhci_tap_correction() 900 tap = start_pass_tap + window / 2; in tegra_sdhci_tap_correction() [all …]
|
D | renesas_sdhi.h | 17 u32 tap; /* sampling clock position for SDR104/HS400 (8 TAP) */ member
|
D | renesas_sdhi_sys_dmac.c | 49 .tap = 0x00000703, 53 .tap = 0x00000300,
|
D | renesas_sdhi_internal_dmac.c | 84 .tap = 0x00000300,
|
D | renesas_sdhi_core.c | 1086 priv->scc_tappos = taps->tap; in renesas_sdhi_probe() 1089 taps->tap; in renesas_sdhi_probe()
|
/drivers/input/mouse/ |
D | cypress_ps2.h | 149 unsigned int tap:1; /* multi-finger tap detected. */ member
|
D | cypress_ps2.c | 452 report_data->tap = (header_byte & ABS_MULTIFINGER_TAP) ? 1 : 0; in cypress_parse_packet() 487 if (report_data->tap) in cypress_parse_packet()
|
D | Kconfig | 454 a tap or tap-and-a-half drag gesture emulates the left mouse button.
|
/drivers/media/pci/ddbridge/ |
D | ddbridge-mci.h | 141 u8 tap; member
|
/drivers/staging/media/ipu3/ |
D | ipu3-css-params.c | 49 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()
|