/drivers/misc/ |
D | tifm_core.c | 34 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 const struct tifm_dev *sock = container_of_const(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 242 struct tifm_dev *sock = container_of(dev, struct tifm_dev, dev); in tifm_free_device() local [all …]
|
D | tifm_7xx1.c | 22 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/ |
D | db1xxx_ss.c | 71 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 …]
|
D | sa11xx_base.h | 69 #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
|
D | i82365.c | 217 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 …]
|
D | bcm63xx_pcmcia.c | 52 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
|
D | xxs1500_ss.c | 71 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
|
D | i82092.c | 375 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
|
D | soc_common.c | 396 static int soc_common_pcmcia_sock_init(struct pcmcia_socket *sock) in soc_common_pcmcia_sock_init() 417 static int soc_common_pcmcia_suspend(struct pcmcia_socket *sock) in soc_common_pcmcia_suspend() 510 soc_common_pcmcia_get_status(struct pcmcia_socket *sock, unsigned int *status) in soc_common_pcmcia_get_status() 529 struct pcmcia_socket *sock, socket_state_t *state) in soc_common_pcmcia_set_socket() 561 struct pcmcia_socket *sock, struct pccard_io_map *map) in soc_common_pcmcia_set_io_map() 615 struct pcmcia_socket *sock, struct pccard_mem_map *map) in soc_common_pcmcia_set_mem_map()
|
D | pd6729.c | 245 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()
|
D | tcic.h | 102 #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
|
D | yenta_socket.c | 213 static int yenta_get_status(struct pcmcia_socket *sock, unsigned int *value) in yenta_get_status() 330 static int yenta_set_socket(struct pcmcia_socket *sock, socket_state_t *state) in yenta_set_socket() 405 static int yenta_set_io_map(struct pcmcia_socket *sock, struct pccard_io_map *io) in yenta_set_io_map() 442 static int yenta_set_mem_map(struct pcmcia_socket *sock, struct pccard_mem_map *mem) in yenta_set_mem_map() 580 static int yenta_sock_init(struct pcmcia_socket *sock) in yenta_sock_init() 601 static int yenta_sock_suspend(struct pcmcia_socket *sock) in yenta_sock_suspend() 802 struct yenta_socket *sock = pci_get_drvdata(dev); in yenta_close() local
|
D | tcic.c | 363 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()
|
/drivers/isdn/mISDN/ |
D | socket.c | 106 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/ |
D | tifm_sd.c | 115 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 368 struct tifm_dev *sock = host->dev; in tifm_sd_exec() local 385 static void tifm_sd_fetch_resp(struct mmc_command *cmd, struct tifm_dev *sock) in tifm_sd_fetch_resp() 399 struct tifm_dev *sock = host->dev; in tifm_sd_check_status() local 470 static void tifm_sd_data_event(struct tifm_dev *sock) in tifm_sd_data_event() 498 static void tifm_sd_card_event(struct tifm_dev *sock) in tifm_sd_card_event() 587 struct tifm_dev *sock = host->dev; in tifm_sd_set_data_timeout() local 615 struct tifm_dev *sock = host->dev; in tifm_sd_request() local [all …]
|
/drivers/memstick/host/ |
D | tifm_ms.c | 85 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/ |
D | pptp.c | 55 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()
|
D | pppox.c | 67 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()
|
D | pppoe.c | 536 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/ |
D | drbd_main.c | 607 struct drbd_socket *sock) in __conn_prepare_command() 614 void *conn_prepare_command(struct drbd_connection *connection, struct drbd_socket *sock) in conn_prepare_command() 626 void *drbd_prepare_command(struct drbd_peer_device *peer_device, struct drbd_socket *sock) in drbd_prepare_command() 632 struct drbd_socket *sock, enum drbd_packet cmd, in __send_command() 662 static int __conn_send_command(struct drbd_connection *connection, struct drbd_socket *sock, in __conn_send_command() 669 int conn_send_command(struct drbd_connection *connection, struct drbd_socket *sock, in conn_send_command() 680 int drbd_send_command(struct drbd_peer_device *peer_device, struct drbd_socket *sock, in drbd_send_command() 694 struct drbd_socket *sock; in drbd_send_ping() local 704 struct drbd_socket *sock; in drbd_send_ping_ack() local 714 struct drbd_socket *sock; in drbd_send_sync_param() local [all …]
|
/drivers/infiniband/hw/usnic/ |
D | usnic_transport.c | 64 struct socket *sock) in usnic_transport_sock_to_str() 146 struct socket *sock; in usnic_transport_get_socket() local 164 void usnic_transport_put_socket(struct socket *sock) in usnic_transport_put_socket() 173 int usnic_transport_sock_get_addr(struct socket *sock, int *proto, in usnic_transport_sock_get_addr()
|
/drivers/xen/ |
D | pvcalls-front.c | 59 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() 270 int pvcalls_front_socket(struct socket *sock) in pvcalls_front_socket() 422 int pvcalls_front_connect(struct socket *sock, struct sockaddr *addr, in pvcalls_front_connect() 541 int pvcalls_front_sendmsg(struct socket *sock, struct msghdr *msg, in pvcalls_front_sendmsg() 634 int pvcalls_front_recvmsg(struct socket *sock, struct msghdr *msg, size_t len, in pvcalls_front_recvmsg() 670 int pvcalls_front_bind(struct socket *sock, struct sockaddr *addr, int addr_len) in pvcalls_front_bind() 723 int pvcalls_front_listen(struct socket *sock, int backlog) in pvcalls_front_listen() 772 int pvcalls_front_accept(struct socket *sock, struct socket *newsock, int flags) in pvcalls_front_accept() [all …]
|
/drivers/vhost/ |
D | net.c | 343 static bool vhost_sock_zcopy(struct socket *sock) in vhost_sock_zcopy() 349 static bool vhost_sock_xdp(struct socket *sock) in vhost_sock_xdp() 441 struct socket *sock; in vhost_net_enable_vq() local 464 struct socket *sock, in vhost_tx_batch() 499 static int sock_has_rx_data(struct socket *sock) in sock_has_rx_data() 529 struct socket *sock; in vhost_net_busy_poll() local 701 struct socket *sock = vhost_vq_get_backend(vq); in vhost_net_build_xdp() local 769 static void handle_tx_copy(struct vhost_net *net, struct socket *sock) in handle_tx_copy() 859 static void handle_tx_zerocopy(struct vhost_net *net, struct socket *sock) in handle_tx_zerocopy() 972 struct socket *sock; in handle_tx() local [all …]
|
/drivers/net/wireguard/ |
D | socket.c | 31 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/ |
D | bareudp.c | 56 struct socket __rcu *sock; member 220 struct socket *sock; in bareudp_create_sock() local 244 struct socket *sock; in bareudp_socket_create() local 274 struct socket *sock; in bareudp_sock_release() local 296 struct socket *sock = rcu_dereference(bareudp->sock); in bareudp_xmit_skb() local 359 struct socket *sock = rcu_dereference(bareudp->sock); in bareudp6_xmit_skb() local 496 struct socket *sock = rcu_dereference(bareudp->sock); in bareudp_fill_metadata_dst() local
|