Home
last modified time | relevance | path

Searched refs:tup (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/drivers/tty/serial/
Dserial-tegra.c146 static void tegra_uart_start_next_tx(struct tegra_uart_port *tup);
147 static int tegra_uart_start_rx_dma(struct tegra_uart_port *tup);
148 static void tegra_uart_dma_channel_free(struct tegra_uart_port *tup,
151 static inline unsigned long tegra_uart_read(struct tegra_uart_port *tup, in tegra_uart_read() argument
154 return readl(tup->uport.membase + (reg << tup->uport.regshift)); in tegra_uart_read()
157 static inline void tegra_uart_write(struct tegra_uart_port *tup, unsigned val, in tegra_uart_write() argument
160 writel(val, tup->uport.membase + (reg << tup->uport.regshift)); in tegra_uart_write()
170 struct tegra_uart_port *tup = to_tegra_uport(u); in tegra_uart_get_mctrl() local
181 if (tup->enable_modem_interrupt) in tegra_uart_get_mctrl()
186 static void set_rts(struct tegra_uart_port *tup, bool active) in set_rts() argument
[all …]
/Linux-v5.4/tools/testing/selftests/bpf/progs/
Dtest_tcp_check_syncookie_kern.c48 struct bpf_sock_tuple tup; in check_syncookie() local
77 tup.ipv4.saddr = ipv4h->saddr; in check_syncookie()
78 tup.ipv4.daddr = ipv4h->daddr; in check_syncookie()
79 tup.ipv4.sport = tcph->source; in check_syncookie()
80 tup.ipv4.dport = tcph->dest; in check_syncookie()
82 sk = bpf_skc_lookup_tcp(ctx, &tup, sizeof(tup.ipv4), in check_syncookie()
109 memcpy(tup.ipv6.saddr, &ipv6h->saddr, sizeof(tup.ipv6.saddr)); in check_syncookie()
110 memcpy(tup.ipv6.daddr, &ipv6h->daddr, sizeof(tup.ipv6.daddr)); in check_syncookie()
111 tup.ipv6.sport = tcph->source; in check_syncookie()
112 tup.ipv6.dport = tcph->dest; in check_syncookie()
[all …]