Searched refs:len_max (Results 1 – 8 of 8) sorted by relevance
53 size_t len_max; member70 size_t len_max; member
60 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()
254 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()
713 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()
459 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()
977 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()
514 uint8_t len_max; in common_pdu_adv_data_set() local521 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()
50 .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()