/freebsd/sys/dev/usb/template/ |
H A D | usb_template.c | 646 uint16_t max_frame_size; in usb_hw_ep_find_match() local 704 max_frame_size = pf->max_in_frame_size; in usb_hw_ep_find_match() 706 max_frame_size = pf->max_out_frame_size; in usb_hw_ep_find_match() 709 if (max_frame_size >= ep->max_frame_size) { in usb_hw_ep_find_match() 710 temp = (max_frame_size - ep->max_frame_size); in usb_hw_ep_find_match() 869 ep_curr->max_frame_size) { in usb_hw_ep_get_needs() 882 if (ep_curr->max_frame_size < wMaxPacketSize) { in usb_hw_ep_get_needs() 883 ep_curr->max_frame_size = wMaxPacketSize; in usb_hw_ep_get_needs()
|
/freebsd/sys/dev/e1000/ |
H A D | e1000_api.h | 155 min_frame_size, max_frame_size) \ argument 161 ((length) <= ((max_frame_size) + 1))) : \ 163 ((length) <= ((max_frame_size) + VLAN_TAG_SIZE + 1)))))
|
H A D | e1000_82543.h | 52 u32 max_frame_size);
|
H A D | if_em.c | 1258 scctx->isc_max_frame_size = hw->mac.max_frame_size = in em_if_attach_pre() 1470 int max_frame_size; in em_if_mtu_set() local 1493 max_frame_size = 9234; in em_if_mtu_set() 1496 max_frame_size = 4096; in em_if_mtu_set() 1501 max_frame_size = ETHER_MAX_LEN; in em_if_mtu_set() 1505 max_frame_size = 9234; in em_if_mtu_set() 1507 max_frame_size = MAX_JUMBO_FRAME_SIZE; in em_if_mtu_set() 1509 if (mtu > max_frame_size - ETHER_HDR_LEN - ETHER_CRC_LEN) { in em_if_mtu_set() 1513 scctx->isc_max_frame_size = sc->hw.mac.max_frame_size = in em_if_mtu_set() 2838 u16 max_frame_size; in igb_init_dmac() local [all …]
|
/freebsd/sys/dev/usb/controller/ |
H A D | uhci.c | 134 uint16_t max_frame_size; member 145 uint16_t max_frame_size; member 210 ml->max_frame_size = xfer->max_frame_size; in uhci_mem_layout_init() 1650 temp.average = xfer->max_frame_size; in uhci_setup_standard_chain() 1651 temp.max_frame_size = xfer->max_frame_size; in uhci_setup_standard_chain() 2160 if (*plen > xfer->max_frame_size) { in uhci_device_isoc_enter() 2167 xfer->max_frame_size); in uhci_device_isoc_enter() 2170 *plen = xfer->max_frame_size; in uhci_device_isoc_enter() 2799 + (xfer->max_data_length / xfer->max_frame_size)); in uhci_xfer_setup() 2809 + (xfer->max_data_length / xfer->max_frame_size)); in uhci_xfer_setup() [all …]
|
H A D | musb_otg.c | 202 if (td->max_frame_size > in musbotg_channel_alloc() 206 if (td->max_frame_size > in musbotg_channel_alloc() 682 if (count != td->max_frame_size) { in musbotg_dev_ctrl_data_rx() 683 if (count < td->max_frame_size) { in musbotg_dev_ctrl_data_rx() 809 count = td->max_frame_size; in musbotg_dev_ctrl_data_tx() 968 if (count != td->max_frame_size) { in musbotg_host_ctrl_data_rx() 969 if (count < td->max_frame_size) { in musbotg_host_ctrl_data_rx() 1154 count = td->max_frame_size; in musbotg_host_ctrl_data_tx() 1478 if (count != td->max_frame_size) { in musbotg_dev_data_rx() 1479 if (count < td->max_frame_size) { in musbotg_dev_data_rx() [all …]
|
H A D | musb_otg.h | 319 uint16_t max_frame_size; /* packet_size * mult */ member 344 uint16_t max_frame_size; member
|
H A D | ehci.c | 141 uint16_t max_frame_size; member 1586 if (temp->len % temp->max_frame_size) { in ehci_setup_standard_chain_sub() 1643 if (howmany(average, temp->max_frame_size) & 1) { in ehci_setup_standard_chain_sub() 1748 temp.max_frame_size = xfer->max_frame_size; in ehci_setup_standard_chain() 2496 if (*plen > xfer->max_frame_size) { in ehci_device_isoc_fs_enter() 2503 xfer->max_frame_size); in ehci_device_isoc_fs_enter() 2506 *plen = xfer->max_frame_size; in ehci_device_isoc_fs_enter() 2764 if (*plen > xfer->max_frame_size) { in ehci_device_isoc_hs_enter() 2770 __FUNCTION__, *plen, xfer->max_frame_size); in ehci_device_isoc_hs_enter() 2773 *plen = xfer->max_frame_size; in ehci_device_isoc_hs_enter()
|
H A D | atmegadci.h | 219 uint16_t max_frame_size; member
|
H A D | dwc_otg.h | 108 uint16_t max_frame_size; member
|
H A D | avr32dci.h | 186 uint16_t max_frame_size; member
|
H A D | uss820dci.h | 297 uint16_t max_frame_size; member
|
H A D | ohci.c | 133 uint16_t max_frame_size; member 1285 if (temp->len % temp->max_frame_size) { in ohci_setup_standard_chain_sub() 1393 temp.max_frame_size = xfer->max_frame_size; in ohci_setup_standard_chain() 1545 OHCI_ED_SET_MAXP(xfer->max_frame_size)); in ohci_setup_standard_chain() 1956 OHCI_ED_SET_MAXP(xfer->max_frame_size)); in ohci_device_isoc_enter()
|
/freebsd/sys/dev/ixgbe/ |
H A D | if_sriov.c | 156 if (sc->max_frame_size < max_frame) in ixgbe_update_max_frame() 157 sc->max_frame_size = max_frame; in ixgbe_update_max_frame() 287 if (sc->max_frame_size > ETHER_MAX_LEN || in ixgbe_vf_frame_size_compatible() 307 if (sc->max_frame_size <= ETHER_MAX_LEN) in ixgbe_vf_frame_size_compatible() 516 if (pf_max_size < sc->max_frame_size) { in ixgbe_vf_set_lpe() 518 mhadd |= sc->max_frame_size << IXGBE_MHADD_MFS_SHIFT; in ixgbe_vf_set_lpe()
|
H A D | ixgbe_dcb.c | 53 int max_frame_size) in ixgbe_dcb_calculate_tc_credits() argument 59 min_credit = ((max_frame_size / 2) + IXGBE_DCB_CREDIT_QUANTUM - 1) / in ixgbe_dcb_calculate_tc_credits() 96 u32 max_frame_size, u8 direction) in ixgbe_dcb_calculate_tc_credits_cee() argument 115 min_credit = ((max_frame_size / 2) + IXGBE_DCB_CREDIT_QUANTUM - 1) / in ixgbe_dcb_calculate_tc_credits_cee()
|
/freebsd/sys/dev/qlxgb/ |
H A D | qla_def.h | 150 uint16_t max_frame_size; member
|
H A D | qla_os.c | 674 ha->max_frame_size = if_getmtu(ifp) + ETHER_HDR_LEN + ETHER_CRC_LEN; in qla_init_ifnet() 823 ha->max_frame_size = in qla_ioctl() 826 ret = qla_set_max_mtu(ha, ha->max_frame_size, in qla_ioctl() 853 ha->max_frame_size = if_getmtu(ifp) + in qla_ioctl() 855 ret = qla_set_max_mtu(ha, ha->max_frame_size, in qla_ioctl()
|
/freebsd/sys/dev/bxe/ |
H A D | ecore_mfw_req.h | 173 uint32_t max_frame_size; /* Max Frame Size. bytes */ member
|
/freebsd/sys/dev/usb/ |
H A D | usb_transfer.c | 172 xfer->max_frame_size = xfer->max_packet_size * xfer->max_packet_count; in usbd_update_max_frame_size() 713 if ((xfer->max_frame_size == 0) || in usbd_transfer_setup_sub() 741 parm->bufsize = xfer->max_frame_size; in usbd_transfer_setup_sub() 755 parm->bufsize += (xfer->max_frame_size - 1); in usbd_transfer_setup_sub() 757 if (parm->bufsize < xfer->max_frame_size) { in usbd_transfer_setup_sub() 764 parm->bufsize -= (parm->bufsize % xfer->max_frame_size); in usbd_transfer_setup_sub() 919 (parm->hc_max_frame_size % xfer->max_frame_size)); in usbd_transfer_setup_sub() 951 xfer->max_frame_size = 1; in usbd_transfer_setup_sub() 2311 return (xfer->max_frame_size); in usbd_xfer_max_framelen()
|
H A D | usb_core.h | 167 uint16_t max_frame_size; member
|
/freebsd/sys/dev/igc/ |
H A D | if_igc.c | 612 scctx->isc_max_frame_size = sc->hw.mac.max_frame_size = in igc_if_attach_pre() 800 int max_frame_size; in igc_if_mtu_set() local 807 max_frame_size = 9234; in igc_if_mtu_set() 809 if (mtu > max_frame_size - ETHER_HDR_LEN - ETHER_CRC_LEN) { in igc_if_mtu_set() 813 scctx->isc_max_frame_size = sc->hw.mac.max_frame_size = in igc_if_mtu_set() 1708 u16 max_frame_size; in igc_init_dmac() local 1711 max_frame_size = sc->shared->isc_max_frame_size; in igc_init_dmac() 1722 hwm = 64 * pba - max_frame_size / 16; in igc_init_dmac() 1731 dmac = pba - max_frame_size / 512; in igc_init_dmac() 1778 (2 * max_frame_size)) >> 6); in igc_init_dmac() [all …]
|
/freebsd/sys/dev/qlxge/ |
H A D | qls_os.c | 733 ha->max_frame_size = if_getmtu(ifp) + ETHER_HDR_LEN + ETHER_CRC_LEN; in qls_init_ifnet() 734 if (ha->max_frame_size <= MCLBYTES) { in qls_init_ifnet() 736 } else if (ha->max_frame_size <= MJUMPAGESIZE) { in qls_init_ifnet() 895 ha->max_frame_size = in qls_ioctl() 922 ha->max_frame_size = if_getmtu(ifp) + in qls_ioctl()
|
H A D | qls_def.h | 287 uint16_t max_frame_size; member
|
/freebsd/sys/dev/qlxgbe/ |
H A D | ql_def.h | 179 uint16_t max_frame_size; member
|
/freebsd/sys/dev/iavf/ |
H A D | iavf_iflib.h | 247 u16 max_frame_size; member
|