Searched refs:PTR2USHORT (Results 1 – 1 of 1) sorted by relevance
564 #define PTR2USHORT(a) (ushort)(ulong)(a) macro1343 outb(0x00,PTR2USHORT(&ha->plx->control1)); in GDTH_INITFUNC()1344 outb(0xff,PTR2USHORT(&ha->plx->edoor_reg)); in GDTH_INITFUNC()1352 outb(1,PTR2USHORT(&ha->plx->ldoor_reg)); in GDTH_INITFUNC()1382 outb(1,PTR2USHORT(&ha->plx->ldoor_reg)); in GDTH_INITFUNC()1582 outb(0xff, PTR2USHORT(&ha->plx->edoor_reg)); in GDTH_INITFUNC()1583 outb(0x03, PTR2USHORT(&ha->plx->control1)); in GDTH_INITFUNC()1616 *pIStatus = inb(PTR2USHORT(&ha->plx->edoor_reg)); in gdth_get_status()1643 gdtsema0 = (int)inb(PTR2USHORT(&ha->plx->sema0_reg)); in gdth_test_busy()1686 outb(1, PTR2USHORT(&ha->plx->sema0_reg)); in gdth_set_sema0()[all …]