Lines Matching defs:smartbond_ep_state
112 struct smartbond_ep_state { struct
113 atomic_t busy;
114 uint8_t *buffer;
115 uint16_t total_len; /** Total length of current transfer */
116 uint16_t transferred; /** Bytes transferred so far */
117 uint16_t mps; /** Endpoint max packet size */
122 uint16_t last_packet_size;
124 usb_dc_ep_callback cb; /** Endpoint callback function */
126 uint8_t data1 : 1; /** DATA0/1 toggle bit 1 DATA1 is expected or transmitted */
127 uint8_t stall : 1; /** Endpoint is stalled */
128 uint8_t iso : 1; /** ISO endpoint */
129 uint8_t enabled : 1; /** Endpoint is enabled */
130 uint8_t ep_addr; /** EP address */
131 struct smartbond_ep_reg_set *regs;