Home
last modified time | relevance | path

Searched refs:modh (Results 1 – 16 of 16) sorted by relevance

/titanic_41/usr/src/lib/libprtdiag_psr/sparc/snowbird/common/
H A Dsnowbird.c123 picldiag_get_uint_propval(picl_nodehdl_t modh, char *prop_name, int *ret);
124 static int picldiag_get_clock_freq(picl_nodehdl_t modh, uint32_t *freq);
131 picldiag_get_uint_propval(picl_nodehdl_t modh, char *prop_name, int *ret) in picldiag_get_uint_propval() argument
141 err = picl_get_propinfo_by_name(modh, prop_name, &pinfo, &proph); in picldiag_get_uint_propval()
187 picldiag_get_clock_freq(picl_nodehdl_t modh, uint32_t *freq) in picldiag_get_clock_freq() argument
194 clk_freq = picldiag_get_uint_propval(modh, OBP_PROP_CLOCK_FREQ, &err); in picldiag_get_clock_freq()
229 picldiag_get_string_propval(picl_nodehdl_t modh, char *prop_name, char **outbuf) in picldiag_get_string_propval() argument
236 err = picl_get_propinfo_by_name(modh, prop_name, &pinfo, &proph); in picldiag_get_string_propval()
/titanic_41/usr/src/lib/libprtdiag_psr/sparc/opl/common/
H A Dopl_picl.c71 static int picldiag_get_clock_freq(picl_nodehdl_t modh,
73 static uint64_t picldiag_get_uint_propval(picl_nodehdl_t modh,
805 picldiag_get_clock_freq(picl_nodehdl_t modh, uint32_t *freq, uint32_t *freq_max) in picldiag_get_clock_freq() argument
811 if (is_66mhz_capable(modh)) in picldiag_get_clock_freq()
813 clk_freq = picldiag_get_uint_propval(modh, OBP_PROP_CLOCK_FREQ, &err); in picldiag_get_clock_freq()
823 picldiag_get_uint_propval(picl_nodehdl_t modh, char *prop_name, int *ret) in picldiag_get_uint_propval() argument
833 err = picl_get_propinfo_by_name(modh, prop_name, &pinfo, &proph); in picldiag_get_uint_propval()
/titanic_41/usr/src/lib/libprtdiag_psr/sparc/ontario/common/
H A Dpelton.c63 static int64_t pelton_get_int_propval(picl_nodehdl_t modh, char *prop_name,
455 pelton_get_int_propval(picl_nodehdl_t modh, char *prop_name, int *ret) in pelton_get_int_propval() argument
465 err = picl_get_propinfo_by_name(modh, prop_name, &pinfo, &proph); in pelton_get_int_propval()
H A Derie.h100 int64_t erie_get_int_propval(picl_nodehdl_t modh, char *prop_name,
H A Dhuron.h107 int64_t huron_get_int_propval(picl_nodehdl_t modh, char *prop_name,
H A Dstpaul.c65 static int64_t stpaul_get_int_propval(picl_nodehdl_t modh, char *prop_name,
516 stpaul_get_int_propval(picl_nodehdl_t modh, char *prop_name, int *ret) in stpaul_get_int_propval() argument
526 err = picl_get_propinfo_by_name(modh, prop_name, &pinfo, &proph); in stpaul_get_int_propval()
H A Dontario.c77 static int64_t ontario_get_int_propval(picl_nodehdl_t modh, char *prop_name,
661 ontario_get_int_propval(picl_nodehdl_t modh, char *prop_name, int *ret) in ontario_get_int_propval() argument
671 err = picl_get_propinfo_by_name(modh, prop_name, &pinfo, &proph); in ontario_get_int_propval()
H A Derie.c319 erie_get_int_propval(picl_nodehdl_t modh, char *prop_name, int *ret) in erie_get_int_propval() argument
329 err = picl_get_propinfo_by_name(modh, prop_name, &pinfo, &proph); in erie_get_int_propval()
H A Dhuron.c445 huron_get_int_propval(picl_nodehdl_t modh, char *prop_name, int *ret) in huron_get_int_propval() argument
455 err = picl_get_propinfo_by_name(modh, prop_name, &pinfo, &proph); in huron_get_int_propval()
/titanic_41/usr/src/lib/libprtdiag_psr/sparc/montoya/common/
H A Dmontoya.c73 static int64_t montoya_get_int_propval(picl_nodehdl_t modh, char *prop_name,
545 montoya_get_int_propval(picl_nodehdl_t modh, char *prop_name, int *ret) in montoya_get_int_propval() argument
555 err = picl_get_propinfo_by_name(modh, prop_name, &pinfo, &proph); in montoya_get_int_propval()
/titanic_41/usr/src/uts/common/crypto/core/
H A Dkcf_cryptoadm.c509 ddi_modhandle_t modh = NULL; in crypto_get_soft_info() local
525 modh = ddi_modopen(tmp, KRTLD_MODE_FIRST, NULL); in crypto_get_soft_info()
528 if (modh == NULL) { in crypto_get_soft_info()
540 if (modh != NULL) in crypto_get_soft_info()
541 (void) ddi_modclose(modh); in crypto_get_soft_info()
/titanic_41/usr/src/lib/libprtdiag_psr/sparc/monza/common/
H A Dmonza.c75 static int64_t monza_get_int_propval(picl_nodehdl_t modh, char *prop_name,
590 monza_get_int_propval(picl_nodehdl_t modh, char *prop_name, int *ret) in monza_get_int_propval() argument
600 err = picl_get_propinfo_by_name(modh, prop_name, &pinfo, &proph); in monza_get_int_propval()
/titanic_41/usr/src/lib/libprtdiag_psr/sparc/schumacher/common/
H A Dschumacher.c236 picldiag_get_string_propval(picl_nodehdl_t modh, char *prop_name, char **outbuf) in picldiag_get_string_propval() argument
243 err = picl_get_propinfo_by_name(modh, prop_name, &pinfo, &proph); in picldiag_get_string_propval()
273 picldiag_get_int_propval(picl_nodehdl_t modh, char *prop_name, int *ret) in picldiag_get_int_propval() argument
283 err = picl_get_propinfo_by_name(modh, prop_name, &pinfo, &proph); in picldiag_get_int_propval()
326 picldiag_get_uint_propval(picl_nodehdl_t modh, char *prop_name, int *ret) in picldiag_get_uint_propval() argument
336 err = picl_get_propinfo_by_name(modh, prop_name, &pinfo, &proph); in picldiag_get_uint_propval()
380 picldiag_get_float_propval(picl_nodehdl_t modh, char *prop_name, int *ret) in picldiag_get_float_propval() argument
387 err = picl_get_propinfo_by_name(modh, prop_name, &pinfo, &proph); in picldiag_get_float_propval()
409 picldiag_get_clock_freq(picl_nodehdl_t modh, uint32_t *freq) in picldiag_get_clock_freq() argument
415 clk_freq = picldiag_get_uint_propval(modh, OBP_PROP_CLOCK_FREQ, &err); in picldiag_get_clock_freq()
/titanic_41/usr/src/lib/libprtdiag_psr/sparc/desktop/common/
H A Dpicldiag.c275 picldiag_get_string_propval(picl_nodehdl_t modh, char *prop_name, char **outbuf) in picldiag_get_string_propval() argument
282 err = picl_get_propinfo_by_name(modh, prop_name, &pinfo, &proph); in picldiag_get_string_propval()
312 picldiag_get_int_propval(picl_nodehdl_t modh, char *prop_name, int *ret) in picldiag_get_int_propval() argument
322 err = picl_get_propinfo_by_name(modh, prop_name, &pinfo, &proph); in picldiag_get_int_propval()
365 picldiag_get_uint_propval(picl_nodehdl_t modh, char *prop_name, int *ret) in picldiag_get_uint_propval() argument
375 err = picl_get_propinfo_by_name(modh, prop_name, &pinfo, &proph); in picldiag_get_uint_propval()
419 picldiag_get_float_propval(picl_nodehdl_t modh, char *prop_name, int *ret) in picldiag_get_float_propval() argument
426 err = picl_get_propinfo_by_name(modh, prop_name, &pinfo, &proph); in picldiag_get_float_propval()
448 picldiag_get_clock_freq(picl_nodehdl_t modh, uint32_t *freq) in picldiag_get_clock_freq() argument
454 clk_freq = picldiag_get_uint_propval(modh, OBP_PROP_CLOCK_FREQ, &err); in picldiag_get_clock_freq()
/titanic_41/usr/src/lib/libprtdiag_psr/sparc/lw8/common/
H A Dlw8.c270 picldiag_get_string_propval(picl_nodehdl_t modh, char *prop_name, char **outbuf) in picldiag_get_string_propval() argument
277 err = picl_get_propinfo_by_name(modh, prop_name, &pinfo, &proph); in picldiag_get_string_propval()
307 picldiag_get_int_propval(picl_nodehdl_t modh, char *prop_name, int *ret) in picldiag_get_int_propval() argument
317 err = picl_get_propinfo_by_name(modh, prop_name, &pinfo, &proph); in picldiag_get_int_propval()
359 picldiag_get_uint_propval(picl_nodehdl_t modh, char *prop_name, int *ret) in picldiag_get_uint_propval() argument
369 err = picl_get_propinfo_by_name(modh, prop_name, &pinfo, &proph); in picldiag_get_uint_propval()
413 picldiag_get_float_propval(picl_nodehdl_t modh, char *prop_name, int *ret) in picldiag_get_float_propval() argument
420 err = picl_get_propinfo_by_name(modh, prop_name, &pinfo, &proph); in picldiag_get_float_propval()
442 picldiag_get_clock_freq(picl_nodehdl_t modh, uint32_t *freq) in picldiag_get_clock_freq() argument
448 clk_freq = picldiag_get_uint_propval(modh, OBP_PROP_CLOCK_FREQ, &err); in picldiag_get_clock_freq()
/titanic_41/usr/src/cmd/picl/plugins/common/devtree/
H A Dpicldevtree.c1860 get_cpu_portid(picl_nodehdl_t modh, int *id) in get_cpu_portid() argument
1866 err = get_int_propval_by_name(modh, OBP_PROP_UPA_PORTID, id); in get_cpu_portid()
1869 err = get_int_propval_by_name(modh, OBP_PROP_PORTID, id); in get_cpu_portid()
1872 return (get_int_propval_by_name(modh, OBP_PROP_CPUID, id)); in get_cpu_portid()
1875 return (get_int_propval_by_name(modh, OBP_REG, id)); in get_cpu_portid()