|
@@ -195,17 +195,6 @@ struct tpm_chip {
|
|
|
|
|
|
#define to_tpm_chip(d) container_of(d, struct tpm_chip, dev)
|
|
|
|
|
|
-static inline int tpm_read_index(int base, int index)
|
|
|
-{
|
|
|
- outb(index, base);
|
|
|
- return inb(base+1) & 0xFF;
|
|
|
-}
|
|
|
-
|
|
|
-static inline void tpm_write_index(int base, int index, int value)
|
|
|
-{
|
|
|
- outb(index, base);
|
|
|
- outb(value & 0xFF, base+1);
|
|
|
-}
|
|
|
struct tpm_input_header {
|
|
|
__be16 tag;
|
|
|
__be32 length;
|