Lines Matching refs:ngpios
85 uint8_t ngpios; member
311 uint8_t ngpios, uint32_t *data, uint32_t *mode) in gpio_latch_inst() argument
316 for (idx = 0; idx < ngpios; idx++, mode_reg += 4) { in gpio_latch_inst()
319 sys_write32(BIT_MASK(ngpios), latch_reg); in gpio_latch_inst()
324 uint8_t ngpios, uint32_t data, uint32_t *mode) in gpio_unlatch_inst() argument
329 for (idx = 0; idx < ngpios; idx++, mode_reg += 4) { in gpio_unlatch_inst()
332 sys_write32(BIT_MASK(ngpios), latch_reg); in gpio_unlatch_inst()
343 config->ngpios, data->gpio_saved_state, data->gpio_saved_state + 1); in gpio_latch()
354 config->ngpios, data->gpio_saved_state[0], data->gpio_saved_state + 1); in gpio_unlatch()
395 #define GPIO_PM_DEVICE_STATE(id, ngpios) \ argument
396 COND_CODE_1(CONFIG_PM_DEVICE, (static uint32_t GPIO_SAVED_STATE(id)[1 + ngpios];), ())
399 GPIO_PM_DEVICE_STATE(id, DT_INST_PROP(id, ngpios)) \
413 GPIO_PM_DEVICE_CFG(.ngpios, DT_INST_PROP(id, ngpios)) \