Lines Matching refs:prop_name
106 static char *get_byte_prop(char *prop_name, di_node_t node);
109 static int get_prom_int(char *prop_name, di_node_t node,
111 static char *get_prom_str(char *prop_name, di_node_t node,
113 static int get_prop(char *prop_name, di_node_t node);
114 static char *get_str_prop(char *prop_name, di_node_t node);
1330 get_byte_prop(char *prop_name, di_node_t node)
1337 cnt = di_prop_lookup_bytes(DDI_DEV_T_ANY, node, prop_name, &bytes);
1370 get_prom_int(char *prop_name, di_node_t node, di_prom_handle_t ph)
1374 if (di_prom_prop_lookup_ints(ph, node, prop_name, &n) == 1) {
1382 get_prom_str(char *prop_name, di_node_t node, di_prom_handle_t ph)
1386 if (di_prom_prop_lookup_strings(ph, node, prop_name, &str) == 1) {
1397 get_prop(char *prop_name, di_node_t node)
1402 if ((num = di_prop_lookup_ints(DDI_DEV_T_ANY, node, prop_name, &ip))
1416 get_str_prop(char *prop_name, di_node_t node)
1426 if (di_prop_lookup_strings(DDI_DEV_T_ANY, node, prop_name, &str) > 0) {
1638 char prop_name[MAXPROPLEN];
1640 (void) snprintf(prop_name, sizeof (prop_name),
1642 diskp->sync_speed = get_prop(prop_name, pnode);
1643 (void) snprintf(prop_name, sizeof (prop_name), "target%d-wide",
1645 diskp->wide = get_prop(prop_name, pnode);