Lines Matching defs:dipp
634 dev_info_t **dipp;
652 dipp = (dev_info_t **)(&DEVI(parent)->devi_child);
653 while (*dipp && (*dipp != dip)) {
654 dipp = (dev_info_t **)(&DEVI(*dipp)->devi_sibling);
656 ASSERT(*dipp == NULL); /* node is not linked */
685 *dipp = dip;
709 dev_info_t **dipp;
729 dipp = (dev_info_t **)(&DEVI(parent)->devi_child);
730 while (*dipp && (*dipp != dip)) {
731 dipp = (dev_info_t **)(&DEVI(*dipp)->devi_sibling);
733 if (*dipp) {
734 *dipp = (dev_info_t *)(devi->devi_sibling);
3016 dev_info_t **dipp;
3020 dipp = &dnp->dn_head;
3025 while (*dipp && (ndi_dev_is_prom_node(*dipp) != 0)) {
3026 dipp = (dev_info_t **)&DEVI(*dipp)->devi_next;
3032 while (*dipp && (ndi_dev_is_persistent_node(*dipp) != 0)) {
3033 dipp = (dev_info_t **)&DEVI(*dipp)->devi_next;
3039 while (*dipp) {
3040 dipp = (dev_info_t **)&DEVI(*dipp)->devi_next;
3044 DEVI(dip)->devi_next = DEVI(*dipp);
3045 *dipp = dip;
3824 dev_info_t **dipp, dev_t *devtp, int *spectypep)
3964 if (dipp != NULL)
3965 *dipp = parent;
3969 * detaching but ddi_pathname_to_dev_t() specifies a NULL dipp,
3978 * it, and all references, with a call that specifies a dipp.
5150 devi_unconfig_branch(dev_info_t *dip, dev_info_t **dipp, int flags,
5161 rval = devi_unconfig_common(dip, dipp, flags, DDI_MAJOR_T_NONE,
5169 rval = devi_unconfig_common(dip, dipp, flags, DDI_MAJOR_T_NONE,
5565 ndi_devi_config_one(dev_info_t *pdip, char *devnm, dev_info_t **dipp, int flags)
5575 ASSERT(dipp);
5583 *dipp = NULL;
5602 error = devi_config_one(pdip, devnm, dipp, flags, 0);
5605 error = (*f)(pdip, flags, BUS_CONFIG_ONE, (void *)devnm, dipp);
5609 *dipp = NULL;
5628 *dipp = ddi_alias_redirect(alias);
5629 error = (*dipp ? NDI_SUCCESS : NDI_FAILURE);
5645 ASSERT(*dipp);
5646 error = devi_config_common(*dipp, flags, DDI_MAJOR_T_NONE);
5651 (void) i_log_devfs_branch_add(*dipp);
6015 dev_info_t **dipp,
6025 ASSERT(dipp == NULL || *dipp == NULL);
6077 if (dipp && *dipp == NULL) {
6079 *dipp = child;
6103 dev_info_t **dipp,
6114 hdl = mt_config_init(dip, dipp, flags, major, MT_UNCONFIG_OP, brevqp);
6129 dev_info_t **dipp,
6139 if (dipp)
6140 *dipp = NULL;
6160 rv = unconfig_grand_children(dip, dipp, flags, major, brevqp);
6172 if (dipp && *dipp) {
6173 ndi_rele_devi(*dipp);
6174 *dipp = NULL;
6188 rv = unconfig_immediate_children(dip, dipp, flags, major);
6233 e_ddi_devi_unconfig(dev_info_t *dip, dev_info_t **dipp, int flags)
6239 return (devi_unconfig_common(dip, dipp, flags, DDI_MAJOR_T_NONE, NULL));
6293 dev_info_t **dipp,
6314 if (dipp)
6315 *dipp = NULL;
6348 rv = devi_unconfig_branch(child, dipp, flags | NDI_UNCONFIG, &brevq);
6370 if (dipp && rv != NDI_SUCCESS) {
6372 ASSERT(*dipp == NULL);
6373 *dipp = child;
7502 mt_config_init(dev_info_t *pdip, dev_info_t **dipp, int flags,
7510 hdl->mtc_fdip = dipp;
7593 dev_info_t *rdip, **dipp;
7604 dipp = hdl->mtc_fdip ? &rdip : NULL;
7613 rv = devi_unconfig_common(dip, dipp, flags, major,
7617 rv = devi_unconfig_common(dip, dipp, flags, major,