Lines Matching defs:cname
2199 find_sibling(dev_info_t *head, char *cname, char *caddr, uint_t flag,
2217 major = ddi_name_to_major(cname);
2235 if (strcmp(cname, DEVI(dip)->devi_node_name) != 0)
2272 * Find child of pdip with name: cname@caddr
2279 char *cname = DEVI(dip)->devi_node_name;
2283 dup = find_sibling(ddi_get_child(pdip), cname, caddr,
2291 return (find_sibling(ddi_get_next_sibling(dip), cname, caddr,
2297 * unnamed children. cname is the binding name.
2312 * unnamed children. cname is the node name.
2315 find_child_by_name(dev_info_t *pdip, char *cname, char *caddr)
2320 dip = find_sibling(ddi_get_child(pdip), cname, caddr,
2325 return (find_sibling(ddi_get_child(pdip), cname, caddr,
2331 * unnamed children. cname is the node name.
2334 find_child_by_driver(dev_info_t *pdip, char *cname, char *caddr)
2339 dip = find_sibling(ddi_get_child(pdip), cname, caddr,
2344 return (find_sibling(ddi_get_child(pdip), cname, caddr,
2350 * unnamed children. cname is the node name.
6657 * matches "cname@caddr". Recommend use of ndi_devi_findchild() instead.
6660 ndi_devi_find(dev_info_t *pdip, char *cname, char *caddr)
6665 if (pdip == NULL || cname == NULL || caddr == NULL)
6669 child = find_sibling(ddi_get_child(pdip), cname, caddr,
6683 char *cname, *caddr;
6689 i_ddi_parse_name(devstr, &cname, &caddr, NULL);
6691 if (cname == NULL || caddr == NULL) {
6696 child = find_sibling(ddi_get_child(pdip), cname, caddr,