Lines Matching refs:hdls

116 			 const device_handle_t *hdls,  in check_handle()  argument
119 const device_handle_t *hdle = hdls + nhdls; in check_handle()
121 while (hdls < hdle) { in check_handle()
122 if (*hdls == hdl) { in check_handle()
125 ++hdls; in check_handle()
157 const device_handle_t *hdls; in ZTEST() local
164 hdls = device_required_handles_get(dev, &nhdls); in ZTEST()
172 hdls = device_required_handles_get(dev, &nhdls); in ZTEST()
180 hdls = device_required_handles_get(dev, &nhdls); in ZTEST()
188 hdls = device_required_handles_get(dev, &nhdls); in ZTEST()
190 zassert_true(check_handle(DEV_HDL(TEST_I2C), hdls, nhdls)); in ZTEST()
191 zassert_true(check_handle(DEV_HDL(TEST_GPIO), hdls, nhdls)); in ZTEST()
216 hdls = device_required_handles_get(dev, &nhdls); in ZTEST()
218 zassert_true(check_handle(DEV_HDL(TEST_I2C), hdls, nhdls)); in ZTEST()
230 hdls = device_required_handles_get(dev, &nhdls); in ZTEST()
232 zassert_true(check_handle(DEV_HDL(TEST_I2C), hdls, nhdls)); in ZTEST()
233 zassert_true(check_handle(DEV_HDL(TEST_GPIOX), hdls, nhdls)); in ZTEST()
238 hdls = device_required_handles_get(dev, &nhdls); in ZTEST()
245 const device_handle_t *hdls; in ZTEST() local
250 hdls = device_injected_handles_get(dev, &nhdls); in ZTEST()
255 hdls = device_injected_handles_get(dev, &nhdls); in ZTEST()
260 hdls = device_injected_handles_get(dev, &nhdls); in ZTEST()
262 zassert_true(check_handle(DEV_HDL(TEST_DEVB), hdls, nhdls)); in ZTEST()
279 const device_handle_t *hdls; in ZTEST() local
285 hdls = device_supported_handles_get(dev, &nhdls); in ZTEST()
287 zassert_true(check_handle(DEV_HDL(TEST_GPIO_INJECTED), hdls, nhdls)); in ZTEST()
291 hdls = device_supported_handles_get(dev, &nhdls); in ZTEST()
296 hdls = device_supported_handles_get(dev, &nhdls); in ZTEST()
298 zassert_true(check_handle(DEV_HDL(TEST_DEVA), hdls, nhdls)); in ZTEST()
315 hdls = device_supported_handles_get(dev, &nhdls); in ZTEST()
317 zassert_true(check_handle(DEV_HDL(TEST_DEVA), hdls, nhdls)); in ZTEST()
318 zassert_true(check_handle(DEV_HDL(TEST_GPIOX), hdls, nhdls)); in ZTEST()
319 zassert_true(check_handle(DEV_HDL(TEST_DEVB), hdls, nhdls)); in ZTEST()
320 zassert_true(check_handle(DEV_HDL(TEST_DEVC), hdls, nhdls)); in ZTEST()
321 zassert_true(check_handle(DEV_HDL(TEST_NOLABEL), hdls, nhdls)); in ZTEST()
327 hdls = device_supported_handles_get(dev, &nhdls); in ZTEST()
329 zassert_true(check_handle(DEV_HDL(TEST_PARTITION), hdls, nhdls)); in ZTEST()