Lines Matching refs:brd
766 ha->brd = ioremap(bios_adr, sizeof(gdt2_dpram_str)); in gdth_init_isa()
767 if (ha->brd == NULL) { in gdth_init_isa()
771 dp2_ptr = ha->brd; in gdth_init_isa()
777 iounmap(ha->brd); in gdth_init_isa()
812 iounmap(ha->brd); in gdth_init_isa()
822 iounmap(ha->brd); in gdth_init_isa()
844 iounmap(ha->brd); in gdth_init_isa()
882 ha->brd = ioremap(pcistr->dpmem, sizeof(gdt6_dpram_str)); in gdth_init_pci()
883 if (ha->brd == NULL) { in gdth_init_pci()
888 dp6_ptr = ha->brd; in gdth_init_pci()
895 iounmap(ha->brd); in gdth_init_pci()
896 ha->brd = ioremap(i, sizeof(u16)); in gdth_init_pci()
897 if (ha->brd == NULL) { in gdth_init_pci()
901 if (readw(ha->brd) != 0xffff) { in gdth_init_pci()
905 iounmap(ha->brd); in gdth_init_pci()
907 ha->brd = ioremap(i, sizeof(gdt6_dpram_str)); in gdth_init_pci()
908 if (ha->brd == NULL) { in gdth_init_pci()
912 dp6_ptr = ha->brd; in gdth_init_pci()
922 iounmap(ha->brd); in gdth_init_pci()
929 iounmap(ha->brd); in gdth_init_pci()
947 iounmap(ha->brd); in gdth_init_pci()
957 iounmap(ha->brd); in gdth_init_pci()
976 iounmap(ha->brd); in gdth_init_pci()
990 ha->brd = ioremap(pcistr->dpmem, sizeof(gdt6c_dpram_str)); in gdth_init_pci()
991 if (ha->brd == NULL) { in gdth_init_pci()
993 iounmap(ha->brd); in gdth_init_pci()
997 dp6c_ptr = ha->brd; in gdth_init_pci()
1004 iounmap(ha->brd); in gdth_init_pci()
1005 ha->brd = ioremap(i, sizeof(u16)); in gdth_init_pci()
1006 if (ha->brd == NULL) { in gdth_init_pci()
1010 if (readw(ha->brd) != 0xffff) { in gdth_init_pci()
1014 iounmap(ha->brd); in gdth_init_pci()
1016 ha->brd = ioremap(i, sizeof(gdt6c_dpram_str)); in gdth_init_pci()
1017 if (ha->brd == NULL) { in gdth_init_pci()
1021 dp6c_ptr = ha->brd; in gdth_init_pci()
1031 iounmap(ha->brd); in gdth_init_pci()
1038 iounmap(ha->brd); in gdth_init_pci()
1059 iounmap(ha->brd); in gdth_init_pci()
1068 iounmap(ha->brd); in gdth_init_pci()
1089 iounmap(ha->brd); in gdth_init_pci()
1100 ha->brd = ioremap(pcistr->dpmem, sizeof(gdt6m_dpram_str)); in gdth_init_pci()
1101 if (ha->brd == NULL) { in gdth_init_pci()
1118 dp6m_ptr = ha->brd; in gdth_init_pci()
1132 iounmap(ha->brd); in gdth_init_pci()
1133 ha->brd = ioremap(i, sizeof(u16)); in gdth_init_pci()
1134 if (ha->brd == NULL) { in gdth_init_pci()
1138 if (readw(ha->brd) != 0xffff) { in gdth_init_pci()
1142 iounmap(ha->brd); in gdth_init_pci()
1144 ha->brd = ioremap(i, sizeof(gdt6m_dpram_str)); in gdth_init_pci()
1145 if (ha->brd == NULL) { in gdth_init_pci()
1149 dp6m_ptr = ha->brd; in gdth_init_pci()
1159 iounmap(ha->brd); in gdth_init_pci()
1180 iounmap(ha->brd); in gdth_init_pci()
1189 iounmap(ha->brd); in gdth_init_pci()
1208 iounmap(ha->brd); in gdth_init_pci()
1223 iounmap(ha->brd); in gdth_init_pci()
1257 dp2_ptr = ha->brd; in gdth_enable_int()
1262 dp6_ptr = ha->brd; in gdth_enable_int()
1270 dp6m_ptr = ha->brd; in gdth_enable_int()
1289 readb(&((gdt2_dpram_str __iomem *)ha->brd)->u.ic.Cmd_Index); in gdth_get_status()
1292 readb(&((gdt6_dpram_str __iomem *)ha->brd)->u.ic.Cmd_Index); in gdth_get_status()
1297 readb(&((gdt6m_dpram_str __iomem *)ha->brd)->i960r.edoor_reg); in gdth_get_status()
1311 gdtsema0 = (int)readb(&((gdt2_dpram_str __iomem *)ha->brd)->u.ic.Sema0); in gdth_test_busy()
1313 gdtsema0 = (int)readb(&((gdt6_dpram_str __iomem *)ha->brd)->u.ic.Sema0); in gdth_test_busy()
1318 (int)readb(&((gdt6m_dpram_str __iomem *)ha->brd)->i960r.sema0_reg); in gdth_test_busy()
1349 writeb(1, &((gdt2_dpram_str __iomem *)ha->brd)->u.ic.Sema0); in gdth_set_sema0()
1351 writeb(1, &((gdt6_dpram_str __iomem *)ha->brd)->u.ic.Sema0); in gdth_set_sema0()
1355 writeb(1, &((gdt6m_dpram_str __iomem *)ha->brd)->i960r.sema0_reg); in gdth_set_sema0()
1388 dp2_ptr = ha->brd; in gdth_copy_command()
1395 dp6_ptr = ha->brd; in gdth_copy_command()
1402 dp6c_ptr = ha->brd; in gdth_copy_command()
1409 dp6m_ptr = ha->brd; in gdth_copy_command()
1445 writeb(0, &((gdt2_dpram_str __iomem *)ha->brd)->io.event); in gdth_release_event()
1447 writeb(0, &((gdt6_dpram_str __iomem *)ha->brd)->io.event); in gdth_release_event()
1451 writeb(1, &((gdt6m_dpram_str __iomem *)ha->brd)->i960r.ldoor_reg); in gdth_release_event()
3041 dp2_ptr = ha->brd; in __gdth_interrupt()
3056 dp6_ptr = ha->brd; in __gdth_interrupt()
3084 dp6m_ptr = ha->brd; in __gdth_interrupt()
3114 (&((gdt6m_dpram_str __iomem *)ha->brd)->i960r.severity); in __gdth_interrupt()
3117 (&((gdt6m_dpram_str __iomem *)ha->brd)->i960r.evt_str[i]); in __gdth_interrupt()