/kernel/linux/linux-5.10/arch/mips/boot/compressed/ |
H A D | uart-16550.c | 13 #define PORT(offset) (CKSEG1ADDR(UART_BASE) + (offset)) macro 18 #define PORT(offset) (CKSEG1ADDR(AR7_REGS_UART0) + (4 * offset)) macro 23 #define PORT(offset) (CKSEG1ADDR(INGENIC_UART0_BASE_ADDR) + (4 * offset)) macro 28 #define PORT(offset) (CKSEG1ADDR(UART0_BASE) + (4 * offset)) macro 34 #define PORT(offset) (CKSEG1ADDR(UART0_BASE) + (4 * offset)) macro 42 #ifndef PORT 48 return *((volatile IOTYPE *)PORT(offset)) & 0xFF; in serial_in() 53 *((volatile IOTYPE *)PORT(offset)) = value & 0xFF; in serial_out()
|
/kernel/linux/linux-5.10/tools/testing/selftests/net/ |
H A D | reuseaddr_conflict.c | 19 #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 D | reuseport_dualstack.c | 29 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 D | tcp_fastopen_backup_key.c | 49 static const int PORT = 8891; variable 104 addr4.sin_port = htons(PORT); in build_rcv_fd() 111 addr6.sin6_port = htons(PORT); in build_rcv_fd() 162 daddr4.sin_port = htons(PORT); in connect_and_send() 175 daddr6.sin6_port = htons(PORT); in connect_and_send()
|
H A D | reuseport_addr_any.c | 32 static const int PORT = 8888; variable 51 addr4.sin_port = htons(PORT); in build_rcv_fd() 61 addr6.sin6_port = htons(PORT); in build_rcv_fd() 119 daddr4.sin_port = htons(PORT); in connect_and_send() 132 daddr6.sin6_port = htons(PORT); in connect_and_send()
|
/kernel/linux/linux-6.6/tools/testing/selftests/net/ |
H A D | reuseaddr_conflict.c | 19 #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 D | toeplitz_client.sh | 15 echo "msg $i" | nc "${IPVER}" -u -w 0 "${ADDR}" "${PORT}" 17 echo "msg $i" | nc "${IPVER}" -w 0 "${ADDR}" "${PORT}" 26 PORT=$4
|
H A D | toeplitz.sh | 23 PORT=8000 174 -d "${PORT}" -i "${DEV}" -k "${KEY}" -T 1000 \ 179 -d "${PORT}" -i "${DEV}" -k "${KEY}" -T 1000 \ 183 -d "${PORT}" -i "${DEV}" -k "${KEY}" -T 1000 -s -v & 189 "${IP_FLAG}" "${SERVER_IP%%/*}" "${PORT}" &
|
H A D | reuseport_dualstack.c | 29 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()
|
/kernel/linux/linux-6.6/arch/mips/boot/compressed/ |
H A D | uart-16550.c | 13 #define PORT(offset) (CKSEG1ADDR(UART_BASE) + (offset)) macro 18 #define PORT(offset) (CKSEG1ADDR(AR7_REGS_UART0) + (4 * offset)) macro 23 #define PORT(offset) (CKSEG1ADDR(INGENIC_UART_BASE_ADDR) + (4 * offset)) macro 30 #ifndef PORT 36 return *((volatile IOTYPE *)PORT(offset)) & 0xFF; in serial_in() 41 *((volatile IOTYPE *)PORT(offset)) = value & 0xFF; in serial_out()
|
/kernel/linux/linux-5.10/drivers/scsi/ |
H A D | aha152x.h | 42 #define PORTA (HOSTIOPORT1+0x1a) /* PORT A */ 43 #define PORTB (HOSTIOPORT1+0x1b) /* PORT B */ 51 #define O_PORTA 0x1a /* PORT A */ 52 #define O_PORTB 0x1b /* PORT B */ 57 #define O_TC_PORTA 0x0a /* PORT A */ 58 #define O_TC_PORTB 0x0b /* PORT B */ 289 #define SETPORT(PORT, VAL) outb( (VAL), (PORT) ) 290 #define GETPORT(PORT) inb( PORT ) [all...] |
/kernel/linux/linux-6.6/drivers/scsi/ |
H A D | aha152x.h | 42 #define PORTA (HOSTIOPORT1+0x1a) /* PORT A */ 43 #define PORTB (HOSTIOPORT1+0x1b) /* PORT B */ 51 #define O_PORTA 0x1a /* PORT A */ 52 #define O_PORTB 0x1b /* PORT B */ 57 #define O_TC_PORTA 0x0a /* PORT A */ 58 #define O_TC_PORTB 0x0b /* PORT B */ 289 #define SETPORT(PORT, VAL) outb( (VAL), (PORT) ) 290 #define GETPORT(PORT) inb( PORT ) [all...] |
/kernel/linux/linux-5.10/arch/mips/alchemy/common/ |
H A D | platform.c | 51 #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_ADD [all...] |
/kernel/linux/linux-6.6/arch/mips/alchemy/common/ |
H A D | platform.c | 51 #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_ADD [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/amd/ |
H A D | ni65.c | 112 #define PORT p->cmdr_addr macro 159 #define writereg(val,reg) {outw(reg,PORT+L_ADDRREG);inw(PORT+L_ADDRREG); \ 160 outw(val,PORT+L_DATAREG);inw(PORT+L_DATAREG);} 161 #define readreg(reg) (outw(reg,PORT+L_ADDRREG),inw(PORT+L_ADDRREG),\ 162 inw(PORT+L_DATAREG)) 164 #define writedatareg(val) {outw(val,PORT+L_DATAREG);inw(PORT [all...] |
/kernel/linux/linux-5.10/arch/loongarch/boot/compressed/ |
H A D | uart-16550.c | 12 #define PORT(offset) (TO_UNCACHE(UART_BASE) + (offset)) macro 18 #ifndef PORT 24 return *((volatile IOTYPE *)PORT(offset)) & 0xFF; in serial_in() 29 *((volatile IOTYPE *)PORT(offset)) = value & 0xFF; in serial_out()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/sun/ |
H A D | niu.h | 1170 #define ENET_VLAN_TBL_SHIFT(PORT) ((PORT) * 4) 1948 #define ZCP_RAM_SEL_CFIFO(PORT) (0x10 + (PORT)) 1958 #define RESET_CFIFO_RST(PORT) (0x1 << (PORT)) 1960 #define CFIFO_ECC(PORT) (FZC_ZCP + 0x000a0UL + (PORT) * 8UL) 2277 #define TXC_PORT_CTL(PORT) (FZC_TXC + 0x20020UL + (PORT)* [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/sun/ |
H A D | niu.h | 1170 #define ENET_VLAN_TBL_SHIFT(PORT) ((PORT) * 4) 1948 #define ZCP_RAM_SEL_CFIFO(PORT) (0x10 + (PORT)) 1958 #define RESET_CFIFO_RST(PORT) (0x1 << (PORT)) 1960 #define CFIFO_ECC(PORT) (FZC_ZCP + 0x000a0UL + (PORT) * 8UL) 2277 #define TXC_PORT_CTL(PORT) (FZC_TXC + 0x20020UL + (PORT)* [all...] |
/kernel/linux/linux-5.10/arch/mips/loongson2ef/common/ |
H A D | serial.c | 22 #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),
|
/kernel/linux/linux-6.6/arch/mips/loongson2ef/common/ |
H A D | serial.c | 22 #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),
|
/kernel/linux/linux-5.10/arch/mips/sni/ |
H A D | pcit.c | 22 #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),
|
/kernel/linux/linux-6.6/arch/mips/sni/ |
H A D | pcit.c | 22 #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),
|
/kernel/linux/linux-5.10/drivers/pinctrl/renesas/ |
H A D | sh_pfc.h | 634 * PORT style (linear pin space) 655 #define PORT_ALL(str) CPU_ALL_PORT(_PORT_ALL, PORT, str) 665 /* SH_PFC_PIN_CFG - Expand to a sh_pfc_pin entry (named PORT#) with config */ 669 .name = __stringify(PORT##_pin), \ 670 .enum_id = PORT##_pin##_DATA, \ 678 PINMUX_DATA(PORT##pfx##_DATA, PORT##pfx##_FN0, \ 679 PORT##pfx##_OUT, PORT##pfx##_IN) 683 * PORT_ASSIGN_LAST() - Expand to an enum definition for the last PORT pi [all...] |
/kernel/linux/linux-6.6/drivers/pinctrl/renesas/ |
H A D | sh_pfc.h | 646 * PORT style (linear pin space) 667 #define PORT_ALL(str) CPU_ALL_PORT(_PORT_ALL, PORT, str) 677 /* SH_PFC_PIN_CFG - Expand to a sh_pfc_pin entry (named PORT#) with config */ 680 .name = __stringify(PORT##_pin), \ 681 .enum_id = PORT##_pin##_DATA, \ 689 PINMUX_DATA(PORT##pfx##_DATA, PORT##pfx##_FN0, \ 690 PORT##pfx##_OUT, PORT##pfx##_IN) 694 * PORT_ASSIGN_LAST() - Expand to an enum definition for the last PORT pi [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/ |
H A D | assign_reuse.c | 14 #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()
|