/linux/drivers/tty/serial/ |
A D | imx.c | 314 sport->ucr2 = readl(sport->port.membase + offset); in imx_uart_readl() 384 mctrl_gpio_set(sport->gpios, sport->port.mctrl); in imx_uart_rts_active() 394 mctrl_gpio_set(sport->gpios, sport->port.mctrl); in imx_uart_rts_inactive() 525 imx_uart_writel(sport, sport->port.x_char, URTX0); in imx_uart_transmit_buffer() 589 sport->port.icount.tx += sport->tx_bytes; in imx_uart_dma_tx_callback() 1316 sport->rx_buf_size = sport->rx_period_length * sport->rx_periods; in imx_uart_dma_init() 1322 sport->rx_ring.buf = sport->rx_buf; in imx_uart_dma_init() 1510 dma_unmap_sg(sport->port.dev, &sport->rx_sgl, in imx_uart_shutdown() 1904 if (!sport->have_rtscts && !sport->have_rtsgpio) in imx_uart_rs485_config() 2274 sport->gpios = mctrl_gpio_init(&sport->port, 0); in imx_uart_probe() [all …]
|
A D | fsl_lpuart.c | 504 sport->dma_tx_desc->callback_param = sport; in lpuart_dma_tx() 534 sport->port.icount.tx += sport->dma_tx_bytes; in lpuart_dma_tx_complete() 1317 sport->dma_rx_desc->callback_param = sport; in lpuart_start_rx_dma() 1686 if (sport->port.has_sysrq && !lpuart_is_32(sport)) { in lpuart_rx_dma_startup() 1709 sport->port.fifosize = sport->txfifo_size; in lpuart_startup() 1757 sport->port.fifosize = sport->txfifo_size; in lpuart32_startup() 1770 sport->port.fifosize = sport->txfifo_size; in lpuart32_startup() 2656 if (!sport) in lpuart_probe() 2722 sport->port.uartclk = lpuart_get_baud_clk_rate(sport); in lpuart_probe() 2724 lpuart_ports[sport->port.line] = sport; in lpuart_probe() [all …]
|
A D | sa1100.c | 45 #define UART_GET_UTCR0(sport) __raw_readl((sport)->port.membase + UTCR0) argument 51 #define UART_GET_CHAR(sport) __raw_readl((sport)->port.membase + UTDR) argument 88 status = sport->port.ops->get_mctrl(&sport->port); in sa1100_mctrl_check() 114 struct sa1100_port *sport = from_timer(sport, t, timer); in sa1100_timeout() local 234 UART_PUT_CHAR(sport, sport->port.x_char); in sa1100_tx_chars() 402 free_irq(sport->port.irq, sport); in sa1100_shutdown() 766 quot = UART_GET_UTCR2(sport) | UART_GET_UTCR1(sport) << 8; in sa1100_console_get_options() 836 if (sport) in sa1100_serial_suspend() 846 if (sport) in sa1100_serial_resume() 860 sport->gpios = mctrl_gpio_init_noauto(sport->port.dev, 0); in sa1100_serial_add_one_port() [all …]
|
A D | sb1250-duart.c | 160 __war_sbd1956(sport); in read_sbdchn() 390 write_sbdchn(sport, R_DUART_TX_HOLD, sport->port.x_char); in sbd_transmit_chars() 508 free_irq(sport->port.irq, sport); in sbd_shutdown() 798 struct sbd_port *sport = &sbd_duarts[chip].sport[side]; in sbd_probe_duarts() local 836 struct sbd_port *sport = &sbd_duarts[chip].sport[side]; in sbd_console_write() local 864 struct sbd_port *sport = &sbd_duarts[chip].sport[side]; in sbd_console_setup() local 872 if (!sport->duart) in sbd_console_setup() 936 struct sbd_port *sport = &duart->sport[i % DUART_MAX_SIDE]; in sbd_init() local 939 if (sport->duart) in sbd_init() 953 struct sbd_port *sport = &duart->sport[i % DUART_MAX_SIDE]; in sbd_exit() local [all …]
|
A D | pic32_uart.c | 52 sport->ref_clk++; in pic32_enable_clock() 58 sport->ref_clk--; in pic32_disable_clock() 426 sport->idx); in pic32_uart_startup() 434 sport->irqflags_fault, sport->irq_fault_name, port); in pic32_uart_startup() 444 sport->idx); in pic32_uart_startup() 452 sport->irqflags_rx, sport->irq_rx_name, port); in pic32_uart_startup() 470 sport->irqflags_tx, sport->irq_tx_name, port); in pic32_uart_startup() 738 if (!sport) in pic32_console_setup() 813 sport = devm_kzalloc(&pdev->dev, sizeof(*sport), GFP_KERNEL); in pic32_uart_probe() 814 if (!sport) in pic32_uart_probe() [all …]
|
A D | fsl_linflexuart.c | 177 sport->icount.tx++; in linflex_transmit_buffer() 187 linflex_stop_tx(sport); in linflex_transmit_buffer() 208 if (sport->x_char) { in linflex_txint() 209 writeb(sport->x_char, sport->membase + BDRL); in linflex_txint() 253 sport->icount.rx++; in linflex_rxint() 659 if (sport->sysrq) in linflex_console_write() 724 if (!sport) in linflex_console_setup() 826 sport = devm_kzalloc(&pdev->dev, sizeof(*sport), GFP_KERNEL); in linflex_probe() 827 if (!sport) in linflex_probe() 841 sport->line = ret; in linflex_probe() [all …]
|
A D | pxa.c | 796 if (sport) in serial_pxa_suspend() 806 if (sport) in serial_pxa_resume() 838 sport->port.line = ret; in serial_pxa_probe_dt() 854 if (!sport) in serial_pxa_probe() 858 if (IS_ERR(sport->clk)) { in serial_pxa_probe() 865 clk_put(sport->clk); in serial_pxa_probe() 877 sport->port.uartclk = clk_get_rate(sport->clk); in serial_pxa_probe() 890 snprintf(sport->name, PXA_NAME_LEN - 1, "UART%d", sport->port.line + 1); in serial_pxa_probe() 898 serial_pxa_ports[sport->port.line] = sport; in serial_pxa_probe() 907 clk_put(sport->clk); in serial_pxa_probe() [all …]
|
A D | pic32_uart.h | 70 #define pic32_get_port(sport) (&sport->port) argument 71 #define pic32_get_opt(sport) (&sport->opt) argument 72 #define tx_irq_enabled(sport) (sport->enable_tx_irq) argument 74 static inline void pic32_uart_writel(struct pic32_sport *sport, in pic32_uart_writel() argument 77 struct uart_port *port = pic32_get_port(sport); in pic32_uart_writel() 82 static inline u32 pic32_uart_readl(struct pic32_sport *sport, u32 reg) in pic32_uart_readl() argument 84 struct uart_port *port = pic32_get_port(sport); in pic32_uart_readl()
|
/linux/drivers/infiniband/ulp/srpt/ |
A D | ib_srpt.c | 169 if (!sport->lid && !sport->sm_lid) in srpt_event_handler() 564 ret = rdma_query_gid(sport->sdev->device, sport->port, 0, &sport->gid); in srpt_refresh_port() 568 sport->port_guid_id.wwn.priv = sport; in srpt_refresh_port() 572 sport->port_gid_id.wwn.priv = sport; in srpt_refresh_port() 588 dev_name(&sport->sdev->device->dev), sport->port, ret); in srpt_refresh_port() 613 ib_modify_port(sport->sdev->device, sport->port, 0, in srpt_refresh_port() 1785 struct srpt_port *sport = ch->sport; in srpt_create_ch_ib() local 1963 struct srpt_port *sport = ch->sport; in srpt_disconnect_ch_sync() local 2103 sport = ch->sport; in srpt_release_channel_work() 2223 ch->sport = sport; in srpt_cm_req_recv() [all …]
|
/linux/net/core/ |
A D | secure_seq.c | 75 __be16 sport, __be16 dport) in secure_tcpv6_seq() argument 80 __be16 sport; in secure_tcpv6_seq() member 85 .sport = sport, in secure_tcpv6_seq() 133 __be16 sport, __be16 dport) in secure_tcp_seq() argument 139 (__force u32)sport << 16 | (__force u32)dport, in secure_tcp_seq() 156 __be16 sport, __be16 dport) in secure_dccp_sequence_number() argument 161 (__force u32)sport << 16 | (__force u32)dport, in secure_dccp_sequence_number() 171 __be16 sport, __be16 dport) in secure_dccpv6_sequence_number() argument 176 __be16 sport; in secure_dccpv6_sequence_number() member 181 .sport = sport, in secure_dccpv6_sequence_number()
|
/linux/net/ipv6/ |
A D | inet6_hashtables.c | 54 const __be16 sport, in __inet6_lookup_established() argument 119 __be16 sport, in lookup_reuseport() argument 138 const __be16 sport, const struct in6_addr *daddr, in inet6_lhash2_lookup() argument 150 saddr, sport, daddr, hnum); in inet6_lhash2_lookup() 166 const __be16 sport, in inet6_lookup_run_bpf() argument 177 saddr, sport, daddr, hnum, &sk); in inet6_lookup_run_bpf() 191 const __be16 sport, const struct in6_addr *daddr, in inet6_lookup_listener() argument 201 saddr, sport, daddr, hnum); in inet6_lookup_listener() 210 saddr, sport, daddr, hnum, in inet6_lookup_listener() 220 saddr, sport, &in6addr_any, hnum, in inet6_lookup_listener() [all …]
|
A D | fou6.c | 22 struct flowi6 *fl6, u8 *protocol, __be16 sport) in fou6_build_udp() argument 32 uh->source = sport; in fou6_build_udp() 43 __be16 sport; in fou6_build_header() local 48 err = __fou_build_header(skb, e, protocol, &sport, type); in fou6_build_header() 52 fou6_build_udp(skb, e, fl6, protocol, sport); in fou6_build_header() 60 __be16 sport; in gue6_build_header() local 65 err = __gue_build_header(skb, e, protocol, &sport, type); in gue6_build_header() 69 fou6_build_udp(skb, e, fl6, protocol, sport); in gue6_build_header()
|
A D | syncookies.c | 42 __be16 sport, __be16 dport, u32 count, int c) in cookie_hash() argument 48 __be16 sport; in cookie_hash() member 54 .sport = sport, in cookie_hash() 65 __be16 sport, __be16 dport, __u32 sseq, in secure_tcp_syn_cookie() argument 69 return (cookie_hash(saddr, daddr, sport, dport, 0, 0) + in secure_tcp_syn_cookie() 71 ((cookie_hash(saddr, daddr, sport, dport, count, 1) + data) in secure_tcp_syn_cookie() 76 const struct in6_addr *daddr, __be16 sport, in check_tcp_syn_cookie() argument 81 cookie -= cookie_hash(saddr, daddr, sport, dport, 0, 0) + sseq; in check_tcp_syn_cookie() 88 cookie_hash(saddr, daddr, sport, dport, count - diff, 1)) in check_tcp_syn_cookie()
|
/linux/include/net/ |
A D | inet6_hashtables.h | 46 const __be16 sport, 55 const __be16 sport, 64 const __be16 sport, in __inet6_lookup() argument 71 sport, daddr, hnum, in __inet6_lookup() 77 return inet6_lookup_listener(net, hashinfo, skb, doff, saddr, sport, in __inet6_lookup() 83 const __be16 sport, in __inet6_lookup_skb() argument 94 doff, &ipv6_hdr(skb)->saddr, sport, in __inet6_lookup_skb() 101 const struct in6_addr *saddr, const __be16 sport,
|
A D | inet_hashtables.h | 266 const __be32 saddr, const __be16 sport, 274 __be32 saddr, __be16 sport, in inet_lookup_listener() argument 334 const __be32 saddr, const __be16 sport, 340 const __be32 saddr, const __be16 sport, in inet_lookup_established() argument 351 const __be32 saddr, const __be16 sport, in __inet_lookup() argument 359 sk = __inet_lookup_established(net, hashinfo, saddr, sport, in __inet_lookup() 366 sport, daddr, hnum, dif, sdif); in __inet_lookup() 372 const __be32 saddr, const __be16 sport, in inet_lookup() argument 379 sk = __inet_lookup(net, hashinfo, skb, doff, saddr, sport, daddr, in inet_lookup() 390 const __be16 sport, in __inet_lookup_skb() argument [all …]
|
A D | secure_seq.h | 11 __be16 sport, __be16 dport); 14 __be16 sport, __be16 dport); 18 __be16 sport, __be16 dport); 20 __be16 sport, __be16 dport);
|
A D | flow.h | 49 __be16 sport; member 59 __le16 sport; member 88 #define fl4_sport uli.ports.sport 100 __be16 dport, __be16 sport, in flowi4_init_output() argument 116 fl4->fl4_sport = sport; in flowi4_init_output() 147 #define fl6_sport uli.ports.sport 167 #define fld_sport uli.ports.sport
|
A D | route.h | 160 __be16 dport, __be16 sport, in ip_route_output_ports() argument 166 daddr, saddr, dport, sport, sock_net_uid(net, sk)); in ip_route_output_ports() 293 __be16 sport, __be16 dport, in ip_route_connect_init() argument 302 protocol, flow_flags, dst, src, dport, sport, in ip_route_connect_init() 309 __be16 sport, __be16 dport, in ip_route_connect() argument 316 sport, dport, sk); in ip_route_connect() 331 __be16 sport, __be16 dport, in ip_route_newports() argument 334 if (sport != orig_sport || dport != orig_dport) { in ip_route_newports() 336 fl4->fl4_sport = sport; in ip_route_newports()
|
/linux/net/ipv6/netfilter/ |
A D | nf_socket_ipv6.c | 81 const __be16 sport, const __be16 dport, in nf_socket_get_sock_v6() argument 87 saddr, sport, daddr, dport, in nf_socket_get_sock_v6() 90 return udp6_lib_lookup(net, saddr, sport, daddr, dport, in nf_socket_get_sock_v6() 100 __be16 dport, sport; in nf_sk_lookup_slow_v6() local 123 sport = hp->source; in nf_sk_lookup_slow_v6() 133 &sport, &dport, &ipv6_var)) in nf_sk_lookup_slow_v6() 140 sport, dport, indev); in nf_sk_lookup_slow_v6()
|
A D | nf_tproxy_ipv6.c | 79 const __be16 sport, const __be16 dport, in nf_tproxy_get_sock_v6() argument 98 saddr, sport, in nf_tproxy_get_sock_v6() 112 saddr, sport, daddr, ntohs(dport), in nf_tproxy_get_sock_v6() 121 sk = udp6_lib_lookup(net, saddr, sport, daddr, dport, in nf_tproxy_get_sock_v6() 145 protocol, saddr, ntohs(sport), daddr, ntohs(dport), lookup_type, sk); in nf_tproxy_get_sock_v6()
|
/linux/net/ipv4/netfilter/ |
A D | nf_socket_ipv4.c | 69 const __be16 sport, const __be16 dport, in nf_socket_get_sock_v4() argument 75 saddr, sport, daddr, dport, in nf_socket_get_sock_v4() 78 return udp4_lib_lookup(net, saddr, sport, daddr, dport, in nf_socket_get_sock_v4() 88 __be16 dport, sport; in nf_sk_lookup_slow_v4() local 110 sport = hp->source; in nf_sk_lookup_slow_v4() 120 &sport, &dport)) in nf_sk_lookup_slow_v4() 147 daddr, sport, dport, indev); in nf_sk_lookup_slow_v4()
|
A D | nf_tproxy_ipv4.c | 78 const __be16 sport, const __be16 dport, in nf_tproxy_get_sock_v4() argument 98 saddr, sport, in nf_tproxy_get_sock_v4() 112 saddr, sport, daddr, dport, in nf_tproxy_get_sock_v4() 121 sk = udp4_lib_lookup(net, saddr, sport, daddr, dport, in nf_tproxy_get_sock_v4() 146 protocol, ntohl(saddr), ntohs(sport), ntohl(daddr), ntohs(dport), lookup_type, sk); in nf_tproxy_get_sock_v4()
|
/linux/include/trace/events/ |
A D | tcp.h | 60 __field(__u16, sport) 77 __entry->sport = ntohs(inet->inet_sport); 93 __entry->sport, __entry->dport, __entry->saddr, __entry->daddr, 129 __field(__u16, sport) 145 __entry->sport = ntohs(inet->inet_sport); 163 __entry->sport, __entry->dport, 199 __field(__u16, sport) 215 __entry->sport = ireq->ir_num; 231 __entry->sport, __entry->dport, 248 __field(__u16, sport) [all …]
|
/linux/security/ |
A D | lsm_audit.c | 65 ad->u.net->sport = th->source; in ipv4_skb_to_auditdata() 74 ad->u.net->sport = uh->source; in ipv4_skb_to_auditdata() 83 ad->u.net->sport = dh->dccph_sport; in ipv4_skb_to_auditdata() 91 ad->u.net->sport = sh->source; in ipv4_skb_to_auditdata() 140 ad->u.net->sport = th->source; in ipv6_skb_to_auditdata() 151 ad->u.net->sport = uh->source; in ipv6_skb_to_auditdata() 162 ad->u.net->sport = dh->dccph_sport; in ipv6_skb_to_auditdata() 172 ad->u.net->sport = sh->source; in ipv6_skb_to_auditdata() 377 a->u.net->sport, in dump_common_audit_data() 385 a->u.net->sport, in dump_common_audit_data()
|
/linux/drivers/infiniband/hw/hns/ |
A D | hns_roce_ah.c | 42 u16 sport; in get_ah_udp_sport() local 45 sport = get_random_u32() % in get_ah_udp_sport() 50 sport = rdma_flow_label_to_udp_sport(fl); in get_ah_udp_sport() 52 return sport; in get_ah_udp_sport()
|