Lines Matching defs:prop_name
110 static char *get_byte_prop(char *prop_name, di_node_t node);
113 static int get_prom_int(char *prop_name, di_node_t node,
115 static char *get_prom_str(char *prop_name, di_node_t node,
117 static int get_prop(char *prop_name, di_node_t node);
118 static char *get_str_prop(char *prop_name, di_node_t node);
1414 get_byte_prop(char *prop_name, di_node_t node)
1421 cnt = di_prop_lookup_bytes(DDI_DEV_T_ANY, node, prop_name, &bytes);
1454 get_prom_int(char *prop_name, di_node_t node, di_prom_handle_t ph)
1458 if (di_prom_prop_lookup_ints(ph, node, prop_name, &n) == 1) {
1466 get_prom_str(char *prop_name, di_node_t node, di_prom_handle_t ph)
1470 if (di_prom_prop_lookup_strings(ph, node, prop_name, &str) == 1) {
1481 get_prop(char *prop_name, di_node_t node)
1486 if ((num = di_prop_lookup_ints(DDI_DEV_T_ANY, node, prop_name, &ip))
1500 get_str_prop(char *prop_name, di_node_t node)
1504 if (di_prop_lookup_strings(DDI_DEV_T_ANY, node, prop_name, &str) == 1) {
1715 char prop_name[MAXPROPLEN];
1717 (void) snprintf(prop_name, sizeof (prop_name),
1719 diskp->sync_speed = get_prop(prop_name, pnode);
1720 (void) snprintf(prop_name, sizeof (prop_name), "target%d-wide",
1722 diskp->wide = get_prop(prop_name, pnode);