Home
last modified time | relevance | path

Searched refs:pcmcia_socket (Results 1 – 25 of 37) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/pcmcia/
Dcs_internal.h47 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 …]
Dsocket_sysfs.c31 #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 …]
Dcs.c73 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 …]
Di82092aa.h17 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);
Drsrc_nonstatic.c73 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 …]
Dxxs1500_ss.c56 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()
Dpcmcia_resource.c37 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 …]
Dvrc4171_card.c91 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 …]
Domap_cf.c57 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()
Dat91_cf.c43 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()
Delectra_cf.c30 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()
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()
Ddb1xxx_ss.c44 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()
Drsrc_mgr.c20 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()
Dds.c255 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 …]
Dcistpl.c61 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 …]
Dcardbus.c66 int __ref cb_alloc(struct pcmcia_socket *s) in cb_alloc()
105 void cb_free(struct pcmcia_socket *s) in cb_free()
Di82092.c64 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()
Drsrc_iodyn.c55 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()
Dpd6729.h20 struct pcmcia_socket socket;
Dbcm63xx_pcmcia.h23 struct pcmcia_socket socket;
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()
/kernel/linux/linux-5.10/include/pcmcia/
Dss.h115 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 …]
Dds.h33 struct pcmcia_socket;
91 struct pcmcia_socket *socket;
197 int pcmcia_reset_card(struct pcmcia_socket *skt);
/kernel/linux/linux-5.10/Documentation/pcmcia/
Dlocking.rst25 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::

12