Lines Matching refs:command
327 api_command_t command; member
355 switch(response->command) in invoke_callback()
371 uint8_t command = 0; in renode_receive_event() local
375 return_error_if_fails(renode_receive_bytes(renode, &command, 1)); in renode_receive_event()
382 event->command = command; in renode_receive_event()
395 static renode_error_t *renode_receive_response(renode_t *renode, api_command_t *command, void **dat… in renode_receive_response() argument
413 if (*command == EVENT || *command == ANY_COMMAND) { in renode_receive_response()
414 *command = EVENT; in renode_receive_response()
484 if (*command != ANY_COMMAND && received_command != *command) { in renode_receive_response()
487 *command = received_command; in renode_receive_response()
579 api_command_t command; in renode_run_for() local
581 command = ANY_COMMAND; in renode_run_for()
585 …return_error_if_fails(renode_receive_response(renode, &command, &buffer, sizeof(data), &response_s… in renode_run_for()
587 if (command == RUN_FOR) { in renode_run_for()
591 if (command != EVENT) { in renode_run_for()
603 while(command != RUN_FOR); in renode_run_for()
655 int8_t command; member
675 .command = GET_CHANNEL_COUNT, in renode_get_adc_channel_count()
695 .command = GET_CHANNEL_VALUE, in renode_get_adc_channel_value()
716 .command = SET_CHANNEL_VALUE, in renode_set_adc_channel_value()
751 int8_t command; member
767 .command = GET_STATE, in renode_get_gpio_state()
789 .command = SET_STATE, in renode_set_gpio_state()
811 int8_t command; member
823 .command = REGISTER_EVENT, in renode_register_gpio_state_change_callback()