Lines Matching refs:child

1613  * 		Given the parent devinfo and child devfs pathname, search for
5115 * If it is OK to proceed, Offline and remove all the child
5259 * Mark the child mdi_pathinfo nodes as transient
5550 * Mark the child mdi_pathinfo nodes as transient
6824 i_mdi_pm_pre_config_one(dev_info_t *child)
6829 ct = i_devi_get_client(child);
6839 MDI_DEBUG(4, (MDI_NOTE, child, "already configured\n"));
6845 MDI_DEBUG(4, (MDI_NOTE, child, "already held\n"));
6852 MDI_DEBUG(4, (MDI_NOTE, child, "i_mdi_pm_hold_client\n"));
6861 i_mdi_pm_pre_config(dev_info_t *vdip, dev_info_t *child)
6870 if (child) {
6872 return (i_mdi_pm_pre_config_one(child));
6891 i_mdi_pm_pre_unconfig_one(dev_info_t *child, int *held, int flags)
6896 ct = i_devi_get_client(child);
6904 if (!i_ddi_devi_attached(child)) {
6905 MDI_DEBUG(4, (MDI_NOTE, child, "node detached already\n"));
6912 MDI_DEBUG(4, (MDI_NOTE, child, "auto-modunload\n"));
6918 MDI_DEBUG(4, (MDI_NOTE, child, "ct_powercnt_held\n"));
6927 MDI_DEBUG(4, (MDI_NOTE, child, "i_mdi_pm_hold_client\n"));
6938 i_mdi_pm_pre_unconfig(dev_info_t *vdip, dev_info_t *child, int *held,
6949 if (child) {
6951 return (i_mdi_pm_pre_unconfig_one(child, held, flags));
6972 i_mdi_pm_post_config_one(dev_info_t *child)
6976 ct = i_devi_get_client(child);
6985 MDI_DEBUG(4, (MDI_NOTE, child, "not configured\n"));
6992 MDI_DEBUG(4, (MDI_NOTE, child, "client failed\n"));
6999 !DEVI_IS_ATTACHING(child)) ||
7000 (!i_ddi_devi_attached(child) &&
7001 !DEVI_IS_ATTACHING(child))) {
7002 MDI_DEBUG(4, (MDI_NOTE, child, "i_mdi_pm_reset_client\n"));
7008 MDI_DEBUG(4, (MDI_NOTE, child, "i_mdi_pm_rele_client\n"));
7025 i_mdi_pm_post_config(dev_info_t *vdip, dev_info_t *child)
7033 if (child) {
7035 i_mdi_pm_post_config_one(child);
7052 i_mdi_pm_post_unconfig_one(dev_info_t *child)
7056 ct = i_devi_get_client(child);
7065 MDI_DEBUG(4, (MDI_NOTE, child, "not held\n"));
7072 i_ddi_devi_attached(child)) ||
7073 (!i_ddi_devi_attached(child) &&
7074 !DEVI_IS_ATTACHING(child))) {
7075 MDI_DEBUG(4, (MDI_NOTE, child, "i_mdi_pm_reset_client\n"));
7081 MDI_DEBUG(4, (MDI_NOTE, child, "i_mdi_pm_rele_client\n"));
7099 i_mdi_pm_post_unconfig(dev_info_t *vdip, dev_info_t *child, int held)
7111 if (child) {
7113 i_mdi_pm_post_unconfig_one(child);
8558 * Perform BUS_CONFIG_ONE on the specified child of the phci.
8559 * The path includes the child component in addition to the phci path.
8564 dev_info_t *ph_dip, *child;
8568 /* extract the child component of the phci */
8574 * configure the phci child.
8577 if (ndi_devi_config_one(ph_dip, devnm, &child, NDI_NO_EVENT) ==
8582 ndi_rele_devi(child);
9272 * child upon successful return from this function, *child will be
9273 * set to the configured and held devinfo child node of vdip.
9278 * child and ct_addr parameters are ignored
9281 * arg, child, and ct_addr parameters are ignored
9288 void *arg, dev_info_t **child, char *ct_addr)
9300 * vhci child nodes to be enumerated under the vhci node. Adding a
9301 * vhci child requires an ndi_devi_enter of the vhci. Since another
9302 * thread may be adding the child, to avoid deadlock we can't wait
9360 * All requested child nodes are enumerated under the vhci.
9363 if (ndi_busop_bus_config(vdip, flags, op, arg, child, 0) ==
9369 ndi_busop_bus_config(vdip, flags, op, arg, child, 0) ==
9672 * device should be represented as a child of the vHCI or the