Home
last modified time | relevance | path

Searched defs:sock (Results 1 – 25 of 59) sorted by relevance

123

/drivers/misc/
Dtifm_core.c34 static int tifm_dev_match(struct tifm_dev *sock, struct tifm_device_id *id) in tifm_dev_match()
43 struct tifm_dev *sock = container_of(dev, struct tifm_dev, dev); in tifm_bus_match() local
60 struct tifm_dev *sock = container_of(dev, struct tifm_dev, dev); in tifm_uevent() local
70 struct tifm_dev *sock = container_of(dev, struct tifm_dev, dev); in tifm_device_probe() local
85 static void tifm_dummy_event(struct tifm_dev *sock) in tifm_dummy_event()
92 struct tifm_dev *sock = container_of(dev, struct tifm_dev, dev); in tifm_device_remove() local
110 struct tifm_dev *sock = container_of(dev, struct tifm_dev, dev); in tifm_device_suspend() local
121 struct tifm_dev *sock = container_of(dev, struct tifm_dev, dev); in tifm_device_resume() local
140 struct tifm_dev *sock = container_of(dev, struct tifm_dev, dev); in type_show() local
243 struct tifm_dev *sock = container_of(dev, struct tifm_dev, dev); in tifm_free_device() local
[all …]
Dtifm_7xx1.c22 struct tifm_dev *sock) in tifm_7xx1_dummy_eject()
26 static void tifm_7xx1_eject(struct tifm_adapter *fm, struct tifm_dev *sock) in tifm_7xx1_eject()
39 struct tifm_dev *sock; in tifm_7xx1_isr() local
139 struct tifm_dev *sock; in tifm_7xx1_switch_media() local
293 struct tifm_dev *sock) in tifm_7xx1_dummy_has_ms_pif()
298 static int tifm_7xx1_has_ms_pif(struct tifm_adapter *fm, struct tifm_dev *sock) in tifm_7xx1_has_ms_pif()
/drivers/pcmcia/
Ddb1xxx_ss.c71 static int db1300_card_inserted(struct db1x_pcmcia_sock *sock) in db1300_card_inserted()
77 static int db1200_card_inserted(struct db1x_pcmcia_sock *sock) in db1200_card_inserted()
86 static int db1000_card_inserted(struct db1x_pcmcia_sock *sock) in db1000_card_inserted()
91 static int db1x_card_inserted(struct db1x_pcmcia_sock *sock) in db1x_card_inserted()
107 static inline void set_stschg(struct db1x_pcmcia_sock *sock, int en) in set_stschg()
119 struct db1x_pcmcia_sock *sock = data; in db1000_pcmcia_cdirq() local
128 struct db1x_pcmcia_sock *sock = data; in db1000_pcmcia_stschgirq() local
148 struct db1x_pcmcia_sock *sock = data; in db1200_pcmcia_cdirq_fn() local
162 static int db1x_pcmcia_setup_irqs(struct db1x_pcmcia_sock *sock) in db1x_pcmcia_setup_irqs()
219 static void db1x_pcmcia_free_irqs(struct db1x_pcmcia_sock *sock) in db1x_pcmcia_free_irqs()
[all …]
Dsa11xx_base.h69 #define MECR_SET(mecr, sock, shift, mask, bs) \ argument
74 #define MECR_GET(mecr, sock, shift, mask) \ argument
78 #define MECR_BSIO_SET(mecr, sock, bs) \ argument
81 #define MECR_BSIO_GET(mecr, sock) \ argument
84 #define MECR_BSA_SET(mecr, sock, bs) \ argument
87 #define MECR_BSA_GET(mecr, sock) \ argument
90 #define MECR_BSM_SET(mecr, sock, bs) \ argument
93 #define MECR_BSM_GET(mecr, sock) \ argument
96 #define MECR_FAST_SET(mecr, sock, fast) \ argument
99 #define MECR_FAST_GET(mecr, sock) \ argument
Di82365.c217 static u_char i365_get(u_short sock, u_short reg) in i365_get()
231 static void i365_set(u_short sock, u_short reg, u_char data) in i365_set()
243 static void i365_bset(u_short sock, u_short reg, u_char mask) in i365_bset()
250 static void i365_bclr(u_short sock, u_short reg, u_char mask) in i365_bclr()
257 static void i365_bflip(u_short sock, u_short reg, u_char mask, int b) in i365_bflip()
267 static u_short i365_get_pair(u_short sock, u_short reg) in i365_get_pair()
275 static void i365_set_pair(u_short sock, u_short reg, u_short data) in i365_set_pair()
489 static u_int __init test_irq(u_short sock, int irq) in test_irq()
517 static u_int __init isa_scan(u_short sock, u_int mask0) in isa_scan()
572 static int __init identify(unsigned int port, u_short sock) in identify()
[all …]
Dbcm63xx_pcmcia.c52 static int bcm63xx_pcmcia_sock_init(struct pcmcia_socket *sock) in bcm63xx_pcmcia_sock_init()
63 static int bcm63xx_pcmcia_suspend(struct pcmcia_socket *sock) in bcm63xx_pcmcia_suspend()
75 static int bcm63xx_pcmcia_set_socket(struct pcmcia_socket *sock, in bcm63xx_pcmcia_set_socket()
249 static int bcm63xx_pcmcia_get_status(struct pcmcia_socket *sock, in bcm63xx_pcmcia_get_status()
290 static int bcm63xx_pcmcia_set_io_map(struct pcmcia_socket *sock, in bcm63xx_pcmcia_set_io_map()
298 static int bcm63xx_pcmcia_set_mem_map(struct pcmcia_socket *sock, in bcm63xx_pcmcia_set_mem_map()
329 struct pcmcia_socket *sock; in bcm63xx_drv_pcmcia_probe() local
Dxxs1500_ss.c71 struct xxs1500_pcmcia_sock *sock = data; in cdirq() local
81 struct xxs1500_pcmcia_sock *sock = to_xxs_socket(skt); in xxs1500_pcmcia_configure() local
179 struct xxs1500_pcmcia_sock *sock = to_xxs_socket(skt); in au1x00_pcmcia_set_io_map() local
190 struct xxs1500_pcmcia_sock *sock = to_xxs_socket(skt); in au1x00_pcmcia_set_mem_map() local
211 struct xxs1500_pcmcia_sock *sock; in xxs1500_pcmcia_probe() local
306 struct xxs1500_pcmcia_sock *sock = platform_get_drvdata(pdev); in xxs1500_pcmcia_remove() local
Di82092.c375 static void set_bridge_state(int sock) in set_bridge_state()
384 static int i82092aa_init(struct pcmcia_socket *sock) in i82092aa_init()
405 unsigned int sock = container_of(socket, in i82092aa_get_status() local
448 unsigned int sock = sock_info->number; in i82092aa_set_socket() local
554 unsigned int sock = sock_info->number; in i82092aa_set_io_map() local
594 unsigned int sock = sock_info->number; in i82092aa_set_mem_map() local
Dsoc_common.c397 static int soc_common_pcmcia_sock_init(struct pcmcia_socket *sock) in soc_common_pcmcia_sock_init()
418 static int soc_common_pcmcia_suspend(struct pcmcia_socket *sock) in soc_common_pcmcia_suspend()
511 soc_common_pcmcia_get_status(struct pcmcia_socket *sock, unsigned int *status) in soc_common_pcmcia_get_status()
530 struct pcmcia_socket *sock, socket_state_t *state) in soc_common_pcmcia_set_socket()
562 struct pcmcia_socket *sock, struct pccard_io_map *map) in soc_common_pcmcia_set_io_map()
616 struct pcmcia_socket *sock, struct pccard_mem_map *map) in soc_common_pcmcia_set_mem_map()
Dpd6729.c245 static int pd6729_get_status(struct pcmcia_socket *sock, u_int *value) in pd6729_get_status()
294 static int pd6729_set_socket(struct pcmcia_socket *sock, socket_state_t *state) in pd6729_set_socket()
422 static int pd6729_set_io_map(struct pcmcia_socket *sock, in pd6729_set_io_map()
466 static int pd6729_set_mem_map(struct pcmcia_socket *sock, in pd6729_set_mem_map()
543 static int pd6729_init(struct pcmcia_socket *sock) in pd6729_init()
Dtcic.h102 #define TCIC_PWR_VCC(sock) (0x01<<(sock)) argument
104 #define TCIC_PWR_VPP(sock) (0x08<<(sock)) argument
185 #define TCIC_SCF1(sock) ((sock)<<3) argument
186 #define TCIC_SCF2(sock) (((sock)<<3)+2) argument
217 #define TCIC_MWIN(sock,map) (0x100+(((map)+((sock)<<2))<<3)) argument
245 #define TCIC_IWIN(sock,map) (0x200+(((map)+((sock)<<1))<<2)) argument
Dtcic.c363 int i, sock, ret = 0; in init_tcic() local
593 static int tcic_get_status(struct pcmcia_socket *sock, u_int *value) in tcic_get_status()
619 static int tcic_set_socket(struct pcmcia_socket *sock, socket_state_t *state) in tcic_set_socket()
694 static int tcic_set_io_map(struct pcmcia_socket *sock, struct pccard_io_map *io) in tcic_set_io_map()
731 static int tcic_set_mem_map(struct pcmcia_socket *sock, struct pccard_mem_map *mem) in tcic_set_mem_map()
Dpxa2xx_base.c116 static int pxa2xx_pcmcia_set_mcmem( int sock, int speed, int clock ) in pxa2xx_pcmcia_set_mcmem()
132 static int pxa2xx_pcmcia_set_mcio( int sock, int speed, int clock ) in pxa2xx_pcmcia_set_mcio()
148 static int pxa2xx_pcmcia_set_mcatt( int sock, int speed, int clock ) in pxa2xx_pcmcia_set_mcatt()
167 int sock = skt->nr; in pxa2xx_pcmcia_set_mcxx() local
/drivers/isdn/mISDN/
Dsocket.c106 mISDN_sock_recvmsg(struct socket *sock, struct msghdr *msg, size_t len, in mISDN_sock_recvmsg()
167 mISDN_sock_sendmsg(struct socket *sock, struct msghdr *msg, size_t len) in mISDN_sock_sendmsg()
236 data_sock_release(struct socket *sock) in data_sock_release()
350 data_sock_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) in data_sock_ioctl()
403 static int data_sock_setsockopt(struct socket *sock, int level, int optname, in data_sock_setsockopt()
435 static int data_sock_getsockopt(struct socket *sock, int level, int optname, in data_sock_getsockopt()
465 data_sock_bind(struct socket *sock, struct sockaddr *addr, int addr_len) in data_sock_bind()
552 data_sock_getname(struct socket *sock, struct sockaddr *addr, in data_sock_getname()
593 data_sock_create(struct net *net, struct socket *sock, int protocol, int kern) in data_sock_create()
618 base_sock_release(struct socket *sock) in base_sock_release()
[all …]
/drivers/mmc/host/
Dtifm_sd.c115 struct tifm_dev *sock = host->dev; in tifm_sd_read_fifo() local
141 struct tifm_dev *sock = host->dev; in tifm_sd_write_fifo() local
263 struct tifm_dev *sock = host->dev; in tifm_sd_set_dma_data() local
373 struct tifm_dev *sock = host->dev; in tifm_sd_exec() local
390 static void tifm_sd_fetch_resp(struct mmc_command *cmd, struct tifm_dev *sock) in tifm_sd_fetch_resp()
404 struct tifm_dev *sock = host->dev; in tifm_sd_check_status() local
475 static void tifm_sd_data_event(struct tifm_dev *sock) in tifm_sd_data_event()
503 static void tifm_sd_card_event(struct tifm_dev *sock) in tifm_sd_card_event()
595 struct tifm_dev *sock = host->dev; in tifm_sd_set_data_timeout() local
623 struct tifm_dev *sock = host->dev; in tifm_sd_request() local
[all …]
/drivers/memstick/host/
Dtifm_ms.c85 struct tifm_dev *sock = host->dev; in tifm_ms_read_data() local
125 struct tifm_dev *sock = host->dev; in tifm_ms_write_data() local
182 struct tifm_dev *sock = host->dev; in tifm_ms_transfer_data() local
254 struct tifm_dev *sock = host->dev; in tifm_ms_issue_cmd() local
336 struct tifm_dev *sock = host->dev; in tifm_ms_complete_cmd() local
381 static void tifm_ms_data_event(struct tifm_dev *sock) in tifm_ms_data_event()
417 static void tifm_ms_card_event(struct tifm_dev *sock) in tifm_ms_card_event()
459 struct tifm_dev *sock = host->dev; in tifm_ms_req_tasklet() local
499 struct tifm_dev *sock = host->dev; in tifm_ms_set_param() local
551 static int tifm_ms_probe(struct tifm_dev *sock) in tifm_ms_probe()
[all …]
/drivers/net/ppp/
Dpptp.c55 struct pppox_sock *sock; in lookup_chan() local
74 struct pppox_sock *sock; in lookup_chan_dst() local
94 static int add_chan(struct pppox_sock *sock, in add_chan()
124 static void del_chan(struct pppox_sock *sock) in del_chan()
381 static int pptp_bind(struct socket *sock, struct sockaddr *uservaddr, in pptp_bind()
414 static int pptp_connect(struct socket *sock, struct sockaddr *uservaddr, in pptp_connect()
482 static int pptp_getname(struct socket *sock, struct sockaddr *uaddr, in pptp_getname()
499 static int pptp_release(struct socket *sock) in pptp_release()
541 static int pptp_create(struct net *net, struct socket *sock, int kern) in pptp_create()
Dpppox.c67 int pppox_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) in pppox_ioctl()
103 int pppox_compat_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) in pppox_compat_ioctl()
114 static int pppox_create(struct net *net, struct socket *sock, int protocol, in pppox_create()
Dpppoe.c536 static int pppoe_create(struct net *net, struct socket *sock, int kern) in pppoe_create()
561 static int pppoe_release(struct socket *sock) in pppoe_release()
609 static int pppoe_connect(struct socket *sock, struct sockaddr *uservaddr, in pppoe_connect()
720 static int pppoe_getname(struct socket *sock, struct sockaddr *uaddr, in pppoe_getname()
736 static int pppoe_ioctl(struct socket *sock, unsigned int cmd, in pppoe_ioctl()
836 static int pppoe_sendmsg(struct socket *sock, struct msghdr *m, in pppoe_sendmsg()
1003 static int pppoe_recvmsg(struct socket *sock, struct msghdr *m, in pppoe_recvmsg()
/drivers/block/drbd/
Ddrbd_main.c603 struct drbd_socket *sock) in __conn_prepare_command()
610 void *conn_prepare_command(struct drbd_connection *connection, struct drbd_socket *sock) in conn_prepare_command()
622 void *drbd_prepare_command(struct drbd_peer_device *peer_device, struct drbd_socket *sock) in drbd_prepare_command()
628 struct drbd_socket *sock, enum drbd_packet cmd, in __send_command()
658 static int __conn_send_command(struct drbd_connection *connection, struct drbd_socket *sock, in __conn_send_command()
665 int conn_send_command(struct drbd_connection *connection, struct drbd_socket *sock, in conn_send_command()
676 int drbd_send_command(struct drbd_peer_device *peer_device, struct drbd_socket *sock, in drbd_send_command()
690 struct drbd_socket *sock; in drbd_send_ping() local
700 struct drbd_socket *sock; in drbd_send_ping_ack() local
710 struct drbd_socket *sock; in drbd_send_sync_param() local
[all …]
/drivers/infiniband/hw/usnic/
Dusnic_transport.c65 struct socket *sock) in usnic_transport_sock_to_str()
147 struct socket *sock; in usnic_transport_get_socket() local
165 void usnic_transport_put_socket(struct socket *sock) in usnic_transport_put_socket()
174 int usnic_transport_sock_get_addr(struct socket *sock, int *proto, in usnic_transport_sock_get_addr()
/drivers/xen/
Dpvcalls-front.c59 struct socket *sock; member
99 static inline struct sock_mapping *pvcalls_enter_sock(struct socket *sock) in pvcalls_enter_sock()
116 static inline void pvcalls_exit_sock(struct socket *sock) in pvcalls_exit_sock()
260 int pvcalls_front_socket(struct socket *sock) in pvcalls_front_socket()
412 int pvcalls_front_connect(struct socket *sock, struct sockaddr *addr, in pvcalls_front_connect()
532 int pvcalls_front_sendmsg(struct socket *sock, struct msghdr *msg, in pvcalls_front_sendmsg()
625 int pvcalls_front_recvmsg(struct socket *sock, struct msghdr *msg, size_t len, in pvcalls_front_recvmsg()
661 int pvcalls_front_bind(struct socket *sock, struct sockaddr *addr, int addr_len) in pvcalls_front_bind()
714 int pvcalls_front_listen(struct socket *sock, int backlog) in pvcalls_front_listen()
763 int pvcalls_front_accept(struct socket *sock, struct socket *newsock, int flags) in pvcalls_front_accept()
[all …]
/drivers/vhost/
Dnet.c342 static bool vhost_sock_zcopy(struct socket *sock) in vhost_sock_zcopy()
348 static bool vhost_sock_xdp(struct socket *sock) in vhost_sock_xdp()
439 struct socket *sock; in vhost_net_enable_vq() local
462 struct socket *sock, in vhost_tx_batch()
497 static int sock_has_rx_data(struct socket *sock) in sock_has_rx_data()
527 struct socket *sock; in vhost_net_busy_poll() local
699 struct socket *sock = vhost_vq_get_backend(vq); in vhost_net_build_xdp() local
767 static void handle_tx_copy(struct vhost_net *net, struct socket *sock) in handle_tx_copy()
857 static void handle_tx_zerocopy(struct vhost_net *net, struct socket *sock) in handle_tx_zerocopy()
970 struct socket *sock; in handle_tx() local
[all …]
/drivers/net/wireguard/
Dsocket.c31 struct sock *sock; in send4() local
111 struct sock *sock; in send6() local
334 static void sock_free(struct sock *sock) in sock_free()
342 static void set_sock_opts(struct socket *sock) in set_sock_opts()
/drivers/net/
Dbareudp.c49 struct socket __rcu *sock; member
213 struct socket *sock; in bareudp_create_sock() local
237 struct socket *sock; in bareudp_socket_create() local
267 struct socket *sock; in bareudp_sock_release() local
289 struct socket *sock = rcu_dereference(bareudp->sock); in bareudp_xmit_skb() local
352 struct socket *sock = rcu_dereference(bareudp->sock); in bareudp6_xmit_skb() local
489 struct socket *sock = rcu_dereference(bareudp->sock); in bareudp_fill_metadata_dst() local

123