Lines Matching defs:pos
77 #define BT_MCA_IOPORT(pos) (0x30 + \
78 (((u_int32_t)pos &\
80 (((u_int32_t)pos &\
85 #define BT_MCA_IRQ(pos) (((pos & BT_MCA_IRQ_MASK) >> 1) + 8)
89 #define BT_MCA_DRQ(pos) (pos & BT_MCA_DRQ_MASK)
93 #define BT_MCA_SCSIID(pos) ((pos & BT_MCA_SCSIID_MASK) >> 5)
166 u_int8_t pos;
174 pos = (mca_pos_read(dev, BT_MCA_IOPORT_POS1) & BT_MCA_IOPORT_MASK1) |
176 iobase = BT_MCA_IOPORT(pos);
179 pos = mca_pos_read(dev, BT_MCA_DRQ_POS);
180 drq = BT_MCA_DRQ(pos);
182 pos = mca_pos_read(dev, BT_MCA_IRQ_POS);
183 irq = BT_MCA_IRQ(pos);