/linux/arch/sparc/kernel/ |
H A D | mdesc.c | 68 struct mdesc_handle *(*alloc)(unsigned int mdesc_size); 69 void (*free)(struct mdesc_handle *handle); 72 struct mdesc_handle { struct 81 typedef int (*mdesc_node_info_get_f)(struct mdesc_handle *, u64, argument 93 static int get_vdev_port_node_info(struct mdesc_handle *md, u64 node, 99 static int get_ds_port_node_info(struct mdesc_handle *md, u64 node, 149 static void mdesc_handle_init(struct mdesc_handle *hp, in mdesc_handle_init() 162 static struct mdesc_handle * __init mdesc_memblock_alloc(unsigned int mdesc_size) in mdesc_memblock_alloc() 165 struct mdesc_handle *hp; in mdesc_memblock_alloc() 168 handle_size = (sizeof(struct mdesc_handle) - in mdesc_memblock_alloc() [all …]
|
H A D | vio.c | 205 static const u64 *vio_cfg_handle(struct mdesc_handle *hp, u64 node) in vio_cfg_handle() 236 u64 vio_vdev_node(struct mdesc_handle *hp, struct vio_dev *vdev) in vio_vdev_node() 250 static void vio_fill_channel_info(struct mdesc_handle *hp, u64 mp, in vio_fill_channel_info() 290 static struct vio_dev *vio_create_one(struct mdesc_handle *hp, u64 mp, in vio_create_one() 411 static void vio_add(struct mdesc_handle *hp, u64 node, in vio_add() 418 struct mdesc_handle *hp; 438 static void vio_remove(struct mdesc_handle *hp, u64 node, const char *node_name) in vio_remove() 469 static void vio_add_ds(struct mdesc_handle *hp, u64 node, in vio_add_ds() 502 struct mdesc_handle *hp; in vio_init()
|
H A D | ds.c | 1166 struct mdesc_handle *hp; in ds_probe()
|
H A D | ldc.c | 2389 struct mdesc_handle *hp; in ldc_init()
|
/linux/arch/sparc/include/asm/ |
H A D | mdesc.h | 9 struct mdesc_handle; 16 struct mdesc_handle *mdesc_grab(void); 17 void mdesc_release(struct mdesc_handle *); 22 u64 mdesc_node_by_name(struct mdesc_handle *handle, 39 const void *mdesc_get_property(struct mdesc_handle *handle, 41 const char *mdesc_node_name(struct mdesc_handle *hp, u64 node); 55 u64 mdesc_next_arc(struct mdesc_handle *handle, u64 from, 62 u64 mdesc_arc_target(struct mdesc_handle *hp, u64 arc); 67 void (*add)(struct mdesc_handle *handle, u64 node, 69 void (*remove)(struct mdesc_handle *handle, u64 node, [all …]
|
H A D | vio.h | 506 u64 vio_vdev_node(struct mdesc_handle *hp, struct vio_dev *vdev);
|
/linux/arch/sparc/mm/ |
H A D | init_64.c | 1117 static int scan_pio_for_cfg_handle(struct mdesc_handle *md, u64 pio, in scan_pio_for_cfg_handle() 1134 static int scan_arcs_for_cfg_handle(struct mdesc_handle *md, u64 grp, in scan_arcs_for_cfg_handle() 1167 struct mdesc_handle *md; in of_node_to_nid() 1231 static int __init grab_mlgroups(struct mdesc_handle *md) in grab_mlgroups() 1272 static int __init grab_mblocks(struct mdesc_handle *md) in grab_mblocks() 1318 static void __init numa_parse_mdesc_group_cpus(struct mdesc_handle *md, in numa_parse_mdesc_group_cpus() 1374 static void __init find_numa_latencies_for_group(struct mdesc_handle *md, in find_numa_latencies_for_group() 1393 static int __init numa_attach_mlgroup(struct mdesc_handle *md, u64 grp, in numa_attach_mlgroup() 1431 static int __init numa_parse_mdesc_group(struct mdesc_handle *md, u64 grp, in numa_parse_mdesc_group() 1455 struct mdesc_handle *md = mdesc_grab(); in numa_parse_mdesc()
|
/linux/drivers/watchdog/ |
H A D | sun4v_wdt.c | 94 struct mdesc_handle *handle; in sun4v_wdt_init()
|
/linux/drivers/net/ethernet/sun/ |
H A D | ldmvsw.c | 166 static struct vnet *vsw_get_vnet(struct mdesc_handle *hp, in vsw_get_vnet() 277 struct mdesc_handle *hp; in vsw_port_probe()
|
H A D | sunvnet.c | 371 static struct vnet *vnet_find_parent(struct mdesc_handle *hp, in vnet_find_parent() 413 struct mdesc_handle *hp; in vnet_port_probe()
|
/linux/drivers/crypto/ |
H A D | n2_core.c | 1657 static int spu_mdesc_walk_arcs(struct mdesc_handle *mdesc, in spu_mdesc_walk_arcs() 1685 struct platform_device *dev, struct mdesc_handle *mdesc, in handle_exec_unit() 1716 static int spu_mdesc_scan(struct mdesc_handle *mdesc, struct platform_device *dev, in spu_mdesc_scan() 1742 static int get_irq_props(struct mdesc_handle *mdesc, u64 node, in get_irq_props() 1771 static int grab_mdesc_irq_props(struct mdesc_handle *mdesc, in grab_mdesc_irq_props() 1919 struct mdesc_handle *mdesc; in n2_crypto_probe() 2024 struct mdesc_handle *mdesc; in n2_mau_probe()
|
/linux/drivers/tty/ |
H A D | vcc.c | 562 struct mdesc_handle *hp; in vcc_probe()
|
/linux/drivers/sbus/char/ |
H A D | oradax.c | 242 struct mdesc_handle *hp = mdesc_grab(); in dax_attach()
|
/linux/drivers/block/ |
H A D | sunvdc.c | 968 struct mdesc_handle *hp; in vdc_port_probe()
|