Lines Matching defs:instance
54 audio_dev_alloc(dev_info_t *dip, int instance)
60 * allow the driver to provide a different instance numbering
61 * scheme than the standard DDI instance number. (This is
63 * -- by default PPA == instance, but sometimes we need more
66 if (instance == 0) {
67 instance = ddi_get_instance(dip);
70 if (instance > AUDIO_MN_INST_MASK) {
71 audio_dev_warn(NULL, "bad instance number for %s (%d)",
72 ddi_driver_name(dip), instance);
83 d->d_instance = instance;
98 ddi_driver_name(dip), instance);
283 int instance;
287 instance = (getminor(dev) >> AUDIO_MN_INST_SHIFT) & AUDIO_MN_INST_MASK;
292 if ((d->d_major == major) && (d->d_instance == instance)) {