/linux-3.3/drivers/pcmcia/ |
D | yenta_socket.c | 67 static int yenta_probe_cb_irq(struct yenta_socket *socket); 68 static unsigned int yenta_probe_irq(struct yenta_socket *socket, 82 static inline u32 cb_readl(struct yenta_socket *socket, unsigned reg) in cb_readl() argument 84 u32 val = readl(socket->base + reg); in cb_readl() 85 debug("%04x %08x\n", socket, reg, val); in cb_readl() 89 static inline void cb_writel(struct yenta_socket *socket, unsigned reg, u32 val) in cb_writel() argument 91 debug("%04x %08x\n", socket, reg, val); in cb_writel() 92 writel(val, socket->base + reg); in cb_writel() 93 readl(socket->base + reg); /* avoid problems with PCI write posting */ in cb_writel() 96 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 | pd6729.c | 62 static unsigned char indirect_read(struct pd6729_socket *socket, in indirect_read() argument 70 reg += socket->number * 0x40; in indirect_read() 71 port = socket->io_base; in indirect_read() 79 static unsigned short indirect_read16(struct pd6729_socket *socket, in indirect_read16() argument 87 reg = reg + socket->number * 0x40; in indirect_read16() 88 port = socket->io_base; in indirect_read16() 99 static void indirect_write(struct pd6729_socket *socket, unsigned short reg, in indirect_write() argument 106 reg = reg + socket->number * 0x40; in indirect_write() 107 port = socket->io_base; in indirect_write() 113 static void indirect_setbit(struct pd6729_socket *socket, unsigned short reg, in indirect_setbit() argument [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 | ricoh.h | 124 #define rl_misc(socket) ((socket)->private[0]) argument 125 #define rl_ctl(socket) ((socket)->private[1]) argument 126 #define rl_io(socket) ((socket)->private[2]) argument 127 #define rl_mem(socket) ((socket)->private[3]) argument 128 #define rl_config(socket) ((socket)->private[4]) argument 133 struct yenta_socket *socket = container_of(sock, struct yenta_socket, socket); in ricoh_zoom_video() local 135 reg = config_readb(socket, RL5C4XX_MISC_CONTROL); in ricoh_zoom_video() 142 config_writeb(socket, RL5C4XX_MISC_CONTROL, reg); in ricoh_zoom_video() 145 static void ricoh_set_zv(struct yenta_socket *socket) in ricoh_set_zv() argument 147 if(socket->dev->vendor == PCI_VENDOR_ID_RICOH) in ricoh_set_zv() [all …]
|
D | cs.c | 96 struct pcmcia_socket *socket = dev_get_drvdata(dev); in pcmcia_release_socket() local 98 complete(&socket->socket_released); in pcmcia_release_socket() 104 * pcmcia_register_socket - add a new pcmcia socket device 105 * @socket: the &socket to register 107 int pcmcia_register_socket(struct pcmcia_socket *socket) in pcmcia_register_socket() argument 112 if (!socket || !socket->ops || !socket->dev.parent || !socket->resource_ops) in pcmcia_register_socket() 115 dev_dbg(&socket->dev, "pcmcia_register_socket(0x%p)\n", socket->ops); in pcmcia_register_socket() 117 /* try to obtain a socket number [yes, it gets ugly if we in pcmcia_register_socket() 119 * sockets... but the socket number is deprecated in pcmcia_register_socket() 123 socket->sock = 0; in pcmcia_register_socket() [all …]
|
D | i82092.c | 61 int card_state; /* 0 = no socket, 62 1 = empty socket, 65 unsigned int io_base; /* base io address of the socket */ 67 struct pcmcia_socket socket; member 68 struct pci_dev *dev; /* The PCI device for the socket */ 104 printk(KERN_INFO "i82092aa: configured as a %d socket device.\n", socket_count); in i82092aa_pci_probe() 114 sockets[i].socket.features |= SS_CAP_PCCARD; in i82092aa_pci_probe() 115 sockets[i].socket.map_size = 0x1000; in i82092aa_pci_probe() 116 sockets[i].socket.irq_mask = 0; in i82092aa_pci_probe() 117 sockets[i].socket.pci_irq = dev->irq; in i82092aa_pci_probe() [all …]
|
D | topic.h | 109 struct yenta_socket *socket = container_of(sock, struct yenta_socket, socket); in topic97_zoom_video() local 112 reg_zv = config_readb(socket, TOPIC97_ZOOM_VIDEO_CONTROL); in topic97_zoom_video() 115 config_writeb(socket, TOPIC97_ZOOM_VIDEO_CONTROL, reg_zv); in topic97_zoom_video() 117 reg = config_readb(socket, TOPIC97_AUDIO_VIDEO_SWITCH); in topic97_zoom_video() 119 config_writeb(socket, TOPIC97_AUDIO_VIDEO_SWITCH, reg); in topic97_zoom_video() 122 config_writeb(socket, TOPIC97_ZOOM_VIDEO_CONTROL, reg_zv); in topic97_zoom_video() 124 reg = config_readb(socket, TOPIC97_AUDIO_VIDEO_SWITCH); in topic97_zoom_video() 126 config_writeb(socket, TOPIC97_AUDIO_VIDEO_SWITCH, reg); in topic97_zoom_video() 130 static int topic97_override(struct yenta_socket *socket) in topic97_override() argument 133 socket->socket.zoom_video = topic97_zoom_video; in topic97_override() [all …]
|
D | m32r_pcc.c | 53 struct pcmcia_socket socket; member 74 static pcc_socket_t socket[M32R_MAX_PCC] = { variable 93 pcc_socket_t *t = &socket[sock]; in pcc_iorw() 264 return inl(socket[sock].base + reg); in pcc_get() 270 outl(data, socket[sock].base + reg); in pcc_set() 290 printk("m32r_pcc: No Card is detected at socket %d : stat = 0x%08x\n",stat,sock); in is_alive() 294 printk("m32r_pcc: Insertion fail (%.8x) at socket %d\n",stat,sock); in is_alive() 296 printk("m32r_pcc: Card is Inserted at socket %d(%.8x)\n",sock,stat); in is_alive() 303 pcc_socket_t *t = &socket[pcc_sockets]; in add_pcc_socket() 325 /* Update socket interrupt information, capabilities */ in add_pcc_socket() [all …]
|
D | ds.c | 242 pcmcia_put_socket(p_dev->socket); in pcmcia_release_dev() 265 s = p_dev->socket; in pcmcia_device_probe() 276 ret = pccard_read_tuple(p_dev->socket, p_dev->func, CISTPL_CONFIG, in pcmcia_device_probe() 304 (p_dev->socket->device_count == 1) && (p_dev->device_no == 0)) in pcmcia_device_probe() 319 * Removes a PCMCIA card from the device tree and socket list. 337 /* unregister all pcmcia_devices registered with this socket, except leftover */ in pcmcia_card_remove() 368 if ((p_dev->socket->pcmcia_pfc) && in pcmcia_device_remove() 369 (p_dev->socket->device_count > 0) && in pcmcia_device_remove() 371 pcmcia_card_remove(p_dev->socket, p_dev); in pcmcia_device_remove() 414 if (!pccard_read_tuple(p_dev->socket, BIND_FN_ALL, in pcmcia_device_query() [all …]
|
D | vrc4171_card.c | 2 * vrc4171_card.c, NEC VRC4171 Card Controller driver for Socket Services. 34 MODULE_DESCRIPTION("NEC VRC4171 Card Controllers driver for Socket Services"); 237 vrc4171_socket_t *socket; in pccard_init() local 246 socket = &vrc4171_sockets[slot]; in pccard_init() 247 socket->csc_irq = search_nonuse_irq(); in pccard_init() 248 socket->io_irq = search_nonuse_irq(); in pccard_init() 319 vrc4171_socket_t *socket; in pccard_set_socket() local 329 socket = &vrc4171_sockets[slot]; in pccard_set_socket() 331 spin_lock_irq(&socket->lock); in pccard_set_socket() 345 control |= socket->io_irq; in pccard_set_socket() [all …]
|
D | bfin_cf_pcmcia.c | 60 struct pcmcia_socket socket; member 88 /* the timer is primarily to kick this socket's pccardd */ 98 pcmcia_parse_events(&cf->socket, SS_DETECT); in bfin_cf_timer() 112 cf = container_of(s, struct bfin_cf_socket, socket); in bfin_cf_get_status() 129 cf = container_of(sock, struct bfin_cf_socket, socket); in bfin_cf_set_socket() 164 cf = container_of(s, struct bfin_cf_socket, socket); in bfin_cf_set_io_map() 178 cf = container_of(s, struct bfin_cf_socket, socket); in bfin_cf_set_mem_map() 206 dev_info(&pdev->dev, "Blackfin CompactFlash/PCMCIA Socket Driver\n"); in bfin_cf_probe() 236 cf->socket.pci_irq = irq; in bfin_cf_probe() 250 cf->socket.io_offset = (unsigned long) in bfin_cf_probe() [all …]
|
/linux-3.3/include/linux/ |
D | net.h | 2 * NET An implementation of the SOCKET network access protocol. 21 #include <linux/socket.h> 22 #include <asm/socket.h> 49 SS_UNCONNECTED, /* unconnected to any socket */ 51 SS_CONNECTED, /* connected to socket */ 78 * enum sock_type - Socket types 79 * @SOCK_STREAM: stream (connection) socket 80 * @SOCK_DGRAM: datagram (conn.less) socket 81 * @SOCK_RAW: raw socket 83 * @SOCK_SEQPACKET: sequential packet socket [all …]
|
/linux-3.3/Documentation/networking/ |
D | l2tp.txt | 49 Each L2TP tunnel is implemented using a UDP or L2TPIP socket; L2TPIP 51 new l2tpip socket family. The tunnel socket is typically created by 52 userspace, though for unmanaged L2TPv3 tunnels, the socket can also be 55 indirectly by pppd using a pppol2tp socket. In the case of ethernet, 85 socket. The session context holds data that lets the driver interface 94 1. Use a UDP socket per tunnel. 96 2. Create a single PPPoL2TP socket per tunnel bound to a special null 99 management socket causes the driver to mark the tunnel socket as an 100 L2TP UDP encapsulation socket and flags it for use by the 103 in this special PPPoX socket. [all …]
|
D | can.txt | 5 Readme file for the Controller Area Network Protocol Family (aka Socket CAN) 9 1 Overview / What is Socket CAN 11 2 Motivation / Why using the socket API 13 3 Socket CAN concept 19 4 How to use Socket CAN 21 4.1.1 RAW socket option CAN_RAW_FILTER 22 4.1.2 RAW socket option CAN_RAW_ERR_FILTER 23 4.1.3 RAW socket option CAN_RAW_LOOPBACK 24 4.1.4 RAW socket option CAN_RAW_RECV_OWN_MSGS 25 4.1.5 RAW socket returned message flags [all …]
|
D | phonet.txt | 8 and RPC. With the Linux Phonet socket family, Linux host processes can 75 The Phonet socket address family maps the Phonet packet header: 92 Applications can send Phonet messages using the Phonet datagram socket 93 protocol from the PF_PHONET family. Each socket is bound to one of the 102 fd = socket(PF_PHONET, SOCK_DGRAM, 0); 118 A Phonet datagram socket can be subscribed to any number of 8-bits 125 control request, or when the socket is closed. 127 Note that no more than one socket can be subcribed to any given 136 socket paradigm. The listening socket is bound to an unique free object 137 ID. Each listening socket can handle up to 255 simultaneous [all …]
|
D | filter.txt | 1 filter.txt: Linux Socket Filtering 7 Linux Socket Filtering is derived from the Berkeley 11 Linux Socket Filtering (LSF) allows a user-space program to 12 attach a filter onto any socket and allow or disallow certain 13 types of data to come through the socket. LSF follows exactly 22 immediately begin filtering data on that socket. 24 You can also detach filters from your socket via the 26 since when you close a socket that has a filter on it the 28 may be adding a different filter on the same socket where you had another 32 will remain on that socket.
|
D | rxrpc.txt | 20 (*) Socket options. 173 connections are handled transparently. One client socket may be used to 174 make multiple simultaneous calls to the same service. One server socket 184 (*) Each internal UDP socket is retained [tunable] for a certain amount of 205 Interaction with the user of the RxRPC socket: 207 (*) A socket is made into a server socket by binding an address with a 218 socket. This may be overridden by supplying an alternate address to the 224 (*) A server socket may also be used to make client calls. To do this, the 270 (*) The server application has to provide the server socket with a keyring of 278 nominated by a socket option. [all …]
|
D | rds.txt | 16 applications to use a single socket to talk to any other process in the 18 to N*N if you use a connection-oriented socket transport like TCP. 30 the end point of a connection. All socket operations that involve 42 * Socket interface 44 socket. The next section will cover the details. At any rate, 45 all I/O is performed through the standard BSD socket API. 52 attaches it to the socket. Once bound, the transport assignment 61 Socket Interface 71 fd = socket(PF_RDS, SOCK_SEQPACKET, 0); 72 This creates a new, unbound RDS socket. [all …]
|
/linux-3.3/include/net/ |
D | inet_common.h | 14 struct socket; 16 extern int inet_release(struct socket *sock); 17 extern int inet_stream_connect(struct socket *sock, struct sockaddr * uaddr, 19 extern int inet_dgram_connect(struct socket *sock, struct sockaddr * uaddr, 21 extern int inet_accept(struct socket *sock, struct socket *newsock, int flags); 22 extern int inet_sendmsg(struct kiocb *iocb, struct socket *sock, 24 extern ssize_t inet_sendpage(struct socket *sock, struct page *page, int offset, 26 extern int inet_recvmsg(struct kiocb *iocb, struct socket *sock, 28 extern int inet_shutdown(struct socket *sock, int how); 29 extern int inet_listen(struct socket *sock, int backlog); [all …]
|
D | sock.h | 3 * operating system. INET is implemented using the BSD Socket 6 * Definitions for the AF_INET socket handler. 21 * a socket is reset and must stay shut up 25 * David S. Miller : New socket lookup architecture. 32 * Pedro Hortas : New flags field for socket options 103 /* This is the per-socket lock. The spinlock provides a synchronization 139 * @skc_net: reference to the network namespace of this socket 218 * @sk_backlog: always used with the per-socket spinlock held 230 * @sk_cgrp_prioidx: socket group's priority map index 231 * @sk_type: socket type (%SOCK_STREAM, etc) [all …]
|
/linux-3.3/net/tipc/ |
D | socket.c | 2 * net/tipc/socket.c: TIPC socket API 43 #define SS_LISTENING -1 /* socket is listening */ 44 #define SS_READY -2 /* socket is connectionless */ 77 * Revised TIPC socket locking policy: 79 * Most socket operations take the standard socket lock when they start 81 * this lock grants the owner exclusive access to the fields of the socket 82 * data structures, with the exception of the backlog queue. A few socket 83 * operations can be done without taking the socket lock because they only 84 * read socket information that never changes during the life of the socket. 86 * Socket operations may acquire the lock for the associated TIPC port if they [all …]
|
/linux-3.3/include/pcmcia/ |
D | ss.h | 62 /* Socket configuration flags */ 108 /* Maximum number of IO windows per socket */ 111 /* Maximum number of memory windows per socket */ 116 * Socket operations. 135 socket_state_t socket; member 152 unsigned int sock; /* socket number */ 155 /* socket capabilities */ 163 /* socket setup is done so resources should be able to be allocated. 168 /* socket operations */ 205 * into the socket */ [all …]
|
/linux-3.3/net/atm/ |
D | common.h | 13 int vcc_create(struct net *net, struct socket *sock, int protocol, int family); 14 int vcc_release(struct socket *sock); 15 int vcc_connect(struct socket *sock, int itf, short vpi, int vci); 16 int vcc_recvmsg(struct kiocb *iocb, struct socket *sock, struct msghdr *msg, 18 int vcc_sendmsg(struct kiocb *iocb, struct socket *sock, struct msghdr *m, 20 unsigned int vcc_poll(struct file *file, struct socket *sock, poll_table *wait); 21 int vcc_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg); 22 int vcc_compat_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg); 23 int vcc_setsockopt(struct socket *sock, int level, int optname, 25 int vcc_getsockopt(struct socket *sock, int level, int optname,
|
/linux-3.3/net/llc/ |
D | af_llc.c | 4 * Functions in this module are implementation of socket based llc 89 * @sk: Socket which contains a valid llc socket type. 93 * operation the user would like to perform and the type of socket. 109 * @sk: Connection the socket is using. 133 static void llc_ui_sk_init(struct socket *sock, struct sock *sk) in llc_ui_sk_init() 148 * llc_ui_create - alloc and init a new llc_ui socket 150 * @sock: Socket to initialize and attach allocated sk to. 154 * Allocate and initialize a new llc_ui socket, validate the user wants a 155 * socket type we have available. 158 static int llc_ui_create(struct net *net, struct socket *sock, int protocol, in llc_ui_create() [all …]
|