Home
last modified time | relevance | path

Searched refs:data_size (Results 26 – 50 of 66) sorted by relevance

123

/Zephyr-latest/include/zephyr/bluetooth/classic/
Dsdp.h289 uint32_t data_size; /**< Size of the data element */ member
336 .data_size = BIT(_type & BT_SDP_SIZE_DESC_MASK), \
346 .data_size = _size, \
/Zephyr-latest/tests/net/lib/wifi_credentials_backend_psa/src/
Dnormalized_crypto.h32 psa_status_t psa_export_key(mbedtls_svc_key_id_t key, uint8_t *data, size_t data_size,
Dmain.c76 psa_status_t custom_psa_export_key(mbedtls_svc_key_id_t key, uint8_t *data, size_t data_size, in custom_psa_export_key() argument
80 *data_length = data_size; in custom_psa_export_key()
/Zephyr-latest/subsys/secure_storage/src/its/transform/
Daead.c111 size_t data_size, void *data, size_t *data_len, in secure_storage_its_transform_from_store() argument
125 &add_data, ciphertext_len, stored_entry->ciphertext, data_size, data, in secure_storage_its_transform_from_store()
/Zephyr-latest/subsys/retention/
Dretention.c222 ssize_t data_size = config->size - config->checksum_size; in retention_is_valid() local
233 rc = retained_mem_read(config->parent, (config->offset + data_size), in retention_is_valid()
239 rc = retained_mem_read(config->parent, (config->offset + data_size), in retention_is_valid()
243 rc = retained_mem_read(config->parent, (config->offset + data_size), in retention_is_valid()
/Zephyr-latest/subsys/mgmt/mcumgr/mgmt/src/
Dmgmt.c147 enum mgmt_cb_return mgmt_callback_notify(uint32_t event, void *data, size_t data_size, in mgmt_callback_notify() argument
182 data_size); in mgmt_callback_notify()
/Zephyr-latest/drivers/wifi/infineon/
Dairoc_whd_hal_sdio.c161 uint32_t address, uint16_t data_size, uint8_t *data, in whd_bus_sdio_cmd53() argument
170 ret = sdio_write_addr(func, address, data, data_size); in whd_bus_sdio_cmd53()
173 ret = sdio_read_addr(func, address, data, data_size); in whd_bus_sdio_cmd53()
/Zephyr-latest/include/zephyr/net/
Dicmp.h151 size_t data_size; member
/Zephyr-latest/drivers/usb/common/nrf_usbd_common/
Dnrf_usbd_common.c353 size_t ep_size, size_t data_size) in nrf_usbd_common_consumer() argument
355 __ASSERT_NO_MSG(ep_size >= data_size); in nrf_usbd_common_consumer()
360 if (size < data_size) { in nrf_usbd_common_consumer()
361 LOG_DBG("consumer: buffer too small: r: %u, l: %u", data_size, size); in nrf_usbd_common_consumer()
366 p_next->size = data_size; in nrf_usbd_common_consumer()
368 size -= data_size; in nrf_usbd_common_consumer()
370 p_transfer->p_data.addr += data_size; in nrf_usbd_common_consumer()
372 return (ep_size == data_size) && (size != 0); in nrf_usbd_common_consumer()
/Zephyr-latest/drivers/dma/
Ddma_mcux_edma.c201 static bool data_size_valid(const size_t data_size) in data_size_valid() argument
203 return (data_size == 4U || data_size == 2U || in data_size_valid()
204 data_size == 1U || data_size == 8U || in data_size_valid()
205 data_size == 16U || data_size == 32U in data_size_valid()
207 || data_size == 64U in data_size_valid()
/Zephyr-latest/subsys/sip_svc/
Dsip_svc_subsys.c552 size_t data_size; in sip_svc_async_response_handler() local
589 ret = sip_svc_plat_async_res_res(ctrl->dev, &res, ctrl->async_resp_data, &data_size, in sip_svc_async_response_handler()
608 if (data_size > ((size_t)trans_id_item->arg4)) { in sip_svc_async_response_handler()
609 data_size = ((size_t)trans_id_item->arg4); in sip_svc_async_response_handler()
619 response.resp_data_size = data_size; in sip_svc_async_response_handler()
624 memcpy((char *)data_addr, ctrl->async_resp_data, data_size); in sip_svc_async_response_handler()
/Zephyr-latest/drivers/spi/
Dspi_mcux_flexcomm.c607 uint16_t data_size; in transceive_dma() local
622 data_size = (word_size > 8) ? (sizeof(uint16_t)) : (sizeof(uint8_t)); in transceive_dma()
623 data->dma_rx.dma_cfg.source_data_size = data_size; in transceive_dma()
624 data->dma_rx.dma_cfg.dest_data_size = data_size; in transceive_dma()
625 data->dma_tx.dma_cfg.source_data_size = data_size; in transceive_dma()
626 data->dma_tx.dma_cfg.dest_data_size = data_size; in transceive_dma()
/Zephyr-latest/tests/subsys/canbus/isotp/implementation/src/
Dmain.c253 const size_t data_size = sizeof(data_buf) * 2 + 10; in ZTEST() local
261 send_test_data(can_dev, random_data, data_size); in ZTEST()
262 receive_test_data(&recv_ctx, random_data, data_size, 0); in ZTEST()
/Zephyr-latest/subsys/bluetooth/audio/shell/
Daudio.h42 ssize_t audio_ad_data_add(struct bt_data *data, const size_t data_size, const bool discoverable,
45 ssize_t csis_ad_data_add(struct bt_data *data, const size_t data_size, const bool discoverable);
46 size_t cap_acceptor_ad_data_add(struct bt_data data[], size_t data_size, bool discoverable);
47 size_t bap_scan_delegator_ad_data_add(struct bt_data data[], size_t data_size);
48 size_t gmap_ad_data_add(struct bt_data data[], size_t data_size);
49 size_t pbp_ad_data_add(struct bt_data data[], size_t data_size);
/Zephyr-latest/samples/drivers/video/capture_to_lvgl/src/
Dmain.c136 .data_size = CONFIG_VIDEO_WIDTH * CONFIG_VIDEO_HEIGHT * sizeof(lv_color_t), in main()
/Zephyr-latest/tests/lib/gui/lvgl/src/
Dmain.c160 ret = fs_write(&img, c_img->data, c_img->data_size); in setup_fs()
/Zephyr-latest/drivers/flash/
Dflash_cadence_qspi_nor.c148 .data_size = DT_INST_REG_SIZE_BY_IDX(inst, 1), \
Dflash_cadence_qspi_nor_ll.h167 uint32_t data_size; member
/Zephyr-latest/tests/boards/espressif/ethernet/src/
Dmain.c111 params.data_size = sizeof(TEST_DATA); in ZTEST()
/Zephyr-latest/drivers/sensor/sensirion/scd4x/
Dscd4x.c70 static int scd4x_write_reg(const struct device *dev, uint8_t cmd, uint16_t *data, uint8_t data_size) in scd4x_write_reg() argument
74 uint8_t tx_buf[((data_size * 3) + 2)]; in scd4x_write_reg()
80 for (uint8_t i = 0; i < data_size; i++) { in scd4x_write_reg()
/Zephyr-latest/tests/subsys/mgmt/mcumgr/cb_notifications/src/
Dmain.c55 void *data, size_t data_size) in mgmt_event_cmd_callback() argument
/Zephyr-latest/subsys/fs/nvs/
Dnvs.c1067 size_t ate_size, data_size; in nvs_write() local
1079 data_size = nvs_al_size(fs, len); in nvs_write()
1152 if (data_size) { in nvs_write()
1154 required_space = data_size + ate_size + NVS_DATA_CRC_SIZE; in nvs_write()
/Zephyr-latest/drivers/ethernet/
Deth_adin2111.c470 size_t data_size = sizeof(uint32_t); in eth_adin2111_reg_write_generic() local
487 buf[header_size + data_size] = crc8_ccitt(0, &buf[header_size], data_size); in eth_adin2111_reg_write_generic()
488 ++data_size; in eth_adin2111_reg_write_generic()
493 .len = header_size + data_size in eth_adin2111_reg_write_generic()
/Zephyr-latest/include/zephyr/drivers/usb_c/
Dusbc_pd.h354 uint16_t data_size : 9; member
/Zephyr-latest/tests/boards/espressif/wifi/src/
Dmain.c296 params.data_size = sizeof(TEST_DATA); in ZTEST()

123