Searched refs:selected_channel (Results 1 – 2 of 2) sorted by relevance
61 data->selected_channel = i; in ina3221_init()232 result = data->v_bus[data->selected_channel] * INA3221_BUS_VOLTAGE_LSB; in ina3221_channel_get()235 result = data->v_shunt[data->selected_channel] * INA3221_SHUNT_VOLTAGE_LSB / in ina3221_channel_get()236 (cfg->shunt_r[data->selected_channel] / 1000.0f); in ina3221_channel_get()239 result = data->v_bus[data->selected_channel] * INA3221_BUS_VOLTAGE_LSB * in ina3221_channel_get()240 data->v_shunt[data->selected_channel] * INA3221_SHUNT_VOLTAGE_LSB / in ina3221_channel_get()241 (cfg->shunt_r[data->selected_channel] / 1000.0f); in ina3221_channel_get()266 data->selected_channel = val->val1 - 1; in ina3221_attr_set()
76 size_t selected_channel; member