Lines Matching refs:ep_mps
281 if (cfg->ep_mps > USB_MAX_CTRL_MPS) { in usb_dc_ep_check_cap()
286 if (cfg->ep_mps > USB_MAX_FS_BULK_MPS) { in usb_dc_ep_check_cap()
291 if (cfg->ep_mps > USB_MAX_FS_INT_MPS) { in usb_dc_ep_check_cap()
296 if (cfg->ep_mps > USB_MAX_FS_ISO_MPS) { in usb_dc_ep_check_cap()
342 LOG_DBG("ep %x, mps %d, type %d", cfg->ep_addr, cfg->ep_mps, in usb_dc_ep_configure()
359 block->data = k_heap_alloc(&ep_buf_pool, cfg->ep_mps * 2U, K_NO_WAIT); in usb_dc_ep_configure()
361 (void)memset(block->data, 0, cfg->ep_mps * 2U); in usb_dc_ep_configure()
369 bdt[idx_odd].buf_addr = (uint32_t)((uint8_t *)block->data + cfg->ep_mps); in usb_dc_ep_configure()
370 LOG_INF("idx_odd %x", (uint32_t)((uint8_t *)block->data + cfg->ep_mps)); in usb_dc_ep_configure()
373 dev_data.ep_ctrl[ep_idx].mps_in = cfg->ep_mps; in usb_dc_ep_configure()
375 dev_data.ep_ctrl[ep_idx].mps_out = cfg->ep_mps; in usb_dc_ep_configure()
378 bdt[idx_even].set.bc = cfg->ep_mps; in usb_dc_ep_configure()
379 bdt[idx_odd].set.bc = cfg->ep_mps; in usb_dc_ep_configure()
859 ep_cfg.ep_mps = USB_CONTROL_EP_MPS; in reenable_control_endpoints()