Lines Matching defs:node

161 				uint_t			*node);
173 static uint_t ohci_lattice_parent(uint_t node);
174 static uint_t ohci_leftmost_leaf(uint_t node,
177 uint_t node);
2475 uint_t node = 0;
2539 error = ohci_allocate_bandwidth(ohcip, ph, &node);
2584 /* Store the node in the interrupt lattice */
2585 pp->pp_node = node;
3245 * parent node of that leaf based on the interval time.
3247 * From the parent node, we find all the leafs of that subtree and update the
3257 uint_t *node)
3348 *node = min_index;
3351 *node = ohci_lattice_parent(*node);
3355 "Real node is %d", *node);
3359 * specified by the node.
3361 leftmost = ohci_leftmost_leaf(*node, height);
3381 * All the leaves for this node must be updated with the bandwidth.
3409 * Deallocate bandwidth for the given node in the lattice and the length
3417 uint_t min, node, bandwidth;
3432 /* Obtain the node */
3433 node = pp->pp_node;
3445 * Find the leftmost leaf in the subtree specified by the node
3447 leftmost = ohci_leftmost_leaf(node, height);
3648 ohci_lattice_parent(uint_t node)
3650 if ((node % 2) == 0) {
3651 return ((node/2) - 1);
3653 return ((node + 1)/2 - 1);
3661 * Find the leftmost leaf in the subtree specified by the node. Height refers
3662 * to number of nodes from the bottom of the tree to the node, including the
3663 * node.
3678 uint_t node,
3681 return ((ohci_pow_2(height) * (node + 1)) - NUM_INTR_ED_LISTS);
3687 * Given a node in the lattice, find the index for the hcca interrupt table
3690 ohci_hcca_intr_index(uint_t node)
3693 * Adjust the node to the array representing
3696 node = node - NUM_STATIC_NODES;
3698 if ((node % 2) == 0) {
3699 return (ohci_index[node / 2]);
3701 return (ohci_index[node / 2] + (NUM_INTR_ED_LISTS / 2));
3708 * Given a node in the bottom leaf array of the lattice, find the index
4042 uint_t node;
4050 * The appropriate node was found
4053 node = pp->pp_node;
4055 if (node >= NUM_STATIC_NODES) {
4057 node = ohci_hcca_intr_index(node);
4061 Get_HCCA(ohcip->ohci_hccap->HccaIntTble[node]));
4068 Set_HCCA(ohcip->ohci_hccap->HccaIntTble[node],
4081 lattice_ept = &ohcip->ohci_ed_pool_addr[node];
4139 uint_t node;
4147 * The appropriate node was found during the opening of the pipe.
4148 * This node must be root of the interrupt lattice tree.
4150 node = pp->pp_node;
4152 ASSERT(node == 0);
4155 lattice_ept = &ohcip->ohci_ed_pool_addr[node];
4425 /* Store the node number */
4469 uint_t node;
4517 node = ohci_hcca_intr_index(
4525 HccaIntTble[node], Get_ED(ept->hced_next));