summaryrefslogtreecommitdiff
path: root/src/include/device/smbus.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/device/smbus.h')
-rw-r--r--src/include/device/smbus.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/include/device/smbus.h b/src/include/device/smbus.h
index 073d7e2c99..ccbd694d28 100644
--- a/src/include/device/smbus.h
+++ b/src/include/device/smbus.h
@@ -47,4 +47,9 @@ int smbus_process_call(device_t dev, u8 cmd, u16 data);
int smbus_block_read(device_t dev, u8 cmd, u8 bytes, u8 *buffer);
int smbus_block_write(device_t dev, u8 cmd, u8 bytes, const u8 *buffer);
+#if IS_ENABLED(CONFIG_SMBUS_HAS_AUX_CHANNELS)
+void smbus_switch_to_channel(uint8_t channel_number);
+uint8_t smbus_get_current_channel(void);
+#endif
+
#endif /* DEVICE_SMBUS_H */