| /kernel/linux/linux-6.6/drivers/pcmcia/ |
| D | yenta_socket.c | 69 static int yenta_probe_cb_irq(struct yenta_socket *socket); 70 static unsigned int yenta_probe_irq(struct yenta_socket *socket, 84 static inline u32 cb_readl(struct yenta_socket *socket, unsigned reg) in cb_readl() argument 86 u32 val = readl(socket->base + reg); in cb_readl() 87 debug("%04x %08x\n", socket, reg, val); in cb_readl() 91 static inline void cb_writel(struct yenta_socket *socket, unsigned reg, u32 val) in cb_writel() argument 93 debug("%04x %08x\n", socket, reg, val); in cb_writel() 94 writel(val, socket->base + reg); in cb_writel() 95 readl(socket->base + reg); /* avoid problems with PCI write posting */ in cb_writel() 98 static inline u8 config_readb(struct yenta_socket *socket, unsigned offset) in config_readb() argument [all …]
|
| D | ti113x.h | 166 #define ti_sysctl(socket) ((socket)->private[0]) argument 167 #define ti_cardctl(socket) ((socket)->private[1]) argument 168 #define ti_devctl(socket) ((socket)->private[2]) argument 169 #define ti_diag(socket) ((socket)->private[3]) argument 170 #define ti_mfunc(socket) ((socket)->private[4]) argument 171 #define ene_test_c9(socket) ((socket)->private[5]) argument 176 static void ti_save_state(struct yenta_socket *socket) in ti_save_state() argument 178 ti_sysctl(socket) = config_readl(socket, TI113X_SYSTEM_CONTROL); in ti_save_state() 179 ti_mfunc(socket) = config_readl(socket, TI122X_MFUNC); in ti_save_state() 180 ti_cardctl(socket) = config_readb(socket, TI113X_CARD_CONTROL); in ti_save_state() [all …]
|
| D | ricoh.h | 128 #define rl_misc(socket) ((socket)->private[0]) argument 129 #define rl_ctl(socket) ((socket)->private[1]) argument 130 #define rl_io(socket) ((socket)->private[2]) argument 131 #define rl_mem(socket) ((socket)->private[3]) argument 132 #define rl_config(socket) ((socket)->private[4]) argument 137 struct yenta_socket *socket = container_of(sock, struct yenta_socket, socket); in ricoh_zoom_video() local 139 reg = config_readb(socket, RL5C4XX_MISC_CONTROL); in ricoh_zoom_video() 146 config_writeb(socket, RL5C4XX_MISC_CONTROL, reg); in ricoh_zoom_video() 149 static void ricoh_set_zv(struct yenta_socket *socket) in ricoh_set_zv() argument 151 if(socket->dev->vendor == PCI_VENDOR_ID_RICOH) in ricoh_set_zv() [all …]
|
| D | pd6729.c | 61 static unsigned char indirect_read(struct pd6729_socket *socket, in indirect_read() argument 69 reg += socket->number * 0x40; in indirect_read() 70 port = socket->io_base; in indirect_read() 78 static unsigned short indirect_read16(struct pd6729_socket *socket, in indirect_read16() argument 86 reg = reg + socket->number * 0x40; in indirect_read16() 87 port = socket->io_base; in indirect_read16() 98 static void indirect_write(struct pd6729_socket *socket, unsigned short reg, in indirect_write() argument 105 reg = reg + socket->number * 0x40; in indirect_write() 106 port = socket->io_base; in indirect_write() 112 static void indirect_setbit(struct pd6729_socket *socket, unsigned short reg, in indirect_setbit() argument [all …]
|
| D | cs.c | 92 struct pcmcia_socket *socket = dev_get_drvdata(dev); in pcmcia_release_socket() local 94 complete(&socket->socket_released); in pcmcia_release_socket() 100 * pcmcia_register_socket - add a new pcmcia socket device 101 * @socket: the &socket to register 103 int pcmcia_register_socket(struct pcmcia_socket *socket) in pcmcia_register_socket() argument 108 if (!socket || !socket->ops || !socket->dev.parent || !socket->resource_ops) in pcmcia_register_socket() 111 dev_dbg(&socket->dev, "pcmcia_register_socket(0x%p)\n", socket->ops); in pcmcia_register_socket() 113 /* try to obtain a socket number [yes, it gets ugly if we in pcmcia_register_socket() 115 * sockets... but the socket number is deprecated in pcmcia_register_socket() 119 socket->sock = 0; in pcmcia_register_socket() [all …]
|
| D | i82092.c | 57 /* 0 = no socket, 58 * 1 = empty socket, 62 unsigned int io_base; /* base io address of the socket */ 64 struct pcmcia_socket socket; member 65 struct pci_dev *dev; /* The PCI device for the socket */ 104 dev_info(&dev->dev, "configured as a %d socket device.\n", in i82092aa_pci_probe() 116 sockets[i].socket.features |= SS_CAP_PCCARD; in i82092aa_pci_probe() 117 sockets[i].socket.map_size = 0x1000; in i82092aa_pci_probe() 118 sockets[i].socket.irq_mask = 0; in i82092aa_pci_probe() 119 sockets[i].socket.pci_irq = dev->irq; in i82092aa_pci_probe() [all …]
|
| /kernel/linux/linux-5.10/drivers/pcmcia/ |
| D | ti113x.h | 166 #define ti_sysctl(socket) ((socket)->private[0]) argument 167 #define ti_cardctl(socket) ((socket)->private[1]) argument 168 #define ti_devctl(socket) ((socket)->private[2]) argument 169 #define ti_diag(socket) ((socket)->private[3]) argument 170 #define ti_mfunc(socket) ((socket)->private[4]) argument 171 #define ene_test_c9(socket) ((socket)->private[5]) argument 176 static void ti_save_state(struct yenta_socket *socket) in ti_save_state() argument 178 ti_sysctl(socket) = config_readl(socket, TI113X_SYSTEM_CONTROL); in ti_save_state() 179 ti_mfunc(socket) = config_readl(socket, TI122X_MFUNC); in ti_save_state() 180 ti_cardctl(socket) = config_readb(socket, TI113X_CARD_CONTROL); in ti_save_state() [all …]
|
| D | yenta_socket.c | 69 static int yenta_probe_cb_irq(struct yenta_socket *socket); 70 static unsigned int yenta_probe_irq(struct yenta_socket *socket, 84 static inline u32 cb_readl(struct yenta_socket *socket, unsigned reg) in cb_readl() argument 86 u32 val = readl(socket->base + reg); in cb_readl() 87 debug("%04x %08x\n", socket, reg, val); in cb_readl() 91 static inline void cb_writel(struct yenta_socket *socket, unsigned reg, u32 val) in cb_writel() argument 93 debug("%04x %08x\n", socket, reg, val); in cb_writel() 94 writel(val, socket->base + reg); in cb_writel() 95 readl(socket->base + reg); /* avoid problems with PCI write posting */ in cb_writel() 98 static inline u8 config_readb(struct yenta_socket *socket, unsigned offset) in config_readb() argument [all …]
|
| D | ricoh.h | 128 #define rl_misc(socket) ((socket)->private[0]) argument 129 #define rl_ctl(socket) ((socket)->private[1]) argument 130 #define rl_io(socket) ((socket)->private[2]) argument 131 #define rl_mem(socket) ((socket)->private[3]) argument 132 #define rl_config(socket) ((socket)->private[4]) argument 137 struct yenta_socket *socket = container_of(sock, struct yenta_socket, socket); in ricoh_zoom_video() local 139 reg = config_readb(socket, RL5C4XX_MISC_CONTROL); in ricoh_zoom_video() 146 config_writeb(socket, RL5C4XX_MISC_CONTROL, reg); in ricoh_zoom_video() 149 static void ricoh_set_zv(struct yenta_socket *socket) in ricoh_set_zv() argument 151 if(socket->dev->vendor == PCI_VENDOR_ID_RICOH) in ricoh_set_zv() [all …]
|
| D | vrc4173_cardu.c | 6 * NEC VRC4173 CARDU driver for Socket Services 43 MODULE_DESCRIPTION("NEC VRC4173 CARDU driver for Socket Services"); 56 static inline uint8_t exca_readb(vrc4173_socket_t *socket, uint16_t offset) in exca_readb() argument 58 return readb(socket->base + EXCA_REGS_BASE + offset); in exca_readb() 61 static inline uint16_t exca_readw(vrc4173_socket_t *socket, uint16_t offset) in exca_readw() argument 65 val = readb(socket->base + EXCA_REGS_BASE + offset); in exca_readw() 66 val |= (u16)readb(socket->base + EXCA_REGS_BASE + offset + 1) << 8; in exca_readw() 71 static inline void exca_writeb(vrc4173_socket_t *socket, uint16_t offset, uint8_t val) in exca_writeb() argument 73 writeb(val, socket->base + EXCA_REGS_BASE + offset); in exca_writeb() 76 static inline void exca_writew(vrc4173_socket_t *socket, uint8_t offset, uint16_t val) in exca_writew() argument [all …]
|
| D | pd6729.c | 61 static unsigned char indirect_read(struct pd6729_socket *socket, in indirect_read() argument 69 reg += socket->number * 0x40; in indirect_read() 70 port = socket->io_base; in indirect_read() 78 static unsigned short indirect_read16(struct pd6729_socket *socket, in indirect_read16() argument 86 reg = reg + socket->number * 0x40; in indirect_read16() 87 port = socket->io_base; in indirect_read16() 98 static void indirect_write(struct pd6729_socket *socket, unsigned short reg, in indirect_write() argument 105 reg = reg + socket->number * 0x40; in indirect_write() 106 port = socket->io_base; in indirect_write() 112 static void indirect_setbit(struct pd6729_socket *socket, unsigned short reg, in indirect_setbit() argument [all …]
|
| D | cs.c | 92 struct pcmcia_socket *socket = dev_get_drvdata(dev); in pcmcia_release_socket() local 94 complete(&socket->socket_released); in pcmcia_release_socket() 100 * pcmcia_register_socket - add a new pcmcia socket device 101 * @socket: the &socket to register 103 int pcmcia_register_socket(struct pcmcia_socket *socket) in pcmcia_register_socket() argument 108 if (!socket || !socket->ops || !socket->dev.parent || !socket->resource_ops) in pcmcia_register_socket() 111 dev_dbg(&socket->dev, "pcmcia_register_socket(0x%p)\n", socket->ops); in pcmcia_register_socket() 113 /* try to obtain a socket number [yes, it gets ugly if we in pcmcia_register_socket() 115 * sockets... but the socket number is deprecated in pcmcia_register_socket() 119 socket->sock = 0; in pcmcia_register_socket() [all …]
|
| D | i82092.c | 57 /* 0 = no socket, 58 * 1 = empty socket, 62 unsigned int io_base; /* base io address of the socket */ 64 struct pcmcia_socket socket; member 65 struct pci_dev *dev; /* The PCI device for the socket */ 104 dev_info(&dev->dev, "configured as a %d socket device.\n", in i82092aa_pci_probe() 116 sockets[i].socket.features |= SS_CAP_PCCARD; in i82092aa_pci_probe() 117 sockets[i].socket.map_size = 0x1000; in i82092aa_pci_probe() 118 sockets[i].socket.irq_mask = 0; in i82092aa_pci_probe() 119 sockets[i].socket.pci_irq = dev->irq; in i82092aa_pci_probe() [all …]
|
| /kernel/linux/linux-5.10/include/linux/ |
| D | net.h | 3 * NET An implementation of the SOCKET network access protocol. 47 * enum sock_type - Socket types 48 * @SOCK_STREAM: stream (connection) socket 49 * @SOCK_DGRAM: datagram (conn.less) socket 50 * @SOCK_RAW: raw socket 52 * @SOCK_SEQPACKET: sequential packet socket 53 * @SOCK_DCCP: Datagram Congestion Control Protocol socket 57 * When adding some new socket type please 58 * grep ARCH_HAS_SOCKET_TYPE include/asm-* /socket.h, at least MIPS 76 /* Flags for socket, socketpair, accept4 */ [all …]
|
| /kernel/linux/linux-6.6/include/linux/ |
| D | net.h | 3 * NET An implementation of the SOCKET network access protocol. 50 * enum sock_type - Socket types 51 * @SOCK_STREAM: stream (connection) socket 52 * @SOCK_DGRAM: datagram (conn.less) socket 53 * @SOCK_RAW: raw socket 55 * @SOCK_SEQPACKET: sequential packet socket 56 * @SOCK_DCCP: Datagram Congestion Control Protocol socket 60 * When adding some new socket type please 61 * grep ARCH_HAS_SOCKET_TYPE include/asm-* /socket.h, at least MIPS 79 /* Flags for socket, socketpair, accept4 */ [all …]
|
| /kernel/linux/linux-6.6/Documentation/networking/ |
| D | kcm.rst | 15 | KCM socket | | KCM socket | | KCM socket | | KCM socket | 46 written on a KCM socket are sent atomically on an appropriate TCP socket. 47 Similarly, in the receive path, messages are constructed on each TCP socket 48 (Psock) and complete messages are steered to a KCM socket. 54 for each bound TCP socket, this structure holds the state for constructing 63 can be used to send and receive messages from the KCM socket. 65 Socket types 68 KCM supports SOCK_DGRAM and SOCK_SEQPACKET socket types. 79 Filter (BPF) is used for this. When attaching a TCP socket to a multiplexor a 84 to a KCM socket. [all …]
|
| D | l2tp.rst | 28 associated with a socket. Each session is associated with a virtual 40 1) Create a tunnel socket. Exchange L2TP control protocol messages 41 with the peer over that socket in order to establish a tunnel. 47 tunnel socket in order to establish a session. 62 To create a tunnel socket for use by L2TP, the standard POSIX 63 socket API is used. 67 int sockfd = socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP); 71 int sockfd = socket(AF_INET6, SOCK_DGRAM, IPPROTO_L2TP); 73 UDP socket programming doesn't need to be covered here. 76 subsystem. The L2TPIP socket address is defined in struct [all …]
|
| /kernel/linux/linux-5.10/Documentation/networking/ |
| D | kcm.rst | 15 | KCM socket | | KCM socket | | KCM socket | | KCM socket | 46 written on a KCM socket are sent atomically on an appropriate TCP socket. 47 Similarly, in the receive path, messages are constructed on each TCP socket 48 (Psock) and complete messages are steered to a KCM socket. 54 for each bound TCP socket, this structure holds the state for constructing 63 can be used to send and receive messages from the KCM socket. 65 Socket types 68 KCM supports SOCK_DGRAM and SOCK_SEQPACKET socket types. 79 Filter (BPF) is used for this. When attaching a TCP socket to a multiplexor a 84 to a KCM socket. [all …]
|
| D | l2tp.rst | 28 associated with a socket. Each session is associated with a virtual 40 1) Create a tunnel socket. Exchange L2TP control protocol messages 41 with the peer over that socket in order to establish a tunnel. 47 tunnel socket in order to establish a session. 62 To create a tunnel socket for use by L2TP, the standard POSIX 63 socket API is used. 67 int sockfd = socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP); 71 int sockfd = socket(AF_INET6, SOCK_DGRAM, IPPROTO_L2TP); 73 UDP socket programming doesn't need to be covered here. 76 subsystem. The L2TPIP socket address is defined in struct [all …]
|
| /kernel/linux/linux-6.6/Documentation/bpf/ |
| D | map_sk_storage.rst | 11 ``BPF_MAP_TYPE_SK_STORAGE`` is used to provide socket-local storage for BPF 13 to be provided and acts as the handle for accessing the socket-local 15 locally with each socket instead of with the map. The kernel is responsible for 16 allocating storage for a socket when requested and for freeing the storage when 17 either the map or the socket is deleted. 22 socket-local storage. 37 Socket-local storage for ``map`` can be retrieved from socket ``sk`` using the 56 Socket-local storage for ``map`` can be deleted from socket ``sk`` using the 70 Socket-local storage for map ``map_fd`` can be added or updated locally to a 71 socket using the ``bpf_map_update_elem()`` libbpf function. The socket is [all …]
|
| D | prog_sk_lookup.rst | 8 into the socket lookup performed by the transport layer when a packet is to be 11 When invoked BPF sk_lookup program can select a socket that will receive the 20 binding sockets to an address with ``bind()`` socket call is impractical, such 29 Such setups would require creating and ``bind()``'ing one socket to each of the 31 latency spikes during socket lookup. 47 find a listening (TCP) or an unconnected (UDP) socket for an incoming packet. 54 ``SK_PASS`` signifies that the socket lookup should continue on to regular 58 A BPF sk_lookup program can also select a socket to receive the packet by 59 calling ``bpf_sk_assign()`` BPF helper. Typically, the program looks up a socket 62 selection. Selecting a socket only takes effect if the program has terminated [all …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/ |
| D | verifier_sdiv.c | 10 SEC("socket") 22 SEC("socket") 34 SEC("socket") 46 SEC("socket") 58 SEC("socket") 70 SEC("socket") 82 SEC("socket") 94 SEC("socket") 106 SEC("socket") 119 SEC("socket") [all …]
|
| /kernel/linux/linux-6.6/tools/perf/pmu-events/arch/x86/amdzen4/ |
| D | data-fabric.json | 388 …"PublicDescription": "Read data beats (64 bytes) for local socket upstream DMA at IO Moderator (IO… 396 …"PublicDescription": "Read data beats (64 bytes) for local socket upstream DMA at IO Moderator (IO… 404 …"PublicDescription": "Read data beats (64 bytes) for local socket upstream DMA at IO Moderator (IO… 412 …"PublicDescription": "Read data beats (64 bytes) for local socket upstream DMA at IO Moderator (IO… 420 …"PublicDescription": "Write data beats (64 bytes) for local socket upstream DMA at IO Moderator (I… 428 …"PublicDescription": "Write data beats (64 bytes) for local socket upstream DMA at IO Moderator (I… 436 …"PublicDescription": "Write data beats (64 bytes) for local socket upstream DMA at IO Moderator (I… 444 …"PublicDescription": "Write data beats (64 bytes) for local socket upstream DMA at IO Moderator (I… 452 …"PublicDescription": "Read data beats (64 bytes) for remote socket upstream DMA at IO Moderator (I… 460 …"PublicDescription": "Read data beats (64 bytes) for remote socket upstream DMA at IO Moderator (I… [all …]
|
| /kernel/linux/linux-5.10/Documentation/bpf/ |
| D | prog_sk_lookup.rst | 8 into the socket lookup performed by the transport layer when a packet is to be 11 When invoked BPF sk_lookup program can select a socket that will receive the 20 binding sockets to an address with ``bind()`` socket call is impractical, such 29 Such setups would require creating and ``bind()``'ing one socket to each of the 31 latency spikes during socket lookup. 47 find a listening (TCP) or an unconnected (UDP) socket for an incoming packet. 54 ``SK_PASS`` signifies that the socket lookup should continue on to regular 58 A BPF sk_lookup program can also select a socket to receive the packet by 59 calling ``bpf_sk_assign()`` BPF helper. Typically, the program looks up a socket 62 selection. Selecting a socket only takes effect if the program has terminated [all …]
|
| /kernel/linux/linux-6.6/include/net/ |
| D | inet_common.h | 23 struct socket; 25 int inet_release(struct socket *sock); 26 int inet_stream_connect(struct socket *sock, struct sockaddr *uaddr, 28 int __inet_stream_connect(struct socket *sock, struct sockaddr *uaddr, 30 int inet_dgram_connect(struct socket *sock, struct sockaddr *uaddr, 32 int inet_accept(struct socket *sock, struct socket *newsock, int flags, 34 void __inet_accept(struct socket *sock, struct socket *newsock, 37 int inet_sendmsg(struct socket *sock, struct msghdr *msg, size_t size); 38 void inet_splice_eof(struct socket *sock); 39 int inet_recvmsg(struct socket *sock, struct msghdr *msg, size_t size, [all …]
|