/* SPDX-License-Identifier: GPL-2.0-only */ /* * ss.h * * The initial developer of the original code is David A. Hinds * <dahinds@users.sourceforge.net>. Portions created by David A. Hinds * are Copyright (C) 1999 David A. Hinds. All Rights Reserved. * * (C) 1999 David A. Hinds
*/
/* socket setup is done so resources should be able to be allocated. * Only if set to 1, calls to find_{io,mem}_region are handled, and
* insertio events are actually managed by the PCMCIA layer.*/
u8 resource_setup_done;
#ifdefined(CONFIG_PCMCIA) || defined(CONFIG_PCMCIA_MODULE) /* The following elements refer to 16-bit PCMCIA devices inserted
* into the socket */ struct list_head devices_list;
/* the number of devices, used only internally and subject to
* incorrectness and change */
u8 device_count;
/* does the PCMCIA card consist of two pseudo devices? */
u8 pcmcia_pfc;
/* non-zero if PCMCIA card is present */
atomic_t present;
/* IRQ to be used by PCMCIA devices. May not be IRQ 0. */ unsignedint pcmcia_irq;
#endif/* CONFIG_PCMCIA */
/* socket device */ struct device dev; /* data internal to the socket driver */ void *driver_data; /* status of the card during resume from a system sleep state */ int resume_status;
};
/* socket drivers must define the resource operations type they use. There * are two options: * - pccard_static_ops iomem and ioport areas are assigned statically * - pccard_nonstatic_ops iomem and ioport areas are assigned dynamically. * If this option is selected, use * "select PCCARD_NONSTATIC" in Kconfig. *
*/ externstruct pccard_resource_ops pccard_static_ops; #ifdefined(CONFIG_PCMCIA) || defined(CONFIG_PCMCIA_MODULE) externstruct pccard_resource_ops pccard_nonstatic_ops; #else /* If PCMCIA is not used, but only CARDBUS, these functions are not used * at all. Therefore, do not use the large (240K!) rsrc_nonstatic module
*/ #define pccard_nonstatic_ops pccard_static_ops #endif
/* socket drivers use this callback in their IRQ handler */ externvoid pcmcia_parse_events(struct pcmcia_socket *socket, unsignedint events);
/* to register and unregister a socket */ externint pcmcia_register_socket(struct pcmcia_socket *socket); externvoid pcmcia_unregister_socket(struct pcmcia_socket *socket);
#endif/* _LINUX_SS_H */
Messung V0.5
¤ Dauer der Verarbeitung: 0.1 Sekunden
(vorverarbeitet)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.