Searched refs:NUM_OF_EP_MAX (Results 1 – 4 of 4) sorted by relevance
52 #define NUM_OF_EP_MAX DT_INST_PROP(0, num_bidir_endpoints) macro66 struct usb_device_ep_data ep_data[NUM_OF_EP_MAX];269 for (int idx = 1; idx < NUM_OF_EP_MAX; idx++) { in usb_dc_isr()304 for (int ep_idx = 1; ep_idx < NUM_OF_EP_MAX; ep_idx++) { in usb_dc_isr()428 if (ep_idx >= NUM_OF_EP_MAX) { in usb_dc_ep_check_cap()463 bool ep_configured[NUM_OF_EP_MAX]; in usb_dc_ep_configure()464 bool ep_enabled[NUM_OF_EP_MAX]; in usb_dc_ep_configure()541 for (int i = NUM_OF_EP_MAX - 1; i > ep_idx; i--) { in usb_dc_ep_configure()555 for (int i = ep_idx; i < NUM_OF_EP_MAX; i++) { in usb_dc_ep_configure()578 if (ep_idx >= NUM_OF_EP_MAX) { in usb_dc_ep_set_stall()[all …]
73 #define NUM_OF_EP_MAX (DT_INST_PROP(0, num_bidir_endpoints) * 2) macro111 #define EP_BUF_NUMOF_BLOCKS (NUM_OF_EP_MAX / 2)113 #define EP_BUF_NUMOF_BLOCKS NUM_OF_EP_MAX145 static struct usb_ep_ctrl_data s_ep_ctrl[NUM_OF_EP_MAX];270 if (ep_abs_idx >= NUM_OF_EP_MAX) { in usb_dc_ep_check_cap()291 if (ep_abs_idx >= NUM_OF_EP_MAX) { in usb_dc_ep_configure()360 if (ep_abs_idx >= NUM_OF_EP_MAX) { in usb_dc_ep_set_stall()382 if (ep_abs_idx >= NUM_OF_EP_MAX) { in usb_dc_ep_clear_stall()418 if (ep_abs_idx >= NUM_OF_EP_MAX) { in usb_dc_ep_is_stalled()461 if (ep_abs_idx >= NUM_OF_EP_MAX) { in usb_dc_ep_enable()[all …]
23 #define NUM_OF_EP_MAX DT_INST_PROP(0, num_bidir_endpoints) macro99 struct usb_device_ep_data ep_data[NUM_OF_EP_MAX];102 static struct sam_usbc_desc_table dev_desc[(NUM_OF_EP_MAX + 1) * 2];118 static uint32_t dev_ep_sta_dbg[2][NUM_OF_EP_MAX];143 for (int i = 0; i < NUM_OF_EP_MAX; i++) { in usb_dc_sam_usbc_clean_sta_dbg()199 bool ep_enabled[NUM_OF_EP_MAX]; in usb_dc_sam_usbc_ep_alloc_buf()203 if (ep_idx >= NUM_OF_EP_MAX) { in usb_dc_sam_usbc_ep_alloc_buf()214 for (int i = 0; i < NUM_OF_EP_MAX; i++) { in usb_dc_sam_usbc_ep_alloc_buf()230 for (int i = NUM_OF_EP_MAX - 1; i >= ep_idx; i--) { in usb_dc_sam_usbc_ep_alloc_buf()250 for (int i = ep_idx; i < NUM_OF_EP_MAX; i++) { in usb_dc_sam_usbc_ep_alloc_buf()[all …]
24 #define NUM_OF_EP_MAX DT_INST_PROP(0, num_bidir_endpoints) macro77 static struct buf_descriptor __aligned(512) bdt[(NUM_OF_EP_MAX) * 2 * 2];82 #define EP_BUF_NUMOF_BLOCKS (NUM_OF_EP_MAX / 2)115 struct usb_ep_ctrl_data ep_ctrl[NUM_OF_EP_MAX];274 if (ep_idx > (NUM_OF_EP_MAX - 1)) { in usb_dc_ep_check_cap()419 if (ep_idx > (NUM_OF_EP_MAX - 1)) { in usb_dc_ep_set_stall()446 if (ep_idx > (NUM_OF_EP_MAX - 1)) { in usb_dc_ep_clear_stall()481 if (ep_idx > (NUM_OF_EP_MAX - 1)) { in usb_dc_ep_is_stalled()519 if (ep_idx > (NUM_OF_EP_MAX - 1)) { in usb_dc_ep_enable()560 if (ep_idx > (NUM_OF_EP_MAX - 1)) { in usb_dc_ep_disable()[all …]