Home
last modified time | relevance | path

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

/Zephyr-Core-3.7.0/include/zephyr/mgmt/ec_host_cmd/
Dbackend.h53 size_t len_max; member
70 size_t len_max; member
/Zephyr-Core-3.7.0/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.c713 hc_spi->tx->len_max = hc_spi->tx->len_max - sizeof(out_preamble) - EC_SPI_PAST_END_LENGTH; in ec_host_cmd_spi_init()
716 if (hc_spi->rx_ctx->len_max > SPI_MAX_REQ_SIZE) { in ec_host_cmd_spi_init()
717 hc_spi->rx_ctx->len_max = SPI_MAX_REQ_SIZE; in ec_host_cmd_spi_init()
719 if (hc_spi->tx->len_max > SPI_MAX_RESP_SIZE) { in ec_host_cmd_spi_init()
720 hc_spi->tx->len_max = SPI_MAX_RESP_SIZE; in ec_host_cmd_spi_init()
Dec_host_cmd_backend_shi_ite.c459 rx_ctx->len_max = CONFIG_EC_HOST_CMD_BACKEND_SHI_MAX_REQUEST; in shi_ite_backend_init()
461 data->tx->len_max = CONFIG_EC_HOST_CMD_BACKEND_SHI_MAX_RESPONSE; in shi_ite_backend_init()
Dec_host_cmd_backend_shi_npcx.c977 rx_ctx->len_max = CONFIG_EC_HOST_CMD_BACKEND_SHI_MAX_REQUEST; in shi_npcx_backend_init()
979 tx->len_max = CONFIG_EC_HOST_CMD_BACKEND_SHI_MAX_RESPONSE; in shi_npcx_backend_init()
/Zephyr-Core-3.7.0/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-Core-3.7.0/subsys/mgmt/ec_host_cmd/
Dec_host_cmd_handler.c50 .len_max = COND_CODE_1(CONFIG_EC_HOST_CMD_HANDLER_RX_BUFFER_DEF,
56 .len_max = COND_CODE_1(CONFIG_EC_HOST_CMD_HANDLER_TX_BUFFER_DEF,
268 if (tx_valid_data_size > tx->len_max) { in prepare_response()
434 args.output_buf_max = tx->len_max - TX_HEADER_SIZE, in ec_host_cmd_thread()