Searched refs:mdesc_handle (Results 1 – 6 of 6) sorted by relevance
/arch/sparc/include/asm/ |
D | mdesc.h | 8 struct mdesc_handle; 15 extern struct mdesc_handle *mdesc_grab(void); 16 extern void mdesc_release(struct mdesc_handle *); 20 extern u64 mdesc_node_by_name(struct mdesc_handle *handle, 37 extern const void *mdesc_get_property(struct mdesc_handle *handle, 39 extern const char *mdesc_node_name(struct mdesc_handle *hp, u64 node); 53 extern u64 mdesc_next_arc(struct mdesc_handle *handle, u64 from, 60 extern u64 mdesc_arc_target(struct mdesc_handle *hp, u64 arc); 65 void (*add)(struct mdesc_handle *handle, u64 node); 66 void (*remove)(struct mdesc_handle *handle, u64 node);
|
/arch/sparc/kernel/ |
D | mdesc.c | 62 struct mdesc_handle *(*alloc)(unsigned int mdesc_size); 63 void (*free)(struct mdesc_handle *handle); 66 struct mdesc_handle { struct 75 static void mdesc_handle_init(struct mdesc_handle *hp, in mdesc_handle_init() argument 88 static struct mdesc_handle * __init mdesc_lmb_alloc(unsigned int mdesc_size) in mdesc_lmb_alloc() 91 struct mdesc_handle *hp; in mdesc_lmb_alloc() 94 handle_size = (sizeof(struct mdesc_handle) - in mdesc_lmb_alloc() 109 static void mdesc_lmb_free(struct mdesc_handle *hp) in mdesc_lmb_free() 137 static struct mdesc_handle *mdesc_kmalloc(unsigned int mdesc_size) in mdesc_kmalloc() 142 handle_size = (sizeof(struct mdesc_handle) - in mdesc_kmalloc() [all …]
|
D | vio.c | 160 static void vio_fill_channel_info(struct mdesc_handle *hp, u64 mp, in vio_fill_channel_info() 186 static struct vio_dev *vio_create_one(struct mdesc_handle *hp, u64 mp, in vio_create_one() 309 static void vio_add(struct mdesc_handle *hp, u64 node) in vio_add() 324 static void vio_remove(struct mdesc_handle *hp, u64 node) in vio_remove() 348 static void vio_add_ds(struct mdesc_handle *hp, u64 node) in vio_add_ds() 380 struct mdesc_handle *hp; in vio_init()
|
D | ds.c | 1140 struct mdesc_handle *hp; in ds_probe()
|
D | ldc.c | 2340 struct mdesc_handle *hp; in ldc_init()
|
/arch/sparc/mm/ |
D | init_64.c | 886 static int scan_pio_for_cfg_handle(struct mdesc_handle *md, u64 pio, in scan_pio_for_cfg_handle() 903 static int scan_arcs_for_cfg_handle(struct mdesc_handle *md, u64 grp, in scan_arcs_for_cfg_handle() 936 struct mdesc_handle *md; in of_node_to_nid() 1000 static int __init grab_mlgroups(struct mdesc_handle *md) in grab_mlgroups() 1041 static int __init grab_mblocks(struct mdesc_handle *md) in grab_mblocks() 1080 static void __init numa_parse_mdesc_group_cpus(struct mdesc_handle *md, in numa_parse_mdesc_group_cpus() 1112 static int __init numa_attach_mlgroup(struct mdesc_handle *md, u64 grp, in numa_attach_mlgroup() 1150 static int __init numa_parse_mdesc_group(struct mdesc_handle *md, u64 grp, in numa_parse_mdesc_group() 1174 struct mdesc_handle *md = mdesc_grab(); in numa_parse_mdesc()
|