Home
last modified time | relevance | path

Searched refs:min_index (Results 1 – 7 of 7) sorted by relevance

/titanic_44/usr/src/uts/i86pc/io/acpi/drmach_acpi/
H A Ddrmach_acpi.h111 int min_index; member
H A Ddrmach_acpi.c385 drmach_array_new(uint_t min_index, uint_t max_index) in drmach_array_new() argument
391 arr->arr_sz = (max_index - min_index + 1) * sizeof (void *); in drmach_array_new()
393 arr->min_index = min_index; in drmach_array_new()
407 if (idx < arr->min_index || idx > arr->max_index) in drmach_array_set()
409 arr->arr[idx - arr->min_index] = val; in drmach_array_set()
420 if (idx < arr->min_index || idx > arr->max_index) in drmach_array_get()
422 *val = arr->arr[idx - arr->min_index]; in drmach_array_get()
431 *idx = arr->min_index; in drmach_array_first()
/titanic_44/usr/src/uts/sun4u/starfire/io/
H A Ddrmach.c114 int min_index; member
515 drmach_array_new(int min_index, int max_index) in drmach_array_new() argument
521 arr->arr_sz = (max_index - min_index + 1) * sizeof (void *); in drmach_array_new()
523 arr->min_index = min_index; in drmach_array_new()
537 if (idx < arr->min_index || idx > arr->max_index) in drmach_array_set()
540 arr->arr[idx - arr->min_index] = val; in drmach_array_set()
549 if (idx < arr->min_index || idx > arr->max_index) in drmach_array_get()
552 *val = arr->arr[idx - arr->min_index]; in drmach_array_get()
563 *idx = arr->min_index; in drmach_array_first()
/titanic_44/usr/src/uts/sun4u/opl/io/
H A Ddrmach.c113 int min_index; member
838 drmach_array_new(int min_index, int max_index) in drmach_array_new() argument
844 arr->arr_sz = (max_index - min_index + 1) * sizeof (void *); in drmach_array_new()
846 arr->min_index = min_index; in drmach_array_new()
860 if (idx < arr->min_index || idx > arr->max_index) in drmach_array_set()
863 arr->arr[idx - arr->min_index] = val; in drmach_array_set()
872 if (idx < arr->min_index || idx > arr->max_index) in drmach_array_get()
875 *val = arr->arr[idx - arr->min_index]; in drmach_array_get()
886 *idx = arr->min_index; in drmach_array_first()
/titanic_44/usr/src/uts/common/io/usb/hcd/uhci/
H A Duhciutil.c992 uint_t min, min_index; in uhci_allocate_bandwidth() local
1058 min_index = 0; in uhci_allocate_bandwidth()
1063 min_index = i; in uhci_allocate_bandwidth()
1070 "The smallest bandwidth %d", min_index, min); in uhci_allocate_bandwidth()
1080 *node = uhci_tree_bottom_nodes[min_index]; in uhci_allocate_bandwidth()
1131 min_index = 0; in uhci_allocate_bandwidth()
1136 min_index = i; in uhci_allocate_bandwidth()
/titanic_44/usr/src/uts/sun4u/starcat/io/
H A Ddrmach.c211 int min_index; member
937 drmach_array_new(int min_index, int max_index) in drmach_array_new() argument
943 arr->arr_sz = (max_index - min_index + 1) * sizeof (void *); in drmach_array_new()
945 arr->min_index = min_index; in drmach_array_new()
959 if (idx < arr->min_index || idx > arr->max_index) in drmach_array_set()
962 arr->arr[idx - arr->min_index] = val; in drmach_array_set()
971 if (idx < arr->min_index || idx > arr->max_index) in drmach_array_get()
974 *val = arr->arr[idx - arr->min_index]; in drmach_array_get()
985 *idx = arr->min_index; in drmach_array_first()
/titanic_44/usr/src/uts/common/io/usb/hcd/openhci/
H A Dohci.c3260 uint_t min, min_index, height; in ohci_allocate_bandwidth() local
3323 min_index = 0; in ohci_allocate_bandwidth()
3328 min_index = i; in ohci_allocate_bandwidth()
3334 "The leaf %d for minimal bandwidth %d", min_index, min); in ohci_allocate_bandwidth()
3337 min_index = min_index + NUM_INTR_ED_LISTS - 1; in ohci_allocate_bandwidth()
3348 *node = min_index; in ohci_allocate_bandwidth()
3389 min_index = 0; in ohci_allocate_bandwidth()
3394 min_index = i; in ohci_allocate_bandwidth()