Home
last modified time | relevance | path

Searched refs:device_id (Results 1 – 25 of 32) sorted by relevance

12

/Zephyr-latest/include/zephyr/drivers/interrupt_controller/
Dgicv3_its.h20 typedef int (*its_api_setup_deviceid_t)(const struct device *dev, uint32_t device_id,
22 typedef int (*its_api_map_intid_t)(const struct device *dev, uint32_t device_id,
24 typedef int (*its_api_send_int_t)(const struct device *dev, uint32_t device_id, uint32_t event_id);
43 static inline int its_setup_deviceid(const struct device *dev, uint32_t device_id, in its_setup_deviceid() argument
49 return api->setup_deviceid(dev, device_id, nites); in its_setup_deviceid()
52 static inline int its_map_intid(const struct device *dev, uint32_t device_id, in its_map_intid() argument
58 return api->map_intid(dev, device_id, event_id, intid); in its_map_intid()
61 static inline int its_send_int(const struct device *dev, uint32_t device_id, uint32_t event_id) in its_send_int() argument
66 return api->send_int(dev, device_id, event_id); in its_send_int()
/Zephyr-latest/tests/arch/arm64/arm64_gicv3_its/src/
Dmain.c45 int device_id = ITS_TEST_DEV(devn); in ZTEST() local
47 zassert_true(its_setup_deviceid(dev, device_id, ITS_TEST_NUM_ITES) == 0, ""); in ZTEST()
54 zassert_true(its_map_intid(dev, device_id, event_id, in ZTEST()
86 int device_id = ITS_TEST_DEV(0); in ZTEST() local
92 zassert_true(its_send_int(dev, device_id, event_id) == 0, ""); in ZTEST()
101 irqn, device_id, event_id); in ZTEST()
109 int device_id = ITS_TEST_DEV(0); in ZTEST() local
117 zassert_true(its_send_int(dev, device_id, event_id) == 0, ""); in ZTEST()
126 irqn, device_id, event_id); in ZTEST()
131 zassert_true(its_send_int(dev, device_id, event_id) == 0, ""); in ZTEST()
[all …]
/Zephyr-latest/subsys/secure_storage/src/its/transform/
Daead_get.c69 uint8_t device_id[8]; in secure_storage_its_transform_aead_get_key() member
73 hwinfo_ret = hwinfo_get_device_eui64(data.device_id); in secure_storage_its_transform_aead_get_key()
75 hwinfo_ret = hwinfo_get_device_id(data.device_id, sizeof(data.device_id)); in secure_storage_its_transform_aead_get_key()
79 if (hwinfo_ret < sizeof(data.device_id)) { in secure_storage_its_transform_aead_get_key()
80 memset(data.device_id + hwinfo_ret, 0, sizeof(data.device_id) - hwinfo_ret); in secure_storage_its_transform_aead_get_key()
86 mbedtls_platform_zeroize(data.device_id, sizeof(data.device_id)); in secure_storage_its_transform_aead_get_key()
/Zephyr-latest/subsys/mgmt/updatehub/
Dshell.c60 char *device_id = k_malloc(DEVICE_ID_HEX_MAX_SIZE); in cmd_info() local
64 if (device_id == NULL || firmware_version == NULL) { in cmd_info()
72 updatehub_get_device_identity(device_id, DEVICE_ID_HEX_MAX_SIZE); in cmd_info()
78 device_id); in cmd_info()
87 if (device_id) { in cmd_info()
88 k_free(device_id); in cmd_info()
Dupdatehub.c603 char *device_id = k_malloc(DEVICE_ID_HEX_MAX_SIZE); in report() local
606 if (device_id == NULL || firmware_version == NULL) { in report()
611 if (!updatehub_get_device_identity(device_id, DEVICE_ID_HEX_MAX_SIZE)) { in report()
623 report.device_identity.id = device_id; in report()
680 k_free(device_id); in report()
766 char *device_id = k_malloc(DEVICE_ID_HEX_MAX_SIZE); in z_impl_updatehub_probe() local
771 if (device_id == NULL || firmware_version == NULL || in z_impl_updatehub_probe()
791 if (!updatehub_get_device_identity(device_id, DEVICE_ID_HEX_MAX_SIZE)) { in z_impl_updatehub_probe()
798 request.device_identity.id = device_id; in z_impl_updatehub_probe()
941 k_free(device_id); in z_impl_updatehub_probe()
/Zephyr-latest/tests/kernel/timer/timer_behavior/pytest/
Dsaleae_logic2.py19 def do_collection(device_id, address, port, channel, sample_rate, threshold_volts, argument
35 device_id=device_id,
76 device_id = options.get('device-id')
86 do_collection(device_id, address, port, channel, sample_rate, threshold_volts,
/Zephyr-latest/drivers/interrupt_controller/
Dintc_gicv3_its.c360 static int its_send_mapd_cmd(struct gicv3_its_data *data, uint32_t device_id, in its_send_mapd_cmd() argument
370 MASK_SET(device_id, GITS_CMD_DEVICEID); in its_send_mapd_cmd()
378 static int its_send_mapti_cmd(struct gicv3_its_data *data, uint32_t device_id, in its_send_mapti_cmd() argument
388 MASK_SET(device_id, GITS_CMD_DEVICEID); in its_send_mapti_cmd()
396 static int its_send_int_cmd(struct gicv3_its_data *data, uint32_t device_id, in its_send_int_cmd() argument
406 MASK_SET(device_id, GITS_CMD_DEVICEID); in its_send_int_cmd()
426 static int gicv3_its_send_int(const struct device *dev, uint32_t device_id, uint32_t event_id) in gicv3_its_send_int() argument
432 return its_send_int_cmd(data, device_id, event_id); in gicv3_its_send_int()
473 static int gicv3_its_map_intid(const struct device *dev, uint32_t device_id, uint32_t event_id, in gicv3_its_map_intid() argument
486 ret = its_send_mapti_cmd(data, device_id, event_id, intid, arch_curr_cpu()->id); in gicv3_its_map_intid()
[all …]
/Zephyr-latest/subsys/mgmt/hawkbit/
Dshell.c72 char device_id[DEVICE_ID_HEX_MAX_SIZE] = {0}, in cmd_info() local
76 hawkbit_get_device_identity(device_id, DEVICE_ID_HEX_MAX_SIZE); in cmd_info()
79 shell_print(sh, "Unique device id: %s", device_id); in cmd_info()
Dhawkbit.c147 char device_id[DEVICE_ID_HEX_MAX_SIZE]; member
164 int hawkbit_default_config_data_cb(const char *device_id, uint8_t *buffer,
761 int hawkbit_default_config_data_cb(const char *device_id, uint8_t *buffer, const size_t buffer_size) in hawkbit_default_config_data_cb() argument
765 .data.VIN = device_id, in hawkbit_default_config_data_cb()
1156 if (!hawkbit_get_device_identity(s->device_id, DEVICE_ID_HEX_MAX_SIZE)) { in s_start()
1208 s->device_id); in s_probe()
1322 ret = hawkbit_config_device_data_cb_handler(s->device_id, status_buffer, in s_config_device()
1399 CONFIG_BOARD, s->device_id, "deploymentBase", s->hb_context.json_action_id, in s_report()
/Zephyr-latest/subsys/net/lib/lwm2m/
Dlwm2m_obj_gateway.c46 char device_id[CONFIG_LWM2M_GATEWAY_DEVICE_ID_MAX_STR_SIZE]; member
120 strncpy(device_table[index].device_id, CONFIG_LWM2M_GATEWAY_DEFAULT_DEVICE_ID, in lwm2m_gw_create()
133 device_table[index].device_id, in lwm2m_gw_create()
135 strlen(device_table[index].device_id) + 1); in lwm2m_gw_create()
/Zephyr-latest/samples/subsys/mgmt/hawkbit/src/
Dmain.c46 int hawkbit_new_config_data_cb(const char *device_id, uint8_t *buffer, const size_t buffer_size) in hawkbit_new_config_data_cb() argument
50 .data.VIN = device_id, in hawkbit_new_config_data_cb()
/Zephyr-latest/drivers/dac/
Ddac_dacx0501.c140 uint16_t device_id; in dacx0501_init() local
148 status = dacx0501_reg_read(dev, DACX0501_REG_DEVICE_ID, &device_id); in dacx0501_init()
155 data->resolution = 16 - 2 * FIELD_GET(DACX0501_MASK_DEVICE_ID_RES, device_id); in dacx0501_init()
/Zephyr-latest/scripts/support/
Dquartus-flash.py103 def flash_kernel(device_id, input_sof, kernel_hex): argument
112 cmd = ["quartus_pgm", "-c", device_id, temp_cdf.name]
/Zephyr-latest/include/zephyr/mgmt/hawkbit/
Dhawkbit.h69 typedef int (*hawkbit_config_device_data_cb_handler_t)(const char *device_id, uint8_t *buffer,
/Zephyr-latest/drivers/serial/
Duart_ql_usbserialport_s3b.h41 uint32_t device_id; member
/Zephyr-latest/subsys/shell/backends/
Dshell_mqtt.c210 sh_mqtt->mqtt_cli.client_id.utf8 = (uint8_t *)sh_mqtt->device_id; in client_init()
211 sh_mqtt->mqtt_cli.client_id.size = strlen(sh_mqtt->device_id); in client_init()
653 if (!shell_mqtt_get_devid(sh_mqtt->device_id, DEVICE_ID_HEX_MAX_SIZE)) { in init()
655 (void)snprintf(sh_mqtt->device_id, sizeof("dummy"), "dummy"); in init()
658 LOG_DBG("Client ID is %s", sh_mqtt->device_id); in init()
660 (void)snprintf(sh_mqtt->pub_topic, SH_MQTT_TOPIC_MAX_SIZE, "%s_tx", sh_mqtt->device_id); in init()
661 (void)snprintf(sh_mqtt->sub_topic, SH_MQTT_TOPIC_MAX_SIZE, "%s_rx", sh_mqtt->device_id); in init()
/Zephyr-latest/drivers/sensor/ams/tsl2591/
Dtsl2591.c418 uint8_t device_id; in tsl2591_setup() local
427 ret = tsl2591_reg_read(dev, TSL2591_REG_ID, &device_id, 1U); in tsl2591_setup()
433 if (device_id != TSL2591_DEV_ID) { in tsl2591_setup()
434 LOG_ERR("Device with ID 0x%02x is not supported", device_id); in tsl2591_setup()
/Zephyr-latest/drivers/pcie/host/
Dpcie_ecam.c323 unsigned int device_id; in pcie_ecam_msi_device_setup() local
346 device_id = PCI_BDF_TO_DEVID(bdf); in pcie_ecam_msi_device_setup()
348 ret = its_setup_deviceid(cfg->msi_parent, device_id, n_vector); in pcie_ecam_msi_device_setup()
359 ret = its_map_intid(cfg->msi_parent, device_id, in pcie_ecam_msi_device_setup()
/Zephyr-latest/include/zephyr/shell/
Dshell_mqtt.h42 char device_id[DEVICE_ID_HEX_MAX_SIZE]; member
/Zephyr-latest/drivers/bluetooth/hci/
Dhci_stm32wba.c404 uint32_t device_id; in bt_get_ble_addr() local
415 device_id = LL_FLASH_GetDeviceID(); in bt_get_ble_addr()
428 bd_addr_udn.val[2] = (uint8_t)device_id; in bt_get_ble_addr()
Dipm_stm32wb.c401 uint32_t device_id; in bt_get_ble_addr() local
412 device_id = LL_FLASH_GetDeviceID(); in bt_get_ble_addr()
416 bd_addr_udn.val[3] = (uint8_t)device_id; in bt_get_ble_addr()
/Zephyr-latest/drivers/usb_c/tcpc/
Dshell.c35 shell_print(sh, "\tDevice: %04x", chip_info.device_id); \
/Zephyr-latest/drivers/clock_control/
Dclock_control_lpc11u6x.h132 volatile const uint32_t device_id; /* Device identifier */ member
/Zephyr-latest/scripts/pylib/pytest-twister-harness/src/twister_harness/
Dtwister_harness_config.py76 id=config.option.device_id,
/Zephyr-latest/dts/arm/atmel/
Dsamd2x.dtsi53 id: device_id@80a00c {

12