Lines Matching refs:ep_data
66 struct usb_device_ep_data ep_data[NUM_OF_EP_MAX]; member
154 dev_data.ep_data[ep_idx].fifo = p; in usb_dc_ep_fifo_reset()
160 return *(dev_data.ep_data[ep_idx].fifo++); in usb_dc_ep_fifo_get()
166 *(dev_data.ep_data[ep_idx].fifo++) = data; in usb_dc_ep_fifo_put()
178 dev_data.ep_data[0].cb_out(USB_EP_DIR_OUT, USB_DC_EP_SETUP); in usb_dc_ep0_isr()
183 dev_data.ep_data[0].cb_out(USB_EP_DIR_OUT, USB_DC_EP_DATA_OUT); in usb_dc_ep0_isr()
191 dev_data.ep_data[0].cb_in(USB_EP_DIR_IN, USB_DC_EP_DATA_IN); in usb_dc_ep0_isr()
218 dev_data.ep_data[ep_idx].cb_out(ep, USB_DC_EP_DATA_OUT); in usb_dc_ep_isr()
228 dev_data.ep_data[ep_idx].cb_in(ep, USB_DC_EP_DATA_IN); in usb_dc_ep_isr()
251 if (!usb_dc_ep_is_configured(0) && dev_data.ep_data[0].mps) { in usb_dc_isr()
255 .ep_mps = dev_data.ep_data[0].mps, in usb_dc_isr()
522 dev_data.ep_data[ep_idx].mps = cfg->ep_mps; in usb_dc_ep_configure()
748 packet_len = MIN(data_len, dev_data.ep_data[ep_idx].mps); in usb_dc_ep_write()
817 dev_data.ep_data[ep_idx].cb_in = cb; in usb_dc_ep_set_callback()
819 dev_data.ep_data[ep_idx].cb_out = cb; in usb_dc_ep_set_callback()
935 return dev_data.ep_data[ep_idx].mps; in usb_dc_ep_mps()