Home
last modified time | relevance | path

Searched refs:data_type (Results 1 – 12 of 12) sorted by relevance

/Zephyr-latest/scripts/logging/dictionary/dictionary_parser/
Ddata_types.py110 def get_data_type_align(data_type, is_tgt_64bit): argument
114 if data_type == DataTypes.LONG_LONG:
116 elif data_type == DataTypes.LONG:
128 def add_data_type(self, data_type, fmt): argument
137 self.data_types[data_type] = {}
138 self.data_types[data_type]['fmt'] = formatter
142 if data_type == self.LONG_DOUBLE:
147 self.data_types[data_type]['sizeof'] = size
159 self.data_types[data_type]['align'] = align
168 stack_align = DataTypes.get_data_type_align(data_type,
[all …]
/Zephyr-latest/samples/modules/tflite-micro/magic_wand/train/
Ddata_load.py50 def get_data_file(self, data_path, data_type): # pylint: disable=no-self-use argument
60 if data_type == "train":
63 print(data_type + "_data_length:" + str(length))
/Zephyr-latest/scripts/west_commands/runners/
Dcanopen_program.py331 member.data_type = canopen.objectdictionary.DOMAIN
337 member.data_type = canopen.objectdictionary.UNSIGNED8
343 member.data_type = canopen.objectdictionary.UNSIGNED32
349 member.data_type = canopen.objectdictionary.UNSIGNED32
/Zephyr-latest/subsys/net/lib/lwm2m/
Dlwm2m_registry.c452 if (obj_field->data_type == LWM2M_RES_TYPE_STRING) { in is_string()
508 static int lwm2m_check_buf_sizes(uint8_t data_type, uint16_t resource_length, uint16_t buf_length) in lwm2m_check_buf_sizes() argument
510 switch (data_type) { in lwm2m_check_buf_sizes()
595 ret = lwm2m_check_buf_sizes(obj_field->data_type, len, max_data_len); in lwm2m_engine_set()
618 switch (obj_field->data_type) { in lwm2m_engine_set()
703 LOG_ERR("unknown obj data_type %d", obj_field->data_type); in lwm2m_engine_set()
902 ret = lwm2m_check_buf_sizes(obj_field->data_type, data_len, buflen); in lwm2m_engine_get()
910 switch (obj_field->data_type) { in lwm2m_engine_get()
988 LOG_ERR("unknown obj data_type %d", obj_field->data_type); in lwm2m_engine_get()
992 } else if (obj_field->data_type == LWM2M_RES_TYPE_STRING) { in lwm2m_engine_get()
[all …]
Dlwm2m_message_handling.c1140 switch (obj_field->data_type) { in lwm2m_write_handler()
1252 LOG_ERR("unknown obj data_type %d", obj_field->data_type); in lwm2m_write_handler()
1263 if (obj_field->data_type != LWM2M_RES_TYPE_OPAQUE) { in lwm2m_write_handler()
1281 if (obj_field->data_type == LWM2M_RES_TYPE_STRING) { in lwm2m_write_handler()
1306 uint8_t data_type) in lwm2m_read_resource_data() argument
1310 switch (data_type) { in lwm2m_read_resource_data()
1377 LOG_ERR("unknown obj data_type %d", data_type); in lwm2m_read_resource_data()
1385 struct lwm2m_time_series_resource *cached_data, uint8_t data_type) in lwm2m_read_cached_data() argument
1421 switch (data_type) { in lwm2m_read_cached_data()
1555 ret = lwm2m_read_cached_data(msg, cached_data, obj_field->data_type); in lwm2m_read_handler()
[all …]
Dlwm2m_object.h170 .data_type = LWM2M_RES_TYPE_ ## _type, }
185 uint8_t data_type; member
Dlwm2m_shell.c749 switch (field->data_type) { in print_object_instance()
/Zephyr-latest/drivers/mipi_dsi/
Ddsi_renesas_ra.c104 cfg.data_type = MIPI_DSI_VIDEO_DATA_24RGB_PIXEL_STREAM; in mipi_dsi_renesas_ra_attach()
106 cfg.data_type = MIPI_DSI_VIDEO_DATA_16RGB_PIXEL_STREAM; in mipi_dsi_renesas_ra_attach()
311 .data_type = MIPI_DSI_PACKED_PIXEL_STREAM_24, \
/Zephyr-latest/drivers/flash/
Dflash_cadence_qspi_nor_ll.c60 uint32_t instr_type, uint32_t addr_type, uint32_t data_type, in cad_qspi_set_read_config() argument
69 CAD_QSPI_DEV_ADDR_TYPE(addr_type) | CAD_QSPI_DEV_DATA_TYPE(data_type) | in cad_qspi_set_read_config()
78 uint32_t addr_type, uint32_t data_type, uint32_t dummy_clk_cycle) in cad_qspi_set_write_config() argument
86 CAD_QSPI_DEV_DATA_TYPE(data_type) | in cad_qspi_set_write_config()
/Zephyr-latest/subsys/bluetooth/audio/
Dascs.c2152 const uint8_t data_type = data->type; in ascs_parse_metadata() local
2155 LOG_DBG("type 0x%02x len %u", data_type, data_len); in ascs_parse_metadata()
2157 if (!BT_AUDIO_METADATA_TYPE_IS_KNOWN(data_type)) { in ascs_parse_metadata()
2158 LOG_WRN("Unknown metadata type 0x%02x", data_type); in ascs_parse_metadata()
2162 switch (data_type) { in ascs_parse_metadata()
2170 data_type); in ascs_parse_metadata()
2178 data_type); in ascs_parse_metadata()
2185 data_type == BT_AUDIO_METADATA_TYPE_STREAM_CONTEXT) { in ascs_parse_metadata()
2189 BT_BAP_ASCS_RSP_CODE_METADATA_REJECTED, data_type); in ascs_parse_metadata()
2200 data_type); in ascs_parse_metadata()
[all …]
Dcodec.c135 const uint8_t data_type = buf->data[i++]; in ltv_set_val() local
136 const uint8_t value_len = *len - sizeof(data_type); in ltv_set_val()
138 if (data_type == type) { in ltv_set_val()
219 const uint8_t data_type = buf->data[i++]; in ltv_unset_val() local
220 const uint8_t value_len = len - sizeof(data_type); in ltv_unset_val()
222 if (data_type == type) { in ltv_unset_val()
223 const uint8_t ltv_size = value_len + sizeof(data_type) + sizeof(len); in ltv_unset_val()
/Zephyr-latest/subsys/bluetooth/controller/hci/
Dhci.c5249 static struct net_buf *hci_vs_err_trace_create(uint8_t data_type, argument
5280 if (data_type == BT_HCI_EVT_VS_ERROR_DATA_TYPE_TRACE) {
5296 buf = vs_err_evt_create(data_type, data_len);
5298 if (data_type == BT_HCI_EVT_VS_ERROR_DATA_TYPE_TRACE) {