Lines Matching defs:phci
181 const char *mdi_component_prop_phci = "phci";
775 * Utility function to return the phci extensions.
980 * Utility function to search for a valid phci device given
2496 * For a client, return the next available path to any phci
2534 * For a phci, return the next available path to any client
2656 MDI_DEBUG(2, (MDI_WARN, pdip, "invalid phci"));
2680 "offline phci %p", (void *)ph));
3441 "!invalid phci: pip %s %p",
5600 * Online the phci
5708 "phci post_attach called %p", (void *)ph));
5986 * Detach/Suspend of phci component failed. Update our state
6390 "op %d for the phci", op));
6474 * Ensure phci powered up
6509 * Allow phci powered down
6613 /* bring all components of phci to full power */
6667 * 1. Place the phci(s) into powered up state so that
6669 * 2. Ensure phci powered up as client power managing
6738 * - hold phci(s)
6739 * - power up phci(s) if not already
7138 * Note: Before the client is enumerated under vhci by phci,
7230 mdi_phci_t *phci;
7236 phci = DEVI(dip)->devi_mdi_xhci;
7237 ASSERT(phci);
7238 *mdi_class = phci->ph_vhci->vh_class;
7660 * Enqueue the vhcache phci (cphci) at the tail of the list
7814 * caddrmapnvl nvlist contains vhci client address to phci client address
7846 * their corresponding phci client addresses.
7853 * phcis string array array of phci paths
7868 * pi_addr1 uint32_array (phci-id, cpi_flags)
7869 * pi_addr2 uint32_array (phci-id, cpi_flags)
7873 * phci-ids are integers that identify pHCIs to which the
8014 /* build phci pathname list */
8037 * Lookup vhcache phci structure for the specified phci path.
8056 * Lookup vhcache phci structure for the specified phci.
8075 * Add the specified phci to the vhci cache if not already present.
8104 * Since a new phci has been added, reset
8118 * Remove the reference to the specified phci from the vhci cache.
8422 * phci bus config structure - one for for each phci bus config operation that
8442 * bus config the specified phci
8452 * first configure all path components upto phci and then configure
8453 * the phci children.
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.
8568 /* extract the child component of the phci */
8573 * first configure all path components upto phci and then
8574 * configure the phci child.
8596 * Build a list of phci client paths for the specified vhci client.
8597 * The list includes only those phci client paths which aren't configured yet.
8642 * Free the memory allocated for phci client path list.
8785 * their corresponding phci clients.
8837 * Arrange for all the phci client paths (pp_head) for the specified client
8994 char *phdriver_name; /* name of the phci driver */
8996 /* set to non zero if the phci driver supports root device */
9001 * vhci class and root support capability of a phci driver can be
9003 * phci driver.conf file. The built-in tables below contain this information
9004 * for those phci drivers whose driver.conf files don't yet contain this info.
9006 * All phci drivers expect iscsi have root device support.
9063 /* add the phci drivers derived from the phci driver.conf files */
9092 /* add the phci drivers specified in the built-in tables */
9107 /* add this phci driver if not already added before */
9121 * Attach the phci driver instances associated with the specified vhci class.
9122 * If root is mounted attach all phci driver instances.
9123 * If root is not mounted, attach the instances of only those phci
9157 * Attach phci driver instances and then drive BUS_CONFIG_ALL on
9158 * the phci driver instances. During this process the cache gets built.
9161 * If the root is not mounted, phci drivers that do not have root support
9163 * in the cache reflect only those phci drivers that have root support.
9233 * Attach phci driver instances and then drive BUS_CONFIG_ALL on all the phci
9299 * thread, to phcis. The phci driver then interacts with MDI to cause
9422 mdi_vhcache_phci_t *phci, *nxt_phci;
9441 /* Not valid to have a path without a phci. */
9455 phci = vhcache->vhcache_phci_head;
9457 for ( ; phci != NULL; phci = nxt_phci) {
9459 nxt_phci = phci->cphci_next;
9460 if (phci->cphci_phci != NULL)
9461 enqueue_vhcache_phci(vhcache, phci);
9463 free_vhcache_phci(phci);
9524 * Walker routine to traverse phci dev_info nodes