Lines Matching refs:status
196 const enum ec_host_cmd_status status) in send_status_response() argument
201 tx_header->result = status; in send_status_response()
296 int ec_host_cmd_send_response(enum ec_host_cmd_status status, in ec_host_cmd_send_response() argument
308 if (status != EC_HOST_CMD_SUCCESS) { in ec_host_cmd_send_response()
312 LOG_INF("HC 0x%04x err %d", rx_header->cmd_id, status); in ec_host_cmd_send_response()
313 send_status_response(hc->backend, tx, status); in ec_host_cmd_send_response()
314 return status; in ec_host_cmd_send_response()
323 status = prepare_response(tx, args->output_buf_size); in ec_host_cmd_send_response()
324 if (status != EC_HOST_CMD_SUCCESS) { in ec_host_cmd_send_response()
325 send_status_response(hc->backend, tx, status); in ec_host_cmd_send_response()
326 return status; in ec_host_cmd_send_response()
393 enum ec_host_cmd_status status; in ec_host_cmd_thread() local
444 status = validate_handler(found_handler, &args); in ec_host_cmd_thread()
445 if (status != EC_HOST_CMD_SUCCESS) { in ec_host_cmd_thread()
446 ec_host_cmd_send_response(status, &args); in ec_host_cmd_thread()
456 status = found_handler->handler(&args); in ec_host_cmd_thread()
458 ec_host_cmd_send_response(status, &args); in ec_host_cmd_thread()