#include "tpm.h"
#include "tpm_atmel.h"
enum tpm_atmel_write_status { … };
enum tpm_atmel_read_status { … };
static int tpm_atml_recv(struct tpm_chip *chip, u8 *buf, size_t count)
{ … }
static int tpm_atml_send(struct tpm_chip *chip, u8 *buf, size_t count)
{ … }
static void tpm_atml_cancel(struct tpm_chip *chip)
{ … }
static u8 tpm_atml_status(struct tpm_chip *chip)
{ … }
static bool tpm_atml_req_canceled(struct tpm_chip *chip, u8 status)
{ … }
static const struct tpm_class_ops tpm_atmel = …;
static struct platform_device *pdev;
static void atml_plat_remove(void)
{ … }
static SIMPLE_DEV_PM_OPS(tpm_atml_pm, tpm_pm_suspend, tpm_pm_resume);
static struct platform_driver atml_drv = …;
static int __init init_atmel(void)
{ … }
static void __exit cleanup_atmel(void)
{ … }
module_init(…) …;
module_exit(cleanup_atmel);
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_VERSION(…) …;
MODULE_LICENSE(…) …;