Searched refs:tr_driver (Results 1 – 1 of 1) sorted by relevance
37 int pw_driver, tr_driver; variable93 tr_driver = pw_driver; in device_open()95 OSI_loge("pw_driver: %d, tr_driver: %d", pw_driver, tr_driver); in device_open()101 close(tr_driver); in device_open()113 close(tr_driver); in device_close()117 tr_driver = -1; in device_close()178 ret = write(tr_driver, data + total, len); in device_write()218 ret = read(tr_driver, buffer + total, len); in device_read()259 max_fd = (close_pipe[0] > tr_driver) ? close_pipe[0] : tr_driver; in read_thread()263 if (tr_driver < 0) { in read_thread()[all …]