Searched +full:cq +full:- +full:size (Results 1 – 7 of 7) sorted by relevance
/Zephyr-latest/dts/bindings/i2c/ |
D | i2c-controller.yaml | 1 # Copyright (c) 2017 I-SENSE group of ICCS 2 # SPDX-License-Identifier: Apache-2.0 11 "#address-cells": 14 "#size-cells": 17 clock-frequency: 20 sq-size: 23 description: Size of the submission queue for blocking requests 24 cq-size: 27 description: Size of the completion queue for blocking requests
|
/Zephyr-latest/drivers/disk/nvme/ |
D | nvme_controller.c | 3 * SPDX-License-Identifier: Apache-2.0 28 struct nvme_controller *nvme_ctrlr = dev->data; in nvme_controller_wait_for_ready() 31 k_ms_to_ticks_ceil32(nvme_ctrlr->ready_timeout_in_ms); in nvme_controller_wait_for_ready() 39 return -EIO; in nvme_controller_wait_for_ready() 47 if ((int64_t)timeout - sys_clock_tick_get_32() < 0) { in nvme_controller_wait_for_ready() 49 return -EIO; in nvme_controller_wait_for_ready() 97 struct nvme_controller *nvme_ctrlr = dev->data; in nvme_controller_enable() 130 cc |= 6 << NVME_CC_REG_IOSQES_SHIFT; /* SQ entry size == 64 == 2^6 */ in nvme_controller_enable() 131 cc |= 4 << NVME_CC_REG_IOCQES_SHIFT; /* CQ entry size == 16 == 2^4 */ in nvme_controller_enable() 132 cc |= nvme_ctrlr->mps << NVME_CC_REG_MPS_SHIFT; in nvme_controller_enable() [all …]
|
D | nvme_cmd.c | 3 * SPDX-License-Identifier: Apache-2.0 44 { NVME_SC_ABORTED_POWER_LOSS, "ABORTED - POWER LOSS" }, 46 { NVME_SC_ABORTED_BY_REQUEST, "ABORTED - BY REQUEST" }, 47 { NVME_SC_ABORTED_SQ_DELETION, "ABORTED - SQ DELETION" }, 48 { NVME_SC_ABORTED_FAILED_FUSED, "ABORTED - FAILED FUSED" }, 49 { NVME_SC_ABORTED_MISSING_FUSED, "ABORTED - MISSING FUSED" }, 84 { NVME_SC_MAXIMUM_QUEUE_SIZE_EXCEEDED, "MAX QUEUE SIZE EXCEEDED" }, 109 { NVME_SC_SELF_TEST_IN_PROGRESS, "DEVICE SELF-TEST IN PROGRESS" }, 171 while (entry->sc != 0xFFFF) { in get_status_string() 172 if (entry->sc == sc) { in get_status_string() [all …]
|
/Zephyr-latest/include/zephyr/rtio/ |
D | rtio.h | 4 * SPDX-License-Identifier: Apache-2.0 9 * @brief Real-Time IO device API for moving bytes with low effort 126 * -ECANCELED as the result. 356 /* Ensure the rtio_sqe never grows beyond a common cacheline size of 64 bytes */ 418 * due to the cq spsc being full 437 struct mpsc cq; member 444 * @brief Get the mempool block size of the RTIO context 447 * @return The size of each block in the context's mempool 456 if (r == NULL || r->block_pool == NULL) { in rtio_mempool_block_size() 459 return BIT(r->block_pool->info.blk_sz_shift); in rtio_mempool_block_size() [all …]
|
/Zephyr-latest/doc/services/rtio/ |
D | index.rst | 45 lock-free ring buffers acting as queues shared between the kernel and a userland 95 queue (cq) with completion queue events (cqe). A sqe once completed results in 96 a cqe being pushed into the cq. The ordering of cqe may not be the same order of 109 submissions, transactional sets of submissions, or create multi-shot 145 The memory pool has 128 blocks, each block has the size of 16 bytes, and the data 148 .. code-block:: C 164 only a small change which works with both pre-allocated data buffers as well as 169 .. code-block:: C 183 .. code-block:: C 226 transaction. To change the pool size, set a different value to
|
/Zephyr-latest/tests/subsys/rtio/rtio_api/src/ |
D | test_rtio_api.c | 4 * SPDX-License-Identifier: Apache-2.0 12 #include <zephyr/sys/libc-hooks.h> 32 * Purposefully double the block count and half the block size. This leaves the same size mempool, 34 * size. 56 TC_PRINT("setting up single no-op\n"); in test_rtio_simple_() 67 zassert_ok(cqe->result, "Result should be ok"); in test_rtio_simple_() 68 zassert_equal_ptr(cqe->userdata, &userdata[0], "Expected userdata back"); in test_rtio_simple_() 92 sqe->flags |= RTIO_SQE_NO_RESPONSE; in ZTEST() 120 uintptr_t cq_count = atomic_get(&r->cq_count); in test_rtio_chain_() 127 sqe->flags |= RTIO_SQE_CHAINED; in test_rtio_chain_() [all …]
|
/Zephyr-latest/drivers/i2c/ |
D | i2c_ite_enhance.c | 4 * SPDX-License-Identifier: Apache-2.0 23 #include "i2c-priv.h" 34 #define I2C_CQ_MODE_TX_MAX_PAYLOAD_SIZE (CONFIG_I2C_CQ_MODE_MAX_PAYLOAD_SIZE - 5) 105 * is one byte more than the maximum buffer size. Therefore, it is necessary to 231 struct i2c_enhance_data *data = dev->data; in i2c_parsing_return_value() 233 if (!data->err) { in i2c_parsing_return_value() 238 if (data->err == ETIMEDOUT) { in i2c_parsing_return_value() 239 return -ETIMEDOUT; in i2c_parsing_return_value() 243 if (data->err == E_HOSTA_ACK) { in i2c_parsing_return_value() 244 return -ENXIO; in i2c_parsing_return_value() [all …]
|