Home
last modified time | relevance | path

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

/linux-2.4.37.9/arch/ia64/sn/io/hwgdfs/
Dhcl_util.c34 device_master_get(vertex_hdl_t vhdl) in device_master_get() argument
39 rc = hwgraph_edge_get(vhdl, EDGE_LBL_MASTER, &master); in device_master_get()
51 device_master_set(vertex_hdl_t vhdl, vertex_hdl_t master) in device_master_set() argument
55 rc = hwgraph_edge_add(vhdl, master, EDGE_LBL_MASTER); in device_master_set()
66 master_node_get(vertex_hdl_t vhdl) in master_node_get() argument
72 cnodeid = nodevertex_to_cnodeid(vhdl); in master_node_get()
76 master = device_master_get(vhdl); in master_node_get()
79 if (master == vhdl) { in master_node_get()
88 master = hwgraph_connectpt_get(vhdl); in master_node_get()
90 (master == vhdl)) { in master_node_get()
[all …]
Dhcl.c850 hwgraph_vertex_name_get(vertex_hdl_t vhdl, char *buf, uint buflen) in hwgraph_vertex_name_get() argument
860 pos = devfs_generate_path(vhdl, locbuf, buflen); in hwgraph_vertex_name_get()
885 vertex_to_name(vertex_hdl_t vhdl, char *buf, uint buflen) in vertex_to_name() argument
887 if (hwgraph_vertex_name_get(vhdl, buf, buflen) == GRAPH_SUCCESS) in vertex_to_name()
901 hwgraph_vertex_unref(vertex_hdl_t vhdl) in hwgraph_vertex_unref() argument
/linux-2.4.37.9/arch/ia64/sn/io/hwgfs/
Dhcl_util.c37 device_master_get(vertex_hdl_t vhdl) in device_master_get() argument
42 rc = hwgraph_edge_get(vhdl, EDGE_LBL_MASTER, &master); in device_master_get()
54 device_master_set(vertex_hdl_t vhdl, vertex_hdl_t master) in device_master_set() argument
58 rc = hwgraph_edge_add(vhdl, master, EDGE_LBL_MASTER); in device_master_set()
69 master_node_get(vertex_hdl_t vhdl) in master_node_get() argument
75 cnodeid = nodevertex_to_cnodeid(vhdl); in master_node_get()
79 master = device_master_get(vhdl); in master_node_get()
82 if (master == vhdl) { in master_node_get()
91 master = hwgraph_connectpt_get(vhdl); in master_node_get()
93 (master == vhdl)) { in master_node_get()
[all …]
Dhcl.c836 hwgraph_vertex_name_get(vertex_hdl_t vhdl, char *buf, uint buflen) in hwgraph_vertex_name_get() argument
846 pos = hwgfs_generate_path(vhdl, locbuf, buflen); in hwgraph_vertex_name_get()
871 vertex_to_name(vertex_hdl_t vhdl, char *buf, uint buflen) in vertex_to_name() argument
873 if (hwgraph_vertex_name_get(vhdl, buf, buflen) == GRAPH_SUCCESS) in vertex_to_name()
886 hwgraph_vertex_unref(vertex_hdl_t vhdl) in hwgraph_vertex_unref() argument
/linux-2.4.37.9/arch/ia64/sn/io/machvec/
Dpci_dma.c148 vertex_hdl_t vhdl; in sn_pci_alloc_consistent() local
163 vhdl = device_sysdata->vhdl; in sn_pci_alloc_consistent()
184 *dma_handle = pciio_dmatrans_addr(vhdl, NULL, phys_addr, size, in sn_pci_alloc_consistent()
202 dma_map = pciio_dmamap_alloc(vhdl, NULL, size, in sn_pci_alloc_consistent()
265 vertex_hdl_t vhdl; in sn_pci_map_sg() local
280 vhdl = device_sysdata->vhdl; in sn_pci_map_sg()
295 sg->dma_address = pciio_dmatrans_addr(vhdl, NULL, phys_addr, in sn_pci_map_sg()
305 sg->dma_address = pciio_dmatrans_addr(vhdl, NULL, phys_addr, in sn_pci_map_sg()
321 dma_map = pciio_dmamap_alloc(vhdl, NULL, sg->length, PCIIO_DMA_DATA); in sn_pci_map_sg()
405 vertex_hdl_t vhdl; in sn_pci_map_single() local
[all …]
Dpci_bus_cvlink.c63 pciio_info_t pciio_info = pciio_info_get(device_sysdata->vhdl); in set_isPIC()
443 widget_sysdata->vhdl = pci_bus_to_vertex(pci_bus->number); in sn_pci_fixup()
467 vertex_hdl_t vhdl; in sn_pci_fixup() local
478 device_sysdata->vhdl = devfn_to_vertex(device_dev->bus->number, device_dev->devfn); in sn_pci_fixup()
492 vhdl = device_sysdata->vhdl; in sn_pci_fixup()
498 …device_dev->resource[idx].start = (unsigned long)pciio_pio_addr(vhdl, 0, PCIIO_SPACE_WIN(idx), 0, … in sn_pci_fixup()
528 (unsigned long) pciio_pio_addr(vhdl, 0, PCIIO_SPACE_ROM, 0, in sn_pci_fixup()
545 device_vertex = device_sysdata->vhdl; in sn_pci_fixup()
/linux-2.4.37.9/arch/ia64/sn/io/sn2/
Dxbow.c65 vertex_hdl_t vhdl; /* xbow's private vertex */ member
205 vertex_hdl_t vhdl; in xbow_attach() local
266 vhdl = NULL; in xbow_attach()
267 vhdl = hwgraph_register(conn, EDGE_LBL_XBOW, 0, in xbow_attach()
271 if (!vhdl) { in xbow_attach()
282 soft->vhdl = vhdl; in xbow_attach()
301 s = dev_to_name(vhdl, devnm, MAXDEVNAME); in xbow_attach()
336 intr_hdl = xtalk_intr_alloc(conn, (device_desc_t)0, vhdl); in xbow_attach()
471 xbow_widget_lookup(vertex_hdl_t vhdl, in xbow_widget_lookup() argument
477 xswitch_info = xswitch_info_get(vhdl); in xbow_widget_lookup()
[all …]
Dml_iograph.c559 vertex_hdl_t vhdl; in io_link_xswitch_widgets() local
577 if (hwgraph_traverse(xswitchv, pathname, &vhdl) != in io_link_xswitch_widgets()
594 (void *)vhdl); in io_link_xswitch_widgets()
600 if (hwgraph_traverse(xswitchv, pathname, &vhdl) == GRAPH_SUCCESS) in io_link_xswitch_widgets()
601 board->brd_graph_link = vhdl; in io_link_xswitch_widgets()
604 if (hwgraph_traverse(xswitchv, pathname, &vhdl) == GRAPH_SUCCESS) in io_link_xswitch_widgets()
605 board->brd_graph_link = vhdl; in io_link_xswitch_widgets()
Dklgraph.c44 void mark_cpuvertex_as_cpu(vertex_hdl_t vhdl, cpuid_t cpuid);
901 vertex_hdl_t vhdl; in klhwg_add_all_modules() local
927 rc = hwgraph_path_add(hwgraph_root, name, &vhdl); in klhwg_add_all_modules()
930 HWGRAPH_DEBUG((__FILE__, __FUNCTION__, __LINE__, vhdl, NULL, "Created L1 path.\n")); in klhwg_add_all_modules()
932 hwgraph_info_add_LBL(vhdl, in klhwg_add_all_modules()
Dml_SN_intr.c44 extern cnodeid_t master_node_get(vertex_hdl_t vhdl);
/linux-2.4.37.9/include/asm-ia64/sn/sn2/
Dsn_private.h187 #define hubinfo_get(vhdl, infoptr) ((void)hwgraph_info_get_LBL \ argument
188 (vhdl, INFO_LBL_NODE_INFO, (arbitrary_info_t *)infoptr))
190 #define hubinfo_set(vhdl, infoptr) (void)hwgraph_info_add_LBL \ argument
191 (vhdl, INFO_LBL_NODE_INFO, (arbitrary_info_t)infoptr)
208 #define cpuinfo_get(vhdl, infoptr) ((void)hwgraph_info_get_LBL \ argument
209 (vhdl, INFO_LBL_CPU_INFO, (arbitrary_info_t *)infoptr))
211 #define cpuinfo_set(vhdl, infoptr) (void)hwgraph_info_add_LBL \ argument
212 (vhdl, INFO_LBL_CPU_INFO, (arbitrary_info_t)infoptr)
Dshubio.h3564 hub_dmaaddr_drain( vertex_hdl_t vhdl,
3569 hub_dmalist_drain( vertex_hdl_t vhdl,
/linux-2.4.37.9/include/asm-ia64/sn/pci/
Dpci_bus_cvlink.h46 (((struct sn_device_sysdata *)((pci_dev)->sysdata))->vhdl)
49 (((struct sn_widget_sysdata *)((pci_bus)->sysdata))->vhdl)
52 vertex_hdl_t vhdl; member
56 vertex_hdl_t vhdl; member
Dpciio.h359 pciio_dmaaddr_drain_f (vertex_hdl_t vhdl,
364 pciio_dmalist_drain_f (vertex_hdl_t vhdl,
418 pciio_error_extract_f (vertex_hdl_t vhdl,
659 extern pciio_info_t pciio_info_chk(vertex_hdl_t vhdl);
660 extern pciio_info_t pciio_info_get(vertex_hdl_t vhdl);
661 extern pciio_info_t pciio_hostinfo_get(vertex_hdl_t vhdl);
662 extern void pciio_info_set(vertex_hdl_t vhdl, pciio_info_t widget_info);
Dpcibr.h166 extern void pcibr_dmaaddr_drain(vertex_hdl_t vhdl,
170 extern void pcibr_dmalist_drain(vertex_hdl_t vhdl,
220 extern int pcibr_alloc_all_rrbs(vertex_hdl_t vhdl, int even_odd,
/linux-2.4.37.9/arch/ia64/sn/io/
Dio.c455 vertex_hdl_t vhdl; in hub_dmamap_addr() local
463 vhdl = dmamap->hdma_xtalk_info.xd_dev; in hub_dmamap_addr()
464 …printk(KERN_WARNING "%s: hub_dmamap_addr re-uses dmamap.\n", vertex_to_name(vhdl, name, MAXDEVNAM… in hub_dmamap_addr()
485 vertex_hdl_t vhdl; in hub_dmamap_list() local
493 vhdl = hub_dmamap->hdma_xtalk_info.xd_dev; in hub_dmamap_list()
494 …printk(KERN_WARNING "%s: hub_dmamap_list re-uses dmamap\n", vertex_to_name(vhdl, name, MAXDEVNAME… in hub_dmamap_list()
511 vertex_hdl_t vhdl; in hub_dmamap_done() local
519 vhdl = hub_dmamap->hdma_xtalk_info.xd_dev; in hub_dmamap_done()
520 …printk(KERN_WARNING "%s: hub_dmamap_done already done with dmamap\n", vertex_to_name(vhdl, name, … in hub_dmamap_done()
565 hub_dmaaddr_drain( vertex_hdl_t vhdl, in hub_dmaaddr_drain() argument
[all …]
Dxswitch.c76 vertex_hdl_t vhdl[XSWITCH_CENSUS_PORTS]; member
104 xswitch_info->vhdl[port - XSWITCH_CENSUS_PORT_MIN] = xwidget; in xswitch_info_vhdl_set()
118 return xswitch_info->vhdl[port - XSWITCH_CENSUS_PORT_MIN]; in xswitch_info_vhdl_get()
/linux-2.4.37.9/include/asm-ia64/sn/xtalk/
Dxswitch.h36 extern xswitch_info_t xswitch_info_new(vertex_hdl_t vhdl);
47 extern xswitch_info_t xswitch_info_get(vertex_hdl_t vhdl);
Dxtalk.h168 xtalk_dmaaddr_drain_f (vertex_hdl_t vhdl, /* drain channel from this device */
173 xtalk_dmalist_drain_f (vertex_hdl_t vhdl, /* drain channel from this device */
397 typedef void xtalk_iter_f(vertex_hdl_t vhdl);
/linux-2.4.37.9/arch/ia64/sn/kernel/
Dsn_ksyms.c24 extern cnodeid_t master_node_get(devfs_handle_t vhdl);
/linux-2.4.37.9/arch/ia64/sn/io/sn2/pcibr/
Dpcibr_intr.c593 vertex_hdl_t vhdl; in pcibr_setpciint() local
599 vhdl = xtalk_intr_dev_get(xtalk_intr); in pcibr_setpciint()
600 bridge = (bridge_t *)xtalk_piotrans_addr(vhdl, 0, 0, sizeof(bridge_t), 0); in pcibr_setpciint()
Dpcibr_dvr.c92 extern int hwgraph_vertex_name_get(vertex_hdl_t vhdl, char *buf, uint buflen);
94 extern cnodeid_t nodevertex_to_cnodeid(vertex_hdl_t vhdl);
618 pcibr_info_get(vertex_hdl_t vhdl) in pcibr_info_get() argument
620 return (pcibr_info_t) pciio_info_get(vhdl); in pcibr_info_get()
3936 pcibr_debug(uint32_t type, vertex_hdl_t vhdl, char *format, ...)
3946 if (vhdl) {
3947 if (!hwgraph_vertex_name_get(vhdl, hwpath, MAXDEVNAME)) {
3975 if ((vhdl == NULL) ||
/linux-2.4.37.9/include/asm-ia64/sn/
Drouter.h596 vertex_hdl_t vhdl; member
/linux-2.4.37.9/arch/ia64/sn/io/sn2/ioc4/
Dioc4.c127 extern cpuid_t cpuvertex_to_cpuid(vertex_hdl_t vhdl);
/linux-2.4.37.9/include/asm-mips64/sn/
Dklconfig.h946 extern void setup_gfxpipe_link(vertex_hdl_t vhdl,int pipenum);