/kernel/linux/linux-5.10/drivers/pcmcia/ |
H A D | db1xxx_ss.c | 71 static int db1300_card_inserted(struct db1x_pcmcia_sock *sock) in db1300_card_inserted() argument 77 static int db1200_card_inserted(struct db1x_pcmcia_sock *sock) in db1200_card_inserted() argument 82 return sigstat & 1 << (8 + 2 * sock->nr); in db1200_card_inserted() 86 static int db1000_card_inserted(struct db1x_pcmcia_sock *sock) in db1000_card_inserted() argument 88 return !gpio_get_value(sock->insert_gpio); in db1000_card_inserted() 91 static int db1x_card_inserted(struct db1x_pcmcia_sock *sock) in db1x_card_inserted() argument 93 switch (sock->board_type) { in db1x_card_inserted() 95 return db1200_card_inserted(sock); in db1x_card_inserted() 97 return db1300_card_inserted(sock); in db1x_card_inserted() 99 return db1000_card_inserted(sock); in db1x_card_inserted() 107 set_stschg(struct db1x_pcmcia_sock *sock, int en) set_stschg() argument 119 struct db1x_pcmcia_sock *sock = data; db1000_pcmcia_cdirq() local 128 struct db1x_pcmcia_sock *sock = data; db1000_pcmcia_stschgirq() local 148 struct db1x_pcmcia_sock *sock = data; db1200_pcmcia_cdirq_fn() local 162 db1x_pcmcia_setup_irqs(struct db1x_pcmcia_sock *sock) db1x_pcmcia_setup_irqs() argument 219 db1x_pcmcia_free_irqs(struct db1x_pcmcia_sock *sock) db1x_pcmcia_free_irqs() argument 245 struct db1x_pcmcia_sock *sock = to_db1x_socket(skt); db1x_pcmcia_configure() local 341 struct db1x_pcmcia_sock *sock = to_db1x_socket(skt); db1x_pcmcia_get_status() local 393 struct db1x_pcmcia_sock *sock = to_db1x_socket(skt); au1x00_pcmcia_set_io_map() local 404 struct db1x_pcmcia_sock *sock = to_db1x_socket(skt); au1x00_pcmcia_set_mem_map() local 425 struct db1x_pcmcia_sock *sock; db1x_pcmcia_socket_probe() local 581 struct db1x_pcmcia_sock *sock = platform_get_drvdata(pdev); db1x_pcmcia_socket_remove() local [all...] |
H A D | xxs1500_ss.c | 71 struct xxs1500_pcmcia_sock *sock = data; in cdirq() local 73 pcmcia_parse_events(&sock->socket, SS_DETECT); in cdirq() 81 struct xxs1500_pcmcia_sock *sock = to_xxs_socket(skt); in xxs1500_pcmcia_configure() local 97 changed = state->flags ^ sock->old_flags; in xxs1500_pcmcia_configure() 110 sock->old_flags = state->flags; in xxs1500_pcmcia_configure() 179 struct xxs1500_pcmcia_sock *sock = to_xxs_socket(skt); in au1x00_pcmcia_set_io_map() local 181 map->start = (u32)sock->virt_io; in au1x00_pcmcia_set_io_map() 190 struct xxs1500_pcmcia_sock *sock = to_xxs_socket(skt); in au1x00_pcmcia_set_mem_map() local 193 map->static_start = sock->phys_attr + map->card_start; in au1x00_pcmcia_set_mem_map() 195 map->static_start = sock in au1x00_pcmcia_set_mem_map() 211 struct xxs1500_pcmcia_sock *sock; xxs1500_pcmcia_probe() local 296 free_irq(gpio_to_irq(GPIO_CDA), sock); xxs1500_pcmcia_probe() local 306 struct xxs1500_pcmcia_sock *sock = platform_get_drvdata(pdev); xxs1500_pcmcia_remove() local 309 free_irq(gpio_to_irq(GPIO_CDA), sock); xxs1500_pcmcia_remove() local [all...] |
H A D | sa11xx_base.h | 69 #define MECR_SET(mecr, sock, shift, mask, bs) \ 71 ((sock)==0?MECR_SOCKET_0_SHIFT:MECR_SOCKET_1_SHIFT)))|\ 72 (((bs)<<(shift))<<((sock)==0?MECR_SOCKET_0_SHIFT:MECR_SOCKET_1_SHIFT))) 74 #define MECR_GET(mecr, sock, shift, mask) \ 75 ((((mecr)>>(((sock)==0)?MECR_SOCKET_0_SHIFT:MECR_SOCKET_1_SHIFT))>>\ 78 #define MECR_BSIO_SET(mecr, sock, bs) \ 79 MECR_SET((mecr), (sock), MECR_BSIO_SHIFT, MECR_BS_MASK, (bs)) 81 #define MECR_BSIO_GET(mecr, sock) \ 82 MECR_GET((mecr), (sock), MECR_BSIO_SHIFT, MECR_BS_MASK) 84 #define MECR_BSA_SET(mecr, sock, b [all...] |
/kernel/linux/linux-6.6/drivers/pcmcia/ |
H A D | db1xxx_ss.c | 71 static int db1300_card_inserted(struct db1x_pcmcia_sock *sock) in db1300_card_inserted() argument 77 static int db1200_card_inserted(struct db1x_pcmcia_sock *sock) in db1200_card_inserted() argument 82 return sigstat & 1 << (8 + 2 * sock->nr); in db1200_card_inserted() 86 static int db1000_card_inserted(struct db1x_pcmcia_sock *sock) in db1000_card_inserted() argument 88 return !gpio_get_value(sock->insert_gpio); in db1000_card_inserted() 91 static int db1x_card_inserted(struct db1x_pcmcia_sock *sock) in db1x_card_inserted() argument 93 switch (sock->board_type) { in db1x_card_inserted() 95 return db1200_card_inserted(sock); in db1x_card_inserted() 97 return db1300_card_inserted(sock); in db1x_card_inserted() 99 return db1000_card_inserted(sock); in db1x_card_inserted() 107 set_stschg(struct db1x_pcmcia_sock *sock, int en) set_stschg() argument 119 struct db1x_pcmcia_sock *sock = data; db1000_pcmcia_cdirq() local 128 struct db1x_pcmcia_sock *sock = data; db1000_pcmcia_stschgirq() local 148 struct db1x_pcmcia_sock *sock = data; db1200_pcmcia_cdirq_fn() local 162 db1x_pcmcia_setup_irqs(struct db1x_pcmcia_sock *sock) db1x_pcmcia_setup_irqs() argument 219 db1x_pcmcia_free_irqs(struct db1x_pcmcia_sock *sock) db1x_pcmcia_free_irqs() argument 245 struct db1x_pcmcia_sock *sock = to_db1x_socket(skt); db1x_pcmcia_configure() local 341 struct db1x_pcmcia_sock *sock = to_db1x_socket(skt); db1x_pcmcia_get_status() local 394 struct db1x_pcmcia_sock *sock = to_db1x_socket(skt); au1x00_pcmcia_set_io_map() local 405 struct db1x_pcmcia_sock *sock = to_db1x_socket(skt); au1x00_pcmcia_set_mem_map() local 426 struct db1x_pcmcia_sock *sock; db1x_pcmcia_socket_probe() local 582 struct db1x_pcmcia_sock *sock = platform_get_drvdata(pdev); db1x_pcmcia_socket_remove() local [all...] |
H A D | xxs1500_ss.c | 71 struct xxs1500_pcmcia_sock *sock = data; in cdirq() local 73 pcmcia_parse_events(&sock->socket, SS_DETECT); in cdirq() 81 struct xxs1500_pcmcia_sock *sock = to_xxs_socket(skt); in xxs1500_pcmcia_configure() local 97 changed = state->flags ^ sock->old_flags; in xxs1500_pcmcia_configure() 110 sock->old_flags = state->flags; in xxs1500_pcmcia_configure() 179 struct xxs1500_pcmcia_sock *sock = to_xxs_socket(skt); in au1x00_pcmcia_set_io_map() local 181 map->start = (u32)sock->virt_io; in au1x00_pcmcia_set_io_map() 190 struct xxs1500_pcmcia_sock *sock = to_xxs_socket(skt); in au1x00_pcmcia_set_mem_map() local 193 map->static_start = sock->phys_attr + map->card_start; in au1x00_pcmcia_set_mem_map() 195 map->static_start = sock in au1x00_pcmcia_set_mem_map() 211 struct xxs1500_pcmcia_sock *sock; xxs1500_pcmcia_probe() local 296 free_irq(gpio_to_irq(GPIO_CDA), sock); xxs1500_pcmcia_probe() local 306 struct xxs1500_pcmcia_sock *sock = platform_get_drvdata(pdev); xxs1500_pcmcia_remove() local 309 free_irq(gpio_to_irq(GPIO_CDA), sock); xxs1500_pcmcia_remove() local [all...] |
H A D | sa11xx_base.h | 69 #define MECR_SET(mecr, sock, shift, mask, bs) \ 71 ((sock)==0?MECR_SOCKET_0_SHIFT:MECR_SOCKET_1_SHIFT)))|\ 72 (((bs)<<(shift))<<((sock)==0?MECR_SOCKET_0_SHIFT:MECR_SOCKET_1_SHIFT))) 74 #define MECR_GET(mecr, sock, shift, mask) \ 75 ((((mecr)>>(((sock)==0)?MECR_SOCKET_0_SHIFT:MECR_SOCKET_1_SHIFT))>>\ 78 #define MECR_BSIO_SET(mecr, sock, bs) \ 79 MECR_SET((mecr), (sock), MECR_BSIO_SHIFT, MECR_BS_MASK, (bs)) 81 #define MECR_BSIO_GET(mecr, sock) \ 82 MECR_GET((mecr), (sock), MECR_BSIO_SHIFT, MECR_BS_MASK) 84 #define MECR_BSA_SET(mecr, sock, b [all...] |
/kernel/linux/linux-5.10/include/net/ |
H A D | llc_c_ev.h | 15 #include <net/sock.h> 128 typedef int (*llc_conn_ev_t)(struct sock *sk, struct sk_buff *skb); 129 typedef int (*llc_conn_ev_qfyr_t)(struct sock *sk, struct sk_buff *skb); 131 int llc_conn_ev_conn_req(struct sock *sk, struct sk_buff *skb); 132 int llc_conn_ev_data_req(struct sock *sk, struct sk_buff *skb); 133 int llc_conn_ev_disc_req(struct sock *sk, struct sk_buff *skb); 134 int llc_conn_ev_rst_req(struct sock *sk, struct sk_buff *skb); 135 int llc_conn_ev_local_busy_detected(struct sock *sk, struct sk_buff *skb); 136 int llc_conn_ev_local_busy_cleared(struct sock *sk, struct sk_buff *skb); 137 int llc_conn_ev_rx_bad_pdu(struct sock *s [all...] |
H A D | llc_c_ac.h | 90 typedef int (*llc_conn_action_t)(struct sock *sk, struct sk_buff *skb); 92 int llc_conn_ac_clear_remote_busy(struct sock *sk, struct sk_buff *skb); 93 int llc_conn_ac_conn_ind(struct sock *sk, struct sk_buff *skb); 94 int llc_conn_ac_conn_confirm(struct sock *sk, struct sk_buff *skb); 95 int llc_conn_ac_data_ind(struct sock *sk, struct sk_buff *skb); 96 int llc_conn_ac_disc_ind(struct sock *sk, struct sk_buff *skb); 97 int llc_conn_ac_rst_ind(struct sock *sk, struct sk_buff *skb); 98 int llc_conn_ac_rst_confirm(struct sock *sk, struct sk_buff *skb); 99 int llc_conn_ac_clear_remote_busy_if_f_eq_1(struct sock *sk, 101 int llc_conn_ac_stop_rej_tmr_if_data_flag_eq_2(struct sock *s [all...] |
H A D | sock.h | 9 * Version: @(#)sock.h 1.0.4 05/13/93 89 void SOCK_DEBUG(const struct sock *sk, const char *msg, ...) in SOCK_DEBUG() 113 struct sock; 163 * for struct sock and struct inet_timewait_sock. 213 * offset(struct sock, sk_refcnt) == 128 on 64bit arches 219 struct sock *skc_listener; /* request_sock */ 257 * struct sock - network layer representation of sockets 262 * @sk_kern_sock: True if sock is using kernel lock classes 264 * @sk_wq: sock wait queue and async head 300 * @sk_prot_creator: sk_prot of original sock creato 353 struct sock { global() struct 1932 sk_set_socket(struct sock *sk, struct socket *sock) sk_set_socket() argument 2238 sock_poll_wait(struct file *filp, struct socket *sock, poll_table *p) sock_poll_wait() argument [all...] |
H A D | inet_connection_sock.h | 39 int (*queue_xmit)(struct sock *sk, struct sk_buff *skb, struct flowi *fl); 40 void (*send_check)(struct sock *sk, struct sk_buff *skb); 41 int (*rebuild_header)(struct sock *sk); 42 void (*sk_rx_dst_set)(struct sock *sk, const struct sk_buff *skb); 43 int (*conn_request)(struct sock *sk, struct sk_buff *skb); 44 struct sock *(*syn_recv_sock)(const struct sock *sk, struct sk_buff *skb, 52 int (*setsockopt)(struct sock *sk, int level, int optname, 54 int (*getsockopt)(struct sock *sk, int level, int optname, 56 void (*addr2sockaddr)(struct sock *s [all...] |
H A D | tcp.h | 36 #include <net/sock.h> 56 void tcp_time_wait(struct sock *sk, int state, int timeo); 265 static inline bool tcp_under_memory_pressure(const struct sock *sk) in tcp_under_memory_pressure() 290 static inline bool tcp_out_of_memory(struct sock *sk) in tcp_out_of_memory() 298 void sk_forced_mem_schedule(struct sock *sk, int size); 300 bool tcp_check_oom(struct sock *sk, int shift); 314 void tcp_shutdown(struct sock *sk, int how); 320 int tcp_sendmsg(struct sock *sk, struct msghdr *msg, size_t size); 321 int tcp_sendmsg_locked(struct sock *sk, struct msghdr *msg, size_t size); 322 int tcp_sendpage(struct sock *s [all...] |
/kernel/linux/linux-6.6/include/net/ |
H A D | llc_c_ev.h | 15 #include <net/sock.h> 128 typedef int (*llc_conn_ev_t)(struct sock *sk, struct sk_buff *skb); 129 typedef int (*llc_conn_ev_qfyr_t)(struct sock *sk, struct sk_buff *skb); 131 int llc_conn_ev_conn_req(struct sock *sk, struct sk_buff *skb); 132 int llc_conn_ev_data_req(struct sock *sk, struct sk_buff *skb); 133 int llc_conn_ev_disc_req(struct sock *sk, struct sk_buff *skb); 134 int llc_conn_ev_rst_req(struct sock *sk, struct sk_buff *skb); 135 int llc_conn_ev_local_busy_detected(struct sock *sk, struct sk_buff *skb); 136 int llc_conn_ev_local_busy_cleared(struct sock *sk, struct sk_buff *skb); 137 int llc_conn_ev_rx_bad_pdu(struct sock *s [all...] |
H A D | llc_c_ac.h | 23 struct sock; 97 typedef int (*llc_conn_action_t)(struct sock *sk, struct sk_buff *skb); 99 int llc_conn_ac_clear_remote_busy(struct sock *sk, struct sk_buff *skb); 100 int llc_conn_ac_conn_ind(struct sock *sk, struct sk_buff *skb); 101 int llc_conn_ac_conn_confirm(struct sock *sk, struct sk_buff *skb); 102 int llc_conn_ac_data_ind(struct sock *sk, struct sk_buff *skb); 103 int llc_conn_ac_disc_ind(struct sock *sk, struct sk_buff *skb); 104 int llc_conn_ac_rst_ind(struct sock *sk, struct sk_buff *skb); 105 int llc_conn_ac_rst_confirm(struct sock *sk, struct sk_buff *skb); 106 int llc_conn_ac_clear_remote_busy_if_f_eq_1(struct sock *s [all...] |
H A D | tcp.h | 36 #include <net/sock.h> 54 void tcp_time_wait(struct sock *sk, int state, int timeo); 263 static inline bool tcp_under_memory_pressure(const struct sock *sk) in tcp_under_memory_pressure() 288 static inline bool tcp_out_of_memory(struct sock *sk) in tcp_out_of_memory() 296 static inline void tcp_wmem_free_skb(struct sock *sk, struct sk_buff *skb) in tcp_wmem_free_skb() 306 void sk_forced_mem_schedule(struct sock *sk, int size); 308 bool tcp_check_oom(struct sock *sk, int shift); 322 void tcp_shutdown(struct sock *sk, int how); 327 void tcp_remove_empty_skb(struct sock *sk); 328 int tcp_sendmsg(struct sock *s [all...] |
H A D | inet_connection_sock.h | 36 int (*queue_xmit)(struct sock *sk, struct sk_buff *skb, struct flowi *fl); 37 void (*send_check)(struct sock *sk, struct sk_buff *skb); 38 int (*rebuild_header)(struct sock *sk); 39 void (*sk_rx_dst_set)(struct sock *sk, const struct sk_buff *skb); 40 int (*conn_request)(struct sock *sk, struct sk_buff *skb); 41 struct sock *(*syn_recv_sock)(const struct sock *sk, struct sk_buff *skb, 49 int (*setsockopt)(struct sock *sk, int level, int optname, 51 int (*getsockopt)(struct sock *sk, int level, int optname, 53 void (*addr2sockaddr)(struct sock *s [all...] |
H A D | sock.h | 9 * Version: @(#)sock.h 1.0.4 05/13/93 87 void SOCK_DEBUG(const struct sock *sk, const char *msg, ...) in SOCK_DEBUG() 111 struct sock; 161 * for struct sock and struct inet_timewait_sock. 206 * offset(struct sock, sk_refcnt) == 128 on 64bit arches 212 struct sock *skc_listener; /* request_sock */ 251 * struct sock - network layer representation of sockets 256 * @sk_kern_sock: True if sock is using kernel lock classes 258 * @sk_wq: sock wait queue and async head 294 * @sk_prot_creator: sk_prot of original sock creato 357 struct sock { global() struct 2085 sk_set_socket(struct sock *sk, struct socket *sock) sk_set_socket() argument 2393 sock_poll_wait(struct file *filp, struct socket *sock, poll_table *p) sock_poll_wait() argument [all...] |
/kernel/linux/linux-5.10/drivers/memstick/host/ |
H A D | tifm_ms.c | 85 struct tifm_dev *sock = host->dev; in tifm_ms_read_data() local 98 while (!(TIFM_MS_STAT_EMP & readl(sock->addr + SOCK_MS_STATUS))) { in tifm_ms_read_data() 101 *(unsigned int *)(buf + off) = __raw_readl(sock->addr in tifm_ms_read_data() 108 && !(TIFM_MS_STAT_EMP & readl(sock->addr + SOCK_MS_STATUS))) { in tifm_ms_read_data() 109 host->io_word = readl(sock->addr + SOCK_MS_DATA); in tifm_ms_read_data() 125 struct tifm_dev *sock = host->dev; in tifm_ms_write_data() local 137 && !(TIFM_MS_STAT_FUL & readl(sock->addr + SOCK_MS_STATUS))) { in tifm_ms_write_data() 138 writel(TIFM_MS_SYS_FDIR | readl(sock->addr + SOCK_MS_SYSTEM), in tifm_ms_write_data() 139 sock->addr + SOCK_MS_SYSTEM); in tifm_ms_write_data() 140 writel(host->io_word, sock in tifm_ms_write_data() 182 struct tifm_dev *sock = host->dev; tifm_ms_transfer_data() local 254 struct tifm_dev *sock = host->dev; tifm_ms_issue_cmd() local 336 struct tifm_dev *sock = host->dev; tifm_ms_complete_cmd() local 381 tifm_ms_data_event(struct tifm_dev *sock) tifm_ms_data_event() argument 417 tifm_ms_card_event(struct tifm_dev *sock) tifm_ms_card_event() argument 459 struct tifm_dev *sock = host->dev; tifm_ms_req_tasklet() local 499 struct tifm_dev *sock = host->dev; tifm_ms_set_param() local 551 tifm_ms_probe(struct tifm_dev *sock) tifm_ms_probe() argument 591 tifm_ms_remove(struct tifm_dev *sock) tifm_ms_remove() argument 628 tifm_ms_suspend(struct tifm_dev *sock, pm_message_t state) tifm_ms_suspend() argument 636 tifm_ms_resume(struct tifm_dev *sock) tifm_ms_resume() argument [all...] |
/kernel/linux/linux-6.6/drivers/memstick/host/ |
H A D | tifm_ms.c | 85 struct tifm_dev *sock = host->dev; in tifm_ms_read_data() local 98 while (!(TIFM_MS_STAT_EMP & readl(sock->addr + SOCK_MS_STATUS))) { in tifm_ms_read_data() 101 *(unsigned int *)(buf + off) = __raw_readl(sock->addr in tifm_ms_read_data() 108 && !(TIFM_MS_STAT_EMP & readl(sock->addr + SOCK_MS_STATUS))) { in tifm_ms_read_data() 109 host->io_word = readl(sock->addr + SOCK_MS_DATA); in tifm_ms_read_data() 125 struct tifm_dev *sock = host->dev; in tifm_ms_write_data() local 137 && !(TIFM_MS_STAT_FUL & readl(sock->addr + SOCK_MS_STATUS))) { in tifm_ms_write_data() 138 writel(TIFM_MS_SYS_FDIR | readl(sock->addr + SOCK_MS_SYSTEM), in tifm_ms_write_data() 139 sock->addr + SOCK_MS_SYSTEM); in tifm_ms_write_data() 140 writel(host->io_word, sock in tifm_ms_write_data() 182 struct tifm_dev *sock = host->dev; tifm_ms_transfer_data() local 254 struct tifm_dev *sock = host->dev; tifm_ms_issue_cmd() local 336 struct tifm_dev *sock = host->dev; tifm_ms_complete_cmd() local 381 tifm_ms_data_event(struct tifm_dev *sock) tifm_ms_data_event() argument 417 tifm_ms_card_event(struct tifm_dev *sock) tifm_ms_card_event() argument 459 struct tifm_dev *sock = host->dev; tifm_ms_req_tasklet() local 499 struct tifm_dev *sock = host->dev; tifm_ms_set_param() local 551 tifm_ms_probe(struct tifm_dev *sock) tifm_ms_probe() argument 591 tifm_ms_remove(struct tifm_dev *sock) tifm_ms_remove() argument 628 tifm_ms_suspend(struct tifm_dev *sock, pm_message_t state) tifm_ms_suspend() argument 636 tifm_ms_resume(struct tifm_dev *sock) tifm_ms_resume() argument [all...] |
/kernel/linux/common_modules/newip/third_party/linux-5.10/include/net/ |
H A D | tcp_nip.h | 42 #include <net/sock.h> 81 void tcp_nip_done(struct sock *sk); 82 int tcp_direct_connect(struct sock *sk, void __user *arg); 84 struct sock *sk, 90 struct sock *sk, 94 u32 __nip_tcp_select_window(struct sock *sk); 97 void tcp_nip_rearm_rto(struct sock *sk); 99 int tcp_nip_rcv_state_process(struct sock *sk, struct sk_buff *skb); 103 struct sock *sk, 107 int __tcp_nip_retransmit_skb(struct sock *s [all...] |
/kernel/linux/linux-5.10/drivers/mmc/host/ |
H A D | tifm_sd.c | 115 struct tifm_dev *sock = host->dev; in tifm_sd_read_fifo() local 126 val = readl(sock->addr + SOCK_MMCSD_DATA); in tifm_sd_read_fifo() 141 struct tifm_dev *sock = host->dev; in tifm_sd_write_fifo() local 148 writel(val, sock->addr + SOCK_MMCSD_DATA); in tifm_sd_write_fifo() 160 writel(val, sock->addr + SOCK_MMCSD_DATA); in tifm_sd_write_fifo() 263 struct tifm_dev *sock = host->dev; in tifm_sd_set_dma_data() local 316 dev_dbg(&sock->dev, "setting dma for %d blocks\n", dma_blk_cnt); in tifm_sd_set_dma_data() 317 writel(sg_dma_address(sg) + dma_off, sock->addr + SOCK_DMA_ADDRESS); in tifm_sd_set_dma_data() 320 sock->addr + SOCK_DMA_CONTROL); in tifm_sd_set_dma_data() 323 sock in tifm_sd_set_dma_data() 373 struct tifm_dev *sock = host->dev; tifm_sd_exec() local 390 tifm_sd_fetch_resp(struct mmc_command *cmd, struct tifm_dev *sock) tifm_sd_fetch_resp() argument 404 struct tifm_dev *sock = host->dev; tifm_sd_check_status() local 475 tifm_sd_data_event(struct tifm_dev *sock) tifm_sd_data_event() argument 503 tifm_sd_card_event(struct tifm_dev *sock) tifm_sd_card_event() argument 595 struct tifm_dev *sock = host->dev; tifm_sd_set_data_timeout() local 623 struct tifm_dev *sock = host->dev; tifm_sd_request() local 737 struct tifm_dev *sock = host->dev; tifm_sd_end_cmd() local 799 struct tifm_dev *sock = host->dev; tifm_sd_ios() local 867 struct tifm_dev *sock = host->dev; tifm_sd_ro() local 887 struct tifm_dev *sock = host->dev; tifm_sd_initialize_host() local 944 tifm_sd_probe(struct tifm_dev *sock) tifm_sd_probe() argument 1000 tifm_sd_remove(struct tifm_dev *sock) tifm_sd_remove() argument 1032 tifm_sd_suspend(struct tifm_dev *sock, pm_message_t state) tifm_sd_suspend() argument 1037 tifm_sd_resume(struct tifm_dev *sock) tifm_sd_resume() argument [all...] |
/kernel/linux/linux-6.6/drivers/mmc/host/ |
H A D | tifm_sd.c | 115 struct tifm_dev *sock = host->dev; in tifm_sd_read_fifo() local 126 val = readl(sock->addr + SOCK_MMCSD_DATA); in tifm_sd_read_fifo() 141 struct tifm_dev *sock = host->dev; in tifm_sd_write_fifo() local 148 writel(val, sock->addr + SOCK_MMCSD_DATA); in tifm_sd_write_fifo() 160 writel(val, sock->addr + SOCK_MMCSD_DATA); in tifm_sd_write_fifo() 263 struct tifm_dev *sock = host->dev; in tifm_sd_set_dma_data() local 311 dev_dbg(&sock->dev, "setting dma for %d blocks\n", dma_blk_cnt); in tifm_sd_set_dma_data() 312 writel(sg_dma_address(sg) + dma_off, sock->addr + SOCK_DMA_ADDRESS); in tifm_sd_set_dma_data() 315 sock->addr + SOCK_DMA_CONTROL); in tifm_sd_set_dma_data() 318 sock in tifm_sd_set_dma_data() 368 struct tifm_dev *sock = host->dev; tifm_sd_exec() local 385 tifm_sd_fetch_resp(struct mmc_command *cmd, struct tifm_dev *sock) tifm_sd_fetch_resp() argument 399 struct tifm_dev *sock = host->dev; tifm_sd_check_status() local 470 tifm_sd_data_event(struct tifm_dev *sock) tifm_sd_data_event() argument 498 tifm_sd_card_event(struct tifm_dev *sock) tifm_sd_card_event() argument 587 struct tifm_dev *sock = host->dev; tifm_sd_set_data_timeout() local 615 struct tifm_dev *sock = host->dev; tifm_sd_request() local 729 struct tifm_dev *sock = host->dev; tifm_sd_end_cmd() local 791 struct tifm_dev *sock = host->dev; tifm_sd_ios() local 859 struct tifm_dev *sock = host->dev; tifm_sd_ro() local 879 struct tifm_dev *sock = host->dev; tifm_sd_initialize_host() local 936 tifm_sd_probe(struct tifm_dev *sock) tifm_sd_probe() argument 991 tifm_sd_remove(struct tifm_dev *sock) tifm_sd_remove() argument 1023 tifm_sd_suspend(struct tifm_dev *sock, pm_message_t state) tifm_sd_suspend() argument 1028 tifm_sd_resume(struct tifm_dev *sock) tifm_sd_resume() argument [all...] |
/kernel/linux/linux-5.10/drivers/misc/ |
H A D | tifm_core.c | 34 static int tifm_dev_match(struct tifm_dev *sock, struct tifm_device_id *id) in tifm_dev_match() argument 36 if (sock->type == id->type) in tifm_dev_match() 43 struct tifm_dev *sock = container_of(dev, struct tifm_dev, dev); in tifm_bus_match() local 50 if (tifm_dev_match(sock, ids)) in tifm_bus_match() 60 struct tifm_dev *sock = container_of(dev, struct tifm_dev, dev); in tifm_uevent() local 62 if (add_uevent_var(env, "TIFM_CARD_TYPE=%s", tifm_media_type_name(sock->type, 1))) in tifm_uevent() 70 struct tifm_dev *sock = container_of(dev, struct tifm_dev, dev); in tifm_device_probe() local 77 rc = drv->probe(sock); in tifm_device_probe() 85 static void tifm_dummy_event(struct tifm_dev *sock) in tifm_dummy_event() argument 92 struct tifm_dev *sock in tifm_device_remove() local 111 struct tifm_dev *sock = container_of(dev, struct tifm_dev, dev); tifm_device_suspend() local 122 struct tifm_dev *sock = container_of(dev, struct tifm_dev, dev); tifm_device_resume() local 141 struct tifm_dev *sock = container_of(dev, struct tifm_dev, dev); type_show() local 244 struct tifm_dev *sock = container_of(dev, struct tifm_dev, dev); tifm_free_device() local 252 struct tifm_dev *sock = NULL; tifm_alloc_device() local 280 tifm_eject(struct tifm_dev *sock) tifm_eject() argument 287 tifm_has_ms_pif(struct tifm_dev *sock) tifm_has_ms_pif() argument 294 tifm_map_sg(struct tifm_dev *sock, struct scatterlist *sg, int nents, int direction) tifm_map_sg() argument 301 tifm_unmap_sg(struct tifm_dev *sock, struct scatterlist *sg, int nents, int direction) tifm_unmap_sg() argument [all...] |
/kernel/linux/linux-6.6/drivers/misc/ |
H A D | tifm_core.c | 34 static int tifm_dev_match(struct tifm_dev *sock, struct tifm_device_id *id) in tifm_dev_match() argument 36 if (sock->type == id->type) in tifm_dev_match() 43 struct tifm_dev *sock = container_of(dev, struct tifm_dev, dev); in tifm_bus_match() local 50 if (tifm_dev_match(sock, ids)) in tifm_bus_match() 60 const struct tifm_dev *sock = container_of_const(dev, struct tifm_dev, dev); in tifm_uevent() local 62 if (add_uevent_var(env, "TIFM_CARD_TYPE=%s", tifm_media_type_name(sock->type, 1))) in tifm_uevent() 70 struct tifm_dev *sock = container_of(dev, struct tifm_dev, dev); in tifm_device_probe() local 77 rc = drv->probe(sock); in tifm_device_probe() 85 static void tifm_dummy_event(struct tifm_dev *sock) in tifm_dummy_event() argument 92 struct tifm_dev *sock in tifm_device_remove() local 110 struct tifm_dev *sock = container_of(dev, struct tifm_dev, dev); tifm_device_suspend() local 121 struct tifm_dev *sock = container_of(dev, struct tifm_dev, dev); tifm_device_resume() local 140 struct tifm_dev *sock = container_of(dev, struct tifm_dev, dev); type_show() local 242 struct tifm_dev *sock = container_of(dev, struct tifm_dev, dev); tifm_free_device() local 250 struct tifm_dev *sock = NULL; tifm_alloc_device() local 278 tifm_eject(struct tifm_dev *sock) tifm_eject() argument 285 tifm_has_ms_pif(struct tifm_dev *sock) tifm_has_ms_pif() argument 292 tifm_map_sg(struct tifm_dev *sock, struct scatterlist *sg, int nents, int direction) tifm_map_sg() argument 300 tifm_unmap_sg(struct tifm_dev *sock, struct scatterlist *sg, int nents, int direction) tifm_unmap_sg() argument [all...] |
/kernel/linux/linux-5.10/include/linux/ |
H A D | net.h | 36 * in sock->flags, but moved into sk->sk_wq->flags to be RCU protected. 122 struct sock *sk; 140 int (*release) (struct socket *sock); 141 int (*bind) (struct socket *sock, 144 int (*connect) (struct socket *sock, 149 int (*accept) (struct socket *sock, 151 int (*getname) (struct socket *sock, 154 __poll_t (*poll) (struct file *file, struct socket *sock, 156 int (*ioctl) (struct socket *sock, unsigned int cmd, 159 int (*compat_ioctl) (struct socket *sock, unsigne [all...] |
/kernel/linux/linux-6.6/include/linux/ |
H A D | net.h | 36 * in sock->flags, but moved into sk->sk_wq->flags to be RCU protected. 125 struct sock *sk; 158 typedef int (*skb_read_actor_t)(struct sock *, struct sk_buff *); 164 int (*release) (struct socket *sock); 165 int (*bind) (struct socket *sock, 168 int (*connect) (struct socket *sock, 173 int (*accept) (struct socket *sock, 175 int (*getname) (struct socket *sock, 178 __poll_t (*poll) (struct file *file, struct socket *sock, 180 int (*ioctl) (struct socket *sock, unsigne [all...] |