Searched refs:max_packet_size (Results 1 – 5 of 5) sorted by relevance
833 u32 max_packet_size = 64; in cdns3_ep0_config() local838 max_packet_size = 512; in cdns3_ep0_config()852 priv_dev->gadget.ep0->maxpacket = max_packet_size; in cdns3_ep0_config()853 cdns3_gadget_ep0_desc.wMaxPacketSize = cpu_to_le16(max_packet_size); in cdns3_ep0_config()865 writel(EP_CFG_ENABLE | EP_CFG_MAXPKTSIZE(max_packet_size), in cdns3_ep0_config()874 writel(EP_CFG_ENABLE | EP_CFG_MAXPKTSIZE(max_packet_size), in cdns3_ep0_config()
1552 u32 max_packet_size = 0; in cdns3_ep_config() local1586 max_packet_size = is_iso_ep ? 1023 : 64; in cdns3_ep_config()1589 max_packet_size = is_iso_ep ? 1024 : 512; in cdns3_ep_config()1594 max_packet_size = 1024; in cdns3_ep_config()1611 if (max_packet_size == 1024) in cdns3_ep_config()1613 else if (max_packet_size >= 512) in cdns3_ep_config()1625 ep_cfg |= EP_CFG_MAXPKTSIZE(max_packet_size) | in cdns3_ep_config()
779 int max_packet_size; in xhci_check_maxpacket() local788 max_packet_size = udev->epmaxpacketin[0]; in xhci_check_maxpacket()789 if (hw_max_packet_size != max_packet_size) { in xhci_check_maxpacket()791 debug("Max packet size in usb_device = %d\n", max_packet_size); in xhci_check_maxpacket()802 ep_ctx->ep_info2 |= cpu_to_le32(MAX_PACKET(max_packet_size)); in xhci_check_maxpacket()
262 netobj->net_mode.max_packet_size = PKTSIZE; in efi_net_register()
579 u32 max_packet_size; member