Home
last modified time | relevance | path

Searched refs:rid_max (Results 1 – 2 of 2) sorted by relevance

/NextBSD/sys/dev/sound/isa/
HDsbc.c579 int *alloced, rid_max, alloced_max; in sbc_alloc_resource() local
591 rid_max = 0; in sbc_alloc_resource()
593 rid_max += io_range[i]; in sbc_alloc_resource()
595 rid_max = IO_MAX - 1; in sbc_alloc_resource()
602 rid_max = DRQ_MAX - 1; in sbc_alloc_resource()
608 rid_max = IRQ_MAX - 1; in sbc_alloc_resource()
615 if (*rid > rid_max || alloced[*rid] == alloced_max) in sbc_alloc_resource()
627 int *alloced, rid_max; in sbc_release_resource() local
633 rid_max = IO_MAX - 1; in sbc_release_resource()
637 rid_max = DRQ_MAX - 1; in sbc_release_resource()
[all …]
HDgusc.c356 int *alloced, rid_max, alloced_max; in gusc_alloc_resource() local
364 rid_max = 2; in gusc_alloc_resource()
370 rid_max = 0; in gusc_alloc_resource()
376 rid_max = 1; in gusc_alloc_resource()
383 if (*rid > rid_max || alloced[*rid] == alloced_max) in gusc_alloc_resource()
395 int *alloced, rid_max; in gusc_release_resource() local
401 rid_max = 2; in gusc_release_resource()
405 rid_max = 0; in gusc_release_resource()
409 rid_max = 1; in gusc_release_resource()
415 if (rid > rid_max || alloced[rid] == 0) in gusc_release_resource()