| /freebsd-13.1/sys/dev/usb/template/ |
| H A D | usb_template.c | 647 uint16_t max_frame_size; in usb_hw_ep_find_match() local 705 max_frame_size = pf->max_in_frame_size; in usb_hw_ep_find_match() 707 max_frame_size = pf->max_out_frame_size; in usb_hw_ep_find_match() 710 if (max_frame_size >= ep->max_frame_size) { in usb_hw_ep_find_match() 711 temp = (max_frame_size - ep->max_frame_size); in usb_hw_ep_find_match() 870 ep_curr->max_frame_size) { in usb_hw_ep_get_needs() 883 if (ep_curr->max_frame_size < wMaxPacketSize) { in usb_hw_ep_get_needs() 884 ep_curr->max_frame_size = wMaxPacketSize; in usb_hw_ep_get_needs()
|
| /freebsd-13.1/sys/dev/e1000/ |
| H A D | e1000_api.h | 156 min_frame_size, max_frame_size) \ argument 162 ((length) <= ((max_frame_size) + 1))) : \ 164 ((length) <= ((max_frame_size) + VLAN_TAG_SIZE + 1)))))
|
| H A D | e1000_82543.h | 53 u32 max_frame_size);
|
| H A D | if_em.c | 1236 int max_frame_size; in em_if_mtu_set() local 1258 max_frame_size = 9234; in em_if_mtu_set() 1261 max_frame_size = 4096; in em_if_mtu_set() 1266 max_frame_size = ETHER_MAX_LEN; in em_if_mtu_set() 1270 max_frame_size = 9234; in em_if_mtu_set() 2368 u16 max_frame_size; in igb_init_dmac() local 2395 dmac = pba - max_frame_size / 512; in igb_init_dmac() 2450 (2 * max_frame_size)) >> 6); in igb_init_dmac() 2505 if (hw->mac.max_frame_size > 8192) in em_reset() 2530 if (hw->mac.max_frame_size > 4096) in em_reset() [all …]
|
| /freebsd-13.1/sys/dev/usb/controller/ |
| H A D | uhci.c | 135 uint16_t max_frame_size; member 146 uint16_t max_frame_size; member 211 ml->max_frame_size = xfer->max_frame_size; in uhci_mem_layout_init() 1653 temp.average = xfer->max_frame_size; in uhci_setup_standard_chain() 1654 temp.max_frame_size = xfer->max_frame_size; in uhci_setup_standard_chain() 2163 if (*plen > xfer->max_frame_size) { in uhci_device_isoc_enter() 2170 xfer->max_frame_size); in uhci_device_isoc_enter() 2173 *plen = xfer->max_frame_size; in uhci_device_isoc_enter() 2856 align = xfer->max_frame_size; in uhci_xfer_setup() 2864 if (!(xfer->max_frame_size & in uhci_xfer_setup() [all …]
|
| H A D | musb_otg.c | 203 if (td->max_frame_size > in musbotg_channel_alloc() 207 if (td->max_frame_size > in musbotg_channel_alloc() 683 if (count != td->max_frame_size) { in musbotg_dev_ctrl_data_rx() 684 if (count < td->max_frame_size) { in musbotg_dev_ctrl_data_rx() 810 count = td->max_frame_size; in musbotg_dev_ctrl_data_tx() 969 if (count != td->max_frame_size) { in musbotg_host_ctrl_data_rx() 1155 count = td->max_frame_size; in musbotg_host_ctrl_data_tx() 1616 count = td->max_frame_size; in musbotg_dev_data_tx() 2012 count = td->max_frame_size; in musbotg_host_data_tx() 2410 temp.max_frame_size = xfer->max_frame_size; in musbotg_setup_standard_chain() [all …]
|
| H A D | musb_otg.h | 320 uint16_t max_frame_size; /* packet_size * mult */ member 345 uint16_t max_frame_size; member
|
| H A D | saf1761_otg.h | 97 uint16_t max_frame_size; member
|
| H A D | atmegadci.h | 220 uint16_t max_frame_size; member
|
| H A D | dwc_otg.h | 109 uint16_t max_frame_size; member
|
| H A D | ehci.c | 142 uint16_t max_frame_size; member 1587 if (temp->len % temp->max_frame_size) { in ehci_setup_standard_chain_sub() 1644 if (howmany(average, temp->max_frame_size) & 1) { in ehci_setup_standard_chain_sub() 1749 temp.max_frame_size = xfer->max_frame_size; in ehci_setup_standard_chain() 2497 if (*plen > xfer->max_frame_size) { in ehci_device_isoc_fs_enter() 2504 xfer->max_frame_size); in ehci_device_isoc_fs_enter() 2507 *plen = xfer->max_frame_size; in ehci_device_isoc_fs_enter() 2765 if (*plen > xfer->max_frame_size) { in ehci_device_isoc_hs_enter() 2771 __FUNCTION__, *plen, xfer->max_frame_size); in ehci_device_isoc_hs_enter() 2774 *plen = xfer->max_frame_size; in ehci_device_isoc_hs_enter()
|
| H A D | avr32dci.h | 187 uint16_t max_frame_size; member
|
| /freebsd-13.1/sys/dev/ixgbe/ |
| H A D | if_sriov.c | 157 if (sc->max_frame_size < max_frame) in ixgbe_update_max_frame() 158 sc->max_frame_size = max_frame; in ixgbe_update_max_frame() 278 if (sc->max_frame_size > ETHER_MAX_LEN || in ixgbe_vf_frame_size_compatible() 298 if (sc->max_frame_size <= ETHER_MAX_LEN) in ixgbe_vf_frame_size_compatible() 505 if (pf_max_size < sc->max_frame_size) { in ixgbe_vf_set_lpe() 507 mhadd |= sc->max_frame_size << IXGBE_MHADD_MFS_SHIFT; in ixgbe_vf_set_lpe()
|
| H A D | ixgbe_dcb.c | 54 int max_frame_size) in ixgbe_dcb_calculate_tc_credits() argument 60 min_credit = ((max_frame_size / 2) + IXGBE_DCB_CREDIT_QUANTUM - 1) / in ixgbe_dcb_calculate_tc_credits() 97 u32 max_frame_size, u8 direction) in ixgbe_dcb_calculate_tc_credits_cee() argument 116 min_credit = ((max_frame_size / 2) + IXGBE_DCB_CREDIT_QUANTUM - 1) / in ixgbe_dcb_calculate_tc_credits_cee()
|
| /freebsd-13.1/sys/mips/cavium/usb/ |
| H A D | octusb.h | 71 uint16_t max_frame_size; member
|
| H A D | octusb.c | 461 rem = OCTUSB_MAX_FIXUP % td->qh->max_frame_size; in octusb_non_control_data_tx() 473 if ((rem == 0) || (rem % td->qh->max_frame_size)) in octusb_non_control_data_tx() 588 rem = OCTUSB_MAX_FIXUP % td->qh->max_frame_size; in octusb_non_control_data_rx() 1762 qh->max_frame_size = xfer->max_frame_size; in octusb_xfer_setup()
|
| /freebsd-13.1/sys/dev/qlxgb/ |
| H A D | qla_def.h | 152 uint16_t max_frame_size; member
|
| H A D | qla_os.c | 685 ha->max_frame_size = ifp->if_mtu + ETHER_HDR_LEN + ETHER_CRC_LEN; in qla_init_ifnet() 835 ha->max_frame_size = in qla_ioctl() 838 ret = qla_set_max_mtu(ha, ha->max_frame_size, in qla_ioctl() 865 ha->max_frame_size = ifp->if_mtu + in qla_ioctl() 867 ret = qla_set_max_mtu(ha, ha->max_frame_size, in qla_ioctl()
|
| /freebsd-13.1/sys/dev/bxe/ |
| H A D | ecore_mfw_req.h | 175 uint32_t max_frame_size; /* Max Frame Size. bytes */ member
|
| /freebsd-13.1/sys/dev/igc/ |
| H A D | if_igc.c | 591 scctx->isc_max_frame_size = adapter->hw.mac.max_frame_size = in igc_if_attach_pre() 773 int max_frame_size; in igc_if_mtu_set() local 780 max_frame_size = 9234; in igc_if_mtu_set() 782 if (mtu > max_frame_size - ETHER_HDR_LEN - ETHER_CRC_LEN) { in igc_if_mtu_set() 786 scctx->isc_max_frame_size = adapter->hw.mac.max_frame_size = in igc_if_mtu_set() 1522 u16 max_frame_size; in igc_init_dmac() local 1525 max_frame_size = adapter->shared->isc_max_frame_size; in igc_init_dmac() 1536 hwm = 64 * pba - max_frame_size / 16; in igc_init_dmac() 1545 dmac = pba - max_frame_size / 512; in igc_init_dmac() 1592 (2 * max_frame_size)) >> 6); in igc_init_dmac() [all …]
|
| /freebsd-13.1/sys/dev/usb/ |
| H A D | usb_core.h | 168 uint16_t max_frame_size; member
|
| H A D | usb_transfer.c | 173 xfer->max_frame_size = xfer->max_packet_size * xfer->max_packet_count; in usbd_update_max_frame_size() 714 if ((xfer->max_frame_size == 0) || in usbd_transfer_setup_sub() 742 parm->bufsize = xfer->max_frame_size; in usbd_transfer_setup_sub() 756 parm->bufsize += (xfer->max_frame_size - 1); in usbd_transfer_setup_sub() 758 if (parm->bufsize < xfer->max_frame_size) { in usbd_transfer_setup_sub() 765 parm->bufsize -= (parm->bufsize % xfer->max_frame_size); in usbd_transfer_setup_sub() 920 (parm->hc_max_frame_size % xfer->max_frame_size)); in usbd_transfer_setup_sub() 952 xfer->max_frame_size = 1; in usbd_transfer_setup_sub() 2312 return (xfer->max_frame_size); in usbd_xfer_max_framelen()
|
| H A D | usb_generic.c | 164 f->xfer[0]->max_frame_size, in ugen_transfer_setup() 551 offset += xfer->max_frame_size; in ugen_isoc_read_callback() 558 usbd_xfer_set_frame_len(xfer, n, xfer->max_frame_size); in ugen_isoc_read_callback() 588 xfer->max_frame_size, &actlen, 1)) { in ugen_isoc_write_callback() 1538 f->fs_xfer[u.popen->ep_index]->max_frame_size; in ugen_ioctl() 1649 *(int *)addr = f->xfer[0]->max_frame_size; in ugen_get_frame_size()
|
| /freebsd-13.1/sys/dev/qlxge/ |
| H A D | qls_os.c | 745 ha->max_frame_size = ifp->if_mtu + ETHER_HDR_LEN + ETHER_CRC_LEN; in qls_init_ifnet() 746 if (ha->max_frame_size <= MCLBYTES) { in qls_init_ifnet() 748 } else if (ha->max_frame_size <= MJUMPAGESIZE) { in qls_init_ifnet() 903 ha->max_frame_size = in qls_ioctl() 930 ha->max_frame_size = ifp->if_mtu + in qls_ioctl()
|
| /freebsd-13.1/sys/dev/qlxgbe/ |
| H A D | ql_def.h | 181 uint16_t max_frame_size; member
|