Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid
[pandora-kernel.git] / drivers / staging / rts5139 / ms_mg.h
1 /* Driver for Realtek RTS51xx USB card reader
2  * Header file
3  *
4  * Copyright(c) 2009 Realtek Semiconductor Corp. All rights reserved.
5  *
6  * This program is free software; you can redistribute it and/or modify it
7  * under the terms of the GNU General Public License as published by the
8  * Free Software Foundation; either version 2, or (at your option) any
9  * later version.
10  *
11  * This program is distributed in the hope that it will be useful, but
12  * WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14  * General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License along
17  * with this program; if not, see <http://www.gnu.org/licenses/>.
18  *
19  * Author:
20  *   wwang (wei_wang@realsil.com.cn)
21  *   No. 450, Shenhu Road, Suzhou Industry Park, Suzhou, China
22  * Maintainer:
23  *   Edwin Rong (edwin_rong@realsil.com.cn)
24  *   No. 450, Shenhu Road, Suzhou Industry Park, Suzhou, China
25  */
26
27 #ifndef __RTS51X_MS_MG_H
28 #define __RTS51X_MS_MG_H
29
30 #include "rts51x_chip.h"
31 #include "ms.h"
32
33 int mg_set_leaf_id(struct scsi_cmnd *srb, struct rts51x_chip *chip);
34 int mg_get_local_EKB(struct scsi_cmnd *srb, struct rts51x_chip *chip);
35 int mg_chg(struct scsi_cmnd *srb, struct rts51x_chip *chip);
36 int mg_get_rsp_chg(struct scsi_cmnd *srb, struct rts51x_chip *chip);
37 int mg_rsp(struct scsi_cmnd *srb, struct rts51x_chip *chip);
38 int mg_get_ICV(struct scsi_cmnd *srb, struct rts51x_chip *chip);
39 int mg_set_ICV(struct scsi_cmnd *srb, struct rts51x_chip *chip);
40
41 #endif /* __RTS51X_MS_MG_H */