Lines Matching refs:controlEp
48 Base::CloseFd(controlEp); in ~HdcDaemonUSB()
154 if (controlEp <= 0) { in ConnectEPPoint()
160 if ((controlEp = open(ep0Path.c_str(), O_RDWR)) < 0) { in ConnectEPPoint()
164 if (write(controlEp, &descUsbFfs, sizeof(descUsbFfs)) < 0) { in ConnectEPPoint()
168 if (write(controlEp, &USB_FFS_VALUE, sizeof(USB_FFS_VALUE)) < 0) { in ConnectEPPoint()
187 fcntl(controlEp, F_SETFD, FD_CLOEXEC); in ConnectEPPoint()
206 if (controlEp > 0 && closeCtrlEp) { in CloseEndpoint()
207 Base::CloseFd(controlEp); in CloseEndpoint()
208 controlEp = 0; in CloseEndpoint()
623 if (thisClass->controlEp > 0) { in WatchEPTimer()
624 Base::CloseFd(thisClass->controlEp); in WatchEPTimer()