Home
last modified time | relevance | path

Searched refs:md_t (Results 1 – 25 of 76) sorted by relevance

1234

/titanic_50/usr/src/lib/fm/topo/modules/sun4v/sun4vpi/
H A Dpi_impl.h89 md_t *mdp; /* Machine Description handle */
101 typedef int pi_enum_fn_t(topo_mod_t *, md_t *, mde_cookie_t, topo_instance_t,
113 int pi_enum_generic_impl(topo_mod_t *, md_t *, mde_cookie_t, topo_instance_t,
123 typedef int pi_deferenum_fn_t(topo_mod_t *, md_t *, mde_cookie_t,
128 int pi_defer_exec(topo_mod_t *, md_t *);
131 int pi_enum_update(topo_mod_t *, md_t *, mde_cookie_t, tnode_t *, tnode_t *,
146 int pi_find_mdenodes(topo_mod_t *, md_t *, mde_cookie_t, char *, char *,
148 int pi_skip_node(topo_mod_t *, md_t *, mde_cookie_t);
150 char *pi_get_productsn(topo_mod_t *, md_t *, mde_cookie_t);
151 char *pi_get_chassisid(topo_mod_t *, md_t *, mde_cookie_t);
[all …]
H A Dpi_cpu.c44 static int pi_enum_cpu_serial(topo_mod_t *, md_t *, mde_cookie_t, char **);
45 static int pi_enum_cpu_serial_cb(md_t *, mde_cookie_t, mde_cookie_t, void *);
48 pi_enum_cpu(topo_mod_t *mod, md_t *mdp, mde_cookie_t mde_node, in pi_enum_cpu()
135 pi_enum_cpu_serial(topo_mod_t *mod, md_t *mdp, mde_cookie_t mde_node, in pi_enum_cpu_serial()
164 pi_enum_cpu_serial_cb(md_t *mdp, mde_cookie_t mde_parent, in pi_enum_cpu_serial_cb()
H A Dpi_subr.c76 pi_find_mdenodes(topo_mod_t *mod, md_t *mdp, mde_cookie_t mde_start, in pi_find_mdenodes()
116 pi_skip_node(topo_mod_t *mod, md_t *mdp, mde_cookie_t mde_node) in pi_skip_node()
228 pi_get_productsn(topo_mod_t *mod, md_t *mdp, mde_cookie_t mde_node) in pi_get_productsn()
310 pi_get_chassisid(topo_mod_t *mod, md_t *mdp, mde_cookie_t mde_node) in pi_get_chassisid()
396 pi_get_fru(topo_mod_t *mod, md_t *mdp, mde_cookie_t mde_node, int *is_fru) in pi_get_fru()
423 pi_get_instance(topo_mod_t *mod, md_t *mdp, mde_cookie_t mde_node, in pi_get_instance()
452 pi_get_label(topo_mod_t *mod, md_t *mdp, mde_cookie_t mde_node) in pi_get_label()
547 pi_get_part(topo_mod_t *mod, md_t *mdp, mde_cookie_t mde_node) in pi_get_part()
585 pi_get_path(topo_mod_t *mod, md_t *mdp, mde_cookie_t mde_node) in pi_get_path()
689 pi_get_productid(topo_mod_t *mod, md_t *mdp) in pi_get_productid()
[all …]
H A Dpi_pciexrc.c53 static int pi_enum_pciexrc_finddev(topo_mod_t *, md_t *, mde_cookie_t,
58 static int pi_enum_pciexrc_defer(topo_mod_t *, md_t *, mde_cookie_t,
66 pi_enum_pciexrc(topo_mod_t *mod, md_t *mdp, mde_cookie_t mde_node, in pi_enum_pciexrc()
134 pi_enum_pciexrc_defer(topo_mod_t *mod, md_t *mdp, mde_cookie_t mde_node, in pi_enum_pciexrc_defer()
190 pi_enum_update(topo_mod_t *mod, md_t *mdp, mde_cookie_t mde_node, in pi_enum_update()
417 pi_enum_pciexrc_finddev(topo_mod_t *mod, md_t *mdp, mde_cookie_t mde_node, in pi_enum_pciexrc_finddev()
H A Dpi_generic.c43 pi_enum_generic(topo_mod_t *mod, md_t *mdp, mde_cookie_t mde_node, in pi_enum_generic()
66 pi_enum_generic_impl(topo_mod_t *mod, md_t *mdp, mde_cookie_t mde_node, in pi_enum_generic_impl()
H A Dpi_walker.c115 static int pi_walker_node(md_t *, mde_cookie_t, mde_cookie_t, void *);
121 static int pi_walker_node_range(topo_mod_t *, md_t *, tnode_t *, mde_cookie_t);
122 static int pi_walker_node_create(topo_mod_t *, md_t *, mde_cookie_t, tnode_t *,
315 pi_walker_node(md_t *mdp, mde_cookie_t parent_mde_node, mde_cookie_t mde_node, in pi_walker_node()
415 pi_walker_node_create(topo_mod_t *mod, md_t *mdp, mde_cookie_t mde_node, in pi_walker_node_create()
480 pi_walker_node_range(topo_mod_t *mod, md_t *mdp, tnode_t *t_parent, in pi_walker_node_range()
/titanic_50/usr/src/uts/common/sys/
H A Dmdesc.h94 typedef void *md_t; typedef
140 typedef int md_walk_fn_t(md_t *, mde_cookie_t, mde_cookie_t, void *);
147 extern md_t *md_init_intern(uint64_t *,
151 extern int md_fini(md_t *);
153 extern int md_node_count(md_t *);
155 extern mde_str_cookie_t md_find_name(md_t *, char *namep);
157 extern mde_cookie_t md_root_node(md_t *);
159 extern uint64_t md_get_gen(md_t *);
161 extern size_t md_get_bin_size(md_t *);
163 extern int md_scan_dag(md_t *,
[all …]
/titanic_50/usr/src/uts/sun4v/os/
H A Dfillsysinfo.c62 void fill_cpu(md_t *, mde_cookie_t);
64 static uint64_t get_mmu_ctx_bits(md_t *, mde_cookie_t);
65 static uint64_t get_mmu_tsbs(md_t *, mde_cookie_t);
66 static uint64_t get_mmu_shcontexts(md_t *, mde_cookie_t);
67 static uint64_t get_cpu_pagesizes(md_t *, mde_cookie_t);
68 static char *construct_isalist(md_t *, mde_cookie_t, char **);
69 static void init_md_broken(md_t *, mde_cookie_t *);
70 static int get_l2_cache_info(md_t *, mde_cookie_t, uint64_t *, uint64_t *,
72 static void get_hwcaps(md_t *, mde_cookie_t);
73 static void get_weakest_mem_model(md_t *, mde_cookie_t);
[all …]
H A Dmach_descrip.c73 static void init_domaining_capabilities(md_t *mdp, mde_cookie_t *listp);
574 md_t *
577 md_t *mdp; in md_get_handle()
603 md_fini_handle(md_t *ptr) in md_fini_handle()
655 md_t *mdp; in init_md_params()
681 init_domaining_capabilities(md_t *mdp, mde_cookie_t *listp) in init_domaining_capabilities()
726 md_get_md_raw(md_t *ptr) in md_get_md_raw()
824 md_alloc_scan_dag(md_t *ptr, in md_alloc_scan_dag()
855 md_free_scan_dag(md_t *ptr, in md_free_scan_dag()
H A Dmpo.c179 static int valid_pages(md_t *md, mde_cookie_t cpu0);
186 static void mblock_update(mpo_config_t *, md_t, mde_cookie_t *mblocknodes);
239 get_int(md_t md, mde_cookie_t node, char *propname, uint64_t *val) in get_int()
306 cpuid_to_cpunode(md_t *md, int cpuid) in cpuid_to_cpunode()
341 mpo_cpu_to_lgroup(md_t *md, mde_cookie_t cpunode) in mpo_cpu_to_lgroup()
385 mpo_cpu_add(md_t *md, int cpuid) in mpo_cpu_add()
431 md_get_root(md_t *md) in md_get_root()
458 lgrp_update(md_t *md, mde_cookie_t root) in lgrp_update()
563 lgrp_traverse(md_t *md) in lgrp_traverse()
790 md_t *md; in plat_lgrp_init()
[all …]
/titanic_50/usr/src/uts/sun4v/sys/
H A Dmach_descrip.h80 extern md_t *md_get_handle(void);
81 extern int md_fini_handle(md_t *);
82 extern caddr_t md_get_md_raw(md_t *);
83 extern int md_alloc_scan_dag(md_t *, mde_cookie_t, char *, char *,
85 extern void md_free_scan_dag(md_t *, mde_cookie_t **);
H A Dcpu_module.h165 void fill_cpu(md_t *, mde_cookie_t);
168 void setup_exec_unit_mappings(md_t *);
169 void setup_chip_mappings(md_t *);
/titanic_50/usr/src/cmd/picl/plugins/sun4v/pri/
H A Dpriplugin.h70 md_t *pri_bufinit(md_t *mdp);
71 void pri_devfini(md_t *mdp);
75 void io_dev_addlabel(md_t *mdp);
H A Dmem_prop_update.c38 add_memory_props(picl_nodehdl_t node, mde_cookie_t memorylistp, md_t *mdp,
43 md_t *mdp, uint64_t *size, uint64_t *mask, unsigned int id);
48 md_t *mdp, uint64_t interleave, uint64_t *size, uint64_t base);
65 md_t *mdp = (md_t *)args; in add_mem_prop()
200 md_t *mdp, uint64_t *size, uint64_t *mask, unsigned int id) in add_bank_props()
290 md_t *mdp, uint64_t interleave, uint64_t *size, uint64_t base) in add_segment_props()
309 add_memory_props(picl_nodehdl_t node, mde_cookie_t memorylistp, md_t *mdp, in add_memory_props()
H A Dinit.c61 md_t *
62 pri_bufinit(md_t *mdp) in pri_bufinit()
105 pri_devfini(md_t *mdp) in pri_devfini()
/titanic_50/usr/src/lib/libv12n/sparc/
H A Dlibv12n.c136 static md_t *
139 md_t *mdp; in v12n_md_init()
206 md_t *mdp; in v12n_domaining_enabled()
274 v12n_scan_md_nodes(md_t *mdp, char *node_name, char *node_str_prop, in v12n_scan_md_nodes()
315 v12n_check_hv_access(md_t *mdp) in v12n_check_hv_access()
332 v12n_check_virtual_service(md_t *mdp) in v12n_check_virtual_service()
349 v12n_check_io_service(md_t *mdp) in v12n_check_io_service()
360 v12n_check_root(md_t *mdp) in v12n_check_root()
376 md_t *mdp; in v12n_domain_roles()
412 v12n_get_md_domain_name(md_t *mdp, char **vds_dnamep) in v12n_get_md_domain_name()
[all …]
/titanic_50/usr/src/common/mdesc/
H A Dmdesc_init_intern.c34 md_t *
98 root_name = md_find_name((md_t *)mdp, "root"); in md_init_intern()
162 if (md_get_prop_val((md_t *)mdp, mdp->root_node, in md_init_intern()
168 return ((md_t *)mdp); in md_init_intern()
H A Dmdesc_walkdag.c64 md_walk_dag(md_t *ptr, mde_cookie_t startnode, in md_walk_dag()
174 result = (func)((md_t *)mdp, parentidx, nodeidx, private); in mdl_walk_dag()
H A Dmdesc_fini.c38 md_fini(md_t *ptr) in md_fini()
H A Dmdesc_nodecount.c34 md_node_count(md_t *ptr) in md_node_count()
/titanic_50/usr/src/cmd/picl/plugins/sun4v/mdesc/
H A Dinit.c47 md_t *
51 md_t *mdp; in mdesc_devinit()
104 mdesc_devfini(md_t *mdp) in mdesc_devfini()
H A Dmdescplugin.c43 md_t *mdp;
52 extern md_t *mdesc_devinit(void);
53 extern void mdesc_devfini(md_t *mdp);
/titanic_50/usr/src/uts/sun4v/io/
H A Dvsw.c80 static int vsw_get_md_physname(vsw_t *, md_t *, mde_cookie_t, char *);
81 static int vsw_get_md_smodes(vsw_t *, md_t *, mde_cookie_t, uint8_t *);
89 static int vsw_get_initial_md_properties(vsw_t *vswp, md_t *, mde_cookie_t);
91 static void vsw_vlan_read_ids(void *arg, int type, md_t *mdp,
94 static void vsw_port_read_bandwidth(vsw_port_t *portp, md_t *mdp,
97 md_t *mdp, mde_cookie_t *node);
98 static void vsw_read_pri_eth_types(vsw_t *vswp, md_t *mdp,
100 static void vsw_mtu_read(vsw_t *vswp, md_t *mdp, mde_cookie_t node,
103 static void vsw_linkprop_read(vsw_t *vswp, md_t *mdp, mde_cookie_t node,
105 static void vsw_bandwidth_read(vsw_t *vswp, md_t *mdp, mde_cookie_t node,
[all …]
H A Dmdeg.c73 md_t *md_prev; /* previous MD */
74 md_t *md_curr; /* current MD */
133 static mde_cookie_t mdeg_find_start_node(md_t *, mdeg_node_spec_t *);
134 static boolean_t mdeg_node_spec_match(md_t *, mde_cookie_t, mdeg_node_spec_t *);
318 md_t *mdp = NULL; in mdeg_notify_client_reg()
514 md_t *md_new; in mdeg_notify_clients()
647 mdeg_find_start_node(md_t *md, mdeg_node_spec_t *nspec) in mdeg_find_start_node()
684 mdeg_node_spec_match(md_t *md, mde_cookie_t node, mdeg_node_spec_t *nspec) in mdeg_node_spec_match()
/titanic_50/usr/src/cmd/ldmad/
H A Dldma_system.c159 static md_t *
162 md_t *mdp; in ldma_md_init()
198 md_t *mdp; in ldma_get_chassis_serialno()

1234