Home
last modified time | relevance | path

Searched refs:pins_status (Results 1 – 2 of 2) sorted by relevance

/openbmc/qemu/hw/gpio/
H A Dpca9552.c70 uint16_t pins_status, pins_changed; in pca955x_display_pins_status() local
73 pins_status = pca955x_pins_get_status(s); in pca955x_display_pins_status()
74 pins_changed = previous_pins_status ^ pins_status; in pca955x_display_pins_status()
82 if (extract32(pins_status, i, 1)) { in pca955x_display_pins_status()
94 unsigned new_state = extract32(pins_status, i, 1); in pca955x_display_pins_status()
175 uint16_t pins_status; in pca955x_write() local
189 pins_status = pca955x_pins_get_status(s); in pca955x_write()
192 pca955x_display_pins_status(s, pins_status); in pca955x_write()
401 uint16_t pins_status = pca955x_pins_get_status(s); in pca955x_set_ext_state() local
404 pca955x_display_pins_status(s, pins_status); in pca955x_set_ext_state()
/openbmc/linux/drivers/hwmon/pmbus/
H A Dadm1266.c166 unsigned long pins_status; in adm1266_gpio_get() local
179 pins_status = read_buf[0] + (read_buf[1] << 8); in adm1266_gpio_get()
181 return test_bit(adm1266_gpio_mapping[offset][1], &pins_status); in adm1266_gpio_get()
183 return test_bit(offset - ADM1266_GPIO_NR, &pins_status); in adm1266_gpio_get()