Home
last modified time | relevance | path

Searched refs:max_frame_size (Results 1 – 25 of 26) sorted by relevance

12

/dragonfly/sys/bus/u4b/template/
H A Dusb_template.c561 uint16_t max_frame_size; in usb_hw_ep_find_match() local
620 max_frame_size = pf->max_in_frame_size; in usb_hw_ep_find_match()
622 max_frame_size = pf->max_out_frame_size; in usb_hw_ep_find_match()
625 if (max_frame_size >= ep->max_frame_size) { in usb_hw_ep_find_match()
626 temp = (max_frame_size - ep->max_frame_size); in usb_hw_ep_find_match()
791 ep_curr->max_frame_size) { in usb_hw_ep_get_needs()
805 if (ep_curr->max_frame_size < wMaxPacketSize) { in usb_hw_ep_get_needs()
806 ep_curr->max_frame_size = wMaxPacketSize; in usb_hw_ep_get_needs()
/dragonfly/sys/dev/netif/ig_hal/
H A De1000_api.h155 min_frame_size, max_frame_size) \ argument
161 ((length) <= ((max_frame_size) + 1))) : \
163 ((length) <= ((max_frame_size) + VLAN_TAG_SIZE + 1)))))
H A De1000_82543.h52 u32 max_frame_size);
H A De1000_82543.c409 u8 *mac_addr, u32 max_frame_size) in e1000_tbi_adjust_stats_82543() argument
445 if ((frame_len == max_frame_size) && (stats->roc > 0)) in e1000_tbi_adjust_stats_82543()
H A De1000_hw.h849 u32 max_frame_size; member
H A De1000_ich8lan.c1132 if (!hw->mac.max_frame_size) { in e1000_platform_pm_pch_lpt()
1155 (2 * (s64)hw->mac.max_frame_size)) * 8 * 1000; in e1000_platform_pm_pch_lpt()
/dragonfly/sys/bus/u4b/controller/
H A Duhci.c129 uint16_t max_frame_size; member
141 uint16_t max_frame_size; member
206 ml->max_frame_size = xfer->max_frame_size; in uhci_mem_layout_init()
1671 temp.average = xfer->max_frame_size; in uhci_setup_standard_chain()
1672 temp.max_frame_size = xfer->max_frame_size; in uhci_setup_standard_chain()
2214 if (*plen > xfer->max_frame_size) { in uhci_device_isoc_enter()
2221 xfer->max_frame_size); in uhci_device_isoc_enter()
2224 *plen = xfer->max_frame_size; in uhci_device_isoc_enter()
2916 align = xfer->max_frame_size; in uhci_xfer_setup()
2924 if (powerof2(xfer->max_frame_size)) { in uhci_xfer_setup()
[all …]
H A Dehci.c137 uint16_t max_frame_size; member
1630 if (temp->len % temp->max_frame_size) { in ehci_setup_standard_chain_sub()
1692 if (((average + temp->max_frame_size - 1) / in ehci_setup_standard_chain_sub()
1693 temp->max_frame_size) & 1) { in ehci_setup_standard_chain_sub()
1798 temp.max_frame_size = xfer->max_frame_size; in ehci_setup_standard_chain()
2584 if (*plen > xfer->max_frame_size) { in ehci_device_isoc_fs_enter()
2591 xfer->max_frame_size); in ehci_device_isoc_fs_enter()
2594 *plen = xfer->max_frame_size; in ehci_device_isoc_fs_enter()
2889 if (*plen > xfer->max_frame_size) { in ehci_device_isoc_hs_enter()
2895 __FUNCTION__, *plen, xfer->max_frame_size); in ehci_device_isoc_hs_enter()
[all …]
H A Dohci.c126 uint16_t max_frame_size; member
1290 if (temp->len % temp->max_frame_size) { in ohci_setup_standard_chain_sub()
1400 temp.max_frame_size = xfer->max_frame_size; in ohci_setup_standard_chain()
1557 OHCI_ED_SET_MAXP(xfer->max_frame_size)); in ohci_setup_standard_chain()
1991 OHCI_ED_SET_MAXP(xfer->max_frame_size)); in ohci_device_isoc_enter()
H A Dxhci.c2190 if (temp.len > xfer->max_frame_size) in xhci_setup_generic_chain()
2191 temp.len = xfer->max_frame_size; in xhci_setup_generic_chain()
2329 uint16_t max_frame_size, uint8_t ep_mode) in xhci_configure_endpoint() argument
2461 temp = XHCI_EPCTX_4_MAX_ESIT_PAYLOAD_SET(max_frame_size) | in xhci_configure_endpoint()
2463 max_frame_size)); in xhci_configure_endpoint()
2523 xfer->max_frame_size, xfer->endpoint->ep_mode)); in xhci_configure_endpoint_by_xfer()
/dragonfly/sys/dev/netif/ix/
H A Dixgbe_dcb.c53 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()
H A Dif_ix.h375 uint16_t max_frame_size; member
H A Dif_ix.c483 sc->max_frame_size = ETHERMTU + ETHER_HDR_LEN + ETHER_CRC_LEN; in ix_attach()
829 sc->max_frame_size = ifp->if_mtu + IX_MTU_HDR; in ix_ioctl()
989 mhadd |= sc->max_frame_size << IXGBE_MHADD_MFS_SHIFT; in ix_init()
2635 if (rxr->rx_sc->max_frame_size <= MCLBYTES) in ix_init_rx_ring()
5314 frame = sc->max_frame_size; in ix_config_flowctrl()
/dragonfly/sys/bus/u4b/
H A Dusb_transfer.c144 xfer->max_frame_size = xfer->max_packet_size * xfer->max_packet_count; in usbd_update_max_frame_size()
618 if ((xfer->max_frame_size == 0) || in usbd_transfer_setup_sub()
649 parm->bufsize = xfer->max_frame_size; in usbd_transfer_setup_sub()
664 parm->bufsize += (xfer->max_frame_size - 1); in usbd_transfer_setup_sub()
666 if (parm->bufsize < xfer->max_frame_size) { in usbd_transfer_setup_sub()
673 parm->bufsize -= (parm->bufsize % xfer->max_frame_size); in usbd_transfer_setup_sub()
831 (parm->hc_max_frame_size % xfer->max_frame_size)); in usbd_transfer_setup_sub()
864 xfer->max_frame_size = 1; in usbd_transfer_setup_sub()
2268 return (xfer->max_frame_size); in usbd_xfer_max_framelen()
H A Dusb_core.h165 uint16_t max_frame_size; member
H A Dusb_generic.c160 f->xfer[0]->max_frame_size, in ugen_transfer_setup()
544 offset += xfer->max_frame_size; in ugen_isoc_read_callback()
551 usbd_xfer_set_frame_len(xfer, n, xfer->max_frame_size); in ugen_isoc_read_callback()
581 xfer->max_frame_size, &actlen, 1)) { in ugen_isoc_write_callback()
1544 f->fs_xfer[u.popen->ep_index]->max_frame_size; in ugen_ioctl()
1655 *(int *)addr = f->xfer[0]->max_frame_size; in ugen_get_frame_size()
H A Dusb_device.h129 uint16_t max_frame_size; member
H A Dusb_hub.c1927 xfer->max_frame_size, USB_HS_MICRO_FRAMES_MAX, mask); in usb_hs_bandwidth_alloc()
1959 xfer->max_frame_size, USB_HS_MICRO_FRAMES_MAX, mask); in usb_hs_bandwidth_alloc()
2008 -xfer->max_frame_size, slot, mask >> slot); in usb_hs_bandwidth_free()
/dragonfly/sys/dev/netif/em/
H A Dif_em.c718 adapter->hw.mac.max_frame_size = in em_attach()
1219 int max_frame_size, mask, reinit; in em_ioctl() local
1235 max_frame_size = ETHER_MAX_LEN; in em_ioctl()
1252 max_frame_size = 9234; in em_ioctl()
1256 max_frame_size = 4096; in em_ioctl()
1262 max_frame_size = ETHER_MAX_LEN; in em_ioctl()
1266 max_frame_size = MAX_JUMBO_FRAME_SIZE; in em_ioctl()
1276 adapter->hw.mac.max_frame_size = in em_ioctl()
3719 adapter->hw.mac.max_frame_size)) { in em_rxeof()
3723 adapter->hw.mac.max_frame_size); in em_rxeof()
[all …]
/dragonfly/sys/dev/netif/igb/
H A Dif_igb.c854 int max_frame_size, mask, reinit; in igb_ioctl() local
861 max_frame_size = 9234; in igb_ioctl()
1011 if (adapter->max_frame_size <= 2048) in igb_init()
1013 else if (adapter->max_frame_size <= 4096) in igb_init()
1515 min_tx = (sc->max_frame_size + in igb_reset()
1519 min_rx = sc->max_frame_size; in igb_reset()
1544 ((pba << 10) - 2 * sc->max_frame_size)); in igb_reset()
2531 psize = adapter->max_frame_size; in igb_init_rx_unit()
2871 sc->max_frame_size + VLAN_TAG_SIZE); in igb_set_vlan()
4982 hwm = 64 * pba - sc->max_frame_size / 16; in igb_init_dmac()
[all …]
H A Dif_igb.h343 int max_frame_size; member
/dragonfly/sys/dev/netif/emx/
H A Dif_emx.c755 sc->hw.mac.max_frame_size = ETHERMTU + ETHER_HDR_LEN + ETHER_CRC_LEN; in emx_attach()
1165 int max_frame_size, mask, reinit; in emx_ioctl() local
1181 max_frame_size = ETHER_MAX_LEN; in emx_ioctl()
1194 max_frame_size = 9234; in emx_ioctl()
1198 max_frame_size = MAX_JUMBO_FRAME_SIZE; in emx_ioctl()
1201 if (ifr->ifr_mtu > max_frame_size - ETHER_HDR_LEN - in emx_ioctl()
1208 sc->hw.mac.max_frame_size = ifp->if_mtu + ETHER_HDR_LEN + in emx_ioctl()
2116 if (sc->hw.mac.max_frame_size > 8192) in emx_reset()
2140 roundup2(sc->hw.mac.max_frame_size, 1024); in emx_reset()
2918 if (rdata->sc->hw.mac.max_frame_size <= MCLBYTES - ETHER_ALIGN) in emx_newbuf()
/dragonfly/contrib/gcc-4.7/gcc/
H A Dfunction.c4938 rtx max_frame_size = GEN_INT (STACK_CHECK_MAX_FRAME_SIZE); in expand_function_end() local
4941 anti_adjust_stack_and_probe (max_frame_size, true); in expand_function_end()
4943 probe_stack_range (STACK_OLD_CHECK_PROTECT, max_frame_size); in expand_function_end()
/dragonfly/contrib/gcc-8.0/gcc/
H A Dfunction.c5467 rtx max_frame_size = GEN_INT (STACK_CHECK_MAX_FRAME_SIZE); in expand_function_end() local
5470 anti_adjust_stack_and_probe (max_frame_size, true); in expand_function_end()
5472 probe_stack_range (STACK_OLD_CHECK_PROTECT, max_frame_size); in expand_function_end()
/dragonfly/sys/dev/netif/oce/
H A Doce_mbox.c1641 fwcmd->params.req.max_frame_size = rq->cfg.mtu; in oce_mbox_create_rq()

12