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