/kernel/linux/linux-5.10/drivers/pcmcia/ |
D | cs_internal.h | 47 int (*validate_mem) (struct pcmcia_socket *s); 48 int (*find_io) (struct pcmcia_socket *s, 56 struct pcmcia_socket *s); 57 int (*init) (struct pcmcia_socket *s); 58 void (*exit) (struct pcmcia_socket *s); 79 extern int static_init(struct pcmcia_socket *s); 93 int cb_alloc(struct pcmcia_socket *s); 94 void cb_free(struct pcmcia_socket *s); 104 int (*add) (struct pcmcia_socket *s); 105 int (*remove) (struct pcmcia_socket *s); [all …]
|
D | socket_sysfs.c | 31 #define to_socket(_dev) container_of(_dev, struct pcmcia_socket, dev) 36 struct pcmcia_socket *s = to_socket(dev); in pccard_show_type() 49 struct pcmcia_socket *s = to_socket(dev); in pccard_show_voltage() 63 struct pcmcia_socket *s = to_socket(dev); in pccard_show_vpp() 73 struct pcmcia_socket *s = to_socket(dev); in pccard_show_vcc() 84 struct pcmcia_socket *s = to_socket(dev); in pccard_store_insert() 100 struct pcmcia_socket *s = to_socket(dev); in pccard_show_card_pm_state() 108 struct pcmcia_socket *s = to_socket(dev); in pccard_store_card_pm_state() 131 struct pcmcia_socket *s = to_socket(dev); in pccard_store_eject() 147 struct pcmcia_socket *s = to_socket(dev); in pccard_show_irq_mask() [all …]
|
D | cs.c | 73 struct pcmcia_socket *pcmcia_get_socket(struct pcmcia_socket *skt) in pcmcia_get_socket() 83 void pcmcia_put_socket(struct pcmcia_socket *skt) in pcmcia_put_socket() 92 struct pcmcia_socket *socket = dev_get_drvdata(dev); in pcmcia_release_socket() 103 int pcmcia_register_socket(struct pcmcia_socket *socket) in pcmcia_register_socket() 122 struct pcmcia_socket *tmp; in pcmcia_register_socket() 206 void pcmcia_unregister_socket(struct pcmcia_socket *socket) in pcmcia_unregister_socket() 232 struct pcmcia_socket *pcmcia_get_socket_by_nr(unsigned int nr) in pcmcia_get_socket_by_nr() 234 struct pcmcia_socket *s; in pcmcia_get_socket_by_nr() 249 static int socket_reset(struct pcmcia_socket *skt) in socket_reset() 285 static void socket_shutdown(struct pcmcia_socket *s) in socket_shutdown() [all …]
|
D | i82092aa.h | 17 static int i82092aa_get_status(struct pcmcia_socket *socket, u_int *value); 18 static int i82092aa_set_socket(struct pcmcia_socket *socket, socket_state_t *state); 19 static int i82092aa_set_io_map(struct pcmcia_socket *socket, struct pccard_io_map *io); 20 static int i82092aa_set_mem_map(struct pcmcia_socket *socket, struct pccard_mem_map *mem); 21 static int i82092aa_init(struct pcmcia_socket *socket);
|
D | rsrc_nonstatic.c | 73 claim_region(struct pcmcia_socket *s, resource_size_t base, in claim_region() 182 static void do_io_probe(struct pcmcia_socket *s, unsigned int base, in do_io_probe() 263 static int readable(struct pcmcia_socket *s, struct resource *res, in readable() 294 static int checksum(struct pcmcia_socket *s, struct resource *res, in checksum() 344 static int do_validate_mem(struct pcmcia_socket *s, in do_validate_mem() 346 int validate (struct pcmcia_socket *s, in do_validate_mem() 400 static int do_mem_probe(struct pcmcia_socket *s, u_long base, u_long num, in do_mem_probe() 401 int validate (struct pcmcia_socket *s, in do_mem_probe() 404 int fallback (struct pcmcia_socket *s, in do_mem_probe() 454 static u_long inv_probe(struct resource_map *m, struct pcmcia_socket *s) in inv_probe() [all …]
|
D | xxs1500_ss.c | 56 struct pcmcia_socket socket; 78 static int xxs1500_pcmcia_configure(struct pcmcia_socket *skt, in xxs1500_pcmcia_configure() 115 static int xxs1500_pcmcia_get_status(struct pcmcia_socket *skt, in xxs1500_pcmcia_get_status() 156 static int xxs1500_pcmcia_sock_init(struct pcmcia_socket *skt) in xxs1500_pcmcia_sock_init() 171 static int xxs1500_pcmcia_sock_suspend(struct pcmcia_socket *skt) in xxs1500_pcmcia_sock_suspend() 176 static int au1x00_pcmcia_set_io_map(struct pcmcia_socket *skt, in au1x00_pcmcia_set_io_map() 187 static int au1x00_pcmcia_set_mem_map(struct pcmcia_socket *skt, in au1x00_pcmcia_set_mem_map()
|
D | pcmcia_resource.c | 37 int pcmcia_validate_mem(struct pcmcia_socket *s) in pcmcia_validate_mem() 46 int low, struct pcmcia_socket *s) in pcmcia_find_mem_region() 60 static void release_io_space(struct pcmcia_socket *s, struct resource *res) in release_io_space() 96 static int alloc_io_space(struct pcmcia_socket *s, struct resource *res, in alloc_io_space() 157 int (*accessf) (struct pcmcia_socket *s, in pcmcia_access_config() 161 struct pcmcia_socket *s; in pcmcia_access_config() 226 struct pcmcia_socket *s = p_dev->socket; in pcmcia_map_mem_page() 255 struct pcmcia_socket *s = p_dev->socket; in pcmcia_fixup_iowidth() 305 struct pcmcia_socket *s = p_dev->socket; in pcmcia_fixup_vpp() 349 struct pcmcia_socket *s = p_dev->socket; in pcmcia_release_configuration() [all …]
|
D | vrc4171_card.c | 91 struct pcmcia_socket pcmcia_socket; member 222 static int pccard_init(struct pcmcia_socket *sock) in pccard_init() 241 static int pccard_get_status(struct pcmcia_socket *sock, u_int *value) in pccard_get_status() 305 static int pccard_set_socket(struct pcmcia_socket *sock, socket_state_t *state) in pccard_set_socket() 367 static int pccard_set_io_map(struct pcmcia_socket *sock, struct pccard_io_map *io) in pccard_set_io_map() 409 static int pccard_set_mem_map(struct pcmcia_socket *sock, struct pccard_mem_map *mem) in pccard_set_mem_map() 519 pcmcia_parse_events(&socket->pcmcia_socket, events); in pccard_interrupt() 532 pcmcia_parse_events(&socket->pcmcia_socket, events); in pccard_interrupt() 588 socket->pcmcia_socket.dev.parent = &vrc4171_card_device.dev; in vrc4171_add_sockets() 589 socket->pcmcia_socket.ops = &vrc4171_pccard_operations; in vrc4171_add_sockets() [all …]
|
D | omap_cf.c | 57 struct pcmcia_socket socket; 73 static int omap_cf_ss_init(struct pcmcia_socket *s) in omap_cf_ss_init() 107 static int omap_cf_get_status(struct pcmcia_socket *s, u_int *sp) in omap_cf_get_status() 126 omap_cf_set_socket(struct pcmcia_socket *sock, struct socket_state_t *s) in omap_cf_set_socket() 151 static int omap_cf_ss_suspend(struct pcmcia_socket *s) in omap_cf_ss_suspend() 160 omap_cf_set_io_map(struct pcmcia_socket *s, struct pccard_io_map *io) in omap_cf_set_io_map() 172 omap_cf_set_mem_map(struct pcmcia_socket *s, struct pccard_mem_map *map) in omap_cf_set_mem_map()
|
D | at91_cf.c | 43 struct pcmcia_socket socket; 60 static int at91_cf_ss_init(struct pcmcia_socket *s) in at91_cf_ss_init() 84 static int at91_cf_get_status(struct pcmcia_socket *s, u_int *sp) in at91_cf_get_status() 110 at91_cf_set_socket(struct pcmcia_socket *sock, struct socket_state_t *s) in at91_cf_set_socket() 139 static int at91_cf_ss_suspend(struct pcmcia_socket *s) in at91_cf_ss_suspend() 145 static int at91_cf_set_io_map(struct pcmcia_socket *s, struct pccard_io_map *io) in at91_cf_set_io_map() 183 at91_cf_set_mem_map(struct pcmcia_socket *s, struct pccard_mem_map *map) in at91_cf_set_mem_map()
|
D | electra_cf.c | 30 struct pcmcia_socket socket; 63 static int electra_cf_ss_init(struct pcmcia_socket *s) in electra_cf_ss_init() 91 static int electra_cf_get_status(struct pcmcia_socket *s, u_int *sp) in electra_cf_get_status() 110 static int electra_cf_set_socket(struct pcmcia_socket *sock, in electra_cf_set_socket() 146 static int electra_cf_set_io_map(struct pcmcia_socket *s, in electra_cf_set_io_map() 152 static int electra_cf_set_mem_map(struct pcmcia_socket *s, in electra_cf_set_mem_map()
|
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()
|
D | db1xxx_ss.c | 44 struct pcmcia_socket socket; 242 static int db1x_pcmcia_configure(struct pcmcia_socket *skt, in db1x_pcmcia_configure() 338 static int db1x_pcmcia_get_status(struct pcmcia_socket *skt, in db1x_pcmcia_get_status() 380 static int db1x_pcmcia_sock_init(struct pcmcia_socket *skt) in db1x_pcmcia_sock_init() 385 static int db1x_pcmcia_sock_suspend(struct pcmcia_socket *skt) in db1x_pcmcia_sock_suspend() 390 static int au1x00_pcmcia_set_io_map(struct pcmcia_socket *skt, in au1x00_pcmcia_set_io_map() 401 static int au1x00_pcmcia_set_mem_map(struct pcmcia_socket *skt, in au1x00_pcmcia_set_mem_map()
|
D | rsrc_mgr.c | 20 int static_init(struct pcmcia_socket *s) in static_init() 45 static int static_find_io(struct pcmcia_socket *s, unsigned int attr, in static_find_io()
|
D | ds.c | 255 struct pcmcia_socket *s; in pcmcia_device_probe() 321 static void pcmcia_card_remove(struct pcmcia_socket *s, struct pcmcia_device *leftover) in pcmcia_card_remove() 484 static struct pcmcia_device *pcmcia_device_add(struct pcmcia_socket *s, in pcmcia_device_add() 607 static int pcmcia_card_add(struct pcmcia_socket *s) in pcmcia_card_add() 676 static void pcmcia_requery(struct pcmcia_socket *s) in pcmcia_requery() 744 struct pcmcia_socket *s = dev->socket; in pcmcia_load_firmware() 1219 struct pcmcia_socket *skt = _data; in pcmcia_bus_suspend_callback() 1230 struct pcmcia_socket *skt = _data; in pcmcia_bus_resume_callback() 1241 static int pcmcia_bus_resume(struct pcmcia_socket *skt) in pcmcia_bus_resume() 1248 static int pcmcia_bus_suspend(struct pcmcia_socket *skt) in pcmcia_bus_suspend() [all …]
|
D | cistpl.c | 61 void release_cis_mem(struct pcmcia_socket *s) in release_cis_mem() 86 static void __iomem *set_cis_map(struct pcmcia_socket *s, in set_cis_map() 134 int pcmcia_read_cis_mem(struct pcmcia_socket *s, int attr, u_int addr, in pcmcia_read_cis_mem() 215 int pcmcia_write_cis_mem(struct pcmcia_socket *s, int attr, u_int addr, in pcmcia_write_cis_mem() 287 static int read_cis_cache(struct pcmcia_socket *s, int attr, u_int addr, in read_cis_cache() 335 remove_cis_cache(struct pcmcia_socket *s, int attr, u_int addr, u_int len) in remove_cis_cache() 356 void destroy_cis_cache(struct pcmcia_socket *s) in destroy_cis_cache() 371 int verify_cis_cache(struct pcmcia_socket *s) in verify_cis_cache() 410 int pcmcia_replace_cis(struct pcmcia_socket *s, in pcmcia_replace_cis() 446 int pccard_get_first_tuple(struct pcmcia_socket *s, unsigned int function, in pccard_get_first_tuple() [all …]
|
D | cardbus.c | 66 int __ref cb_alloc(struct pcmcia_socket *s) in cb_alloc() 105 void cb_free(struct pcmcia_socket *s) in cb_free()
|
D | i82092.c | 64 struct pcmcia_socket socket; 384 static int i82092aa_init(struct pcmcia_socket *sock) in i82092aa_init() 403 static int i82092aa_get_status(struct pcmcia_socket *socket, u_int *value) in i82092aa_get_status() 443 static int i82092aa_set_socket(struct pcmcia_socket *socket, in i82092aa_set_socket() 549 static int i82092aa_set_io_map(struct pcmcia_socket *socket, in i82092aa_set_io_map() 589 static int i82092aa_set_mem_map(struct pcmcia_socket *socket, in i82092aa_set_mem_map()
|
D | rsrc_iodyn.c | 55 static struct resource *__iodyn_find_io_region(struct pcmcia_socket *s, in __iodyn_find_io_region() 84 static int iodyn_find_io(struct pcmcia_socket *s, unsigned int attr, in iodyn_find_io()
|
D | pd6729.h | 20 struct pcmcia_socket socket;
|
D | bcm63xx_pcmcia.h | 23 struct pcmcia_socket socket;
|
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()
|
/kernel/linux/linux-5.10/include/pcmcia/ |
D | ss.h | 115 struct pcmcia_socket; 122 int (*init)(struct pcmcia_socket *s); 123 int (*suspend)(struct pcmcia_socket *s); 124 int (*get_status)(struct pcmcia_socket *s, u_int *value); 125 int (*set_socket)(struct pcmcia_socket *s, socket_state_t *state); 126 int (*set_io_map)(struct pcmcia_socket *s, struct pccard_io_map *io); 127 int (*set_mem_map)(struct pcmcia_socket *s, struct pccard_mem_map *mem); 130 struct pcmcia_socket { struct 172 void (*zoom_video)(struct pcmcia_socket *, argument 176 int (*power_hook)(struct pcmcia_socket *sock, int operation); argument [all …]
|
D | ds.h | 33 struct pcmcia_socket; 91 struct pcmcia_socket *socket; 197 int pcmcia_reset_card(struct pcmcia_socket *skt);
|
/kernel/linux/linux-5.10/Documentation/pcmcia/ |
D | locking.rst | 25 The following functions and callbacks to struct pcmcia_socket must 42 The following functions and callbacks to struct pcmcia_socket must 69 The "main" struct pcmcia_socket is protected as follows (read-only fields 116 - by pcmcia_socket->ops_mutex::
|