Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/input/
Dinput_analog_axis_settings.c40 char dev_name[ANALOG_AXIS_SETTINGS_PATH_MAX]; in analog_axis_calibration_load() local
46 if (nlen + 1 > sizeof(dev_name)) { in analog_axis_calibration_load()
51 memcpy(dev_name, key, nlen); in analog_axis_calibration_load()
52 dev_name[nlen] = '\0'; in analog_axis_calibration_load()
54 dev = device_get_binding(dev_name); in analog_axis_calibration_load()
56 LOG_ERR("Cannot restore: device %s not available", dev_name); in analog_axis_calibration_load()
/Zephyr-latest/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-latest/drivers/ethernet/
Deth_native_posix_priv.h14 int eth_iface_create(const char *dev_name, const char *if_name, bool tun_only);
Deth_native_posix_adapt.c41 int eth_iface_create(const char *dev_name, const char *if_name, bool tun_only) in eth_iface_create() argument
46 fd = open(dev_name, O_RDWR); in eth_iface_create()
/Zephyr-latest/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-latest/tests/drivers/fuel_gauge/sbs_gauge/src/
Dtest_sbs_gauge.c193 struct sbs_gauge_device_name dev_name; in ZTEST_USER_F() local
199 zassert_ok(fuel_gauge_get_buffer_prop(fixture->dev, FUEL_GAUGE_DEVICE_NAME, &dev_name, in ZTEST_USER_F()
200 sizeof(dev_name))); in ZTEST_USER_F()
/Zephyr-latest/subsys/bluetooth/mesh/
Dpb_gatt_srv.c229 goto dev_name; in gatt_prov_adv_create()
236 goto dev_name; in gatt_prov_adv_create()
245 dev_name: in gatt_prov_adv_create()
/Zephyr-latest/include/zephyr/acpi/
Dacpi.h141 int acpi_current_resource_get(char *dev_name, ACPI_RESOURCE **res);
150 int acpi_possible_resource_get(char *dev_name, ACPI_RESOURCE **res);
/Zephyr-latest/lib/acpi/
Dacpi.c283 int acpi_current_resource_get(char *dev_name, ACPI_RESOURCE **res) in acpi_current_resource_get() argument
289 LOG_DBG("%s", dev_name); in acpi_current_resource_get()
296 node = acpi_evaluate_method(dev_name, METHOD_NAME__CRS); in acpi_current_resource_get()
298 LOG_ERR("Evaluation failed for given device: %s", dev_name); in acpi_current_resource_get()
316 int acpi_possible_resource_get(char *dev_name, ACPI_RESOURCE **res) in acpi_possible_resource_get() argument
322 LOG_DBG("%s", dev_name); in acpi_possible_resource_get()
329 node = acpi_evaluate_method(dev_name, METHOD_NAME__PRS); in acpi_possible_resource_get()
331 LOG_ERR("Evaluation failed for given device: %s", dev_name); in acpi_possible_resource_get()
/Zephyr-latest/samples/net/virtual/src/
Dmain.c34 static const char *dev_name = VIRTUAL_TEST; variable
361 LOG_INF("Start application (dev %s/%p)", dev_name, in main()
362 device_get_binding(dev_name)); in main()
/Zephyr-latest/include/zephyr/drivers/
Dsmbus.h431 #define Z_SMBUS_DEVICE_STATE_DEFINE(node_id, dev_name) \ argument
432 static struct smbus_device_state Z_DEVICE_STATE_NAME(dev_name) \
441 #define Z_SMBUS_INIT_FN(dev_name, init_fn) \ argument
443 UTIL_CAT(dev_name, _init)(const struct device *dev) \
/Zephyr-latest/subsys/bluetooth/host/shell/
Dbt.c2287 bool dev_name = false; in cmd_adv_data() local
2301 if (name && !dev_name && name_value == NULL) { in cmd_adv_data()
2349 dev_name = true; in cmd_adv_data()
2368 if (name && !dev_name && name_value == NULL) { in cmd_adv_data()
2373 if (name && dev_name && name_value == NULL) { in cmd_adv_data()
/Zephyr-latest/doc/build/dts/
Dhowtos.rst131 const char *dev_name = /* TODO: insert device name from user */;
132 const struct device *uart_dev = device_get_binding(dev_name);
/Zephyr-latest/doc/releases/
Drelease-notes-2.6.rst1582 * :github:`33625` - NVS: replace dev_name parameter by device reference in nvs_init()