Lines Matching defs:tmpbyte
398 u8 tmpbyte = 0x00;
409 pci_read_config_byte(dev, m5229_udma, &tmpbyte);
410 tmpbyte &= ultra_enable;
411 pci_write_config_byte(dev, m5229_udma, tmpbyte);
416 pci_read_config_byte(dev, m5229_udma, &tmpbyte);
417 tmpbyte &= (0x0f << ((1-unit) << 2));
421 tmpbyte |= ((0x08 | ((4-speed1)&0x07)) << (unit << 2));
422 pci_write_config_byte(dev, m5229_udma, tmpbyte);
424 pci_read_config_byte(dev, 0x4b, &tmpbyte);
425 tmpbyte |= 1;
426 pci_write_config_byte(dev, 0x4b, tmpbyte);
480 u8 tmpbyte;
503 pci_read_config_byte(dev, 0x4b, &tmpbyte);
507 pci_write_config_byte(dev, 0x4b, tmpbyte & 0x7F);
522 pci_read_config_byte(dev, 0x4b, &tmpbyte);
523 pci_write_config_byte(dev, 0x4b, tmpbyte | 0x08);
540 pci_read_config_byte(isa_dev, 0x79, &tmpbyte);
545 pci_write_config_byte(isa_dev, 0x79, tmpbyte | 0x04);
550 pci_write_config_byte(isa_dev, 0x79, tmpbyte | 0x02);
568 u8 tmpbyte;
577 pci_read_config_byte(dev, 0x4a, &tmpbyte);
582 if (!(tmpbyte & 0x01)) cable_80_pin[0] = 1;
587 if (!(tmpbyte & 0x02)) cable_80_pin[1] = 1;
596 pci_read_config_byte(isa_dev, 0x5e, &tmpbyte);
597 chip_is_1543c_e = ((tmpbyte & 0x1e) == 0x12) ? 1: 0;
611 pci_read_config_byte(dev, 0x53, &tmpbyte);
614 tmpbyte = (tmpbyte & (~0x02)) | 0x01;
616 tmpbyte |= 0x03;
618 tmpbyte |= 0x01;
620 pci_write_config_byte(dev, 0x53, tmpbyte);