Lines Matching refs:bandwidth

34  * transfers, bandwidth allocations and other general functionalities.
194 uint_t *bandwidth);
216 uint_t bandwidth,
242 uint_t bandwidth,
248 int bandwidth,
2139 /* Allocate high speed bandwidth */
2147 * For low/full speed usb devices, allocate classic TT bandwidth
2148 * in additional to high speed bandwidth.
2152 /* Allocate classic TT bandwidth */
2156 /* Deallocate high speed bandwidth */
2169 * Allocate high speed bandwidth for the low/full/high speed interrupt and
2224 /* Allocate bandwidth for high speed devices */
2240 /* Allocate bandwidth for low speed interrupt */
2248 /* Allocate bandwidth for sitd in */
2254 /* Allocate bandwidth for sitd out */
2265 "bandwidth value and cannot allocate bandwidth for a "
2278 * Allocate classic TT bandwidth for the low/full speed interrupt and
2287 uint_t bandwidth, min;
2321 port_status, &bandwidth) != USB_SUCCESS) {
2331 "ehci_allocate_classic_tt_bandwidth: bandwidth %d", bandwidth);
2336 * If the length in bytes plus the allocated bandwidth exceeds
2337 * the maximum, return bandwidth allocation failure.
2339 if ((parent_ud->usb_hs_hub_min_bandwidth + bandwidth) >
2346 "bandwidth value and cannot allocate bandwidth for a "
2369 bandwidth) > FS_PERIODIC_BANDWIDTH) {
2375 "maximum bandwidth value and cannot allocate "
2376 "bandwidth for low/full periodic endpoint");
2383 * All the leaves for this node must be updated with the bandwidth.
2387 parent_ud->usb_hs_hub_bandwidth[list] += bandwidth;
2390 /* Find the leaf with the smallest allocated bandwidth */
2411 * Deallocate bandwidth for the given node in the lattice and the length
2428 * For low/full speed usb devices, deallocate classic TT bandwidth
2429 * in additional to high speed bandwidth.
2433 /* Deallocate classic TT bandwidth */
2442 * Deallocate high speed bandwidth of a interrupt or isochronous endpoint.
2489 /* Delete the bandwidth from the appropriate lists */
2524 * Deallocate high speed bandwidth of a interrupt or isochronous endpoint.
2532 uint_t bandwidth, height, leftmost, list, min;
2554 /* Obtain the bandwidth */
2556 port_status, &bandwidth);
2569 /* Delete the bandwidth from the appropriate lists */
2572 parent_ud->usb_hs_hub_bandwidth[list] -= bandwidth;
2575 /* Find the leaf with the smallest allocated bandwidth */
2595 * bandwidth for one transaction. The EHCI host controller traverses the
2603 * The following are the formulas used for calculating bandwidth in terms
2640 /* Add Host Controller specific delay to required bandwidth */
2687 /* Calculate bandwidth per micro-frame */
2695 "Start split bandwidth %d Complete split bandwidth %d",
2706 * bandwidth for one transaction. The EHCI host controller traverses the
2714 * The following are the formulas used for calculating bandwidth in terms
2732 uint_t *bandwidth)
2744 /* Add TT delay to required bandwidth */
2745 *bandwidth = TT_DELAY;
2753 *bandwidth += (LOW_SPEED_PROTO_OVERHEAD +
2759 *bandwidth += maxpacketsize;
2765 *bandwidth += FS_NON_ISOC_PROTO_OVERHEAD;
2770 *bandwidth += FS_ISOC_INPUT_PROTO_OVERHEAD;
2773 *bandwidth += FS_ISOC_OUTPUT_PROTO_OVERHEAD;
2786 * Adjust bandwidth according usb device speed.
2943 * Given the requested bandwidth, find the height in the tree at which the
2944 * nodes for this bandwidth fall. The height is measured as the number of
2945 * nodes from the leaf to the level specified by bandwidth The root of the
3065 * Find the smask and cmask in the bandwidth allocation, and update the
3066 * bandwidth allocation.
3074 uint_t bandwidth,
3118 /* Find the bandwidth mask */
3120 bandwidth, ehci_index[array_leaf], leaf_count, &bw_mask);
3131 * Now make sure our bandwidth requirements can be
3147 * o This is the node with the least amount of bandwidth
3160 * If we find node that can handle the bandwidth populate the
3167 ehci_update_bw_availability(ehcip, bandwidth,
3180 * Find the smask and cmask in the bandwidth allocation.
3217 /* Find the bandwidth mask */
3232 * Now make sure our bandwidth requirements can be
3251 * o This is the node with the least amount of bandwidth
3265 * If we find node that can handle the bandwidth populate the
3288 * Find the smask and cmask in the bandwidth allocation.
3323 * ~4*MAX_UFRAME_SITD_XFER bandwidth/
3373 * o This is the node with the least amount of bandwidth
3387 * If we find node that can handle the bandwidth populate the
3410 * Find the smask in the bandwidth allocation.
3477 * o This is the node with the least amount of bandwidth
3489 * If we find node that can handle the bandwidth populate the
3509 * Returns the "total bandwidth used" in this node.
3510 * Populates bw_mask with the uFrames that can support the bandwidth.
3512 * If all the Frames cannot support this bandwidth, then bw_mask
3513 * will return 0x00 and the "total bandwidth used" will be invalid.
3518 uint_t bandwidth,
3544 * it can support the additional bandwidth.
3549 bandwidth;
3558 "ehci_calculate_bw_availability_mask: bandwidth mask 0x%x",
3574 int bandwidth,
3585 "leaf %d count %d bandwidth 0x%x mask 0x%x",
3586 leftmost_leaf, leaf_count, bandwidth, mask);
3593 uFrame_bandwidth[j] = bandwidth;
3601 /* Updated all the effected leafs with the bandwidth */