Lines Matching refs:PTR2USHORT
283 #define PTR2USHORT(a) (u16)(unsigned long)(a) macro
1042 outb(0x00,PTR2USHORT(&ha->plx->control1)); in gdth_init_pci()
1043 outb(0xff,PTR2USHORT(&ha->plx->edoor_reg)); in gdth_init_pci()
1051 outb(1,PTR2USHORT(&ha->plx->ldoor_reg)); in gdth_init_pci()
1081 outb(1,PTR2USHORT(&ha->plx->ldoor_reg)); in gdth_init_pci()
1260 outb(0xff, PTR2USHORT(&ha->plx->edoor_reg)); in gdth_enable_int()
1261 outb(0x03, PTR2USHORT(&ha->plx->control1)); in gdth_enable_int()
1287 IStatus = inb(PTR2USHORT(&ha->plx->edoor_reg)); in gdth_get_status()
1308 gdtsema0 = (int)inb(PTR2USHORT(&ha->plx->sema0_reg)); in gdth_test_busy()
1346 outb(1, PTR2USHORT(&ha->plx->sema0_reg)); in gdth_set_sema0()
1442 outb(1, PTR2USHORT(&ha->plx->ldoor_reg)); in gdth_release_event()
3064 ha->status = inw(PTR2USHORT(&ha->plx->status)); in __gdth_interrupt()
3068 ha->info = inl(PTR2USHORT(&ha->plx->info[0])); in __gdth_interrupt()
3069 ha->service = inw(PTR2USHORT(&ha->plx->service)); in __gdth_interrupt()
3070 ha->info2 = inl(PTR2USHORT(&ha->plx->info[1])); in __gdth_interrupt()
3072 outb(0xff, PTR2USHORT(&ha->plx->edoor_reg)); in __gdth_interrupt()
3073 outb(0x00, PTR2USHORT(&ha->plx->sema1_reg)); in __gdth_interrupt()