Lines Matching refs:mps
242 const uint16_t mps, in ep_check_config() argument
255 cfg->caps.mps); in ep_check_config()
265 if (USB_MPS_EP_SIZE(mps) > USB_MPS_EP_SIZE(cfg->caps.mps)) { in ep_check_config()
277 (USB_MPS_ADDITIONAL_TRANSACTIONS(mps) && in ep_check_config()
284 (USB_MPS_ADDITIONAL_TRANSACTIONS(mps) && in ep_check_config()
304 uint16_t *const mps) in ep_update_mps() argument
317 *mps = MIN(cfg->caps.mps, spec_bulk_mps); in ep_update_mps()
320 *mps = MIN(cfg->caps.mps, spec_int_mps); in ep_update_mps()
334 uint16_t *const mps, in udc_ep_try_config() argument
348 ret = ep_check_config(dev, cfg, ep, attributes, *mps, interval); in udc_ep_try_config()
349 if (ret == true && *mps == 0U) { in udc_ep_try_config()
350 ep_update_mps(dev, cfg, attributes, mps); in udc_ep_try_config()
361 const uint16_t mps, in udc_ep_enable_internal() argument
378 if (!ep_check_config(dev, cfg, ep, attributes, mps, interval)) { in udc_ep_enable_internal()
384 cfg->mps = mps; in udc_ep_enable_internal()
399 const uint16_t mps, in udc_ep_enable() argument
416 ret = udc_ep_enable_internal(dev, ep, attributes, mps, interval); in udc_ep_enable()