Lines Matching defs:pos
66 char *pos = str, *next;
69 while(pos != NULL && (next = strchr(pos, ':')) != NULL) {
72 if(!strncmp(pos, "slot:", 5))
74 else if(!strncmp(pos, "id:", 3)) {
83 if((pos = strchr(pos, ARG_SEP)) != NULL)
84 pos++;
173 /* CARD ID 01BB and 01BA use the same pos values */
192 int pos[3];
203 pos[0] = mca_device_read_stored_pos(mca_dev, 2);
204 pos[1] = mca_device_read_stored_pos(mca_dev, 3);
205 pos[2] = mca_device_read_stored_pos(mca_dev, 4);
208 * 01BB & 01BA port base by bits 7,6,5,4,3,2 in pos[2]
222 * 00F4 port base by bits 3,2,1 in pos[0]
228 * 01BB & 01BA IRQ is specified in pos[0] bits 7 and 6:
233 * 00F4 IRQ specified by bits 6,5,4 in pos[0]
240 base = io_01bb_by_pos[(pos[2] & 0xFC) >> 2];
242 irq_01bb_by_pos[((pos[0] & 0xC0) >> 6)];
250 base = io_004f_by_pos[((pos[0] & 0x0E) >> 1)];
252 irq_004f_by_pos[((pos[0] & 0x70) >> 4) - 4];