Release 4.7 drivers/mmc/core/pwrseq.h
  
  
/*
 * Copyright (C) 2014 Linaro Ltd
 *
 * Author: Ulf Hansson <ulf.hansson@linaro.org>
 *
 * License terms: GNU General Public License (GPL) version 2
 */
#ifndef _MMC_CORE_PWRSEQ_H
#define _MMC_CORE_PWRSEQ_H
#include <linux/mmc/host.h>
struct mmc_pwrseq_ops {
	
void (*pre_power_on)(struct mmc_host *host);
	
void (*post_power_on)(struct mmc_host *host);
	
void (*power_off)(struct mmc_host *host);
};
struct mmc_pwrseq {
	
const struct mmc_pwrseq_ops *ops;
	
struct device *dev;
	
struct list_head pwrseq_node;
	
struct module *owner;
};
#ifdef CONFIG_OF
int mmc_pwrseq_register(struct mmc_pwrseq *pwrseq);
void mmc_pwrseq_unregister(struct mmc_pwrseq *pwrseq);
int mmc_pwrseq_alloc(struct mmc_host *host);
void mmc_pwrseq_pre_power_on(struct mmc_host *host);
void mmc_pwrseq_post_power_on(struct mmc_host *host);
void mmc_pwrseq_power_off(struct mmc_host *host);
void mmc_pwrseq_free(struct mmc_host *host);
#else
static inline int mmc_pwrseq_register(struct mmc_pwrseq *pwrseq)
{
	return -ENOSYS;
}
Contributors
 | Person | Tokens | Prop | Commits | CommitProp | 
| srinivas kandagatla | srinivas kandagatla | 16 | 100.00% | 1 | 100.00% | 
 | Total | 16 | 100.00% | 1 | 100.00% | 
static inline void mmc_pwrseq_unregister(struct mmc_pwrseq *pwrseq) {}
Contributors
 | Person | Tokens | Prop | Commits | CommitProp | 
| srinivas kandagatla | srinivas kandagatla | 11 | 100.00% | 1 | 100.00% | 
 | Total | 11 | 100.00% | 1 | 100.00% | 
static inline int mmc_pwrseq_alloc(struct mmc_host *host) { return 0; }
Contributors
 | Person | Tokens | Prop | Commits | CommitProp | 
| ulf hansson | ulf hansson | 15 | 100.00% | 1 | 100.00% | 
 | Total | 15 | 100.00% | 1 | 100.00% | 
static inline void mmc_pwrseq_pre_power_on(struct mmc_host *host) {}
Contributors
 | Person | Tokens | Prop | Commits | CommitProp | 
| ulf hansson | ulf hansson | 11 | 100.00% | 1 | 100.00% | 
 | Total | 11 | 100.00% | 1 | 100.00% | 
static inline void mmc_pwrseq_post_power_on(struct mmc_host *host) {}
Contributors
 | Person | Tokens | Prop | Commits | CommitProp | 
| ulf hansson | ulf hansson | 11 | 100.00% | 1 | 100.00% | 
 | Total | 11 | 100.00% | 1 | 100.00% | 
static inline void mmc_pwrseq_power_off(struct mmc_host *host) {}
Contributors
 | Person | Tokens | Prop | Commits | CommitProp | 
| ulf hansson | ulf hansson | 11 | 100.00% | 1 | 100.00% | 
 | Total | 11 | 100.00% | 1 | 100.00% | 
static inline void mmc_pwrseq_free(struct mmc_host *host) {}
Contributors
 | Person | Tokens | Prop | Commits | CommitProp | 
| ulf hansson | ulf hansson | 11 | 100.00% | 1 | 100.00% | 
 | Total | 11 | 100.00% | 1 | 100.00% | 
#endif
#endif
Overall Contributors
 | Person | Tokens | Prop | Commits | CommitProp | 
| ulf hansson | ulf hansson | 168 | 71.79% | 2 | 40.00% | 
| srinivas kandagatla | srinivas kandagatla | 58 | 24.79% | 1 | 20.00% | 
| marek szyprowski | marek szyprowski | 7 | 2.99% | 1 | 20.00% | 
| julia lawall | julia lawall | 1 | 0.43% | 1 | 20.00% | 
 | Total | 234 | 100.00% | 5 | 100.00% | 
  
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.