Home
last modified time | relevance | path

Searched refs:PORT (Results 1 – 25 of 64) sorted by relevance

123

/linux/drivers/scsi/
H A Daha152x.h289 #define SETPORT(PORT, VAL) outb( (VAL), (PORT) ) argument
290 #define GETPORT(PORT) inb( PORT ) argument
291 #define SETBITS(PORT, BITS) outb( (inb(PORT) | (BITS)), (PORT) ) argument
292 #define CLRBITS(PORT, BITS) outb( (inb(PORT) & ~(BITS)), (PORT) ) argument
293 #define TESTHI(PORT, BITS) ((inb(PORT) & (BITS)) == (BITS)) argument
294 #define TESTLO(PORT, BITS) ((inb(PORT) & (BITS)) == 0) argument
/linux/drivers/net/ethernet/sun/
H A Dniu.h1170 #define ENET_VLAN_TBL_SHIFT(PORT) ((PORT) * 4) argument
1948 #define ZCP_RAM_SEL_CFIFO(PORT) (0x10 + (PORT)) argument
1958 #define RESET_CFIFO_RST(PORT) (0x1 << (PORT)) argument
1960 #define CFIFO_ECC(PORT) (FZC_ZCP + 0x000a0UL + (PORT) * 8UL) argument
2277 #define TXC_PORT_CTL(PORT) (FZC_TXC + 0x20020UL + (PORT)*0x100UL) argument
2280 #define TXC_PKT_STUFFED(PORT) (FZC_TXC + 0x20030UL + (PORT)*0x100UL) argument
2284 #define TXC_PKT_XMIT(PORT) (FZC_TXC + 0x20038UL + (PORT)*0x100UL) argument
2288 #define TXC_ROECC_CTL(PORT) (FZC_TXC + 0x20040UL + (PORT)*0x100UL) argument
2299 #define TXC_ROECC_ST(PORT) (FZC_TXC + 0x20048UL + (PORT)*0x100UL) argument
2305 #define TXC_RO_DATA0(PORT) (FZC_TXC + 0x20050UL + (PORT)*0x100UL) argument
[all …]
/linux/arch/mips/alchemy/common/
H A Dplatform.c51 #define PORT(_base, _irq) \ macro
65 PORT(AU1000_UART0_PHYS_ADDR, AU1000_UART0_INT),
66 PORT(AU1000_UART1_PHYS_ADDR, AU1000_UART1_INT),
67 PORT(AU1000_UART2_PHYS_ADDR, AU1000_UART2_INT),
68 PORT(AU1000_UART3_PHYS_ADDR, AU1000_UART3_INT),
71 PORT(AU1000_UART0_PHYS_ADDR, AU1500_UART0_INT),
72 PORT(AU1000_UART3_PHYS_ADDR, AU1500_UART3_INT),
75 PORT(AU1000_UART0_PHYS_ADDR, AU1100_UART0_INT),
76 PORT(AU1000_UART1_PHYS_ADDR, AU1100_UART1_INT),
77 PORT(AU1000_UART3_PHYS_ADDR, AU1100_UART3_INT),
[all …]
/linux/tools/testing/selftests/net/
H A Dreuseaddr_conflict.c19 #define PORT 9999 macro
33 .sin6_port = htons(PORT), in open_port()
38 .sin_port = htons(PORT), in open_port()
91 fprintf(stderr, "Opening 127.0.0.1:%d\n", PORT); in main()
95 fprintf(stderr, "Opening INADDR_ANY:%d\n", PORT); in main()
99 fprintf(stderr, "Opening in6addr_any:%d\n", PORT); in main()
103 fprintf(stderr, "Opening INADDR_ANY:%d\n", PORT); in main()
108 fprintf(stderr, "Opening INADDR_ANY:%d after closing ipv6 socket\n", PORT); in main()
H A Dtoeplitz.sh
H A Dtoeplitz_client.sh
H A Dtest_so_rcv.sh7 PORT=1234
41 ip netns exec $NS ./so_rcv_listener $arg $HOST $PORT &
46 if ! ip netns exec $NS ./cmsg_sender $arg $HOST $PORT; then
H A Dreuseport_bpf_cpu.c32 static const int PORT = 8888; variable
47 addr4->sin_port = htons(PORT); in build_rcv_group()
53 addr6->sin6_port = htons(PORT); in build_rcv_group()
112 daddr4->sin_port = htons(PORT); in send_from_cpu()
123 daddr6->sin6_port = htons(PORT); in send_from_cpu()
H A Dreuseport_addr_any.c27 static const int PORT = 8888;
46 addr4.sin_port = htons(PORT); in build_rcv_fd()
56 addr6.sin6_port = htons(PORT); in build_rcv_fd()
105 daddr4.sin_port = htons(PORT); in connect_and_send()
118 daddr6.sin6_port = htons(PORT); in connect_and_send()
32 static const int PORT = 8888; global() variable
H A Dreuseport_bpf_numa.c28 static const int PORT = 8888; variable
43 addr4->sin_port = htons(PORT); in build_rcv_group()
49 addr6->sin6_port = htons(PORT); in build_rcv_group()
124 daddr4->sin_port = htons(PORT); in send_from_node()
135 daddr6->sin6_port = htons(PORT); in send_from_node()
H A Dreuseport_dualstack.c29 static const int PORT = 8888; variable
43 addr4->sin_port = htons(PORT); in build_rcv_fd()
49 addr6->sin6_port = htons(PORT); in build_rcv_fd()
84 daddr.sin_port = htons(PORT); in send_from_v4()
H A Dtcp_fastopen_backup_key.c47 static const int PORT = 8891; variable
102 addr4.sin_port = htons(PORT); in build_rcv_fd()
109 addr6.sin6_port = htons(PORT); in build_rcv_fd()
160 daddr4.sin_port = htons(PORT); in connect_and_send()
173 daddr6.sin6_port = htons(PORT); in connect_and_send()
/linux/arch/mips/boot/compressed/
H A Duart-16550.c15 #define PORT(offset) (CKSEG1ADDR(UART_BASE) + (offset)) macro
20 #define PORT(offset) (CKSEG1ADDR(INGENIC_UART_BASE_ADDR) + (4 * offset)) macro
25 #define PORT(offset) (CKSEG1ADDR(EN75_UART_BASE) + (4 * (offset))) macro
32 #ifndef PORT
38 return *((volatile IOTYPE *)PORT(offset)) & 0xFF; in serial_in()
43 *((volatile IOTYPE *)PORT(offset)) = value & 0xFF; in serial_out()
/linux/tools/testing/selftests/net/netfilter/
H A Dconntrack_reverse_clash.c27 #define PORT 56789 macro
75 sa1.sin_port = htons(PORT); in main()
76 sa2.sin_port = htons(PORT + 1); in main()
107 if (peer.sin_port != htons(PORT)) in main()
108 die_port(&peer, PORT); in main()
116 if (peer.sin_port != htons((PORT + 1))) in main()
117 die_port(&peer, PORT + 1); in main()
H A Dconnect_close.c13 #define PORT 12345 macro
21 .port = PORT,
/linux/arch/mips/sni/
H A Dpcit.c22 #define PORT(_base,_irq) \ macro
32 PORT(0x3f8, 0),
33 PORT(0x2f8, 3),
46 PORT(0x3f8, 0),
47 PORT(0x2f8, 3),
48 PORT(0x3e8, 4),
49 PORT(0x2e8, 3),
H A Da20r.c20 #define PORT(_base,_irq) \ macro
30 PORT(0x3f8, 4),
31 PORT(0x2f8, 3),
H A Dpcimt.c70 #define PORT(_base,_irq) \ macro
80 PORT(0x3f8, 4),
81 PORT(0x2f8, 3),
/linux/arch/mips/loongson2ef/common/
H A Dserial.c22 #define PORT(int, clk) \ macro
43 [MACH_LEMOTE_FL2E] = PORT(4, 1843200),
44 [MACH_LEMOTE_FL2F] = PORT(3, 1843200),
49 [MACH_LEMOTE_LL2F] = PORT(3, 1843200),
/linux/Documentation/hwmon/
H A Dsmsc47b397.rst116 to the CONFIG PORT (0x2E).
121 In configuration mode, the INDEX PORT is located at the CONFIG PORT address and
122 the DATA PORT is at INDEX PORT address + 1.
127 (i.e., 0x07) to the INDEX PORT and then write the number of the
128 desired logical device to the DATA PORT.
131 logical device to the INDEX PORT and then write or read the config-
132 uration register through the DATA PORT.
140 To exit the Configuration State the write 0xAA to the CONFIG PORT (0x2E).
/linux/drivers/pinctrl/renesas/
H A Dsh_pfc.h668 #define PORT_ALL(str) CPU_ALL_PORT(_PORT_ALL, PORT, str)
681 .name = __stringify(PORT##_pin), \
682 .enum_id = PORT##_pin##_DATA, \
690 PINMUX_DATA(PORT##pfx##_DATA, PORT##pfx##_FN0, \
691 PORT##pfx##_OUT, PORT##pfx##_IN)
708 CPU_ALL_PORT(_PORT_ENTRY, PORT, unused), \
748 0, PORT##nr##_OUT, PORT##nr##_IN, 0, \
751 PORT##nr##_FN0, PORT##nr##_FN1, \
752 PORT##nr##_FN2, PORT##nr##_FN3, \
753 PORT##nr##_FN4, PORT##nr##_FN5, \
[all …]
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dassign_reuse.c14 #define PORT 4443 macro
186 run_assign_reuse(AF_INET, SOCK_STREAM, "127.0.0.1", PORT); in test_assign_reuse()
188 run_assign_reuse(AF_INET6, SOCK_STREAM, "::1", PORT); in test_assign_reuse()
190 run_assign_reuse(AF_INET, SOCK_DGRAM, "127.0.0.1", PORT); in test_assign_reuse()
192 run_assign_reuse(AF_INET6, SOCK_DGRAM, "::1", PORT); in test_assign_reuse()
/linux/tools/testing/selftests/drivers/net/
H A Dxdp.py25 PORT = 1 # Port configuration to communicate with the remote host
215 _set_xdp_map("map_xdp_setup", TestConfig.PORT.value, port)
262 _set_xdp_map("map_xdp_setup", TestConfig.PORT.value, port)
309 _set_xdp_map("map_xdp_setup", TestConfig.PORT.value, port)
458 _set_xdp_map("map_xdp_setup", TestConfig.PORT.value, port)
578 _set_xdp_map("map_xdp_setup", TestConfig.PORT.value, port)
695 _set_xdp_map("map_xdp_setup", TestConfig.PORT.value, port)
24 PORT = 1 # Port configuration to communicate with the remote host global() variable in TestConfig
H A Dnetcons_fragmented_msg.sh
/linux/tools/testing/selftests/drivers/net/lib/sh/
H A Dlib_netcons.sh22 PORT="6666"
254 socat "${SOCAT_MODE}":"${PORT}",fork "${OUTPUT}" 2> /dev/null
408 local PORT=${2}
418 wait_local_port_listen "${NAMESPACE}" "${PORT}" "${PROTOCOL}"

123