Lines Matching refs:mps
91 uint16_t mps; member
201 int mps; in usb_dc_sam_usbc_ep_alloc_buf() local
209 mps = dev_data.ep_data[ep_idx].mps_x2 in usb_dc_sam_usbc_ep_alloc_buf()
210 ? dev_data.ep_data[ep_idx].mps * 2 in usb_dc_sam_usbc_ep_alloc_buf()
211 : dev_data.ep_data[ep_idx].mps; in usb_dc_sam_usbc_ep_alloc_buf()
220 ? dev_data.ep_data[i].mps * 2 in usb_dc_sam_usbc_ep_alloc_buf()
221 : dev_data.ep_data[i].mps; in usb_dc_sam_usbc_ep_alloc_buf()
224 if ((desc_mem_alloc + mps) > USBC_RAM_SIZE) { in usb_dc_sam_usbc_ep_alloc_buf()
244 ? dev_data.ep_data[i].mps * 2 in usb_dc_sam_usbc_ep_alloc_buf()
245 : dev_data.ep_data[i].mps; in usb_dc_sam_usbc_ep_alloc_buf()
274 ? dev_data.ep_data[i].mps in usb_dc_sam_usbc_ep_alloc_buf()
282 ? dev_data.ep_data[i].mps * 2 in usb_dc_sam_usbc_ep_alloc_buf()
283 : dev_data.ep_data[i].mps; in usb_dc_sam_usbc_ep_alloc_buf()
926 dev_data.ep_data[ep_idx].mps = cfg->ep_mps; in usb_dc_ep_configure()
1259 packet_len = MIN(data_len, dev_data.ep_data[ep_idx].mps); in usb_dc_ep_write()
1460 return dev_data.ep_data[ep_idx].mps; in usb_dc_ep_mps()