Searched refs:PCA9554_PIN_COUNT (Results 1 – 2 of 2) sorted by relevance
20 #define PCA9554_PIN_COUNT 8 macro31 qemu_irq gpio_out[PCA9554_PIN_COUNT];32 uint8_t ext_state[PCA9554_PIN_COUNT];
45 for (i = 0; i < PCA9554_PIN_COUNT; i++) { in pca9554_update_pin_input()163 if (pin < 0 || pin >= PCA9554_PIN_COUNT) { in pca9554_get_pin()190 if (pin < 0 || pin >= PCA9554_PIN_COUNT) { in pca9554_set_pin()229 VMSTATE_UINT8_ARRAY(ext_state, PCA9554State, PCA9554_PIN_COUNT),244 memset(s->ext_state, PCA9554_PIN_HIZ, PCA9554_PIN_COUNT); in pca9554_reset()255 for (pin = 0; pin < PCA9554_PIN_COUNT; pin++) { in pca9554_initfn()278 assert((pin >= 0) && (pin < PCA9554_PIN_COUNT)); in pca9554_gpio_in_handler()290 qdev_init_gpio_out(dev, s->gpio_out, PCA9554_PIN_COUNT); in pca9554_realize()291 qdev_init_gpio_in(dev, pca9554_gpio_in_handler, PCA9554_PIN_COUNT); in pca9554_realize()