Searched refs:n_getprop (Results 1 – 2 of 2) sorted by relevance
/titanic_50/usr/src/uts/sun4u/opl/io/ |
H A D | drmach.c | 106 int (*n_getprop)(struct drmach_node *node, char *name, member 752 np->n_getprop = drmach_node_ddi_get_prop; in drmach_node_new() 826 dup->n_getprop = np->n_getprop; in drmach_node_dup() 988 rv = node->n_getprop(node, "name", name, OBP_MAXDRVNAME); in drmach_device_new() 1512 if (np->n_getprop(np, "portid", &portid, sizeof (portid)) == 0) in drmach_get_portid() 1519 if (np->n_getprop(np, "device_type", &type, sizeof (type)) != 0) in drmach_get_portid() 1526 if (np->n_getprop(np, "cpuid", &portid, sizeof (portid)) == 0) in drmach_get_portid() 1603 rv = node->n_getprop(node, "name", name, OBP_MAXDRVNAME); in drmach_board_find_devices_cb() 1608 rv = node->n_getprop(node, OBP_BOARDNUM, &bnum, sizeof (bnum)); in drmach_board_find_devices_cb() 1982 if (pp.n_getprop(&pp, "device_type", &type, sizeof (type)) != 0) { in drmach_cpu_get_impl() [all …]
|
/titanic_50/usr/src/uts/sun4u/starcat/io/ |
H A D | drmach.c | 204 int (*n_getprop)(struct drmach_node *node, char *name, member 758 np->n_getprop = drmach_node_ddi_get_prop; in drmach_node_new() 765 np->n_getprop = drmach_node_obp_get_prop; in drmach_node_new() 925 dup->n_getprop = np->n_getprop; in drmach_node_dup() 1130 rv = node->n_getprop(node, "name", name, OBP_MAXDRVNAME); in drmach_device_new() 3801 rv = node->n_getprop(node, "reg", (void *)regs, sizeof (regs)); in drmach_pci_new() 4644 if (np->n_getprop(np, "portid", &portid, sizeof (portid)) == 0) in drmach_get_portid() 4651 if (np->n_getprop(np, "device_type", &type, sizeof (type)) != 0) in drmach_get_portid() 4663 if (pp.n_getprop(&pp, "portid", &portid, sizeof (portid)) == 0) in drmach_get_portid() 4728 rv = node->n_getprop(node, "name", name, OBP_MAXDRVNAME); in drmach_board_find_devices_cb() [all …]
|