Lines Matching refs:last_chan
110 u8 last_chan; /* last register value */ member
328 if (data->last_chan != regval) { in pca954x_select_chan()
330 data->last_chan = ret < 0 ? 0 : regval; in pca954x_select_chan()
349 data->last_chan = 0; in pca954x_deselect_mux()
351 data->last_chan); in pca954x_deselect_mux()
395 if (data->last_chan || val != MUX_IDLE_DISCONNECT) in idle_state_store()
487 data->last_chan = pca954x_regval(data, data->idle_state); in pca954x_init()
489 data->last_chan = 0; /* Disconnect multiplexer */ in pca954x_init()
509 ret = i2c_smbus_write_byte_data(client, data->last_chan, conf); in pca954x_init()
513 ret = i2c_smbus_write_byte(client, data->last_chan); in pca954x_init()
516 ret = i2c_smbus_write_byte(client, data->last_chan); in pca954x_init()
520 data->last_chan = 0; in pca954x_init()