Searched refs:maxunit (Results 1 - 10 of 10) sorted by relevance

/freebsd-11-stable/sys/dev/sound/
H A Dclone.c86 int maxunit; member in struct:snd_clone
168 snd_clone_create(int typemask, int maxunit, int deadline, uint32_t flags) argument
174 SND_CLONE_ASSERT(maxunit == -1 ||
175 !(maxunit & ~(~typemask & SND_CLONE_MAXUNIT)),
176 ("maxunit overflow: typemask=0x%08x maxunit=%d",
177 typemask, maxunit));
185 c->maxunit = (maxunit == -1) ? (~typemask & SND_CLONE_MAXUNIT) :
186 maxunit;
264 snd_clone_setmaxunit(struct snd_clone *c, int maxunit) argument
[all...]
/freebsd-11-stable/sys/net/
H A Dif_clone.c347 if_clone_alloc(const char *name, int maxunit) argument
357 ifc->ifc_maxunit = maxunit ? maxunit : IF_MAXUNIT;
384 if_clone_advanced(const char *name, u_int maxunit, ifc_match_t match, argument
389 ifc = if_clone_alloc(name, maxunit);
/freebsd-11-stable/sys/dev/acpica/
H A Dacpi_battery.c335 int found_unit, i, maxunit; local
342 maxunit = devclass_get_maxunit(batt_dc);
343 for (i = 0; i < maxunit; i++) {
/freebsd-11-stable/sys/kern/
H A Dsubr_bus.c94 int maxunit; /* size of devices array */ member in struct:devclass
1095 for (i = 0; i < dc->maxunit; i++)
1211 for (i = 0; i < dc->maxunit; i++) {
1353 for (i = 0; i < dc->maxunit; i++) {
1407 if (dc == NULL || unit < 0 || unit >= dc->maxunit)
1462 for (i = 0; i < dc->maxunit; i++) {
1527 for (i = 0; i < dc->maxunit; i++)
1547 return (dc->maxunit);
1564 while (unit < dc->maxunit && dc->devices[unit] != NULL)
1638 if (unit >= 0 && unit < dc->maxunit
[all...]
/freebsd-11-stable/sys/arm/ti/omap4/
H A Domap4_prcm_clks.c477 int i, maxunit; local
483 maxunit = devclass_get_maxunit(prcm_devclass);
485 for (i = 0; i < maxunit; i++) {
/freebsd-11-stable/usr.sbin/ppp/
H A Dbundle.c702 int enoentcount, err, minunit, maxunit; local
718 maxunit = -1;
721 maxunit = unit + 1;
728 for (bundle.unit = minunit; bundle.unit != maxunit; bundle.unit++) {
/freebsd-11-stable/sys/dev/hptrr/
H A Dhptrr_osm_bsd.c1144 int maxunit; /* size of devices array */ member in struct:devclass
/freebsd-11-stable/sys/dev/en/
H A Dmidway.c3284 int maxunit; local
3291 maxunit = devclass_get_maxunit(dc);
3292 for (lcv = 0 ; lcv < maxunit ; lcv++) {
/freebsd-11-stable/sys/dev/hptnr/
H A Dhptnr_osm_bsd.c1497 int maxunit; /* size of devices array */ member in struct:devclass
/freebsd-11-stable/sys/dev/hpt27xx/
H A Dhpt27xx_osm_bsd.c1315 int maxunit; /* size of devices array */

Completed in 139 milliseconds