Searched refs:max_pkt_size (Results 1 – 3 of 3) sorted by relevance
101 int max_pkt_size; member559 if (!(pkt = add_packet(ep, &ep->outlist, ep->max_pkt_size))) { in kickstart_receive_packet()566 set_dma_count1(ep->outdma, ep->max_pkt_size); in kickstart_receive_packet()572 set_dma_count0(ep->outdma, ep->max_pkt_size); in kickstart_receive_packet()604 pkt->size = ep->max_pkt_size - get_dma_residue(ep->outdma); in receive_packet_complete()1176 if (data_size > ep->max_pkt_size) in usbdev_alloc_packet()1363 ep0->max_pkt_size = USBDEV_EP0_MAX_PACKET_SIZE; in usbdev_init()1406 ep->max_pkt_size = epd->wMaxPacketSize; in usbdev_init()1446 au_writel(((ep->max_pkt_size & 0x380) >> 7) | in usbdev_init()1449 au_writel((ep->max_pkt_size & 0x7f) << 1, USBD_CONFIG); in usbdev_init()
1250 u32 max_pkt_size; in i2o_lan_change_mtu() local1253 0x0000, 6, &max_pkt_size, 4) < 0) in i2o_lan_change_mtu()1256 if (new_mtu < 68 || new_mtu > 9000 || new_mtu > max_pkt_size) in i2o_lan_change_mtu()
2919 int max_pkt_size = dev->mtu+14; /* MTU+Ethernet header */ in set_8021q_mode() local2921 max_pkt_size += 4; /* 802.1Q VLAN tag */ in set_8021q_mode()2924 outw(max_pkt_size, ioaddr+Wn3_MaxPktSize); in set_8021q_mode()