Lines Matching refs:ep_mps

155 	uint16_t ep_mps;		/** Endpoint max packet size */  member
563 usb_dc_stm32_state.out_ep_state[EP0_IDX].ep_mps = EP0_MPS; in usb_dc_stm32_init()
565 usb_dc_stm32_state.in_ep_state[EP0_IDX].ep_mps = EP0_MPS; in usb_dc_stm32_init()
748 LOG_DBG("ep %x, mps %d, type %d", cfg->ep_addr, cfg->ep_mps, in usb_dc_ep_check_cap()
774 ep_cfg->ep_addr, ep_state->ep_mps, ep_cfg->ep_mps, in usb_dc_ep_configure()
777 if (ep_cfg->ep_mps > ep_state->ep_pma_buf_len) { in usb_dc_ep_configure()
780 (usb_dc_stm32_state.pma_offset + ep_cfg->ep_mps*2)) { in usb_dc_ep_configure()
784 (usb_dc_stm32_state.pma_offset + ep_cfg->ep_mps)) { in usb_dc_ep_configure()
791 ((usb_dc_stm32_state.pma_offset + ep_cfg->ep_mps) << 16)); in usb_dc_ep_configure()
792 ep_state->ep_pma_buf_len = ep_cfg->ep_mps*2; in usb_dc_ep_configure()
793 usb_dc_stm32_state.pma_offset += ep_cfg->ep_mps*2; in usb_dc_ep_configure()
797 ep_state->ep_pma_buf_len = ep_cfg->ep_mps; in usb_dc_ep_configure()
798 usb_dc_stm32_state.pma_offset += ep_cfg->ep_mps; in usb_dc_ep_configure()
802 ep_state->ep_mps = ep_cfg->ep_mps*2; in usb_dc_ep_configure()
804 ep_state->ep_mps = ep_cfg->ep_mps; in usb_dc_ep_configure()
807 ep_state->ep_mps = ep_cfg->ep_mps; in usb_dc_ep_configure()
903 LOG_DBG("HAL_PCD_EP_Open(0x%02x, %u, %u)", ep, ep_state->ep_mps, in usb_dc_ep_enable()
907 ep_state->ep_mps, ep_state->ep_type); in usb_dc_ep_enable()
917 ep_state->ep_mps); in usb_dc_ep_enable()
1056 ep_state->ep_mps); in usb_dc_ep_read_continue()
1102 return ep_state->ep_mps; in usb_dc_ep_mps()