Home
last modified time | relevance | path

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

123

/Linux-v4.19/arch/mips/boot/compressed/
Duart-16550.c13 #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()
/Linux-v4.19/drivers/scsi/
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-v4.19/tools/testing/selftests/net/
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()
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()
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()
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()
/Linux-v4.19/arch/mips/alchemy/common/
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-v4.19/drivers/net/ethernet/sun/
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-v4.19/arch/mips/kernel/
D8250-platform.c11 #define PORT(base, int) \ macro
22 PORT(0x3F8, 4),
23 PORT(0x2F8, 3),
24 PORT(0x3E8, 4),
25 PORT(0x2E8, 3),
/Linux-v4.19/drivers/net/ethernet/amd/
Dni65.c112 #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+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))
278 outw(80,PORT+L_ADDRREG); in ni65_set_performance()
279 if(inw(PORT+L_ADDRREG) != 80) in ni65_set_performance()
[all …]
/Linux-v4.19/arch/mips/sni/
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),
Da20r.c20 #define PORT(_base,_irq) \ macro
30 PORT(0x3f8, 4),
31 PORT(0x2f8, 3),
Dpcimt.c70 #define PORT(_base,_irq) \ macro
80 PORT(0x3f8, 4),
81 PORT(0x2f8, 3),
/Linux-v4.19/arch/mips/loongson64/common/
Dearly_printk.c17 #define PORT(base, offset) (u8 *)(base + offset) macro
21 return readb(PORT(base, offset)); in serial_in()
26 writeb(value, PORT(base, offset)); in serial_out()
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-v4.19/Documentation/hwmon/
Dsmsc47b39792 to the CONFIG PORT (0x2E).
95 In configuration mode, the INDEX PORT is located at the CONFIG PORT address and
96 the DATA PORT is at INDEX PORT address + 1.
100 (i.e., 0x07) to the INDEX PORT and then write the number of the
101 desired logical device to the DATA PORT.
104 logical device to the INDEX PORT and then write or read the config-
105 uration register through the DATA PORT.
110 To exit the Configuration State the write 0xAA to the CONFIG PORT (0x2E).
/Linux-v4.19/drivers/pinctrl/sh-pfc/
Dsh_pfc.h572 #define PORT_ALL(str) CPU_ALL_PORT(_PORT_ALL, PORT, str)
586 .name = __stringify(PORT##_pin), \
587 .enum_id = PORT##_pin##_DATA, \
611 PINMUX_DATA(PORT##pfx##_DATA, PORT##pfx##_FN0, \
612 PORT##pfx##_OUT, PORT##pfx##_IN)
633 0, PORT##nr##_OUT, PORT##nr##_IN, 0, \
637 PORT##nr##_FN0, PORT##nr##_FN1, \
638 PORT##nr##_FN2, PORT##nr##_FN3, \
639 PORT##nr##_FN4, PORT##nr##_FN5, \
640 PORT##nr##_FN6, PORT##nr##_FN7 \
/Linux-v4.19/Documentation/devicetree/bindings/
Dxilinx.txt67 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
109 PORT Sys_Intr1 = ps2_1_intr
110 PORT Sys_Intr2 = ps2_2_intr
111 PORT Clkin1 = ps2_clk_rx_1
112 PORT Clkin2 = ps2_clk_rx_2
113 PORT Clkpd1 = ps2_clk_tx_1
[all …]
/Linux-v4.19/Documentation/devicetree/bindings/gpio/
Dgpio-vf610.txt1 * Freescale VF610 PORT/GPIO module
3 The Freescale PORT/GPIO modules are two adjacent modules providing GPIO
5 each, and each PORT module has its own interrupt.
11 - reg : The first reg tuple represents the PORT module, the second tuple
/Linux-v4.19/arch/mips/ar7/
Dprom.c252 #define PORT(offset) (KSEG1ADDR(AR7_REGS_UART0 + (offset * 4))) macro
255 return readl((void *)PORT(offset)); in serial_in()
260 writel(value, (void *)PORT(offset)); in serial_out()
/Linux-v4.19/arch/mips/netlogic/xlr/
Dplatform.c60 #define PORT(_irq) \ macro
74 PORT(PIC_UART_0_IRQ),
75 PORT(PIC_UART_1_IRQ),
/Linux-v4.19/drivers/pinctrl/
Dpinctrl-falcon.c51 #define PORT(x) (x / PINS) macro
253 void __iomem *mem = info->membase[PORT(pin)]; in falcon_pinconf_get()
290 void __iomem *mem = info->membase[PORT(pin)]; in falcon_pinconf_set()
335 int port = PORT(offset); in falcon_pinconf_dbg_show()
388 int port = PORT(info->mfp[mfp].pin); in falcon_mux_apply()
/Linux-v4.19/drivers/tty/serial/
Dip22zilog.c91 #define ZILOG_CHANNEL_FROM_PORT(PORT) ((struct zilog_channel *)((PORT)->membase)) argument
92 #define UART_ZILOG(PORT) ((struct uart_ip22zilog_port *)(PORT)) argument
93 #define IP22ZILOG_GET_CURR_REG(PORT, REGNUM) \ argument
94 (UART_ZILOG(PORT)->curregs[REGNUM])
95 #define IP22ZILOG_SET_CURR_REG(PORT, REGNUM, REGVAL) \ argument
96 ((UART_ZILOG(PORT)->curregs[REGNUM]) = (REGVAL))
/Linux-v4.19/samples/bpf/
Dcookie_uid_helper_example.c56 #define PORT 8888 macro
225 si_other.sin_port = htons(PORT); in udp_client()
/Linux-v4.19/tools/testing/selftests/ntb/
Dntb_test.sh148 PORT=$1
157 if [[ ${PORT} -eq $PEER_PORT ]]; then

123