Lines Matching refs:PTR2USHORT
183 #define PTR2USHORT(a) (u16)(unsigned long)(a)
692 outb(0x00,PTR2USHORT(&ha->plx->control1));
693 outb(0xff,PTR2USHORT(&ha->plx->edoor_reg));
701 outb(1,PTR2USHORT(&ha->plx->ldoor_reg));
731 outb(1,PTR2USHORT(&ha->plx->ldoor_reg));
899 outb(0xff, PTR2USHORT(&ha->plx->edoor_reg));
900 outb(0x03, PTR2USHORT(&ha->plx->control1));
921 IStatus = inb(PTR2USHORT(&ha->plx->edoor_reg));
938 gdtsema0 = (int)inb(PTR2USHORT(&ha->plx->sema0_reg));
972 outb(1, PTR2USHORT(&ha->plx->sema0_reg));
1052 outb(1, PTR2USHORT(&ha->plx->ldoor_reg));
2530 ha->status = inw(PTR2USHORT(&ha->plx->status));
2534 ha->info = inl(PTR2USHORT(&ha->plx->info[0]));
2535 ha->service = inw(PTR2USHORT(&ha->plx->service));
2536 ha->info2 = inl(PTR2USHORT(&ha->plx->info[1]));
2538 outb(0xff, PTR2USHORT(&ha->plx->edoor_reg));
2539 outb(0x00, PTR2USHORT(&ha->plx->sema1_reg));