Home
last modified time | relevance | path

Searched refs:maxunit (Results 1 – 8 of 8) sorted by relevance

/dragonfly/sys/dev/sound/
HDclone.c86 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/
HDif_clone.h71 #define IF_CLONE_INITIALIZER(name, create, destroy, minifs, maxunit) \ argument
72 { { 0 }, name, minifs, maxunit, NULL, 0, create, destroy }
/dragonfly/sys/dev/acpica/
HDacpi_battery.c343 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/
HDsubr_bus.c760 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/
HDbus_private.h64 int maxunit; /* size of devices array */ member
/dragonfly/usr.sbin/ppp/
HDbundle.c698 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/
HDhpt27xx_osm_bsd.c1163 int maxunit; /* size of devices array */ member
/dragonfly/sys/dev/raid/hptrr/
HDhptrr_osm_bsd.c1143 int maxunit; /* size of devices array */ member