Searched refs:switch_inst (Results 1 – 1 of 1) sorted by relevance
74 i2c_switch_t switch_inst; in SRTM_I2CService_ReadBus() local85 switch_inst = &adapter->bus_structure.switches[switch_index]; in SRTM_I2CService_ReadBus()86 switch_addr = switch_inst->slaveAddr; in SRTM_I2CService_ReadBus()88 if (switch_inst->cur_channel != switch_channel) in SRTM_I2CService_ReadBus()91 switch_inst->cur_channel = switch_channel; in SRTM_I2CService_ReadBus()113 i2c_switch_t switch_inst; in SRTM_I2CService_WriteBus() local124 switch_inst = &adapter->bus_structure.switches[switch_index]; in SRTM_I2CService_WriteBus()125 switch_addr = switch_inst->slaveAddr; in SRTM_I2CService_WriteBus()127 if (switch_inst->cur_channel != switch_channel) in SRTM_I2CService_WriteBus()130 switch_inst->cur_channel = switch_channel; in SRTM_I2CService_WriteBus()