Lines Matching defs:dip
32 * (dip) during the device's post-attach process. When this softmac is
316 softmac_create(dev_info_t *dip, dev_t dev)
332 if (GLDV3_DRV(ddi_driver_major(dip))) {
339 if ((strcmp(ddi_driver_name(dip), "clone") == 0) ||
366 ppa = ddi_get_instance(dip);
367 if (i_ddi_minor_node_count(dip, DDI_NT_NET) > 2) {
374 (void) snprintf(devname, MAXNAMELEN, "%s%d", ddi_driver_name(dip), ppa);
405 softmac->smac_umajor = ddi_driver_major(dip);
413 if (GLDV3_DRV(ddi_driver_major(dip))) {
418 i_ddi_minor_node_count(dip, DDI_NT_NET);
940 softmac_destroy(dev_info_t *dip, dev_t dev)
951 if (GLDV3_DRV(ddi_driver_major(dip))) {
957 if ((strcmp(ddi_driver_name(dip), "clone") == 0) ||
967 ppa = ddi_get_instance(dip);
970 (void) snprintf(devname, MAXNAMELEN, "%s%d", ddi_driver_name(dip), ppa);
1520 dev_info_t *dip;
1551 if ((dip = ddi_hold_devi_by_instance(major, inst, 0)) == NULL)
1556 * Note: this check *must* occur after the dip is held, or else
1563 ddi_release_devi(dip);
1609 ddi_release_devi(dip);