Lines Matching refs:port_idx

1464     for (uint32_t port_idx = 0; port_idx < GPIO_COUNT; port_idx++)  in latch_pending_read_and_check()  local
1466 if (nrf_bitmask_bit_is_set(port_index[port_idx], &available_gpio_ports)) in latch_pending_read_and_check()
1468 nrfy_gpio_latches_read_and_clear(port_idx, 1, &latch[port_idx]); in latch_pending_read_and_check()
1470 if (latch[port_idx]) in latch_pending_read_and_check()
1534 for (uint32_t port_idx = 0; port_idx < GPIO_COUNT; port_idx++) in input_read_and_check() local
1536 if (nrf_bitmask_bit_is_set(port_index[port_idx], &available_gpio_ports)) in input_read_and_check()
1538 nrfy_gpio_ports_read(port_idx, 1, &new_input[port_idx]); in input_read_and_check()
1541 uint32_t input_diff = input[port_idx] ^ new_input[port_idx]; in input_read_and_check()
1542 input[port_idx] = new_input[port_idx]; in input_read_and_check()
1547 pins_to_check[port_idx] &= input_diff; in input_read_and_check()
1552 pins_to_check[port_idx] = 0; in input_read_and_check()
1567 for (uint32_t port_idx = 0; port_idx < GPIO_COUNT; port_idx++) in port_event_handle() local
1569 if (nrf_bitmask_bit_is_set(port_index[port_idx], &p_cb->available_gpio_ports)) in port_event_handle()
1571 nrfy_gpio_ports_read(port_idx, 1, &input[port_idx]); in port_event_handle()
1572 pins_to_check[port_idx] = p_cb->port_pins[port_idx]; in port_event_handle()
1602 for (uint32_t port_idx = 0; port_idx < GPIO_COUNT; port_idx++) in port_event_handle() local
1604 if (nrf_bitmask_bit_is_set(port_index[port_idx], &p_cb->available_gpio_ports)) in port_event_handle()
1608 pins_to_check[port_idx] = p_cb->port_pins[port_idx]; in port_event_handle()
1614 uint32_t pin_mask = pins_to_check[port_idx]; in port_event_handle()
1620 pin = rel_pin + 32 * port_idx; in port_event_handle()
1626 input[port_idx] &= ~NRFX_BIT(rel_pin); in port_event_handle()
1630 input[port_idx] |= NRFX_BIT(rel_pin); in port_event_handle()