Lines Matching refs:mps
117 uint16_t mps; /** Endpoint max packet size */ member
373 if (remaining > ep_state->mps - ep_state->last_packet_size) { in fill_tx_fifo()
374 remaining = ep_state->mps - ep_state->last_packet_size; in fill_tx_fifo()
452 if (ep_state->mps > DMA_MIN_TRANSFER_SIZE) { in start_rx_packet()
456 ep_state->mps); in start_rx_packet()
457 } else if (ep_state->mps > EP_FIFO_SIZE) { in start_rx_packet()
494 uint16_t size = MIN(remaining, ep_state->mps); in start_tx_packet()
528 uint16_t remaining = ep_state->mps - ep_state->last_packet_size; in read_rx_fifo()
1150 dev_state.ep_state[0][0].mps = EP0_FIFO_SIZE; in usb_init()
1151 dev_state.ep_state[1][0].mps = EP0_FIFO_SIZE; in usb_init()
1202 return ep_state->mps; in usb_dc_ep_mps()
1452 ep_state->mps = EP0_FIFO_SIZE; in usb_dc_ep_configure()
1454 ep_state->mps = ep_cfg->ep_mps; in usb_dc_ep_configure()