Searched refs:dp2_ptr (Results 1 – 1 of 1) sorted by relevance
1056 register gdt2_dpram_str *dp2_ptr; in GDTH_INITFUNC() local1068 dp2_ptr = (gdt2_dpram_str *)ha->brd; in GDTH_INITFUNC()1069 gdth_writeb(1, &dp2_ptr->io.memlock); /* switch off write protection */ in GDTH_INITFUNC()1071 memset_io((char *)&dp2_ptr->u,0,sizeof(dp2_ptr->u)); in GDTH_INITFUNC()1072 if (gdth_readl(&dp2_ptr->u) != 0) { in GDTH_INITFUNC()1079 gdth_writeb(0xff, &dp2_ptr->io.irqdel); in GDTH_INITFUNC()1080 gdth_writeb(0x00, &dp2_ptr->io.irqen); in GDTH_INITFUNC()1081 gdth_writeb(0x00, &dp2_ptr->u.ic.S_Status); in GDTH_INITFUNC()1082 gdth_writeb(0x00, &dp2_ptr->u.ic.Cmd_Index); in GDTH_INITFUNC()1084 irq_drq = gdth_readb(&dp2_ptr->io.rq); in GDTH_INITFUNC()[all …]