Searched refs:backend_api (Results 1 – 8 of 8) sorted by relevance
/Zephyr-Core-3.5.0/include/zephyr/drivers/ |
D | emul_fuel_gauge.h | 61 const struct fuel_gauge_emul_driver_api *backend_api = in z_impl_emul_fuel_gauge_set_battery_charging() local 62 (const struct fuel_gauge_emul_driver_api *)target->backend_api; in z_impl_emul_fuel_gauge_set_battery_charging() 64 if (backend_api->set_battery_charging == 0) { in z_impl_emul_fuel_gauge_set_battery_charging() 68 return backend_api->set_battery_charging(target, uV, uA); in z_impl_emul_fuel_gauge_set_battery_charging() 83 const struct fuel_gauge_emul_driver_api *backend_api = in z_impl_emul_fuel_gauge_is_battery_cutoff() local 84 (const struct fuel_gauge_emul_driver_api *)target->backend_api; in z_impl_emul_fuel_gauge_is_battery_cutoff() 86 if (backend_api->is_battery_cutoff == 0) { in z_impl_emul_fuel_gauge_is_battery_cutoff() 89 return backend_api->is_battery_cutoff(target, cutoff); in z_impl_emul_fuel_gauge_is_battery_cutoff()
|
D | emul_sensor.h | 48 return target && target->backend_api; in emul_sensor_backend_is_supported() 66 if (!target || !target->backend_api) { in emul_sensor_backend_set_channel() 70 struct emul_sensor_backend_api *api = (struct emul_sensor_backend_api *)target->backend_api; in emul_sensor_backend_set_channel() 99 if (!target || !target->backend_api) { in emul_sensor_backend_get_sample_range() 103 struct emul_sensor_backend_api *api = (struct emul_sensor_backend_api *)target->backend_api; in emul_sensor_backend_get_sample_range()
|
D | emul.h | 87 const void *backend_api; member 138 .backend_api = (_backend_api), \
|
/Zephyr-Core-3.5.0/include/zephyr/drivers/usb/ |
D | emul_bc12.h | 59 const struct bc12_emul_driver_api *backend_api = in bc12_emul_set_charging_partner() local 60 (const struct bc12_emul_driver_api *)target->backend_api; in bc12_emul_set_charging_partner() 62 return backend_api->set_charging_partner(target, partner_type); in bc12_emul_set_charging_partner() 82 const struct bc12_emul_driver_api *backend_api = in bc12_emul_set_pd_partner() local 83 (const struct bc12_emul_driver_api *)target->backend_api; in bc12_emul_set_pd_partner() 85 return backend_api->set_pd_partner(target, connected); in bc12_emul_set_pd_partner()
|
/Zephyr-Core-3.5.0/subsys/debug/coredump/ |
D | coredump_core.c | 18 *backend_api = &coredump_backend_logging; variable 22 *backend_api = &coredump_backend_flash_partition; variable 26 *backend_api = &coredump_backend_intel_adsp_mem_window; variable 30 *backend_api = &coredump_backend_other; variable 58 backend_api->buffer_output((uint8_t *)&hdr, sizeof(hdr)); in dump_header() 142 backend_api->start(); in z_coredump_start() 147 backend_api->end(); in z_coredump_end() 157 backend_api->buffer_output(buf, buflen); in coredump_buffer_output() 196 if (backend_api->query == NULL) { in coredump_query() 199 ret = backend_api->query(query_id, arg); in coredump_query() [all …]
|
/Zephyr-Core-3.5.0/tests/subsys/emul/src/ |
D | emul_tester.h | 20 (const struct emul_tester_backend_api *)target->backend_api; in emul_tester_backend_set_action() 28 (const struct emul_tester_backend_api *)target->backend_api; in emul_tester_backend_get_action()
|
/Zephyr-Core-3.5.0/tests/subsys/logging/log_backend_init/src/ |
D | main.c | 87 static const struct log_backend_api backend_api = { variable 102 LOG_BACKEND_DEFINE(backend1, backend_api, true, &context1); 103 LOG_BACKEND_DEFINE(backend2, backend_api, true, &context2);
|
/Zephyr-Core-3.5.0/tests/subsys/logging/log_custom_header/src/ |
D | log_custom_header.c | 45 static const struct log_backend_api backend_api = { variable 49 LOG_BACKEND_DEFINE(backend, backend_api, false);
|