Home
last modified time | relevance | path

Searched refs:num_bytes (Results 26 – 48 of 48) sorted by relevance

12

/Zephyr-latest/drivers/video/
Dmt9m114.c190 uint8_t *buf, uint32_t num_bytes) in i2c_burst_read16_dt() argument
196 return i2c_write_read_dt(spec, addr_buffer, sizeof(addr_buffer), buf, num_bytes); in i2c_burst_read16_dt()
200 const uint8_t *buf, uint32_t num_bytes) in i2c_burst_write16_dt() argument
212 msg[1].len = num_bytes; in i2c_burst_write16_dt()
/Zephyr-latest/drivers/display/
Ddisplay_ist3931.c41 uint32_t num_bytes) in ist3931_write_bus() argument
47 for (uint32_t i = 0; i < num_bytes; i++) { in ist3931_write_bus()
51 return i2c_write_dt(&config->bus, i2c_write_buf, num_bytes * 2); in ist3931_write_bus()
/Zephyr-latest/drivers/sensor/nxp/fxos8700/
Dfxos8700.c268 uint8_t num_bytes; in fxos8700_sample_fetch() local
284 num_bytes = config->num_channels * FXOS8700_BYTES_PER_CHANNEL_NORMAL; in fxos8700_sample_fetch()
286 __ASSERT(num_bytes <= sizeof(buffer), "Too many bytes to read"); in fxos8700_sample_fetch()
288 if (config->ops->read(dev, config->start_addr, buffer, num_bytes)) { in fxos8700_sample_fetch()
304 for (i = 0; i < num_bytes; i += 2) { in fxos8700_sample_fetch()
/Zephyr-latest/arch/x86/core/ia32/
Dcoredump.c43 .num_bytes = sizeof(arch_blk), in arch_coredump_info_dump()
/Zephyr-latest/arch/arm/core/cortex_m/
Dcoredump.c49 .num_bytes = sizeof(arch_blk), in arch_coredump_info_dump()
/Zephyr-latest/drivers/adc/
Dadc_ads7052.c99 uint8_t num_bytes = sclks_needed / 8; in ads7052_send_calibration() local
102 const struct spi_buf tx_buf = {.buf = tx_bytes, .len = num_bytes}; in ads7052_send_calibration()
/Zephyr-latest/drivers/i3c/
Di3c_shell.c476 int num_bytes; in cmd_i3c_read() local
480 num_bytes = strtol(argv[4], NULL, 16); in cmd_i3c_read()
481 if (num_bytes > MAX_I3C_BYTES) { in cmd_i3c_read()
482 num_bytes = MAX_I3C_BYTES; in cmd_i3c_read()
485 num_bytes = MAX_I3C_BYTES; in cmd_i3c_read()
489 num_bytes); in cmd_i3c_read()
491 shell_hexdump(sh, buf, num_bytes); in cmd_i3c_read()
539 int num_bytes; in cmd_i3c_hdr_ddr_read() local
551 num_bytes = strtol(argv[4], NULL, 16); in cmd_i3c_hdr_ddr_read()
552 if (num_bytes > MAX_I3C_BYTES) { in cmd_i3c_hdr_ddr_read()
[all …]
/Zephyr-latest/arch/arm64/core/
Dcoredump.c60 .num_bytes = sizeof(arch_blk), in arch_coredump_info_dump()
/Zephyr-latest/drivers/flash/
Dflash_mspi_atxp032.c122 data->packet.num_bytes = length; in flash_mspi_atxp032_command_write()
154 data->packet.num_bytes = length; in flash_mspi_atxp032_command_read()
324 data->packet.num_bytes = len; in flash_mspi_atxp032_page_program()
406 data->packet.num_bytes = len; in flash_mspi_atxp032_read()
719 data->packet.num_bytes = size; in flash_mspi_atxp032_read_sfdp()
/Zephyr-latest/arch/riscv/core/
Dcoredump.c76 .num_bytes = sizeof(arch_blk), in arch_coredump_info_dump()
/Zephyr-latest/arch/x86/core/intel64/
Dcoredump.c55 .num_bytes = sizeof(arch_blk), in arch_coredump_info_dump()
/Zephyr-latest/drivers/input/
Dinput_gt911.c86 static int gt911_i2c_write(const struct device *dev, const uint8_t *buf, uint32_t num_bytes) in gt911_i2c_write() argument
91 return i2c_write(config->bus.bus, buf, num_bytes, data->actual_address); in gt911_i2c_write()
/Zephyr-latest/drivers/dma/
Ddma_sedi.c68 static int width_index(uint32_t num_bytes, uint32_t *index) in width_index() argument
70 switch (num_bytes) { in width_index()
/Zephyr-latest/kernel/
Dpipes.c205 size_t num_bytes = MIN(dest_size, src_size); in pipe_xfer() local
209 return num_bytes; in pipe_xfer()
212 (void) memcpy(dest, src, num_bytes); in pipe_xfer()
214 return num_bytes; in pipe_xfer()
/Zephyr-latest/subsys/dap/
Dcmsis_dap.c648 uint32_t num_bytes; in dap_swdp_sequence() local
665 num_bytes = (num_cycles + 7) >> 3; /* rounded up to full bytes */ in dap_swdp_sequence()
675 response_data += num_bytes; in dap_swdp_sequence()
678 request_data += num_bytes; in dap_swdp_sequence()
/Zephyr-latest/arch/xtensa/core/
Dcoredump.c100 .num_bytes = sizeof(arch_blk), in arch_coredump_info_dump()
/Zephyr-latest/drivers/memc/
Dmemc_mspi_aps6404l.c80 data->packet.num_bytes = length; in memc_mspi_aps6404l_command_write()
117 data->packet.num_bytes = length; in memc_mspi_aps6404l_command_read()
/Zephyr-latest/drivers/spi/
Dspi_ll_stm32.c736 uint32_t num_bytes = 0; in spi_stm32_count_bufset_frames() local
739 num_bytes += bufs->buffers[i].len; in spi_stm32_count_bufset_frames()
744 if ((num_bytes % bytes_per_frame) != 0) { in spi_stm32_count_bufset_frames()
747 return num_bytes / bytes_per_frame; in spi_stm32_count_bufset_frames()
/Zephyr-latest/lib/heap/
Dheap.c17 static inline void increase_allocated_bytes(struct z_heap *h, size_t num_bytes) in increase_allocated_bytes() argument
19 h->allocated_bytes += num_bytes; in increase_allocated_bytes()
/Zephyr-latest/include/zephyr/drivers/
Dmspi.h377 uint32_t num_bytes; member
/Zephyr-latest/include/zephyr/rtio/
Drtio.h1266 #define __RTIO_MEMPOOL_GET_NUM_BLKS(num_bytes, blk_size) (((num_bytes) + (blk_size)-1) / (blk_size)) argument
/Zephyr-latest/drivers/mspi/
Dmspi_ambiq_ap3.c1054 trans.ui32NumBytes = packet->num_bytes; in mspi_pio_transceive()
1081 trans.ui32NumBytes = packet->num_bytes; in mspi_pio_transceive()
1166 trans.ui32TransferCount = packet->num_bytes; in mspi_dma_transceive()
Dmspi_emul.c329 !xfer->packets[i].num_bytes) { in mspi_xfer_check()

12