Home
last modified time | relevance | path

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

/system/core/trusty/utils/spiproxyd/
Dmain.c28 int handle_msg(int trusty_dev_fd, int spi_dev_fd) { in handle_msg() argument
34 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() argument
68 int rc = handle_msg(trusty_dev_fd, spi_dev_fd); in event_loop()
116 int trusty_dev_fd; in main() local
126 trusty_dev_fd = rc; in main()
135 return event_loop(trusty_dev_fd, spi_dev_fd); in main()