Lines Matching defs:cname
2533 char *devstr, *cname, *caddr;
2567 i_ddi_parse_name(devstr, &cname, &caddr, NULL);
2576 ASSERT(cname && strlen(cname) > 0);
2590 devname, cname, caddr);
2596 if (strcmp(cname, "pshot") == 0) {
2598 cname, caddr);
2601 cname, caddr);
2702 pshot_findchild(dev_info_t *pdip, char *cname, char *caddr)
2707 ASSERT(cname != NULL && caddr != NULL);
2712 if (strcmp(cname, ddi_node_name(dip)) != 0)
2734 pshot_nexus_properties(dev_info_t *parent, dev_info_t *child, char *cname,
2764 ddi_get_instance(parent), cname, caddr);
2773 ddi_get_instance(parent), cname, caddr);
2792 ddi_get_instance(parent), cname, caddr);
2801 ddi_get_instance(parent), cname, caddr);
2808 pshot_leaf_properties(dev_info_t *parent, dev_info_t *child, char *cname,
2836 ddi_get_instance(parent), cname, caddr);
2846 ddi_get_instance(parent), cname, caddr);
2865 ddi_get_instance(parent), cname, caddr);
2874 cname, caddr);
2884 pshot_bus_config_setup_nexus(dev_info_t *parent, char *cname, char *caddr)
2890 ASSERT(cname != NULL);
2893 child = pshot_findchild(parent, cname, caddr);
2898 ddi_get_instance(parent), cname, caddr);
2905 (void) pshot_nexus_properties(parent, child, cname, caddr);
2910 ndi_devi_alloc_sleep(parent, cname, DEVI_SID_NODEID, &child);
2916 ddi_get_instance(parent), cname, caddr);
2924 ddi_get_instance(parent), cname);
2932 (void) pshot_nexus_properties(parent, child, cname, caddr);
2942 pshot_bus_config_setup_leaf(dev_info_t *parent, char *cname, char *caddr)
2951 ASSERT(cname != NULL);
2957 if ((child = pshot_findchild(parent, cname, caddr)) != NULL) {
2963 (void) pshot_leaf_properties(parent, child, cname, caddr);
2968 ndi_devi_alloc_sleep(parent, cname, DEVI_SID_NODEID, &child);
2982 if (strcmp(cname, pshot_compat_diskname) == 0) {
2992 if (strcmp(cname, pshot_devices[i].name) == 0) {
2997 ddi_get_instance(parent), cname,
3019 ddi_get_instance(parent), cname);
3028 (void) pshot_leaf_properties(parent, child, cname, caddr);
3050 char *cname, char *caddr)