Home
last modified time | relevance | path

Searched refs:subsystem_api (Results 1 – 3 of 3) sorted by relevance

/Zephyr-Core-3.5.0/tests/kernel/device/src/
Dabstract_driver.h16 struct subsystem_api { struct
24 struct subsystem_api *api; in subsystem_do_this() argument
26 api = (struct subsystem_api *)device->api; in subsystem_do_this()
33 struct subsystem_api *api; in subsystem_do_that()
35 api = (struct subsystem_api *)device->api; in subsystem_do_that()
Dabstract_driver.c26 static struct subsystem_api my_driver_A_api_funcs = {
48 static struct subsystem_api my_driver_B_api_funcs = {
/Zephyr-Core-3.5.0/doc/kernel/drivers/
Dindex.rst132 struct subsystem_api {
139 struct subsystem_api *api;
141 api = (struct subsystem_api *)dev->api;
147 struct subsystem_api *api;
149 api = (struct subsystem_api *)dev->api;
154 of these APIs, and populate an instance of subsystem_api structure:
168 static struct subsystem_api my_driver_api_funcs = {