sdhci.h (7e95e365d5399647a41e10059e4b09826b82d78b) sdhci.h (29495aa04a30c21565243c5b9c028510446d242c)
1/*
2 * linux/drivers/mmc/host/sdhci.h - Secure Digital Host Controller Interface driver
3 *
4 * Header file for Host Controller registers and I/O accessors.
5 *
6 * Copyright (C) 2005-2008 Pierre Ossman, All Rights Reserved.
7 *
8 * This program is free software; you can redistribute it and/or modify

--- 360 unchanged lines hidden (view full) ---

369 return (void *)host->private;
370}
371
372extern void sdhci_card_detect(struct sdhci_host *host);
373extern int sdhci_add_host(struct sdhci_host *host);
374extern void sdhci_remove_host(struct sdhci_host *host, int dead);
375
376#ifdef CONFIG_PM
1/*
2 * linux/drivers/mmc/host/sdhci.h - Secure Digital Host Controller Interface driver
3 *
4 * Header file for Host Controller registers and I/O accessors.
5 *
6 * Copyright (C) 2005-2008 Pierre Ossman, All Rights Reserved.
7 *
8 * This program is free software; you can redistribute it and/or modify

--- 360 unchanged lines hidden (view full) ---

369 return (void *)host->private;
370}
371
372extern void sdhci_card_detect(struct sdhci_host *host);
373extern int sdhci_add_host(struct sdhci_host *host);
374extern void sdhci_remove_host(struct sdhci_host *host, int dead);
375
376#ifdef CONFIG_PM
377extern int sdhci_suspend_host(struct sdhci_host *host, pm_message_t state);
377extern int sdhci_suspend_host(struct sdhci_host *host);
378extern int sdhci_resume_host(struct sdhci_host *host);
379extern void sdhci_enable_irq_wakeups(struct sdhci_host *host);
380#endif
381
382#ifdef CONFIG_PM_RUNTIME
383extern int sdhci_runtime_suspend_host(struct sdhci_host *host);
384extern int sdhci_runtime_resume_host(struct sdhci_host *host);
385#endif
386
387#endif /* __SDHCI_HW_H */
378extern int sdhci_resume_host(struct sdhci_host *host);
379extern void sdhci_enable_irq_wakeups(struct sdhci_host *host);
380#endif
381
382#ifdef CONFIG_PM_RUNTIME
383extern int sdhci_runtime_suspend_host(struct sdhci_host *host);
384extern int sdhci_runtime_resume_host(struct sdhci_host *host);
385#endif
386
387#endif /* __SDHCI_HW_H */