Lines Matching refs:node
37 static int display(di_minor_t minor, di_node_t node);
38 static int parallel(di_minor_t minor, di_node_t node);
39 static int node_slash_minor(di_minor_t minor, di_node_t node);
40 static int driver_minor(di_minor_t minor, di_node_t node);
41 static int node_name(di_minor_t minor, di_node_t node);
42 static int minor_name(di_minor_t minor, di_node_t node);
43 static int wifi_minor_name(di_minor_t minor, di_node_t node);
44 static int conskbd(di_minor_t minor, di_node_t node);
45 static int consms(di_minor_t minor, di_node_t node);
46 static int power_button(di_minor_t minor, di_node_t node);
47 static int fc_port(di_minor_t minor, di_node_t node);
48 static int printer_create(di_minor_t minor, di_node_t node);
49 static int se_hdlc_create(di_minor_t minor, di_node_t node);
50 static int ppm(di_minor_t minor, di_node_t node);
51 static int gpio(di_minor_t minor, di_node_t node);
52 static int av_create(di_minor_t minor, di_node_t node);
53 static int tsalarm_create(di_minor_t minor, di_node_t node);
54 static int ntwdt_create(di_minor_t minor, di_node_t node);
55 static int zcons_create(di_minor_t minor, di_node_t node);
56 static int cpuid(di_minor_t minor, di_node_t node);
57 static int glvc(di_minor_t minor, di_node_t node);
58 static int ses_callback(di_minor_t minor, di_node_t node);
59 static int kmdrv_create(di_minor_t minor, di_node_t node);
260 display(di_minor_t minor, di_node_t node) in display() argument
269 (void) devfsadm_mklink(l_path, node, minor, 0); in display()
288 parallel(di_minor_t minor, di_node_t node) in parallel() argument
294 if (strcmp(di_node_name(node), "mcpp") != 0) { in parallel()
298 if (NULL == (buf = di_devfs_path(node))) { in parallel()
313 (void) devfsadm_mklink(path, node, minor, 0); in parallel()
318 ses_callback(di_minor_t minor, di_node_t node) in ses_callback() argument
327 if (NULL == (devfspath = di_devfs_path(node))) { in ses_callback()
344 (void) devfsadm_mklink(l_path, node, minor, 0); in ses_callback()
353 node_slash_minor(di_minor_t minor, di_node_t node) in node_slash_minor() argument
358 (void) strcpy(path, di_node_name(node)); in node_slash_minor()
361 (void) devfsadm_mklink(path, node, minor, 0); in node_slash_minor()
366 driver_minor(di_minor_t minor, di_node_t node) in driver_minor() argument
370 (void) strcpy(path, di_driver_name(node)); in driver_minor()
372 (void) devfsadm_mklink(path, node, minor, 0); in driver_minor()
381 node_name(di_minor_t minor, di_node_t node) in node_name() argument
383 (void) devfsadm_mklink(di_node_name(node), node, minor, 0); in node_name()
392 minor_name(di_minor_t minor, di_node_t node) in minor_name() argument
396 (void) devfsadm_mklink(mn, node, minor, 0); in minor_name()
398 (void) devfsadm_mklink("rawip", node, minor, 0); in minor_name()
401 (void) devfsadm_mklink("rawip6", node, minor, 0); in minor_name()
404 (void) devfsadm_mklink("ipl", node, minor, 0); in minor_name()
413 wifi_minor_name(di_minor_t minor, di_node_t node) in wifi_minor_name() argument
419 (void) devfsadm_mklink(buf, node, minor, 0); in wifi_minor_name()
425 conskbd(di_minor_t minor, di_node_t node) in conskbd() argument
427 (void) devfsadm_mklink("kbd", node, minor, 0); in conskbd()
432 consms(di_minor_t minor, di_node_t node) in consms() argument
434 (void) devfsadm_mklink("mouse", node, minor, 0); in consms()
439 power_button(di_minor_t minor, di_node_t node) in power_button() argument
441 (void) devfsadm_mklink("power_button", node, minor, 0); in power_button()
446 fc_port(di_minor_t minor, di_node_t node) in fc_port() argument
452 if (NULL == (ptr = di_devfs_path(node))) { in fc_port()
470 (void) devfsadm_mklink(path, node, minor, 0); in fc_port()
480 printer_create(di_minor_t minor, di_node_t node) in printer_create() argument
488 if (strcmp(di_driver_name(node), "bpp") == 0) { in printer_create()
489 (void) devfsadm_mklink(mn, node, minor, 0); in printer_create()
492 if (NULL == (buf = di_devfs_path(node))) { in printer_create()
506 (void) devfsadm_mklink(path, node, minor, 0); in printer_create()
517 se_hdlc_create(di_minor_t minor, di_node_t node) in se_hdlc_create() argument
531 if (NULL == (ptr = di_devfs_path(node))) { in se_hdlc_create()
549 (void) devfsadm_mklink(path, node, minor, 0); in se_hdlc_create()
555 gpio(di_minor_t minor, di_node_t node) in gpio() argument
562 drvr_nm = di_driver_name(node); in gpio()
567 devfspath = di_devfs_path(node); in gpio()
583 (void) devfsadm_mklink(l_path, node, minor, 0); in gpio()
592 ppm(di_minor_t minor, di_node_t node) in ppm() argument
594 (void) devfsadm_mklink("ppm", node, minor, 0); in ppm()
603 av_create(di_minor_t minor, di_node_t node) in av_create() argument
610 if ((buf = di_devfs_path(node)) == NULL) { in av_create()
625 (void) devfsadm_mklink(path, node, minor, 0); in av_create()
634 tsalarm_create(di_minor_t minor, di_node_t node) in tsalarm_create() argument
639 (void) snprintf(buf, sizeof (buf), "%s%s", di_node_name(node), ":ctl"); in tsalarm_create()
641 (void) devfsadm_mklink(mn, node, minor, 0); in tsalarm_create()
642 (void) devfsadm_mklink(buf, node, minor, 0); in tsalarm_create()
651 ntwdt_create(di_minor_t minor, di_node_t node) in ntwdt_create() argument
653 (void) devfsadm_mklink("ntwdt", node, minor, 0); in ntwdt_create()
658 zcons_create(di_minor_t minor, di_node_t node) in zcons_create() argument
666 if (di_prop_lookup_strings(DDI_DEV_T_ANY, node, "zonename", in zcons_create()
673 (void) devfsadm_mklink(path, node, minor, 0); in zcons_create()
682 cpuid(di_minor_t minor, di_node_t node) in cpuid() argument
684 (void) devfsadm_mklink(CPUID_SELF_NAME, node, minor, 0); in cpuid()
693 glvc(di_minor_t minor, di_node_t node) in glvc() argument
697 (void) strcpy(node_name, di_node_name(node)); in glvc()
701 (void) devfsadm_mklink("spfma", node, minor, 0); in glvc()
712 kmdrv_create(di_minor_t minor, di_node_t node) in kmdrv_create() argument
715 (void) devfsadm_mklink("kmdrv", node, minor, 0); in kmdrv_create()