Searched refs:backend_api (Results 1 – 11 of 11) sorted by relevance
/Zephyr-latest/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 | 56 return target && target->backend_api; in emul_sensor_backend_is_supported() 75 if (!target || !target->backend_api) { in emul_sensor_backend_set_channel() 79 struct emul_sensor_driver_api *api = (struct emul_sensor_driver_api *)target->backend_api; in emul_sensor_backend_set_channel() 108 if (!target || !target->backend_api) { in emul_sensor_backend_get_sample_range() 112 struct emul_sensor_driver_api *api = (struct emul_sensor_driver_api *)target->backend_api; in emul_sensor_backend_get_sample_range() 135 if (!target || !target->backend_api) { in emul_sensor_backend_set_attribute() 139 struct emul_sensor_driver_api *api = (struct emul_sensor_driver_api *)target->backend_api; in emul_sensor_backend_set_attribute() 170 if (!target || !target->backend_api) { in emul_sensor_backend_get_attribute_metadata() 174 struct emul_sensor_driver_api *api = (struct emul_sensor_driver_api *)target->backend_api; in emul_sensor_backend_get_attribute_metadata()
|
D | emul_bbram.h | 52 if (target == NULL || target->backend_api == NULL) { in emul_bbram_backend_set_data() 56 struct emul_bbram_driver_api *api = (struct emul_bbram_driver_api *)target->backend_api; in emul_bbram_backend_set_data() 79 if (target == NULL || target->backend_api == NULL) { in emul_bbram_backend_get_data() 83 struct emul_bbram_driver_api *api = (struct emul_bbram_driver_api *)target->backend_api; in emul_bbram_backend_get_data()
|
D | emul.h | 103 const void *backend_api; member 159 .backend_api = (_backend_api), \
|
/Zephyr-latest/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-latest/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 66 backend_api->buffer_output((uint8_t *)&hdr, sizeof(hdr)); in dump_header() 195 backend_api->start(); in z_coredump_start() 200 backend_api->end(); in z_coredump_end() 210 backend_api->buffer_output(buf, buflen); in coredump_buffer_output() 249 if (backend_api->query == NULL) { in coredump_query() 252 ret = backend_api->query(query_id, arg); in coredump_query() [all …]
|
/Zephyr-latest/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-latest/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-latest/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);
|
/Zephyr-latest/tests/drivers/bbram/generic/src/ |
D | fixture.c | 21 if (emul == NULL || emul->backend_api == NULL) { in get_and_check_emul()
|
/Zephyr-latest/drivers/sensor/bosch/bmi160/ |
D | emul_bmi160.c | 577 static const struct emul_sensor_driver_api backend_api = { variable 605 &bmi160_emul_cfg_##n, &bus_api, &backend_api)
|