Lines Matching refs:pin_values
216 uint8_t pin_values = pnv_i2c_pca9554_read_pins(dev); in pnv_i2c_pca9554_default_inputs() local
217 g_assert_cmphex(pin_values, ==, 0xff); in pnv_i2c_pca9554_default_inputs()
223 uint8_t pin_values; in pnv_i2c_pca554_set_pins() local
225 pin_values = pnv_i2c_pca9554_read_pins(dev); in pnv_i2c_pca554_set_pins()
226 g_assert_cmphex(pin_values, ==, 0xfe); in pnv_i2c_pca554_set_pins()
228 pin_values = pnv_i2c_pca9554_read_pins(dev); in pnv_i2c_pca554_set_pins()
229 g_assert_cmphex(pin_values, ==, 0x01); in pnv_i2c_pca554_set_pins()
231 pin_values = pnv_i2c_pca9554_read_pins(dev); in pnv_i2c_pca554_set_pins()
232 g_assert_cmphex(pin_values, ==, 0x05); in pnv_i2c_pca554_set_pins()
234 pin_values = pnv_i2c_pca9554_read_pins(dev); in pnv_i2c_pca554_set_pins()
235 g_assert_cmphex(pin_values, ==, 0xfa); in pnv_i2c_pca554_set_pins()
237 pin_values = pnv_i2c_pca9554_read_pins(dev); in pnv_i2c_pca554_set_pins()
238 g_assert_cmphex(pin_values, ==, 0xff); in pnv_i2c_pca554_set_pins()
310 uint16_t pin_values = pnv_i2c_pca9552_read_pins(dev); in pnv_i2c_pca9552_default_inputs() local
311 g_assert_cmphex(pin_values, ==, 0xffff); in pnv_i2c_pca9552_default_inputs()
320 uint16_t pin_values; in pnv_i2c_pca552_set_pins() local
324 pin_values = pnv_i2c_pca9552_read_pins(dev); in pnv_i2c_pca552_set_pins()
327 g_assert_cmphex(pin_values, ==, 0xffde); in pnv_i2c_pca552_set_pins()
331 pin_values = pnv_i2c_pca9552_read_pins(dev); in pnv_i2c_pca552_set_pins()
334 g_assert_cmphex(pin_values, ==, 0xff9c); in pnv_i2c_pca552_set_pins()
338 pin_values = pnv_i2c_pca9552_read_pins(dev); in pnv_i2c_pca552_set_pins()
341 g_assert_cmphex(pin_values, ==, 0xff18); in pnv_i2c_pca552_set_pins()
345 pin_values = pnv_i2c_pca9552_read_pins(dev); in pnv_i2c_pca552_set_pins()
348 g_assert_cmphex(pin_values, ==, 0xfe10); in pnv_i2c_pca552_set_pins()
352 pin_values = pnv_i2c_pca9552_read_pins(dev); in pnv_i2c_pca552_set_pins()
355 g_assert_cmphex(pin_values, ==, 0xfc00); in pnv_i2c_pca552_set_pins()
359 pin_values = pnv_i2c_pca9552_read_pins(dev); in pnv_i2c_pca552_set_pins()
362 g_assert_cmphex(pin_values, ==, 0xffff); in pnv_i2c_pca552_set_pins()