Searched refs:trusty_dev_fd (Results 1 – 1 of 1) sorted by relevance
28 int handle_msg(int trusty_dev_fd, int spi_dev_fd) { in handle_msg() argument34 rc = read(trusty_dev_fd, &msg_buf, sizeof(msg_buf)); in handle_msg()57 rc = write(trusty_dev_fd, &msg_buf, msg_len); in handle_msg()66 int event_loop(int trusty_dev_fd, int spi_dev_fd) { in event_loop() argument68 int rc = handle_msg(trusty_dev_fd, spi_dev_fd); in event_loop()116 int trusty_dev_fd; in main() local126 trusty_dev_fd = rc; in main()135 return event_loop(trusty_dev_fd, spi_dev_fd); in main()