1#ifndef QEMU_I2C_MUX_PCA954X 2#define QEMU_I2C_MUX_PCA954X 3 4#include "hw/i2c/i2c.h" 5 6#define TYPE_PCA9546 "pca9546" 7#define TYPE_PCA9548 "pca9548" 8 9/** 10 * Retrieves the i2c bus associated with the specified channel on this i2c 11 * mux. 12 * @mux: an i2c mux device. 13 * @channel: the i2c channel requested 14 * 15 * Returns: a pointer to the associated i2c bus. 16 */ 17I2CBus *pca954x_i2c_get_bus(I2CSlave *mux, uint8_t channel); 18 19#endif 20