Searched refs:dev_ret (Results 1 – 1 of 1) sorted by relevance
319 adf_hwc_helper *dev_ret = new adf_hwc_helper; in adf_hwc_open() local320 dev_ret->event_cb = event_cb; in adf_hwc_open()321 dev_ret->event_cb_data = event_cb_data; in adf_hwc_open()333 dev_ret->intf_fds.push_back(dup_intf_fd); in adf_hwc_open()349 ret = pthread_create(&dev_ret->event_thread, NULL, adf_event_thread, in adf_hwc_open()350 dev_ret); in adf_hwc_open()356 *dev = dev_ret; in adf_hwc_open()360 for (size_t i = 0; i < dev_ret->intf_fds.size(); i++) in adf_hwc_open()361 close(dev_ret->intf_fds[i]); in adf_hwc_open()363 delete dev_ret; in adf_hwc_open()