Home
last modified time | relevance | path

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

12

/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 …]
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 …]
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 …]
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 …]
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 …]
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()
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.c53 struct pcmcia_socket socket;
70 static int at91_cf_ss_init(struct pcmcia_socket *s) in at91_cf_ss_init()
94 static int at91_cf_get_status(struct pcmcia_socket *s, u_int *sp) in at91_cf_get_status()
120 at91_cf_set_socket(struct pcmcia_socket *sock, struct socket_state_t *s) in at91_cf_set_socket()
149 static int at91_cf_ss_suspend(struct pcmcia_socket *s) in at91_cf_ss_suspend()
155 static int at91_cf_set_io_map(struct pcmcia_socket *s, struct pccard_io_map *io) in at91_cf_set_io_map()
193 at91_cf_set_mem_map(struct pcmcia_socket *s, struct pccard_mem_map *map) in at91_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()
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()
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()
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()
479 static struct pcmcia_device *pcmcia_device_add(struct pcmcia_socket *s, in pcmcia_device_add()
606 static int pcmcia_card_add(struct pcmcia_socket *s) in pcmcia_card_add()
675 static void pcmcia_requery(struct pcmcia_socket *s) in pcmcia_requery()
743 struct pcmcia_socket *s = dev->socket; in pcmcia_load_firmware()
1218 struct pcmcia_socket *skt = _data; in pcmcia_bus_suspend_callback()
1229 struct pcmcia_socket *skt = _data; in pcmcia_bus_resume_callback()
1240 static int pcmcia_bus_resume(struct pcmcia_socket *skt) in pcmcia_bus_resume()
1247 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 …]
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()
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()
Dcardbus.c66 int __ref cb_alloc(struct pcmcia_socket *s) in cb_alloc()
105 void cb_free(struct pcmcia_socket *s) in cb_free()
Dtcic.c108 struct pcmcia_socket socket;
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()
776 static int tcic_init(struct pcmcia_socket *s) in tcic_init()
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()
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;
Dti113x.h204 static void ti_zoom_video(struct pcmcia_socket *sock, int onoff) in ti_zoom_video()
229 static void ti1250_zoom_video(struct pcmcia_socket *sock, int onoff) in ti1250_zoom_video()
744 static int ti12xx_power_hook(struct pcmcia_socket *sock, int operation) in ti12xx_power_hook()
936 static void ene_tune_bridge(struct pcmcia_socket *sock, struct pci_bus *bus) in ene_tune_bridge()

12