Home
last modified time | relevance | path

Searched refs:PTR2USHORT (Results 1 – 1 of 1) sorted by relevance

/Linux-v4.19/drivers/scsi/
Dgdth.c283 #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()
[all …]