Lines Matching refs:brd
1063 ha->brd = ioremap(bios_adr, sizeof(gdt2_dpram_str)); in GDTH_INITFUNC()
1064 if (ha->brd == NULL) { in GDTH_INITFUNC()
1068 dp2_ptr = (gdt2_dpram_str *)ha->brd; in GDTH_INITFUNC()
1074 iounmap(ha->brd); in GDTH_INITFUNC()
1109 iounmap(ha->brd); in GDTH_INITFUNC()
1119 iounmap(ha->brd); in GDTH_INITFUNC()
1141 iounmap(ha->brd); in GDTH_INITFUNC()
1180 ha->brd = ioremap(pcistr->dpmem, sizeof(gdt6_dpram_str)); in GDTH_INITFUNC()
1181 if (ha->brd == NULL) { in GDTH_INITFUNC()
1186 dp6_ptr = (gdt6_dpram_str *)ha->brd; in GDTH_INITFUNC()
1193 iounmap(ha->brd); in GDTH_INITFUNC()
1194 ha->brd = ioremap(i, sizeof(ushort)); in GDTH_INITFUNC()
1195 if (ha->brd == NULL) { in GDTH_INITFUNC()
1199 if (gdth_readw(ha->brd) != 0xffff) { in GDTH_INITFUNC()
1203 iounmap(ha->brd); in GDTH_INITFUNC()
1206 ha->brd = ioremap(i, sizeof(gdt6_dpram_str)); in GDTH_INITFUNC()
1207 if (ha->brd == NULL) { in GDTH_INITFUNC()
1211 dp6_ptr = (gdt6_dpram_str *)ha->brd; in GDTH_INITFUNC()
1221 iounmap(ha->brd); in GDTH_INITFUNC()
1228 iounmap(ha->brd); in GDTH_INITFUNC()
1246 iounmap(ha->brd); in GDTH_INITFUNC()
1256 iounmap(ha->brd); in GDTH_INITFUNC()
1275 iounmap(ha->brd); in GDTH_INITFUNC()
1289 ha->brd = ioremap(pcistr->dpmem, sizeof(gdt6c_dpram_str)); in GDTH_INITFUNC()
1290 if (ha->brd == NULL) { in GDTH_INITFUNC()
1292 iounmap(ha->brd); in GDTH_INITFUNC()
1296 dp6c_ptr = (gdt6c_dpram_str *)ha->brd; in GDTH_INITFUNC()
1303 iounmap(ha->brd); in GDTH_INITFUNC()
1304 ha->brd = ioremap(i, sizeof(ushort)); in GDTH_INITFUNC()
1305 if (ha->brd == NULL) { in GDTH_INITFUNC()
1309 if (gdth_readw(ha->brd) != 0xffff) { in GDTH_INITFUNC()
1313 iounmap(ha->brd); in GDTH_INITFUNC()
1316 ha->brd = ioremap(i, sizeof(gdt6c_dpram_str)); in GDTH_INITFUNC()
1317 if (ha->brd == NULL) { in GDTH_INITFUNC()
1321 dp6c_ptr = (gdt6c_dpram_str *)ha->brd; in GDTH_INITFUNC()
1331 iounmap(ha->brd); in GDTH_INITFUNC()
1338 iounmap(ha->brd); in GDTH_INITFUNC()
1359 iounmap(ha->brd); in GDTH_INITFUNC()
1368 iounmap(ha->brd); in GDTH_INITFUNC()
1389 iounmap(ha->brd); in GDTH_INITFUNC()
1400 ha->brd = ioremap(pcistr->dpmem, sizeof(gdt6m_dpram_str)); in GDTH_INITFUNC()
1401 if (ha->brd == NULL) { in GDTH_INITFUNC()
1433 while( ((int)gdth_readb(&((gdt6m_dpram_str *)ha->brd)->i960r.sema0_reg) ) & 3 ) in GDTH_INITFUNC()
1437 dp6m_ptr = (gdt6m_dpram_str *)ha->brd; in GDTH_INITFUNC()
1444 iounmap(ha->brd); in GDTH_INITFUNC()
1445 ha->brd = ioremap(i, sizeof(ushort)); in GDTH_INITFUNC()
1446 if (ha->brd == NULL) { in GDTH_INITFUNC()
1450 if (gdth_readw(ha->brd) != 0xffff) { in GDTH_INITFUNC()
1454 iounmap(ha->brd); in GDTH_INITFUNC()
1457 ha->brd = ioremap(i, sizeof(gdt6m_dpram_str)); in GDTH_INITFUNC()
1458 if (ha->brd == NULL) { in GDTH_INITFUNC()
1462 dp6m_ptr = (gdt6m_dpram_str *)ha->brd; in GDTH_INITFUNC()
1472 iounmap(ha->brd); in GDTH_INITFUNC()
1493 iounmap(ha->brd); in GDTH_INITFUNC()
1502 iounmap(ha->brd); in GDTH_INITFUNC()
1521 iounmap(ha->brd); in GDTH_INITFUNC()
1536 iounmap(ha->brd); in GDTH_INITFUNC()
1572 dp2_ptr = (gdt2_dpram_str *)ha->brd; in GDTH_INITFUNC()
1577 dp6_ptr = (gdt6_dpram_str *)ha->brd; in GDTH_INITFUNC()
1585 dp6m_ptr = (gdt6m_dpram_str *)ha->brd; in GDTH_INITFUNC()
1611 gdth_readb(&((gdt2_dpram_str *)ha->brd)->u.ic.Cmd_Index); in gdth_get_status()
1614 gdth_readb(&((gdt6_dpram_str *)ha->brd)->u.ic.Cmd_Index); in gdth_get_status()
1619 gdth_readb(&((gdt6m_dpram_str *)ha->brd)->i960r.edoor_reg); in gdth_get_status()
1639 gdtsema0 = (int)gdth_readb(&((gdt2_dpram_str *)ha->brd)->u.ic.Sema0); in gdth_test_busy()
1641 gdtsema0 = (int)gdth_readb(&((gdt6_dpram_str *)ha->brd)->u.ic.Sema0); in gdth_test_busy()
1646 (int)gdth_readb(&((gdt6m_dpram_str *)ha->brd)->i960r.sema0_reg); in gdth_test_busy()
1682 gdth_writeb(1, &((gdt2_dpram_str *)ha->brd)->u.ic.Sema0); in gdth_set_sema0()
1684 gdth_writeb(1, &((gdt6_dpram_str *)ha->brd)->u.ic.Sema0); in gdth_set_sema0()
1688 gdth_writeb(1, &((gdt6m_dpram_str *)ha->brd)->i960r.sema0_reg); in gdth_set_sema0()
1723 dp2_ptr = (gdt2_dpram_str *)ha->brd; in gdth_copy_command()
1730 dp6_ptr = (gdt6_dpram_str *)ha->brd; in gdth_copy_command()
1737 dp6c_ptr = (gdt6c_dpram_str *)ha->brd; in gdth_copy_command()
1744 dp6m_ptr = (gdt6m_dpram_str *)ha->brd; in gdth_copy_command()
1783 gdth_writeb(0, &((gdt2_dpram_str *)ha->brd)->io.event); in gdth_release_event()
1785 gdth_writeb(0, &((gdt6_dpram_str *)ha->brd)->io.event); in gdth_release_event()
1789 gdth_writeb(1, &((gdt6m_dpram_str *)ha->brd)->i960r.ldoor_reg); in gdth_release_event()
3622 dp2_ptr = (gdt2_dpram_str *)ha->brd; in gdth_interrupt()
3637 dp6_ptr = (gdt6_dpram_str *)ha->brd; in gdth_interrupt()
3665 dp6m_ptr = (gdt6m_dpram_str *)ha->brd; in gdth_interrupt()
3695 (&((gdt6m_dpram_str *)ha->brd)->i960r.severity); in gdth_interrupt()
3698 (&((gdt6m_dpram_str *)ha->brd)->i960r.evt_str[i]); in gdth_interrupt()