Lines Matching defs:in
5 * Redistribution and use in source and binary forms, with or without
11 * Redistributions in binary form must reproduce the above copyright notice,
12 * this list of conditions and the following disclaimer in the documentation
22 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
26 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
28 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
65 unsigned char in;
155 /* EP0 IN ACTIVE NEXT=1 */
171 /* IN EP interrupt mask */
218 if (dir) { // IN: to host
295 /* Interrupt unmask: IN event, OUT event, bus reset */
372 void usb_drv_stall(int endpoint, char stall, char in)
381 if (in) {
616 if (ept->in)
917 } else if (size == -1) { // stall:Applies to non-control, non-isochronous IN and OUT endpoints only.
918 usb_drv_stall(0, 1, 1); // IN
921 usb_drv_stall(0, 0, 1); // IN
947 * DCFG:This register configures the core in Device mode after power-on
966 //Set Maximum In Packet Size (MPS)
975 * IN EP event
976 * The core sets this bit to indicate that an interrupt is pending on one of the IN
977 * endpoints of the core (in Device mode). The application must read the
979 * number of the IN endpoint on which the interrupt occurred, and then read
980 * the corresponding Device IN Endpoint-n Interrupt (DIEPINTn) register to
982 * appropriate status bit in the corresponding DIEPINTn register to clear this bit.
988 //VERBOSE("IN EP event,ints:0x%x, DIEPINT0:%x, DAINT:%x, DAINTMSK:%x.\n",
1001 WARN("AHB error on IN EP0.\n");
1005 WARN("Timeout on IN EP0.\n");
1017 * OUT endpoints of the core (in Device mode). The application must read the
1022 * appropriate status bit in the corresponding DOEPINTn register to clear this bit.
1048 * IN Token Received When TxFIFO is Empty (INTknTXFEmp)
1049 * Indicates that an IN token was received when the associated TxFIFO (periodic/nonperiodic)
1050 * was empty. This interrupt is asserted on the endpoint for which the IN token
1059 /*clear IN EP intr*/
1070 * IN Token Received When TxFIFO is Empty (INTknTXFEmp)
1071 * Indicates that an IN token was received when the associated TxFIFO (periodic/nonperiodic)
1072 * was empty. This interrupt is asserted on the endpoint for which the IN token
1484 ep1in.in = 1;
1489 ep1out.in = 0;