Lines Matching refs:controlEp
48 Base::CloseFd(controlEp);
155 if (controlEp <= 0) {
161 if ((controlEp = open(ep0Path.c_str(), O_RDWR)) < 0) {
165 if (write(controlEp, &descUsbFfs, sizeof(descUsbFfs)) < 0) {
169 if (write(controlEp, &USB_FFS_VALUE, sizeof(USB_FFS_VALUE)) < 0) {
190 fcntl(controlEp, F_SETFD, FD_CLOEXEC);
209 if (controlEp > 0 && closeCtrlEp) {
210 Base::CloseFd(controlEp);
211 controlEp = 0;
702 if (thisClass->controlEp > 0) {
703 Base::CloseFd(thisClass->controlEp);