Home
last modified time | relevance | path

Searched refs:hubdev_info (Results 1 – 9 of 9) sorted by relevance

/linux-2.6.39/arch/ia64/sn/kernel/
Dhuberror.c21 void hubiio_crb_error_handler(struct hubdev_info *hubdev_info);
26 struct hubdev_info *hubdev_info; in hub_eint_handler() local
32 hubdev_info = (struct hubdev_info *)arg; in hub_eint_handler()
33 nasid = hubdev_info->hdi_nasid; in hub_eint_handler()
44 (void)hubiio_crb_error_handler(hubdev_info); in hub_eint_handler()
69 void hubiio_crb_free(struct hubdev_info *hubdev_info, int crbnum) in hubiio_crb_free() argument
77 icrbb.ii_icrb0_b_regval = REMOTE_HUB_L(hubdev_info->hdi_nasid, in hubiio_crb_free()
80 REMOTE_HUB_S(hubdev_info->hdi_nasid, IIO_ICRB_B(crbnum), in hubiio_crb_free()
85 REMOTE_HUB_S(hubdev_info->hdi_nasid, IIO_ICDR, (IIO_ICDR_PND | crbnum)); in hubiio_crb_free()
86 while (REMOTE_HUB_L(hubdev_info->hdi_nasid, IIO_ICDR) & IIO_ICDR_PND) in hubiio_crb_free()
[all …]
Dio_common.c155 sn_common_hubdev_init(struct hubdev_info *hubdev) in sn_common_hubdev_init()
284 struct hubdev_info *hubdev_info; in sn_common_bus_fixup() local
330 hubdev_info = (struct hubdev_info *)(NODEPDA(cnode)->pdinfo); in sn_common_bus_fixup()
332 &(hubdev_info->hdi_xwidget_info[SN_PCIBUS_BUSSOFT(bus)->bs_xid]); in sn_common_bus_fixup()
387 struct hubdev_info *hubdev_info; in hubdev_init_node() local
391 size = sizeof(struct hubdev_info); in hubdev_init_node()
398 hubdev_info = (struct hubdev_info *)alloc_bootmem_node(pg, size); in hubdev_init_node()
400 npda->pdinfo = (void *)hubdev_info; in hubdev_init_node()
406 struct hubdev_info *hubdev; in cnodeid_get_geoid()
408 hubdev = (struct hubdev_info *)(NODEPDA(cnode)->pdinfo); in cnodeid_get_geoid()
Dio_acpi_init.c69 struct hubdev_info *hubdev; in sn_acpi_hubdev_init()
70 struct hubdev_info *hubdev_ptr; in sn_acpi_hubdev_init()
76 extern void sn_common_hubdev_init(struct hubdev_info *); in sn_acpi_hubdev_init()
93 sizeof(struct hubdev_info *)) { in sn_acpi_hubdev_init()
103 memcpy(&addr, vendor->byte_data, sizeof(struct hubdev_info *)); in sn_acpi_hubdev_init()
104 hubdev_ptr = __va((struct hubdev_info *) addr); in sn_acpi_hubdev_init()
108 hubdev = (struct hubdev_info *)(NODEPDA(i)->pdinfo); in sn_acpi_hubdev_init()
Dio_init.c88 struct hubdev_info *hubdev; in sn_fixup_ionodes()
92 extern void sn_common_hubdev_init(struct hubdev_info *); in sn_fixup_ionodes()
99 hubdev = (struct hubdev_info *)(NODEPDA(i)->pdinfo); in sn_fixup_ionodes()
Dtiocx.c191 struct hubdev_info *hubdev, int bt) in cx_device_register()
502 struct hubdev_info *hubdev; in tiocx_init()
508 (struct hubdev_info *)(NODEPDA(cnodeid)->pdinfo); in tiocx_init()
/linux-2.6.39/arch/ia64/sn/include/xtalk/
Dhubdev.h71 struct hubdev_info { struct
87 extern void hub_error_init(struct hubdev_info *); argument
88 extern void ice_error_init(struct hubdev_info *);
/linux-2.6.39/arch/ia64/sn/pci/pcibr/
Dpcibr_provider.c116 struct hubdev_info *hubdev_info; in pcibr_bus_fixup() local
162 hubdev_info = (struct hubdev_info *)(NODEPDA(cnode)->pdinfo); in pcibr_bus_fixup()
164 if (hubdev_info->hdi_flush_nasid_list.widget_p) { in pcibr_bus_fixup()
165 sn_flush_device_kernel = hubdev_info->hdi_flush_nasid_list. in pcibr_bus_fixup()
Dpcibr_dma.c245 struct hubdev_info *hubinfo; in sn_dma_flush()
/linux-2.6.39/arch/ia64/include/asm/sn/
Dtiocx.h24 struct hubdev_info *hubdev;
63 extern int cx_device_register(nasid_t, int, int, struct hubdev_info *, int);