/Zephyr-Core-3.7.0/subsys/net/l2/ethernet/ |
D | eth_stats.h | 20 const struct ethernet_api *api = (const struct ethernet_api *) in eth_stats_update_bytes_rx() local 21 net_if_get_device(iface)->api; in eth_stats_update_bytes_rx() 24 if (!api->get_stats) { in eth_stats_update_bytes_rx() 28 stats = api->get_stats(net_if_get_device(iface)); in eth_stats_update_bytes_rx() 39 const struct ethernet_api *api = (const struct ethernet_api *) in eth_stats_update_bytes_tx() local 40 net_if_get_device(iface)->api; in eth_stats_update_bytes_tx() 43 if (!api->get_stats) { in eth_stats_update_bytes_tx() 47 stats = api->get_stats(net_if_get_device(iface)); in eth_stats_update_bytes_tx() 57 const struct ethernet_api *api = (const struct ethernet_api *) in eth_stats_update_pkts_rx() local 58 net_if_get_device(iface)->api; in eth_stats_update_pkts_rx() [all …]
|
/Zephyr-Core-3.7.0/doc/develop/api/ |
D | api_lifecycle.rst | 3 API Lifecycle 7 given API will not change in future releases. At the same time, developers 15 :alt: API Life Cycle 18 API Life Cycle 35 - Documentation of the API (usage) 38 - The API introduction should be accompanied by at least one implementation 39 of said API (in the case of peripheral APIs, this corresponds to one driver) 40 - At least one sample using the new API (may only build on one single board) 42 When introducing a new and experimental API, mark the API version in the headers 43 where the API is defined. An experimental API shall have a version where the minor [all …]
|
D | overview.rst | 3 API Overview 7 current :ref:`stability level <api_lifecycle>`. More details about API changes 14 change at any time. The public API SHOULD NOT be considered stable. 16 * If minor version is up to one (0.1.z), API is considered 18 * If minor version is larger than one (0.y.z | y > 1), API is considered 21 * Version 1.0.0 defines the public API. The way in which the version number 22 is incremented after this release is dependent on this public API and how it 34 compatible functionality is introduced to the public API. It MUST be 35 incremented if any public API functionality is marked as deprecated. It MAY 41 breaking change was made to the API. [all …]
|
/Zephyr-Core-3.7.0/include/zephyr/drivers/ |
D | edac.h | 9 * @brief EDAC API header file 20 * @defgroup edac EDAC API 46 * @brief EDAC driver API 48 * This is the mandatory API any EDAC driver needs to expose. 51 /* Error Injection API is disabled by default */ 60 /* Error Logging API */ 66 /* Error stats API */ 70 /* Notification callback API */ 100 const struct edac_driver_api *api = in edac_inject_set_param1() local 101 (const struct edac_driver_api *)dev->api; in edac_inject_set_param1() [all …]
|
D | fpga.h | 58 const struct fpga_driver_api *api = in fpga_get_status() local 59 (const struct fpga_driver_api *)dev->api; in fpga_get_status() 61 if (api->get_status == NULL) { in fpga_get_status() 68 return api->get_status(dev); in fpga_get_status() 81 const struct fpga_driver_api *api = in fpga_reset() local 82 (const struct fpga_driver_api *)dev->api; in fpga_reset() 84 if (api->reset == NULL) { in fpga_reset() 88 return api->reset(dev); in fpga_reset() 104 const struct fpga_driver_api *api = in fpga_load() local 105 (const struct fpga_driver_api *)dev->api; in fpga_load() [all …]
|
D | auxdisplay.h | 9 * @brief Public API for auxiliary (textual/non-graphical) display drivers 144 * @brief Callback API to turn display on 151 * @brief Callback API to turn display off 158 * @brief Callback API to turn display cursor visibility on or off 165 * @brief Callback API to turn the current position blinking on or off 173 * @brief Callback API to set how the cursor shifts after a character is written 181 * @brief Callback API to set the cursor position 190 * @brief Callback API to get the cursor position 198 * @brief Callback API to set the current position of the display 207 * @brief Callback API to get the current position of the display [all …]
|
D | rtc.h | 10 * @brief Public real time clock driver API 101 * @brief API for setting RTC time 107 * @brief API for getting RTC time 113 * @brief API for getting the supported fields of the RTC alarm time 120 * @brief API for setting RTC alarm time 127 * @brief API for getting RTC alarm time 134 * @brief API for testing if RTC alarm is pending 140 * @brief API for setting RTC alarm callback 147 * @brief API for setting RTC update callback 154 * @brief API for setting RTC calibration [all …]
|
D | cellular.h | 10 * @brief Public cellular network API 88 /** API for configuring networks */ 93 /** API for getting supported networks */ 98 /** API for getting network signal strength */ 102 /** API for getting modem information */ 107 /** API for getting registration status */ 112 /** Cellular driver API */ 139 * @retval -ENOTSUP if API is not supported by cellular network device. 145 const struct cellular_driver_api *api = (const struct cellular_driver_api *)dev->api; in cellular_configure_networks() local 147 if (api->configure_networks == NULL) { in cellular_configure_networks() [all …]
|
D | hwspinlock.h | 29 * @brief Callback API for trying to lock HW spinlock 35 * @brief Callback API to lock HW spinlock 41 * @brief Callback API to unlock HW spinlock 47 * @brief Callback API to get HW spinlock max ID 78 const struct hwspinlock_driver_api *api = in z_impl_hwspinlock_trylock() local 79 (const struct hwspinlock_driver_api *)dev->api; in z_impl_hwspinlock_trylock() 81 if (api->trylock == NULL) in z_impl_hwspinlock_trylock() 84 return api->trylock(dev, id); in z_impl_hwspinlock_trylock() 100 const struct hwspinlock_driver_api *api = in z_impl_hwspinlock_lock() local 101 (const struct hwspinlock_driver_api *)dev->api; in z_impl_hwspinlock_lock() [all …]
|
D | display.h | 9 * @brief Public API for display drivers and applications 134 * @brief Callback API to turn on display blanking 141 * @brief Callback API to turn off display blanking 148 * @brief Callback API for writing data to the display 158 * @brief Callback API for reading data from the display 168 * @brief Callback API to get framebuffer pointer 175 * @brief Callback API to set display brightness 183 * @brief Callback API to set display contrast 191 * @brief Callback API to get display capabilities 200 * @brief Callback API to set pixel format used by the display [all …]
|
D | syscon.h | 32 * API template to get the base address of the syscon region. 39 * API template to read a single register. 46 * API template to write a single register. 53 * API template to get the size of the syscon register. 60 * @brief System Control (syscon) register driver API 80 const struct syscon_driver_api *api = (const struct syscon_driver_api *)dev->api; in z_impl_syscon_get_base() local 82 if (api == NULL) { in z_impl_syscon_get_base() 86 return api->get_base(dev, addr); in z_impl_syscon_get_base() 105 const struct syscon_driver_api *api = (const struct syscon_driver_api *)dev->api; in z_impl_syscon_read_reg() local 107 if (api == NULL) { in z_impl_syscon_read_reg() [all …]
|
D | bbram.h | 27 * @brief API template to check if the BBRAM is invalid. 35 * @brief API template to check for standby power failure. 43 * @brief API template to check for V CC1 power failure. 51 * @brief API template to check the size of the BBRAM 59 * @brief API template to read from BBRAM. 68 * @brief API template to write to BBRAM. 97 const struct bbram_driver_api *api = in z_impl_bbram_check_invalid() local 98 (const struct bbram_driver_api *)dev->api; in z_impl_bbram_check_invalid() 100 if (!api->check_invalid) { in z_impl_bbram_check_invalid() 104 return api->check_invalid(dev); in z_impl_bbram_check_invalid() [all …]
|
/Zephyr-Core-3.7.0/subsys/usb/device_next/ |
D | usbd_class_api.h | 9 * @brief USB device stack class instances API 11 * This file contains the USB device stack class instances API. 33 const struct usbd_class_api *api = c_data->api; in usbd_class_request() local 35 if (api->request != NULL) { in usbd_class_request() 36 return api->request(c_data, buf, err); in usbd_class_request() 66 const struct usbd_class_api *api = c_data->api; in usbd_class_control_to_host() local 68 if (api->control_to_host != NULL) { in usbd_class_control_to_host() 69 return api->control_to_host(c_data, setup, buf); in usbd_class_control_to_host() 99 const struct usbd_class_api *api = c_data->api; in usbd_class_control_to_dev() local 101 if (api->control_to_dev != NULL) { in usbd_class_control_to_dev() [all …]
|
/Zephyr-Core-3.7.0/subsys/net/l2/ppp/ |
D | ppp_stats.h | 19 const struct ppp_api *api = (const struct ppp_api *) in ppp_stats_update_bytes_rx() local 20 net_if_get_device(iface)->api; in ppp_stats_update_bytes_rx() 23 if (!api->get_stats) { in ppp_stats_update_bytes_rx() 27 stats = api->get_stats(net_if_get_device(iface)); in ppp_stats_update_bytes_rx() 38 const struct ppp_api *api = (const struct ppp_api *) in ppp_stats_update_bytes_tx() local 39 net_if_get_device(iface)->api; in ppp_stats_update_bytes_tx() 42 if (!api->get_stats) { in ppp_stats_update_bytes_tx() 46 stats = api->get_stats(net_if_get_device(iface)); in ppp_stats_update_bytes_tx() 56 const struct ppp_api *api = (const struct ppp_api *) in ppp_stats_update_pkts_rx() local 57 net_if_get_device(iface)->api; in ppp_stats_update_pkts_rx() [all …]
|
/Zephyr-Core-3.7.0/tests/subsys/logging/log_api/ |
D | testcase.yaml | 15 logging.deferred.api.overflow_rt_filter: 21 logging.deferred.api.overflow: 26 logging.deferred.api.no_overflow: 31 logging.deferred.api.static_filter: 37 logging.deferred.api.printk: 45 logging.deferred.api.func_prefix: 51 logging.deferred.api.64b_timestamp: 56 logging.deferred.api.override_level: 68 logging.immediate.api: 72 logging.immediate.api.printk: [all …]
|
/Zephyr-Core-3.7.0/subsys/net/l2/dummy/ |
D | dummy.c | 20 const struct dummy_api *api = net_if_get_device(iface)->api; in dummy_recv() local 22 if (api == NULL) { in dummy_recv() 26 if (api->recv == NULL) { in dummy_recv() 30 return api->recv(iface, pkt); in dummy_recv() 35 const struct dummy_api *api = net_if_get_device(iface)->api; in dummy_send() local 38 if (!api) { in dummy_send() 42 ret = net_l2_send(api->send, net_if_get_device(iface), iface, pkt); in dummy_send() 54 const struct dummy_api *api = net_if_get_device(iface)->api; in dummy_enable() local 56 if (!api) { in dummy_enable() 61 if (api->stop) { in dummy_enable() [all …]
|
/Zephyr-Core-3.7.0/tests/subsys/edac/ibecc/src/ |
D | dummy.c | 32 /* Error log API */ in ZTEST() 35 zassert_equal(ret, -ENOSYS, "dummy api failed"); in ZTEST() 38 zassert_equal(ret, -ENOSYS, "dummy api failed"); in ZTEST() 41 zassert_equal(ret, -ENOSYS, "dummy api failed"); in ZTEST() 44 zassert_equal(ret, -ENOSYS, "dummy api failed"); in ZTEST() 46 /* Error stat API */ in ZTEST() 49 zassert_equal(ret, -ENOSYS, "dummy api failed"); in ZTEST() 52 zassert_equal(ret, -ENOSYS, "dummy api failed"); in ZTEST() 54 /* Notification API */ in ZTEST() 58 zassert_equal(ret, -ENOSYS, "dummy api failed"); in ZTEST() [all …]
|
/Zephyr-Core-3.7.0/drivers/usb/uhc/ |
D | uhc_common.c | 103 const struct uhc_api *api = dev->api; in uhc_xfer_alloc() local 106 api->lock(dev); in uhc_xfer_alloc() 130 api->unlock(dev); in uhc_xfer_alloc() 166 const struct uhc_api *api = dev->api; in uhc_xfer_free() local 169 api->lock(dev); in uhc_xfer_free() 180 api->unlock(dev); in uhc_xfer_free() 189 const struct uhc_api *api = dev->api; in uhc_xfer_buf_add() local 192 api->lock(dev); in uhc_xfer_buf_add() 199 api->unlock(dev); in uhc_xfer_buf_add() 206 const struct uhc_api *api = dev->api; in uhc_ep_enqueue() local [all …]
|
/Zephyr-Core-3.7.0/include/zephyr/drivers/usb_c/ |
D | usbc_tcpc.h | 19 * @brief USB Type-C Port Controller API 20 * @defgroup usb_type_c_port_controller_api USB Type-C Port Controller API 242 const struct tcpc_driver_api *api = in tcpc_init() local 243 (const struct tcpc_driver_api *)dev->api; in tcpc_init() 245 __ASSERT(api->init != NULL, in tcpc_init() 248 return api->init(dev); in tcpc_init() 266 const struct tcpc_driver_api *api = in tcpc_get_cc() local 267 (const struct tcpc_driver_api *)dev->api; in tcpc_get_cc() 269 if (api->get_cc == NULL) { in tcpc_get_cc() 273 return api->get_cc(dev, cc1, cc2); in tcpc_get_cc() [all …]
|
D | usbc_ppc.h | 8 * @brief USB Type-C Power Path Controller device API 67 * API functions 81 const struct usbc_ppc_driver_api *api = (const struct usbc_ppc_driver_api *)dev->api; in ppc_is_dead_battery_mode() local 83 if (api->is_dead_battery_mode == NULL) { in ppc_is_dead_battery_mode() 87 return api->is_dead_battery_mode(dev); in ppc_is_dead_battery_mode() 104 const struct usbc_ppc_driver_api *api = (const struct usbc_ppc_driver_api *)dev->api; in ppc_exit_dead_battery_mode() local 106 if (api->exit_dead_battery_mode == NULL) { in ppc_exit_dead_battery_mode() 110 return api->exit_dead_battery_mode(dev); in ppc_exit_dead_battery_mode() 124 const struct usbc_ppc_driver_api *api = (const struct usbc_ppc_driver_api *)dev->api; in ppc_is_vbus_source() local 126 if (api->is_vbus_source == NULL) { in ppc_is_vbus_source() [all …]
|
/Zephyr-Core-3.7.0/soc/intel/intel_adsp/ace/ |
D | irq.c | 15 const struct dw_ace_v1_ictl_driver_api *api; in z_soc_irq_enable() local 22 api = (const struct dw_ace_v1_ictl_driver_api *)dev->api; in z_soc_irq_enable() 23 api->intr_enable(dev, irq); in z_soc_irq_enable() 29 const struct dw_ace_v1_ictl_driver_api *api; in z_soc_irq_disable() local 36 api = (const struct dw_ace_v1_ictl_driver_api *)dev->api; in z_soc_irq_disable() 37 api->intr_disable(dev, irq); in z_soc_irq_disable() 43 const struct dw_ace_v1_ictl_driver_api *api; in z_soc_irq_is_enabled() local 50 api = (const struct dw_ace_v1_ictl_driver_api *)dev->api; in z_soc_irq_is_enabled() 51 return api->intr_is_enabled(dev, irq); in z_soc_irq_is_enabled()
|
/Zephyr-Core-3.7.0/include/zephyr/drivers/interrupt_controller/ |
D | gicv3_its.h | 37 const struct its_driver_api *api = in its_alloc_intid() local 38 (const struct its_driver_api *)dev->api; in its_alloc_intid() 40 return api->alloc_intid(dev); in its_alloc_intid() 46 const struct its_driver_api *api = in its_setup_deviceid() local 47 (const struct its_driver_api *)dev->api; in its_setup_deviceid() 49 return api->setup_deviceid(dev, device_id, nites); in its_setup_deviceid() 55 const struct its_driver_api *api = in its_map_intid() local 56 (const struct its_driver_api *)dev->api; in its_map_intid() 58 return api->map_intid(dev, device_id, event_id, intid); in its_map_intid() 63 const struct its_driver_api *api = in its_send_int() local [all …]
|
D | intel_vtd.h | 74 const struct vtd_driver_api *api = in vtd_allocate_entries() local 75 (const struct vtd_driver_api *)dev->api; in vtd_allocate_entries() 77 return api->allocate_entries(dev, n_entries); in vtd_allocate_entries() 93 const struct vtd_driver_api *api = in vtd_remap_msi() local 94 (const struct vtd_driver_api *)dev->api; in vtd_remap_msi() 96 return api->remap_msi(dev, vector, n_vector); in vtd_remap_msi() 116 const struct vtd_driver_api *api = in vtd_remap() local 117 (const struct vtd_driver_api *)dev->api; in vtd_remap() 119 return api->remap(dev, irte_idx, vector, flags, src_id); in vtd_remap() 135 const struct vtd_driver_api *api = in vtd_set_irte_vector() local [all …]
|
/Zephyr-Core-3.7.0/tests/kernel/device/src/ |
D | abstract_driver.h | 10 /* define subsystem common API for drivers */ 24 struct subsystem_api *api; in subsystem_do_this() local 26 api = (struct subsystem_api *)device->api; in subsystem_do_this() 27 return api->do_this(device, foo, bar); in subsystem_do_this() 33 struct subsystem_api *api; in subsystem_do_that() local 35 api = (struct subsystem_api *)device->api; in subsystem_do_that() 36 api->do_that(device, baz); in subsystem_do_that()
|
/Zephyr-Core-3.7.0/include/zephyr/drivers/virtualization/ |
D | ivshmem.h | 11 * @brief Inter-VM Shared Memory (ivshmem) reference API 12 * @defgroup ivshmem Inter-VM Shared Memory (ivshmem) reference API 87 * Note: This API is not supported for ivshmem-v2, as 104 const struct ivshmem_driver_api *api = in z_impl_ivshmem_get_mem() local 105 (const struct ivshmem_driver_api *)dev->api; in z_impl_ivshmem_get_mem() 107 return api->get_mem(dev, memmap); in z_impl_ivshmem_get_mem() 121 const struct ivshmem_driver_api *api = in z_impl_ivshmem_get_id() local 122 (const struct ivshmem_driver_api *)dev->api; in z_impl_ivshmem_get_id() 124 return api->get_id(dev); in z_impl_ivshmem_get_id() 138 const struct ivshmem_driver_api *api = in z_impl_ivshmem_get_vectors() local [all …]
|