Lines Matching defs:map
314 u_int map;
334 map = pci_read_config(device_get_parent(dev), 0x90, 1);
336 map &= 0x07;
337 if ((map & 0x04) == 0) {
340 smap[0] = (map & 0x01) ^ ch->unit;
342 } else if ((map & 0x02) == 0 && ch->unit == 0) {
344 smap[0] = (map & 0x01) ? 1 : 0;
345 smap[1] = (map & 0x01) ? 0 : 1;
346 } else if ((map & 0x02) != 0 && ch->unit == 1) {
348 smap[0] = (map & 0x01) ? 1 : 0;
349 smap[1] = (map & 0x01) ? 0 : 1;
357 map &= 0x03;
358 if (map == 0x00) {
362 } else if (map == 0x02 && ch->unit == 0) {
366 } else if (map == 0x01 && ch->unit == 1) {