Lines Matching refs:value_high
674 uint8_t value_high; in pcal6416a_pins_cfg_read() local
681 rc = pcal64xxa_i2c_read(i2c, PCAL6416A_REG_PULL_UP_DOWN_SELECT_1, &value_high); in pcal6416a_pins_cfg_read()
686 pins_cfg->pull_ups_selected = value_high << 8 | value_low; in pcal6416a_pins_cfg_read()
693 rc = pcal64xxa_i2c_read(i2c, PCAL6416A_REG_PULL_UP_DOWN_ENABLE_1, &value_high); in pcal6416a_pins_cfg_read()
698 pins_cfg->pulls_enabled = value_high << 8 | value_low; in pcal6416a_pins_cfg_read()
705 rc = pcal64xxa_i2c_read(i2c, PCAL6416A_REG_OUTPUT_PORT_1, &value_high); in pcal6416a_pins_cfg_read()
710 pins_cfg->outputs_high = value_high << 8 | value_low; in pcal6416a_pins_cfg_read()
717 rc = pcal64xxa_i2c_read(i2c, PCAL6416A_REG_CONFIGURATION_1, &value_high); in pcal6416a_pins_cfg_read()
722 pins_cfg->configured_as_inputs = value_high << 8 | value_low; in pcal6416a_pins_cfg_read()
732 uint8_t value_high; in pcal6416a_inputs_read() local
739 rc = pcal64xxa_i2c_read(i2c, PCAL6416A_REG_INTERRUPT_STATUS_1, &value_high); in pcal6416a_inputs_read()
744 *int_sources = value_low | (value_high << 8); in pcal6416a_inputs_read()
752 rc = pcal64xxa_i2c_read(i2c, PCAL6416A_REG_INPUT_PORT_1, &value_high); in pcal6416a_inputs_read()
758 *input_port = value_low | (value_high << 8); in pcal6416a_inputs_read()