Searched refs:chunk_len (Results 1 – 7 of 7) sorted by relevance
/Zephyr-Core-2.7.6/drivers/spi/ |
D | spi_nrfx_spim.c | 22 size_t chunk_len; member 194 size_t chunk_len = spi_context_max_continuous_chunk(ctx); in transfer_next_chunk() local 196 if (chunk_len > 0) { in transfer_next_chunk() 202 if (chunk_len > sizeof(dev_data->buffer)) { in transfer_next_chunk() 203 chunk_len = sizeof(dev_data->buffer); in transfer_next_chunk() 206 memcpy(dev_data->buffer, tx_buf, chunk_len); in transfer_next_chunk() 210 if (chunk_len > dev_config->max_chunk_len) { in transfer_next_chunk() 211 chunk_len = dev_config->max_chunk_len; in transfer_next_chunk() 214 dev_data->chunk_len = chunk_len; in transfer_next_chunk() 217 xfer.tx_length = spi_context_tx_buf_on(ctx) ? chunk_len : 0; in transfer_next_chunk() [all …]
|
D | spi_nrfx_spi.c | 20 size_t chunk_len; member 160 size_t chunk_len = spi_context_max_continuous_chunk(ctx); in transfer_next_chunk() local 162 if (chunk_len > 0) { in transfer_next_chunk() 166 dev_data->chunk_len = chunk_len; in transfer_next_chunk() 169 xfer.tx_length = spi_context_tx_buf_on(ctx) ? chunk_len : 0; in transfer_next_chunk() 171 xfer.rx_length = spi_context_rx_buf_on(ctx) ? chunk_len : 0; in transfer_next_chunk() 193 spi_context_update_tx(&dev_data->ctx, 1, dev_data->chunk_len); in event_handler() 194 spi_context_update_rx(&dev_data->ctx, 1, dev_data->chunk_len); in event_handler()
|
D | spi_esp32_spim.c | 65 size_t chunk_len = spi_context_max_continuous_chunk(&data->ctx); in spi_esp32_transfer() local 66 chunk_len = MIN(chunk_len, SOC_SPI_MAXIMUM_BUFFER_SIZE); in spi_esp32_transfer() 72 hal_trans->tx_bitlen = chunk_len << 3; in spi_esp32_transfer() 73 hal_trans->rx_bitlen = chunk_len << 3; in spi_esp32_transfer() 81 spi_context_update_tx(&data->ctx, data->dfs, chunk_len); in spi_esp32_transfer() 89 spi_context_update_rx(&data->ctx, data->dfs, chunk_len); in spi_esp32_transfer()
|
/Zephyr-Core-2.7.6/subsys/logging/ |
D | log_msg.c | 403 uint32_t chunk_len; in log_msg_hexdump_data_op() local 419 chunk_len = LOG_MSG_HEXDUMP_BYTES_HEAD_CHUNK; in log_msg_hexdump_data_op() 424 chunk_len = available_len; in log_msg_hexdump_data_op() 428 if (offset < chunk_len) { in log_msg_hexdump_data_op() 429 cpy_len = req_len > chunk_len ? chunk_len : req_len; in log_msg_hexdump_data_op() 440 offset -= chunk_len; in log_msg_hexdump_data_op() 441 chunk_len = HEXDUMP_BYTES_CONT_MSG; in log_msg_hexdump_data_op() 446 while (offset >= chunk_len) { in log_msg_hexdump_data_op() 448 offset -= chunk_len; in log_msg_hexdump_data_op() 453 chunk_len = HEXDUMP_BYTES_CONT_MSG - offset; in log_msg_hexdump_data_op() [all …]
|
/Zephyr-Core-2.7.6/drivers/console/ |
D | uart_mcumgr.c | 174 int chunk_len; in uart_mcumgr_isr() local 183 chunk_len = uart_mcumgr_read_chunk(buf, sizeof(buf)); in uart_mcumgr_isr() 184 if (chunk_len == 0) { in uart_mcumgr_isr() 188 for (i = 0; i < chunk_len; i++) { in uart_mcumgr_isr()
|
/Zephyr-Core-2.7.6/samples/drivers/espi/src/ |
D | main.c | 555 int rc, chunk_len, n; in saf_read() local 567 chunk_len = 64; in saf_read() 569 chunk_len = n; in saf_read() 572 saf_pkt.len = chunk_len; in saf_read() 577 "spi_addr = %x", __func__, rc, chunk_len, in saf_read() 582 saf_pkt.flash_addr += chunk_len; in saf_read() 583 saf_pkt.buf += chunk_len; in saf_read() 584 n -= chunk_len; in saf_read() 633 int rc, chunk_len, n; in saf_page_prog() local 649 chunk_len = 64; in saf_page_prog() [all …]
|
/Zephyr-Core-2.7.6/drivers/flash/ |
D | spi_flash_at45.c | 360 size_t chunk_len = len; in spi_flash_at45_write() local 365 if (chunk_len > (current_page_end - offset)) { in spi_flash_at45_write() 366 chunk_len = (current_page_end - offset); in spi_flash_at45_write() 369 err = perform_write(dev, offset, data, chunk_len); in spi_flash_at45_write() 374 data = (uint8_t *)data + chunk_len; in spi_flash_at45_write() 375 offset += chunk_len; in spi_flash_at45_write() 376 len -= chunk_len; in spi_flash_at45_write()
|