Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/i86pc/io/acpi/drmach_acpi/
H A Ddrmach_acpi.c389 drmach_array_new(uint_t min_index, uint_t max_index) in drmach_array_new() argument
395 arr->arr_sz = (max_index - min_index + 1) * sizeof (void *); in drmach_array_new()
397 arr->min_index = min_index; in drmach_array_new()
411 if (idx < arr->min_index || idx > arr->max_index) in drmach_array_set()
413 arr->arr[idx - arr->min_index] = val; in drmach_array_set()
424 if (idx < arr->min_index || idx > arr->max_index) in drmach_array_get()
426 *val = arr->arr[idx - arr->min_index]; in drmach_array_get()
435 *idx = arr->min_index; in drmach_array_first()
H A Ddrmach_acpi.h111 int min_index; member
/illumos-gate/usr/src/uts/sun4u/opl/io/
H A Ddrmach.c117 int min_index; member
842 drmach_array_new(int min_index, int max_index) in drmach_array_new() argument
848 arr->arr_sz = (max_index - min_index + 1) * sizeof (void *); in drmach_array_new()
850 arr->min_index = min_index; in drmach_array_new()
864 if (idx < arr->min_index || idx > arr->max_index) in drmach_array_set()
867 arr->arr[idx - arr->min_index] = val; in drmach_array_set()
876 if (idx < arr->min_index || idx > arr->max_index) in drmach_array_get()
879 *val = arr->arr[idx - arr->min_index]; in drmach_array_get()
890 *idx = arr->min_index; in drmach_array_first()
/illumos-gate/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()
/illumos-gate/usr/src/uts/common/io/usb/hcd/openhci/
H A Dohci.c3244 uint_t min, min_index, height; in ohci_allocate_bandwidth() local
3307 min_index = 0; in ohci_allocate_bandwidth()
3312 min_index = i; in ohci_allocate_bandwidth()
3318 "The leaf %d for minimal bandwidth %d", min_index, min); in ohci_allocate_bandwidth()
3321 min_index = min_index + NUM_INTR_ED_LISTS - 1; in ohci_allocate_bandwidth()
3332 *node = min_index; in ohci_allocate_bandwidth()
3373 min_index = 0; in ohci_allocate_bandwidth()
3378 min_index = i; in ohci_allocate_bandwidth()