Home
last modified time | relevance | path

Searched refs:dev_name (Results 1 – 9 of 9) sorted by relevance

/Zephyr-Core-3.5.0/tests/drivers/fuel_gauge/bq27z746/src/
Dtest_bq27z746.c71 struct sbs_gauge_device_name dev_name; in ZTEST_USER_F() local
73 ret = fuel_gauge_get_buffer_prop(fixture->dev, FUEL_GAUGE_DEVICE_NAME, &dev_name, in ZTEST_USER_F()
74 sizeof(dev_name)); in ZTEST_USER_F()
79 zassert_equal(sizeof("BQ27Z746") - 1, dev_name.device_name_length); in ZTEST_USER_F()
80 zassert_mem_equal(dev_name.device_name, "BQ27Z746", dev_name.device_name_length); in ZTEST_USER_F()
/Zephyr-Core-3.5.0/include/zephyr/acpi/
Dacpi.h58 int acpi_current_resource_get(char *dev_name, ACPI_RESOURCE **res);
67 int acpi_possible_resource_get(char *dev_name, ACPI_RESOURCE **res);
/Zephyr-Core-3.5.0/drivers/fuel_gauge/sbs_gauge/
Demul_sbs_gauge.c197 struct sbs_gauge_device_name *dev_name = (struct sbs_gauge_device_name *)val; in emul_sbs_gauge_buffer_read() local
206 dev_name->device_name_length = sizeof(dev); in emul_sbs_gauge_buffer_read()
207 memcpy(dev_name->device_name, dev, dev_name->device_name_length); in emul_sbs_gauge_buffer_read()
/Zephyr-Core-3.5.0/tests/drivers/fuel_gauge/sbs_gauge/src/
Dtest_sbs_gauge.c195 struct sbs_gauge_device_name dev_name; in ZTEST_USER_F() local
201 zassert_ok(fuel_gauge_get_buffer_prop(fixture->dev, FUEL_GAUGE_DEVICE_NAME, &dev_name, in ZTEST_USER_F()
202 sizeof(dev_name))); in ZTEST_USER_F()
/Zephyr-Core-3.5.0/lib/acpi/
Dacpi.c421 int acpi_current_resource_get(char *dev_name, ACPI_RESOURCE **res) in acpi_current_resource_get() argument
427 LOG_DBG("%s", dev_name); in acpi_current_resource_get()
434 node = acpi_evaluate_method(dev_name, METHOD_NAME__CRS); in acpi_current_resource_get()
436 LOG_ERR("Evaluation failed for given device: %s", dev_name); in acpi_current_resource_get()
457 int acpi_possible_resource_get(char *dev_name, ACPI_RESOURCE **res) in acpi_possible_resource_get() argument
463 LOG_DBG("%s", dev_name); in acpi_possible_resource_get()
470 node = acpi_evaluate_method(dev_name, METHOD_NAME__PRS); in acpi_possible_resource_get()
472 LOG_ERR("Evaluation failed for given device: %s", dev_name); in acpi_possible_resource_get()
/Zephyr-Core-3.5.0/samples/net/virtual/src/
Dmain.c34 static const char *dev_name = VIRTUAL_TEST; variable
359 LOG_INF("Start application (dev %s/%p)", dev_name, in main()
360 device_get_binding(dev_name)); in main()
/Zephyr-Core-3.5.0/include/zephyr/drivers/
Dsmbus.h422 #define Z_SMBUS_DEVICE_STATE_DEFINE(node_id, dev_name) \ argument
423 static struct smbus_device_state Z_DEVICE_STATE_NAME(dev_name) \
432 #define Z_SMBUS_INIT_FN(dev_name, init_fn) \ argument
434 UTIL_CAT(dev_name, _init)(const struct device *dev) \
/Zephyr-Core-3.5.0/doc/build/dts/
Dhowtos.rst130 const char *dev_name = /* TODO: insert device name from user */;
131 const struct device *uart_dev = device_get_binding(dev_name);
/Zephyr-Core-3.5.0/doc/releases/
Drelease-notes-2.6.rst1582 * :github:`33625` - NVS: replace dev_name parameter by device reference in nvs_init()