huawei-mrd-kernel/drivers/rwlog/rwlog.h

25 lines
813 B
C
Executable file

/*
* linux/include/rwlog/rwlog.h
*
* Copyright (C) 2003 Russell King, All Rights Reserved.
* Copyright 2007 Pierre Ossman
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
#ifndef _HUAWEI_RWLOG_H
#define _HUAWEI_RWLOG_H
#include <linux/version.h>
#include <linux/kernel.h>
void host_request_rwlog(struct mmc_host *host, struct mmc_request *mrq);
void rwlog_init(void);
void mmc_start_request_rwlog(struct mmc_host *host, struct mmc_request *mrq);
void mmc_start_cmdq_request_rwlog(struct mmc_host *host, struct mmc_request *mrq);
#ifdef CONFIG_MTK_EMMC_CQ_SUPPORT
void mmc_set_cmdq_blkaddr_rwlog(struct mmc_host *host, struct mmc_request *mrq);
#endif
#endif