Lines Matching refs:ngpios
83 uint8_t ngpios; member
312 uint8_t ngpios, uint32_t *data, uint32_t *mode) in gpio_latch_inst() argument
317 for (idx = 0; idx < ngpios; idx++, mode_reg += 4) { in gpio_latch_inst()
320 sys_write32(BIT_MASK(ngpios), latch_reg); in gpio_latch_inst()
325 uint8_t ngpios, uint32_t data, uint32_t *mode) in gpio_unlatch_inst() argument
330 for (idx = 0; idx < ngpios; idx++, mode_reg += 4) { in gpio_unlatch_inst()
333 sys_write32(BIT_MASK(ngpios), latch_reg); in gpio_unlatch_inst()
344 config->ngpios, data->gpio_saved_state, data->gpio_saved_state + 1); in gpio_latch()
355 config->ngpios, data->gpio_saved_state[0], data->gpio_saved_state + 1); in gpio_unlatch()
396 #define GPIO_PM_DEVICE_STATE(id, ngpios) \ argument
397 COND_CODE_1(CONFIG_PM_DEVICE, (static uint32_t GPIO_SAVED_STATE(id)[1 + ngpios];), ())
400 GPIO_PM_DEVICE_STATE(id, DT_INST_PROP(id, ngpios)) \
414 GPIO_PM_DEVICE_CFG(.ngpios, DT_INST_PROP(id, ngpios)) \