Lines Matching refs:dev_init
26 static int dev_init(const struct device *dev) in dev_init() function
36 DEVICE_DT_DEFINE(TEST_GPIO, dev_init, NULL,
38 DEVICE_DT_DEFINE(TEST_I2C, dev_init, NULL,
40 DEVICE_DT_DEFINE(TEST_DEVA, dev_init, NULL,
43 DEVICE_DT_DEFINE(TEST_DEVB, dev_init, NULL,
45 DEVICE_DT_DEFINE(TEST_GPIOX, dev_init, NULL,
47 DEVICE_DT_DEFINE(TEST_DEVC, dev_init, NULL,
49 DEVICE_DT_DEFINE(TEST_PARTITION, dev_init, NULL,
52 DEVICE_DT_DEFINE(TEST_GPIO_INJECTED, dev_init, NULL,
55 DEVICE_DEFINE(manual_dev, "Manual Device", dev_init, NULL,
58 DEVICE_DT_DEFINE(TEST_NOLABEL, dev_init, NULL,
89 zassert_equal(DEVICE_INIT_DT_GET(TEST_GPIO)->init_fn.dev, dev_init); in ZTEST()
90 zassert_equal(DEVICE_INIT_DT_GET(TEST_I2C)->init_fn.dev, dev_init); in ZTEST()
91 zassert_equal(DEVICE_INIT_DT_GET(TEST_DEVA)->init_fn.dev, dev_init); in ZTEST()
92 zassert_equal(DEVICE_INIT_DT_GET(TEST_DEVB)->init_fn.dev, dev_init); in ZTEST()
93 zassert_equal(DEVICE_INIT_DT_GET(TEST_GPIOX)->init_fn.dev, dev_init); in ZTEST()
94 zassert_equal(DEVICE_INIT_DT_GET(TEST_DEVC)->init_fn.dev, dev_init); in ZTEST()
95 zassert_equal(DEVICE_INIT_DT_GET(TEST_PARTITION)->init_fn.dev, dev_init); in ZTEST()
96 zassert_equal(DEVICE_INIT_DT_GET(TEST_GPIO_INJECTED)->init_fn.dev, dev_init); in ZTEST()
97 zassert_equal(DEVICE_INIT_GET(manual_dev)->init_fn.dev, dev_init); in ZTEST()
98 zassert_equal(DEVICE_INIT_DT_GET(TEST_NOLABEL)->init_fn.dev, dev_init); in ZTEST()