/Zephyr-latest/drivers/spi/ |
D | spi_nxp_s32.h | 29 #define SPI_NXP_S32_BYTE_PER_FRAME(frame_size) \ argument 30 (frame_size <= 8U) ? 1U : ((frame_size <= 16U) ? 2U : 4U)
|
D | spi_mcux_dspi.c | 67 int frame_size; member 77 static int get_size_byte_by_frame_size(int len, int frame_size) in get_size_byte_by_frame_size() argument 79 if (frame_size == 8) { in get_size_byte_by_frame_size() 259 uint32_t frame_size_bit = data->frame_size; in mcux_spi_context_data_update() 340 uint32_t frame_size = data->frame_size; in update_tx_dma() local 353 frame_size); in update_tx_dma() 358 frame_size); in update_tx_dma() 365 frame_size); in update_tx_dma() 395 uint32_t frame_size_byte = (data->frame_size >> 3); in update_rx_dma() 522 data->transfer_len = data->frame_size >> 3; in dma_callback() [all …]
|
D | spi_nxp_s32.c | 273 uint8_t frame_size; in spi_nxp_s32_configure() local 297 frame_size = SPI_WORD_SIZE_GET(spi_cfg->operation); in spi_nxp_s32_configure() 321 if (frame_size > 32U) { in spi_nxp_s32_configure() 322 LOG_ERR("Unsupported frame size %d bits", frame_size); in spi_nxp_s32_configure() 369 Spi_Ip_UpdateFrameSize(&data->transfer_cfg, frame_size); in spi_nxp_s32_configure() 373 data->bytes_per_frame = SPI_NXP_S32_BYTE_PER_FRAME(frame_size); in spi_nxp_s32_configure() 378 clk_polarity, clk_phase, lsb, frame_size); in spi_nxp_s32_configure() 384 lsb, hold_cs, frame_size, spi_cfg->slave); in spi_nxp_s32_configure()
|
D | spi_npcx_spip.c | 50 uint8_t frame_size; in spi_npcx_spip_configure() local 82 frame_size = SPI_WORD_SIZE_GET(operation); in spi_npcx_spip_configure() 83 if (frame_size == 8) { in spi_npcx_spip_configure() 86 } else if (frame_size == 16) { in spi_npcx_spip_configure()
|
D | spi_ll_stm32.c | 304 const uint8_t frame_size = SPI_WORD_SIZE_GET(data->ctx.config->operation); in spi_stm32_send_next_frame() local 307 if (frame_size == 8) { in spi_stm32_send_next_frame() 325 const uint8_t frame_size = SPI_WORD_SIZE_GET(data->ctx.config->operation); in spi_stm32_read_next_frame() local 328 if (frame_size == 8) { in spi_stm32_read_next_frame()
|
/Zephyr-latest/drivers/bluetooth/hci/ |
D | userchan.c | 199 ssize_t frame_size = 0; in rx_thread() local 216 len = read(uc->fd, frame + frame_size, sizeof(frame) - frame_size); in rx_thread() 229 frame_size += len; in rx_thread() 231 while (frame_size > 0) { in rx_thread() 234 const int32_t decoded_len = hci_packet_complete(frame_start, frame_size); in rx_thread() 238 frame_size = 0; /* Drop buffer */ in rx_thread() 243 if (frame_size == sizeof(frame)) { in rx_thread() 247 frame_size = 0; /* Drop buffer */ in rx_thread() 251 memmove(frame, frame_start, frame_size); in rx_thread() 262 frame_size -= decoded_len; in rx_thread()
|
/Zephyr-latest/drivers/sensor/asahi_kasei/akm09918c/ |
D | akm09918c_decoder.c | 23 size_t *frame_size) in akm09918c_decoder_get_size_info() argument 31 *frame_size = sizeof(struct sensor_three_axis_sample_data); in akm09918c_decoder_get_size_info()
|
/Zephyr-latest/drivers/sensor/memsic/mmc56x3/ |
D | mmc56x3_decoder.c | 49 size_t *frame_size) in mmc56x3_decoder_get_size_info() argument 57 *frame_size = sizeof(struct sensor_q31_sample_data); in mmc56x3_decoder_get_size_info() 60 *frame_size = sizeof(struct sensor_three_axis_sample_data); in mmc56x3_decoder_get_size_info()
|
/Zephyr-latest/subsys/bluetooth/audio/shell/ |
D | bap_usb.c | 209 size_t frame_size, uint32_t ts) in bap_usb_add_frame_to_usb() argument 222 if (frame_size > LC3_MAX_NUM_SAMPLES_MONO * sizeof(int16_t) || frame_size == 0U) { in bap_usb_add_frame_to_usb() 223 LOG_DBG("Invalid frame of size %zu", frame_size); in bap_usb_add_frame_to_usb() 282 memcpy(decoded_sdu.left_frames[decoded_sdu.left_frames_cnt++], frame, frame_size); in bap_usb_add_frame_to_usb() 290 memcpy(decoded_sdu.right_frames[decoded_sdu.right_frames_cnt++], frame, frame_size); in bap_usb_add_frame_to_usb() 299 memcpy(decoded_sdu.left_frames[decoded_sdu.mono_frames_cnt++], frame, frame_size); in bap_usb_add_frame_to_usb()
|
D | audio.h | 160 size_t frame_size, uint32_t ts);
|
D | bap.c | 319 const size_t frame_size = bap_usb_get_frame_size(sh_stream); in init_lc3_encoder() local 321 if (frame_size > sizeof(lc3_tx_buf)) { in init_lc3_encoder() 323 frame_size, sizeof(lc3_tx_buf)); in init_lc3_encoder()
|
/Zephyr-latest/drivers/sensor/bosch/bme280/ |
D | bme280_decoder.c | 42 size_t *frame_size) in bme280_decoder_get_size_info() argument 49 *frame_size = sizeof(struct sensor_q31_sample_data); in bme280_decoder_get_size_info()
|
/Zephyr-latest/drivers/sensor/ |
D | default_rtio_sensor.c | 346 size_t *frame_size) in sensor_natively_supported_channel_size_info() argument 349 __ASSERT_NO_MSG(frame_size != NULL); in sensor_natively_supported_channel_size_info() 373 *frame_size = sizeof(struct sensor_three_axis_sample_data); in sensor_natively_supported_channel_size_info() 377 *frame_size = sizeof(struct sensor_byte_sample_data); in sensor_natively_supported_channel_size_info() 381 *frame_size = sizeof(struct sensor_uint64_sample_data); in sensor_natively_supported_channel_size_info() 385 *frame_size = sizeof(struct sensor_q31_sample_data); in sensor_natively_supported_channel_size_info()
|
D | sensor_shell.c | 359 size_t frame_size; in sensor_shell_processing_callback() local 379 rc = decoder->get_size_info(ch, &base_size, &frame_size); in sensor_shell_processing_callback()
|
/Zephyr-latest/samples/boards/st/power_mgmt/suspend_to_ram/src/ |
D | main.c | 53 #define SPI_OP(frame_size) SPI_OP_MODE_MASTER | SPI_MODE_CPOL | \ argument 54 SPI_MODE_CPHA | SPI_WORD_SET(frame_size) | SPI_LINES_SINGLE
|
/Zephyr-latest/drivers/sensor/bosch/bma4xx/ |
D | bma4xx.c | 493 size_t *frame_size) in bma4xx_decoder_get_size_info() argument 501 *frame_size = sizeof(struct sensor_three_axis_sample_data); in bma4xx_decoder_get_size_info() 505 *frame_size = sizeof(struct sensor_q31_sample_data); in bma4xx_decoder_get_size_info()
|
/Zephyr-latest/drivers/sensor/st/lsm6dsv16x/ |
D | lsm6dsv16x_decoder.c | 650 size_t *frame_size) in lsm6dsv16x_decoder_get_size_info() argument 662 *frame_size = sizeof(struct sensor_three_axis_sample_data); in lsm6dsv16x_decoder_get_size_info() 666 *frame_size = sizeof(struct sensor_q31_sample_data); in lsm6dsv16x_decoder_get_size_info()
|
/Zephyr-latest/drivers/sensor/tdk/icm42688/ |
D | icm42688_decoder.c | 645 size_t *frame_size) in icm42688_decoder_get_size_info() argument 657 *frame_size = sizeof(struct sensor_three_axis_sample_data); in icm42688_decoder_get_size_info() 661 *frame_size = sizeof(struct sensor_q31_sample_data); in icm42688_decoder_get_size_info()
|
/Zephyr-latest/tests/drivers/spi/spi_loopback/src/ |
D | spi.c | 50 #define SPI_OP(frame_size) SPI_OP_MODE_MASTER | SPI_MODE_CPOL | MODE_LOOP | \ argument 51 SPI_MODE_CPHA | SPI_WORD_SET(frame_size) | SPI_LINES_SINGLE
|
/Zephyr-latest/include/zephyr/drivers/ |
D | sensor.h | 498 size_t *frame_size); 594 size_t *frame_size);
|