Home
last modified time | relevance | path

Searched refs:mdesc_handle (Results 1 – 10 of 10) sorted by relevance

/linux-3.4.99/arch/sparc/include/asm/
Dmdesc.h8 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);
/linux-3.4.99/arch/sparc/kernel/
Dmdesc.c65 struct mdesc_handle *(*alloc)(unsigned int mdesc_size);
66 void (*free)(struct mdesc_handle *handle);
69 struct mdesc_handle { struct
78 static void mdesc_handle_init(struct mdesc_handle *hp, in mdesc_handle_init() argument
91 static struct mdesc_handle * __init mdesc_memblock_alloc(unsigned int mdesc_size) in mdesc_memblock_alloc()
94 struct mdesc_handle *hp; in mdesc_memblock_alloc()
97 handle_size = (sizeof(struct mdesc_handle) - in mdesc_memblock_alloc()
112 static void __init mdesc_memblock_free(struct mdesc_handle *hp) in mdesc_memblock_free()
130 static struct mdesc_handle *mdesc_kmalloc(unsigned int mdesc_size) in mdesc_kmalloc()
135 handle_size = (sizeof(struct mdesc_handle) - in mdesc_kmalloc()
[all …]
Dvio.c166 static void vio_fill_channel_info(struct mdesc_handle *hp, u64 mp, in vio_fill_channel_info()
192 static struct vio_dev *vio_create_one(struct mdesc_handle *hp, u64 mp, in vio_create_one()
320 static void vio_add(struct mdesc_handle *hp, u64 node) in vio_add()
335 static void vio_remove(struct mdesc_handle *hp, u64 node) in vio_remove()
359 static void vio_add_ds(struct mdesc_handle *hp, u64 node) in vio_add_ds()
391 struct mdesc_handle *hp; in vio_init()
Dsetup_64.c385 struct mdesc_handle *hp; in mdesc_cpu_hwcap_list()
Dds.c1158 struct mdesc_handle *hp; in ds_probe()
Dldc.c2338 struct mdesc_handle *hp; in ldc_init()
/linux-3.4.99/arch/sparc/mm/
Dinit_64.c888 static int scan_pio_for_cfg_handle(struct mdesc_handle *md, u64 pio, in scan_pio_for_cfg_handle()
905 static int scan_arcs_for_cfg_handle(struct mdesc_handle *md, u64 grp, in scan_arcs_for_cfg_handle()
938 struct mdesc_handle *md; in of_node_to_nid()
999 static int __init grab_mlgroups(struct mdesc_handle *md) in grab_mlgroups()
1040 static int __init grab_mblocks(struct mdesc_handle *md) in grab_mblocks()
1086 static void __init numa_parse_mdesc_group_cpus(struct mdesc_handle *md, in numa_parse_mdesc_group_cpus()
1118 static int __init numa_attach_mlgroup(struct mdesc_handle *md, u64 grp, in numa_attach_mlgroup()
1156 static int __init numa_parse_mdesc_group(struct mdesc_handle *md, u64 grp, in numa_parse_mdesc_group()
1180 struct mdesc_handle *md = mdesc_grab(); in numa_parse_mdesc()
/linux-3.4.99/drivers/crypto/
Dn2_core.c1741 static int spu_mdesc_walk_arcs(struct mdesc_handle *mdesc, in spu_mdesc_walk_arcs()
1769 struct platform_device *dev, struct mdesc_handle *mdesc, in handle_exec_unit()
1800 static int spu_mdesc_scan(struct mdesc_handle *mdesc, struct platform_device *dev, in spu_mdesc_scan()
1826 static int __devinit get_irq_props(struct mdesc_handle *mdesc, u64 node, in get_irq_props()
1855 static int __devinit grab_mdesc_irq_props(struct mdesc_handle *mdesc, in grab_mdesc_irq_props()
2007 struct mdesc_handle *mdesc; in n2_crypto_probe()
2118 struct mdesc_handle *mdesc; in n2_mau_probe()
/linux-3.4.99/drivers/net/ethernet/sun/
Dsunvnet.c1091 static struct vnet * __devinit vnet_find_parent(struct mdesc_handle *hp, in vnet_find_parent()
1138 struct mdesc_handle *hp; in vnet_port_probe()
/linux-3.4.99/drivers/block/
Dsunvdc.c739 struct mdesc_handle *hp; in vdc_port_probe()