Home
last modified time | relevance | path

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

/Linux-v5.4/arch/sparc/include/asm/
Dmdesc.h9 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 …]
Dvio.h513 u64 vio_vdev_node(struct mdesc_handle *hp, struct vio_dev *vdev);
/Linux-v5.4/arch/sparc/kernel/
Dmdesc.c67 struct mdesc_handle *(*alloc)(unsigned int mdesc_size);
68 void (*free)(struct mdesc_handle *handle);
71 struct mdesc_handle { struct
80 typedef int (*mdesc_node_info_get_f)(struct mdesc_handle *, u64, argument
92 static int get_vdev_port_node_info(struct mdesc_handle *md, u64 node,
98 static int get_ds_port_node_info(struct mdesc_handle *md, u64 node,
148 static void mdesc_handle_init(struct mdesc_handle *hp, in mdesc_handle_init()
161 static struct mdesc_handle * __init mdesc_memblock_alloc(unsigned int mdesc_size) in mdesc_memblock_alloc()
164 struct mdesc_handle *hp; in mdesc_memblock_alloc()
167 handle_size = (sizeof(struct mdesc_handle) - in mdesc_memblock_alloc()
[all …]
Dvio.c207 static const u64 *vio_cfg_handle(struct mdesc_handle *hp, u64 node) in vio_cfg_handle()
238 u64 vio_vdev_node(struct mdesc_handle *hp, struct vio_dev *vdev) in vio_vdev_node()
252 static void vio_fill_channel_info(struct mdesc_handle *hp, u64 mp, in vio_fill_channel_info()
292 static struct vio_dev *vio_create_one(struct mdesc_handle *hp, u64 mp, in vio_create_one()
413 static void vio_add(struct mdesc_handle *hp, u64 node, in vio_add()
420 struct mdesc_handle *hp;
440 static void vio_remove(struct mdesc_handle *hp, u64 node, const char *node_name) in vio_remove()
471 static void vio_add_ds(struct mdesc_handle *hp, u64 node, in vio_add_ds()
504 struct mdesc_handle *hp; in vio_init()
Dadi_64.c40 struct mdesc_handle *hp = mdesc_grab(); in mdesc_adi_init()
Dsetup_64.c487 struct mdesc_handle *hp; in mdesc_cpu_hwcap_list()
Dds.c1166 struct mdesc_handle *hp; in ds_probe()
Dldc.c2389 struct mdesc_handle *hp; in ldc_init()
/Linux-v5.4/drivers/watchdog/
Dsun4v_wdt.c94 struct mdesc_handle *handle; in sun4v_wdt_init()
/Linux-v5.4/arch/sparc/mm/
Dinit_64.c1137 static int scan_pio_for_cfg_handle(struct mdesc_handle *md, u64 pio, in scan_pio_for_cfg_handle()
1154 static int scan_arcs_for_cfg_handle(struct mdesc_handle *md, u64 grp, in scan_arcs_for_cfg_handle()
1187 struct mdesc_handle *md; in of_node_to_nid()
1255 static int __init grab_mlgroups(struct mdesc_handle *md) in grab_mlgroups()
1296 static int __init grab_mblocks(struct mdesc_handle *md) in grab_mblocks()
1342 static void __init numa_parse_mdesc_group_cpus(struct mdesc_handle *md, in numa_parse_mdesc_group_cpus()
1398 static void __init find_numa_latencies_for_group(struct mdesc_handle *md, in find_numa_latencies_for_group()
1417 static int __init numa_attach_mlgroup(struct mdesc_handle *md, u64 grp, in numa_attach_mlgroup()
1455 static int __init numa_parse_mdesc_group(struct mdesc_handle *md, u64 grp, in numa_parse_mdesc_group()
1479 struct mdesc_handle *md = mdesc_grab(); in numa_parse_mdesc()
/Linux-v5.4/drivers/net/ethernet/sun/
Dldmvsw.c167 static struct vnet *vsw_get_vnet(struct mdesc_handle *hp, in vsw_get_vnet()
281 struct mdesc_handle *hp; in vsw_port_probe()
Dsunvnet.c383 static struct vnet *vnet_find_parent(struct mdesc_handle *hp, in vnet_find_parent()
425 struct mdesc_handle *hp; in vnet_port_probe()
/Linux-v5.4/drivers/crypto/
Dn2_core.c1723 static int spu_mdesc_walk_arcs(struct mdesc_handle *mdesc, in spu_mdesc_walk_arcs()
1751 struct platform_device *dev, struct mdesc_handle *mdesc, in handle_exec_unit()
1782 static int spu_mdesc_scan(struct mdesc_handle *mdesc, struct platform_device *dev, in spu_mdesc_scan()
1808 static int get_irq_props(struct mdesc_handle *mdesc, u64 node, in get_irq_props()
1837 static int grab_mdesc_irq_props(struct mdesc_handle *mdesc, in grab_mdesc_irq_props()
1987 struct mdesc_handle *mdesc; in n2_crypto_probe()
2094 struct mdesc_handle *mdesc; in n2_mau_probe()
/Linux-v5.4/drivers/sbus/char/
Doradax.c240 struct mdesc_handle *hp = mdesc_grab(); in dax_attach()
/Linux-v5.4/drivers/tty/
Dvcc.c570 struct mdesc_handle *hp; in vcc_probe()
/Linux-v5.4/drivers/block/
Dsunvdc.c978 struct mdesc_handle *hp; in vdc_port_probe()