Lines Matching refs:unit
106 * is to manage the allocation of unit numbers for device instances
109 * two devclasses with the same name. This ensures that unique unit
113 * pci, pccard) should all use the same devclass to ensure that unit
308 int unit);
423 device_t device_add_child(device_t dev, const char *name, int unit);
425 const char *name, int unit);
434 int unit);
469 int device_set_unit(device_t dev, int unit); /* XXX DONT USE XXX */
483 device_t devclass_get_device(devclass_t dc, int unit);
484 void *devclass_get_softc(devclass_t dc, int unit);
489 int devclass_find_free_unit(devclass_t dc, int unit);
499 int resource_int_value(const char *name, int unit, const char *resname,
501 int resource_long_value(const char *name, int unit, const char *resname,
503 int resource_string_value(const char *name, int unit, const char *resname,
505 int resource_disabled(const char *name, int unit);
506 int resource_find_match(int *anchor, const char **name, int *unit,
508 int resource_find_dev(int *anchor, const char *name, int *unit,
510 int resource_set_int(const char *name, int unit, const char *resname,
512 int resource_set_long(const char *name, int unit, const char *resname,
514 int resource_set_string(const char *name, int unit, const char *resname,