Searched refs:diff (Results 1 – 1 of 1) sorted by relevance
335 uint32_t diff = new_IN ^ NRF_GPIO_regs[port].IN; in nrf_gpio_eval_inputs() local339 for (int n = __builtin_ffs(diff) - 1; n >= 0; n = __builtin_ffs(diff) - 1) { in nrf_gpio_eval_inputs()341 diff &= ~(1 << n); in nrf_gpio_eval_inputs()373 int diff = ((IO_level[port] >> n) & 0x1) ^ (uint32_t)value; in nrf_gpio_eval_input() local375 if (diff == 0) { in nrf_gpio_eval_input()409 uint32_t diff = new_output ^ O_level[port]; in nrf_gpio_eval_outputs() local411 if (diff == 0) { in nrf_gpio_eval_outputs()420 for (int n = __builtin_ffs(diff) - 1; n >= 0; n = __builtin_ffs(diff) - 1) { in nrf_gpio_eval_outputs()422 diff &= ~(1 << n); in nrf_gpio_eval_outputs()