Searched refs:k_array_index_sanitize (Results 1 – 4 of 4) sorted by relevance
57 index = k_array_index_sanitize(index, 24); in ZTEST()61 index = k_array_index_sanitize(index, 5); in ZTEST()
33 static inline uint32_t k_array_index_sanitize(uint32_t index, uint32_t array_size) in k_array_index_sanitize() function
266 pin = k_array_index_sanitize(pin, GPIO_GET_PIN_MAX(dev) + 1); in gpio_intel_config()342 pin = k_array_index_sanitize(pin, GPIO_GET_PIN_MAX(dev) + 1); in gpio_intel_pin_interrupt_configure()
131 fd = k_array_index_sanitize(fd, ARRAY_SIZE(fdtable)); in _check_fd()