/linux/drivers/net/ethernet/sun/ |
A D | niu.h | 1170 #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 2284 #define TXC_PKT_XMIT(PORT) (FZC_TXC + 0x20038UL + (PORT)*0x100UL) argument 2352 #define TXC_RO_TIDS(PORT) (FZC_TXC + 0x200b0UL + (PORT)*0x100UL) argument 2372 #define TXC_RO_CTL(PORT) (FZC_TXC + 0x200d8UL + (PORT)*0x100UL) argument 2408 #define TXC_INT_STAT_VAL_SHIFT(PORT) ((PORT) * 8) argument 2418 #define TXC_INT_MASK_VAL_SHIFT(PORT) ((PORT) * 8) argument [all …]
|
/linux/drivers/scsi/ |
A D | aha152x.h | 289 #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/arch/mips/alchemy/common/ |
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_ADDR, AU1100_UART3_INT), [all …]
|
/linux/tools/testing/selftests/net/ |
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()
|
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}" &
|
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
|
A D | reuseport_bpf_cpu.c | 32 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()
|
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()
|
A D | reuseport_bpf_numa.c | 28 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()
|
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()
|
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()
|
/linux/arch/mips/boot/compressed/ |
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()
|
/linux/drivers/net/ethernet/amd/ |
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),\ 164 #define writedatareg(val) {outw(val,PORT+L_DATAREG);inw(PORT+L_DATAREG);} 169 #define writereg(val,reg) {outw(reg,PORT+L_ADDRREG);outw(val,PORT+L_DATAREG);} 170 #define readreg(reg) (outw(reg,PORT+L_ADDRREG),inw(PORT+L_DATAREG)) 283 outw(0,PORT+L_ADDRREG); in ni65_set_performance() 326 outw(inw(PORT+L_RESET),PORT+L_RESET); /* that's the hard way */ in ni65_close() 460 outw(inw(PORT+L_RESET),PORT+L_RESET); /* first: reset the card */ in ni65_probe1() [all …]
|
/linux/arch/mips/sni/ |
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),
|
A D | a20r.c | 20 #define PORT(_base,_irq) \ macro 30 PORT(0x3f8, 4), 31 PORT(0x2f8, 3),
|
A D | pcimt.c | 70 #define PORT(_base,_irq) \ macro 80 PORT(0x3f8, 4), 81 PORT(0x2f8, 3),
|
/linux/arch/mips/loongson2ef/common/ |
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),
|
/linux/Documentation/devicetree/bindings/gpio/ |
A D | gpio-vf610.yaml | 7 title: Freescale VF610 PORT/GPIO module 13 The Freescale PORT/GPIO modules are two adjacent modules providing GPIO 15 each, and each PORT module has its own interrupt. 29 description: The first reg tuple represents the PORT module, the second tuple 49 - description: SoC PORT clock
|
/linux/Documentation/hwmon/ |
A D | smsc47b397.rst | 116 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/ |
A D | sh_pfc.h | 680 #define PORT_ALL(str) CPU_ALL_PORT(_PORT_ALL, PORT, str) 694 .name = __stringify(PORT##_pin), \ 695 .enum_id = PORT##_pin##_DATA, \ 703 PINMUX_DATA(PORT##pfx##_DATA, PORT##pfx##_FN0, \ 704 PORT##pfx##_OUT, PORT##pfx##_IN) 721 CPU_ALL_PORT(_PORT_ENTRY, PORT, unused), \ 765 0, PORT##nr##_OUT, PORT##nr##_IN, 0, \ 769 PORT##nr##_FN0, PORT##nr##_FN1, \ 770 PORT##nr##_FN2, PORT##nr##_FN3, \ 771 PORT##nr##_FN4, PORT##nr##_FN5, \ [all …]
|
/linux/arch/mips/ar7/ |
A D | prom.c | 240 #define PORT(offset) (KSEG1ADDR(AR7_REGS_UART0 + (offset * 4))) macro 243 return readl((void *)PORT(offset)); in serial_in() 248 writel(value, (void *)PORT(offset)); in serial_out()
|
/linux/Documentation/devicetree/bindings/ |
A D | xilinx.txt | 67 PORT OPB_Clk = CLK_50MHz 68 PORT Interrupt = opb_uartlite_0_Interrupt 69 PORT RX = opb_uartlite_0_RX 70 PORT TX = opb_uartlite_0_TX 71 PORT OPB_Rst = sys_bus_reset_0
|
/linux/drivers/tty/serial/ |
A D | ip22zilog.c | 87 #define ZILOG_CHANNEL_FROM_PORT(PORT) ((struct zilog_channel *)((PORT)->membase)) argument 88 #define UART_ZILOG(PORT) ((struct uart_ip22zilog_port *)(PORT)) argument 89 #define IP22ZILOG_GET_CURR_REG(PORT, REGNUM) \ argument 90 (UART_ZILOG(PORT)->curregs[REGNUM]) 91 #define IP22ZILOG_SET_CURR_REG(PORT, REGNUM, REGVAL) \ argument 92 ((UART_ZILOG(PORT)->curregs[REGNUM]) = (REGVAL))
|
/linux/drivers/pinctrl/ |
A D | pinctrl-falcon.c | 48 #define PORT(x) (x / PINS) macro 246 void __iomem *mem = info->membase[PORT(pin)]; in falcon_pinconf_get() 283 void __iomem *mem = info->membase[PORT(pin)]; in falcon_pinconf_set() 328 int port = PORT(offset); in falcon_pinconf_dbg_show() 381 int port = PORT(info->mfp[mfp].pin); in falcon_mux_apply()
|
/linux/samples/bpf/ |
A D | cookie_uid_helper_example.c | 56 #define PORT 8888 macro 230 si_other.sin_port = htons(PORT); in udp_client()
|