Lines Matching refs:bandwidth

51 static uint_t	uhci_lattice_height(uint_t bandwidth);
991 int bandwidth; /* Requested bandwidth */
1014 * If the length in bytes plus the allocated bandwidth exceeds
1015 * the maximum, return bandwidth allocation failure.
1021 "Reached maximum bandwidth value and cannot allocate "
1022 "bandwidth for a given Interrupt/Isoch endpoint");
1038 * Adjust bandwidth to be a power of 2
1041 bandwidth = uhci_bandwidth_adjust(uhcip, endpoint,
1046 * If this bandwidth can't be supported,
1049 if (bandwidth == USB_FAILURE) {
1055 "The new bandwidth is %d", bandwidth);
1057 /* Find the leaf with the smallest allocated bandwidth */
1069 "The leaf with minimal bandwidth %d, "
1070 "The smallest bandwidth %d", min_index, min);
1074 * leaf with the smallest allocated bandwidth.
1076 height = uhci_lattice_height(bandwidth);
1108 (NUM_FRAME_LST_ENTRIES/bandwidth); i ++) {
1115 "Reached maximum bandwidth value and cannot "
1116 "allocate bandwidth for Interrupt endpoint");
1123 * All the leaves for this node must be updated with the bandwidth.
1126 (NUM_FRAME_LST_ENTRIES/bandwidth); i ++) {
1130 /* Find the leaf with the smallest allocated bandwidth */
1150 * Deallocate bandwidth for the given node in the lattice
1157 uint_t bandwidth;
1178 * bandwidth from the total allocated isochronous bandwidth.
1189 /* Adjust bandwidth to be a power of 2 */
1191 bandwidth = uhci_bandwidth_adjust(uhcip, endpoint,
1196 height = uhci_lattice_height(bandwidth);
1204 for (i = leftmost; i < leftmost + (NUM_FRAME_LST_ENTRIES/bandwidth);
1227 * bandwidth for one transaction. The UHCI host controller traverses the
1235 * The following are the formulas used for calculating bandwidth in terms
1253 uint_t bandwidth;
1256 /* Add Host Controller specific delay to required bandwidth */
1257 bandwidth = HOST_CONTROLLER_DELAY;
1265 bandwidth += (LOW_SPEED_PROTO_OVERHEAD +
1270 bandwidth += MaxPacketSize;
1274 bandwidth += FS_NON_ISOC_PROTO_OVERHEAD;
1278 bandwidth += FS_ISOC_INPUT_PROTO_OVERHEAD;
1281 bandwidth += FS_ISOC_OUTPUT_PROTO_OVERHEAD;
1286 return (bandwidth);
1368 * Given the requested bandwidth, find the height in the tree at
1369 * which the nodes for this bandwidth fall. The height is measured
1371 * bandwidth The root of the tree is at height TREE_HEIGHT.
1374 uhci_lattice_height(uint_t bandwidth)
1376 return (TREE_HEIGHT - (log_2(bandwidth)));