Home
last modified time | relevance | path

Searched refs:len_max (Results 1 – 8 of 8) sorted by relevance

/Zephyr-latest/include/zephyr/mgmt/ec_host_cmd/
Dbackend.h53 size_t len_max; member
70 size_t len_max; member
/Zephyr-latest/subsys/mgmt/ec_host_cmd/backends/
Dec_host_cmd_backend_espi.c60 const size_t shared_size = hc_espi->tx->len_max; in espi_handler()
115 &tx->len_max); in ec_host_cmd_espi_init()
118 hc_espi->rx_ctx->len_max = in ec_host_cmd_espi_init()
119 MIN(CONFIG_EC_HOST_CMD_HANDLER_RX_BUFFER_SIZE, hc_espi->tx->len_max); in ec_host_cmd_espi_init()
Dec_host_cmd_backend_uart.c254 if (hc_uart->rx_ctx->len_max > UART_MAX_REQ_SIZE) { in ec_host_cmd_uart_init()
255 hc_uart->rx_ctx->len_max = UART_MAX_REQ_SIZE; in ec_host_cmd_uart_init()
257 if (hc_uart->tx_buf->len_max > UART_MAX_RESP_SIZE) { in ec_host_cmd_uart_init()
258 hc_uart->tx_buf->len_max = UART_MAX_RESP_SIZE; in ec_host_cmd_uart_init()
Dec_host_cmd_backend_spi_stm32.c743 hc_spi->tx->len_max = hc_spi->tx->len_max - sizeof(out_preamble) - EC_SPI_PAST_END_LENGTH; in ec_host_cmd_spi_init()
746 if (hc_spi->rx_ctx->len_max > SPI_MAX_REQ_SIZE) { in ec_host_cmd_spi_init()
747 hc_spi->rx_ctx->len_max = SPI_MAX_REQ_SIZE; in ec_host_cmd_spi_init()
749 if (hc_spi->tx->len_max > SPI_MAX_RESP_SIZE) { in ec_host_cmd_spi_init()
750 hc_spi->tx->len_max = SPI_MAX_RESP_SIZE; in ec_host_cmd_spi_init()
Dec_host_cmd_backend_shi_ite.c502 rx_ctx->len_max = CONFIG_EC_HOST_CMD_BACKEND_SHI_MAX_REQUEST; in shi_ite_backend_init()
504 data->tx->len_max = CONFIG_EC_HOST_CMD_BACKEND_SHI_MAX_RESPONSE; in shi_ite_backend_init()
Dec_host_cmd_backend_shi_npcx.c1037 rx_ctx->len_max = CONFIG_EC_HOST_CMD_BACKEND_SHI_MAX_REQUEST; in shi_npcx_backend_init()
1039 tx->len_max = CONFIG_EC_HOST_CMD_BACKEND_SHI_MAX_RESPONSE; in shi_npcx_backend_init()
/Zephyr-latest/tests/bluetooth/df/connectionless_cte_chains/src/
Dcommon.c514 uint8_t len_max; in common_pdu_adv_data_set() local
521 len_max = PDU_AC_PAYLOAD_SIZE_MAX - (dptr - pdu->payload); in common_pdu_adv_data_set()
522 zassert_false(len > len_max, in common_pdu_adv_data_set()
524 len_max); in common_pdu_adv_data_set()
/Zephyr-latest/subsys/mgmt/ec_host_cmd/
Dec_host_cmd_handler.c57 .len_max = COND_CODE_1(CONFIG_EC_HOST_CMD_HANDLER_RX_BUFFER_DEF,
63 .len_max = COND_CODE_1(CONFIG_EC_HOST_CMD_HANDLER_TX_BUFFER_DEF,
275 if (tx_valid_data_size > tx->len_max) { in prepare_response()
441 args.output_buf_max = tx->len_max - TX_HEADER_SIZE, in ec_host_cmd_thread()