Home
last modified time | relevance | path

Searched refs:socket (Results 1 – 25 of 2325) sorted by relevance

12345678910>>...93

/linux/drivers/pcmcia/
A Dti113x.h166 #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
270 socket->socket.zoom_video = ti_zoom_video; in ti_set_zv()
493 socket->cb_irq = socket->dev->irq = func0->irq; in ti12xx_align_irqs()
533 socket->cb_irq = socket->dev->irq = old_irq; in ti12xx_untie_interrupts()
877 socket->socket.power_hook = ti12xx_power_hook; in ti12xx_override()
[all …]
A Dyenta_socket.c591 socket->type->sock_init(socket); in yenta_sock_init()
1015 free_irq(socket->cb_irq, socket); in yenta_probe_cb_irq()
1028 socket->socket.pci_irq = socket->cb_irq; in yenta_get_socket_capabilities()
1030 socket->socket.irq_mask = yenta_probe_irq(socket, isa_irq_mask); in yenta_get_socket_capabilities()
1032 socket->socket.irq_mask = 0; in yenta_get_socket_capabilities()
1035 socket->socket.irq_mask, socket->cb_irq); in yenta_get_socket_capabilities()
1179 socket->socket.driver_data = socket; in yenta_probe()
1182 socket->socket.map_size = 0x1000; in yenta_probe()
1183 socket->socket.cb_dev = dev; in yenta_probe()
1284 free_irq(socket->cb_irq, socket); in yenta_probe()
[all …]
A Dricoh.h128 #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
157 socket->socket.zoom_video = ricoh_zoom_video; in ricoh_set_zv()
194 rl_misc(socket) = config_readw(socket, RL5C4XX_MISC); in ricoh_save_state()
195 rl_ctl(socket) = config_readw(socket, RL5C4XX_16BIT_CTL); in ricoh_save_state()
196 rl_io(socket) = config_readw(socket, RL5C4XX_16BIT_IO_0); in ricoh_save_state()
198 rl_config(socket) = config_readw(socket, RL5C4XX_CONFIG); in ricoh_save_state()
[all …]
A Dpd6729.c204 dev_vdbg(&socket[i].socket.dev, in pd6729_interrupt()
285 t = (socket->number) ? socket : socket + 1; in pd6729_get_status()
684 socket[i].socket.map_size = 0x1000; in pd6729_pci_probe()
685 socket[i].socket.irq_mask = mask; in pd6729_pci_probe()
686 socket[i].socket.pci_irq = dev->irq; in pd6729_pci_probe()
687 socket[i].socket.cb_dev = dev; in pd6729_pci_probe()
688 socket[i].socket.owner = THIS_MODULE; in pd6729_pci_probe()
692 socket[i].socket.ops = &pd6729_operations; in pd6729_pci_probe()
694 socket[i].socket.dev.parent = &dev->dev; in pd6729_pci_probe()
695 socket[i].socket.driver_data = &socket[i]; in pd6729_pci_probe()
[all …]
A Dcs.c108 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()
119 socket->sock = 0; in pcmcia_register_socket()
145 dev_set_drvdata(&socket->dev, socket); in pcmcia_register_socket()
147 dev_set_name(&socket->dev, "pcmcia_socket%u", socket->sock); in pcmcia_register_socket()
163 ret = socket->resource_ops->init(socket); in pcmcia_register_socket()
208 if (!socket) in pcmcia_unregister_socket()
213 if (socket->thread) in pcmcia_unregister_socket()
224 socket->resource_ops->exit(socket); in pcmcia_unregister_socket()
373 skt->socket.Vcc = skt->socket.Vpp = 33; in socket_setup()
[all …]
A Dtopic.h112 struct yenta_socket *socket = container_of(sock, struct yenta_socket, socket); in topic97_zoom_video() local
115 reg_zv = config_readb(socket, TOPIC97_ZOOM_VIDEO_CONTROL); in topic97_zoom_video()
120 reg = config_readb(socket, TOPIC97_AUDIO_VIDEO_SWITCH); in topic97_zoom_video()
122 config_writeb(socket, TOPIC97_AUDIO_VIDEO_SWITCH, reg); in topic97_zoom_video()
127 reg = config_readb(socket, TOPIC97_AUDIO_VIDEO_SWITCH); in topic97_zoom_video()
129 config_writeb(socket, TOPIC97_AUDIO_VIDEO_SWITCH, reg); in topic97_zoom_video()
133 static int topic97_override(struct yenta_socket *socket) in topic97_override() argument
136 socket->socket.zoom_video = topic97_zoom_video; in topic97_override()
141 static int topic95_override(struct yenta_socket *socket) in topic95_override() argument
147 fctrl = exca_readb(socket, TOPIC_EXCA_IF_CONTROL); in topic95_override()
[all …]
A Do2micro.h121 if (PCI_FUNC(socket->dev->devfn) == 0) { in o2micro_override()
122 a = config_readb(socket, O2_RESERVED1); in o2micro_override()
126 switch (socket->dev->device) { in o2micro_override()
151 dev_warn(&socket->dev->dev, in o2micro_override()
155 dev_info(&socket->dev->dev, in o2micro_override()
157 config_writeb(socket, O2_RESERVED1, in o2micro_override()
159 config_writeb(socket, O2_RESERVED2, in o2micro_override()
162 dev_info(&socket->dev->dev, in o2micro_override()
164 config_writeb(socket, O2_RESERVED1, in o2micro_override()
166 config_writeb(socket, O2_RESERVED2, in o2micro_override()
[all …]
A Di82092.c64 struct pcmcia_socket socket; member
118 sockets[i].socket.irq_mask = 0; in i82092aa_pci_probe()
196 reg += socket * 0x40; in indirect_read()
197 port = sockets[socket].io_base; in indirect_read()
210 reg = reg + socket * 0x40; in indirect_write()
224 reg = reg + socket * 0x40; in indirect_setbit()
243 reg = reg + socket * 0x40; in indirect_resetbit()
261 reg = reg + socket * 0x40; in indirect_write16()
447 socket); in i82092aa_set_socket()
553 socket); in i82092aa_set_io_map()
[all …]
A Di82365.c146 struct pcmcia_socket socket; member
730 t[i].socket.irq_mask = mask; in add_pcic()
865 pcmcia_parse_events(&socket[i].socket, events); in pcic_interrupt()
907 if (socket[sock].psock & 1) { in i365_get_status()
1280 socket[i].socket.dev.parent = &i82365_device->dev; in init_i82365()
1281 socket[i].socket.ops = &pcic_operations; in init_i82365()
1282 socket[i].socket.resource_ops = &pccard_nonstatic_ops; in init_i82365()
1283 socket[i].socket.owner = THIS_MODULE; in init_i82365()
1284 socket[i].number = i; in init_i82365()
1285 ret = pcmcia_register_socket(&socket[i].socket); in init_i82365()
[all …]
A Dds.c265 s = p_dev->socket; in pcmcia_device_probe()
507 p_dev->socket = s; in pcmcia_device_add()
1346 socket = pcmcia_get_socket(socket); in pcmcia_bus_add_socket()
1347 if (!socket) { in pcmcia_bus_add_socket()
1355 pcmcia_put_socket(socket); in pcmcia_bus_add_socket()
1360 socket->pcmcia_pfc = 0; in pcmcia_bus_add_socket()
1361 socket->device_count = 0; in pcmcia_bus_add_socket()
1367 pcmcia_put_socket(socket); in pcmcia_bus_add_socket()
1379 if (!socket) in pcmcia_bus_remove_socket()
1387 release_cis_mem(socket); in pcmcia_bus_remove_socket()
[all …]
A Domap_cf.c57 struct pcmcia_socket socket; member
232 cf->socket.pci_irq = irq; in omap_cf_probe()
253 cf->socket.io_offset = (unsigned long) in omap_cf_probe()
255 if (!cf->socket.io_offset) { in omap_cf_probe()
292 cf->socket.owner = THIS_MODULE; in omap_cf_probe()
293 cf->socket.dev.parent = &pdev->dev; in omap_cf_probe()
294 cf->socket.ops = &omap_cf_ops; in omap_cf_probe()
298 cf->socket.map_size = SZ_2K; in omap_cf_probe()
299 cf->socket.io[0].res = &cf->iomem; in omap_cf_probe()
312 if (cf->socket.io_offset) in omap_cf_probe()
[all …]
A Dvrc4171_card.c224 struct vrc4171_socket *socket; in pccard_init() local
236 spin_lock_init(&socket->lock); in pccard_init()
307 struct vrc4171_socket *socket; in pccard_set_socket() local
319 spin_lock_irq(&socket->lock); in pccard_set_socket()
333 control |= socket->io_irq; in pccard_set_socket()
362 spin_unlock_irq(&socket->lock); in pccard_set_socket()
507 struct vrc4171_socket *socket; in pccard_interrupt() local
557 struct vrc4171_socket *socket; in vrc4171_add_sockets() local
568 switch (socket->slot) { in vrc4171_add_sockets()
607 struct vrc4171_socket *socket; in vrc4171_remove_sockets() local
[all …]
A Dat91_cf.c53 struct pcmcia_socket socket; member
87 pcmcia_parse_events(&cf->socket, SS_DETECT); in at91_cf_irq()
185 io->start = cf->socket.io_offset; in at91_cf_set_io_map()
303 cf->socket.pci_irq = nr_irqs + 1; in at91_cf_probe()
309 cf->socket.io_offset = 0x10000; in at91_cf_probe()
323 cf->socket.owner = THIS_MODULE; in at91_cf_probe()
324 cf->socket.dev.parent = &pdev->dev; in at91_cf_probe()
325 cf->socket.ops = &at91_cf_ops; in at91_cf_probe()
329 cf->socket.map_size = SZ_2K; in at91_cf_probe()
330 cf->socket.io[0].res = io; in at91_cf_probe()
[all …]
A Dxxs1500_ss.c56 struct pcmcia_socket socket; member
73 pcmcia_parse_events(&sock->socket, SS_DETECT); in cdirq()
263 sock->socket.ops = &xxs1500_pcmcia_operations; in xxs1500_pcmcia_probe()
264 sock->socket.owner = THIS_MODULE; in xxs1500_pcmcia_probe()
265 sock->socket.pci_irq = gpio_to_irq(GPIO_CARDIRQ); in xxs1500_pcmcia_probe()
267 sock->socket.map_size = MEM_MAP_SIZE; in xxs1500_pcmcia_probe()
268 sock->socket.io_offset = (unsigned long)sock->virt_io; in xxs1500_pcmcia_probe()
269 sock->socket.dev.parent = &pdev->dev; in xxs1500_pcmcia_probe()
270 sock->socket.resource_ops = &pccard_static_ops; in xxs1500_pcmcia_probe()
285 ret = pcmcia_register_socket(&sock->socket); in xxs1500_pcmcia_probe()
[all …]
/linux/include/linux/
A Dnet.h114 struct socket { struct
141 int (*bind) (struct socket *sock,
144 int (*connect) (struct socket *sock,
148 struct socket *sock2);
149 int (*accept) (struct socket *sock,
151 int (*getname) (struct socket *sock,
191 int (*peek_len)(struct socket *sock);
230 struct socket **res, int kern);
234 struct socket *sock_alloc(void);
235 void sock_release(struct socket *sock);
[all …]
/linux/include/net/
A Daf_rxrpc.h16 struct socket;
39 void rxrpc_kernel_new_call_notification(struct socket *,
42 struct rxrpc_call *rxrpc_kernel_begin_call(struct socket *,
52 int rxrpc_kernel_send_data(struct socket *, struct rxrpc_call *,
55 int rxrpc_kernel_recv_data(struct socket *, struct rxrpc_call *,
57 bool rxrpc_kernel_abort_call(struct socket *, struct rxrpc_call *,
59 void rxrpc_kernel_end_call(struct socket *, struct rxrpc_call *);
60 void rxrpc_kernel_get_peer(struct socket *, struct rxrpc_call *,
63 int rxrpc_kernel_charge_accept(struct socket *, rxrpc_notify_rx_t,
68 u32 rxrpc_kernel_get_epoch(struct socket *, struct rxrpc_call *);
[all …]
A Dinet_common.h17 struct socket;
19 int inet_release(struct socket *sock);
20 int inet_stream_connect(struct socket *sock, struct sockaddr *uaddr,
22 int __inet_stream_connect(struct socket *sock, struct sockaddr *uaddr,
24 int inet_dgram_connect(struct socket *sock, struct sockaddr *uaddr,
26 int inet_accept(struct socket *sock, struct socket *newsock, int flags,
29 int inet_sendmsg(struct socket *sock, struct msghdr *msg, size_t size);
32 int inet_recvmsg(struct socket *sock, struct msghdr *msg, size_t size,
34 int inet_shutdown(struct socket *sock, int how);
35 int inet_listen(struct socket *sock, int backlog);
[all …]
/linux/Documentation/networking/
A Dkcm.rst15 | KCM socket | | KCM socket | | KCM socket | | KCM socket |
46 written on a KCM socket are sent atomically on an appropriate TCP socket.
84 to a KCM socket.
86 TCP socket management
94 TCP socket, it should unattach the socket from KCM and then handle the error
99 socket buffer on the attached TCP socket (the socket buffer size can be set by
116 A new multiplexor and initial KCM socket is created by a socket call::
126 After the first KCM socket is created using the socket call as described
128 a KCM socket. This is accomplished by an ioctl on a KCM socket::
256 messages on a KCM socket.
[all …]
A Dl2tp.rst63 socket API is used.
86 socket to listen for those requests and bind the socket using tunnel
90 its tunnel socket is closed.
367 setsockopt and ioctl on the PPPoX socket. The following socket
430 socket is closed.
495 tunnel is created using a UDP socket, the socket is set up as an
525 tunnel context holds a ref on the tunnel socket, the socket's
527 socket. For UDP sockets, when userspace closes the tunnel socket, the
532 reaches zero, the tunnel puts its socket ref. When the socket is
566 the tunnel socket.
[all …]
/linux/drivers/xen/
A Dpvcalls-front.h6 int pvcalls_front_socket(struct socket *sock);
7 int pvcalls_front_connect(struct socket *sock, struct sockaddr *addr,
9 int pvcalls_front_bind(struct socket *sock,
12 int pvcalls_front_listen(struct socket *sock, int backlog);
13 int pvcalls_front_accept(struct socket *sock,
14 struct socket *newsock,
16 int pvcalls_front_sendmsg(struct socket *sock,
19 int pvcalls_front_recvmsg(struct socket *sock,
24 struct socket *sock,
26 int pvcalls_front_release(struct socket *sock);
/linux/net/atm/
A Dcommon.h14 int vcc_create(struct net *net, struct socket *sock, int protocol, int family, int kern);
15 int vcc_release(struct socket *sock);
16 int vcc_connect(struct socket *sock, int itf, short vpi, int vci);
17 int vcc_recvmsg(struct socket *sock, struct msghdr *msg, size_t size,
19 int vcc_sendmsg(struct socket *sock, struct msghdr *m, size_t total_len);
20 __poll_t 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/Documentation/bpf/
A Dprog_sk_lookup.rst8 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
31 latency spikes during socket lookup.
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
68 1. If any program returned ``SK_PASS`` and selected a valid socket, the socket
69 is used as the result of the socket lookup.
73 selected a socket, socket lookup fails.
75 socket lookup continues on.
[all …]
/linux/fs/afs/
A Drxrpc.c39 struct socket *socket; in afs_open_socket() local
48 socket->sk->sk_allocation = GFP_NOFS; in afs_open_socket()
59 ret = rxrpc_sock_set_min_security_level(socket->sk, in afs_open_socket()
87 ret = kernel_listen(socket, INT_MAX); in afs_open_socket()
91 net->socket = socket; in afs_open_socket()
97 sock_release(socket); in afs_open_socket()
110 kernel_listen(net->socket, 0); in afs_close_socket()
123 kernel_sock_shutdown(net->socket, SHUT_RDWR); in afs_close_socket()
125 sock_release(net->socket); in afs_close_socket()
373 ret = rxrpc_kernel_send_data(call->net->socket, in afs_make_call()
[all …]
/linux/tools/bpf/bpftool/Documentation/
A Dbpftool-cgroup.rst85 **ingress** ingress path of the inet socket (since 4.10);
86 **egress** egress path of the inet socket (since 4.10);
87 **sock_create** opening of an inet socket (since 4.10);
88 **sock_ops** various socket operations (since 4.12);
90 **bind4** call to bind(2) for an inet4 socket (since 4.17);
91 **bind6** call to bind(2) for an inet6 socket (since 4.17);
97 unconnected udp4 socket (since 4.18);
99 unconnected udp6 socket (since 4.18);
101 an unconnected udp4 socket (since 5.2);
103 an unconnected udp6 socket (since 5.2);
[all …]
/linux/net/rds/
A Dtcp.h21 struct socket *t_sock;
52 void rds_tcp_tune(struct socket *sock);
53 void rds_tcp_set_callbacks(struct socket *sock, struct rds_conn_path *cp);
54 void rds_tcp_reset_callbacks(struct socket *sock, struct rds_conn_path *cp);
55 void rds_tcp_restore_callbacks(struct socket *sock,
70 struct socket *rds_tcp_listen_init(struct net *net, bool isv6);
71 void rds_tcp_listen_stop(struct socket *sock, struct work_struct *acceptor);
73 int rds_tcp_accept_one(struct socket *sock);
74 void rds_tcp_keepalive(struct socket *sock);

Completed in 60 milliseconds

12345678910>>...93