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);
251 display(di_minor_t minor, di_node_t node) in display() argument
260 (void) devfsadm_mklink(l_path, node, minor, 0); in display()
279 parallel(di_minor_t minor, di_node_t node) in parallel() argument
285 if (strcmp(di_node_name(node), "mcpp") != 0) { in parallel()
289 if (NULL == (buf = di_devfs_path(node))) { in parallel()
304 (void) devfsadm_mklink(path, node, minor, 0); in parallel()
309 ses_callback(di_minor_t minor, di_node_t node) in ses_callback() argument
318 if (NULL == (devfspath = di_devfs_path(node))) { in ses_callback()
335 (void) devfsadm_mklink(l_path, node, minor, 0); in ses_callback()
344 node_slash_minor(di_minor_t minor, di_node_t node) in node_slash_minor() argument
349 (void) strcpy(path, di_node_name(node)); in node_slash_minor()
352 (void) devfsadm_mklink(path, node, minor, 0); in node_slash_minor()
357 driver_minor(di_minor_t minor, di_node_t node) in driver_minor() argument
361 (void) strcpy(path, di_driver_name(node)); in driver_minor()
363 (void) devfsadm_mklink(path, node, minor, 0); in driver_minor()
372 node_name(di_minor_t minor, di_node_t node) in node_name() argument
374 (void) devfsadm_mklink(di_node_name(node), node, minor, 0); in node_name()
383 minor_name(di_minor_t minor, di_node_t node) in minor_name() argument
387 (void) devfsadm_mklink(mn, node, minor, 0); in minor_name()
389 (void) devfsadm_mklink("rawip", node, minor, 0); in minor_name()
392 (void) devfsadm_mklink("rawip6", node, minor, 0); in minor_name()
395 (void) devfsadm_mklink("ipl", node, minor, 0); in minor_name()
404 wifi_minor_name(di_minor_t minor, di_node_t node) in wifi_minor_name() argument
410 (void) devfsadm_mklink(buf, node, minor, 0); in wifi_minor_name()
416 conskbd(di_minor_t minor, di_node_t node) in conskbd() argument
418 (void) devfsadm_mklink("kbd", node, minor, 0); in conskbd()
423 consms(di_minor_t minor, di_node_t node) in consms() argument
425 (void) devfsadm_mklink("mouse", node, minor, 0); in consms()
430 power_button(di_minor_t minor, di_node_t node) in power_button() argument
432 (void) devfsadm_mklink("power_button", node, minor, 0); in power_button()
437 fc_port(di_minor_t minor, di_node_t node) in fc_port() argument
443 if (NULL == (ptr = di_devfs_path(node))) { in fc_port()
461 (void) devfsadm_mklink(path, node, minor, 0); in fc_port()
471 printer_create(di_minor_t minor, di_node_t node) in printer_create() argument
479 if (strcmp(di_driver_name(node), "bpp") == 0) { in printer_create()
480 (void) devfsadm_mklink(mn, node, minor, 0); in printer_create()
483 if (NULL == (buf = di_devfs_path(node))) { in printer_create()
497 (void) devfsadm_mklink(path, node, minor, 0); in printer_create()
508 se_hdlc_create(di_minor_t minor, di_node_t node) in se_hdlc_create() argument
522 if (NULL == (ptr = di_devfs_path(node))) { in se_hdlc_create()
540 (void) devfsadm_mklink(path, node, minor, 0); in se_hdlc_create()
546 gpio(di_minor_t minor, di_node_t node) in gpio() argument
553 drvr_nm = di_driver_name(node); in gpio()
558 devfspath = di_devfs_path(node); in gpio()
574 (void) devfsadm_mklink(l_path, node, minor, 0); in gpio()
583 ppm(di_minor_t minor, di_node_t node) in ppm() argument
585 (void) devfsadm_mklink("ppm", node, minor, 0); in ppm()
594 av_create(di_minor_t minor, di_node_t node) in av_create() argument
601 if ((buf = di_devfs_path(node)) == NULL) { in av_create()
616 (void) devfsadm_mklink(path, node, minor, 0); in av_create()
625 tsalarm_create(di_minor_t minor, di_node_t node) in tsalarm_create() argument
630 (void) snprintf(buf, sizeof (buf), "%s%s", di_node_name(node), ":ctl"); in tsalarm_create()
632 (void) devfsadm_mklink(mn, node, minor, 0); in tsalarm_create()
633 (void) devfsadm_mklink(buf, node, minor, 0); in tsalarm_create()
642 ntwdt_create(di_minor_t minor, di_node_t node) in ntwdt_create() argument
644 (void) devfsadm_mklink("ntwdt", node, minor, 0); in ntwdt_create()
649 zcons_create(di_minor_t minor, di_node_t node) in zcons_create() argument
657 if (di_prop_lookup_strings(DDI_DEV_T_ANY, node, "zonename", in zcons_create()
664 (void) devfsadm_mklink(path, node, minor, 0); in zcons_create()
673 cpuid(di_minor_t minor, di_node_t node) in cpuid() argument
675 (void) devfsadm_mklink(CPUID_SELF_NAME, node, minor, 0); in cpuid()
684 glvc(di_minor_t minor, di_node_t node) in glvc() argument
688 (void) strcpy(node_name, di_node_name(node)); in glvc()
692 (void) devfsadm_mklink("spfma", node, minor, 0); in glvc()
703 kmdrv_create(di_minor_t minor, di_node_t node) in kmdrv_create() argument
706 (void) devfsadm_mklink("kmdrv", node, minor, 0); in kmdrv_create()