Searched refs:maxunit (Results 1 – 8 of 8) sorted by relevance
| /dragonfly/sys/dev/sound/ |
| HD | clone.c | 86 int maxunit; member 168 snd_clone_create(int typemask, int maxunit, int deadline, uint32_t flags) in snd_clone_create() argument 181 c->maxunit = (maxunit == -1) ? (~typemask & SND_CLONE_MAXUNIT) : in snd_clone_create() 182 maxunit; in snd_clone_create() 255 return (c->maxunit); in snd_clone_getmaxunit() 259 snd_clone_setmaxunit(struct snd_clone *c, int maxunit) in snd_clone_setmaxunit() argument 263 c->maxunit = (maxunit == -1) ? (~c->typemask & SND_CLONE_MAXUNIT) : in snd_clone_setmaxunit() 264 maxunit; in snd_clone_setmaxunit() 266 return (c->maxunit); in snd_clone_setmaxunit() 628 (*unit != -1 && *unit > c->maxunit)) in snd_clone_alloc() [all …]
|
| /dragonfly/sys/net/ |
| HD | if_clone.h | 71 #define IF_CLONE_INITIALIZER(name, create, destroy, minifs, maxunit) \ argument 72 { { 0 }, name, minifs, maxunit, NULL, 0, create, destroy }
|
| /dragonfly/sys/dev/acpica/ |
| HD | acpi_battery.c | 343 int found_unit, i, maxunit; in acpi_battery_find_dev() local 350 maxunit = devclass_get_maxunit(batt_dc); in acpi_battery_find_dev() 351 for (i = 0; i < maxunit; i++) { in acpi_battery_find_dev()
|
| /dragonfly/sys/kern/ |
| HD | subr_bus.c | 760 dc->maxunit = 0; in devclass_find_internal() 841 for (i = 0; i < dc->maxunit; i++) { in devclass_add_driver() 888 for (i = 0; i < dc->maxunit; i++) in devclass_delete_driver() 944 if (dc == NULL || unit < 0 || unit >= dc->maxunit) in devclass_get_device() 969 for (i = 0; i < dc->maxunit; i++) in devclass_get_devices() 976 for (i = 0; i < dc->maxunit; i++) in devclass_get_devices() 1040 for (i = 0; i < dc->maxunit; i++) in devclass_get_count() 1049 return(dc->maxunit); in devclass_get_maxunit() 1073 if (unit >= 0 && unit < dc->maxunit && in devclass_alloc_unit() 1079 while (++unit < dc->maxunit && dc->devices[unit] != NULL) in devclass_alloc_unit() [all …]
|
| /dragonfly/sys/sys/ |
| HD | bus_private.h | 64 int maxunit; /* size of devices array */ member
|
| /dragonfly/usr.sbin/ppp/ |
| HD | bundle.c | 698 int enoentcount, err, minunit, maxunit; in bundle_Create() local 714 maxunit = -1; in bundle_Create() 717 maxunit = unit + 1; in bundle_Create() 724 for (bundle.unit = minunit; bundle.unit != maxunit; bundle.unit++) { in bundle_Create()
|
| /dragonfly/sys/dev/raid/hpt27xx/ |
| HD | hpt27xx_osm_bsd.c | 1163 int maxunit; /* size of devices array */ member
|
| /dragonfly/sys/dev/raid/hptrr/ |
| HD | hptrr_osm_bsd.c | 1143 int maxunit; /* size of devices array */ member
|