Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
sbshc.h
Go to the documentation of this file.
1 struct acpi_smb_hc;
15 };
16 
17 static const u8 SMBUS_PEC = 0x80;
18 
23 };
24 
25 typedef void (*smbus_alarm_callback)(void *context);
26 
27 extern int acpi_smbus_read(struct acpi_smb_hc *hc, u8 protocol, u8 address,
28  u8 command, u8 * data);
29 extern int acpi_smbus_write(struct acpi_smb_hc *hc, u8 protocol, u8 slave_address,
30  u8 command, u8 * data, u8 length);
31 extern int acpi_smbus_register_callback(struct acpi_smb_hc *hc,
33 extern int acpi_smbus_unregister_callback(struct acpi_smb_hc *hc);