Lines Matching refs:tonga
1587 pci_error = pci_write_config_byte(eni_dev->pci_dev,PCI_TONGA_CTRL,tonga); \
1592 pci_error = pci_read_config_byte(eni_dev->pci_dev,PCI_TONGA_CTRL,&tonga); \
1600 unsigned char tonga; in get_esi_asic() local
1606 tonga = SEPROM_MAGIC | SEPROM_DATA | SEPROM_CLK; in get_esi_asic()
1610 tonga |= SEPROM_DATA; in get_esi_asic()
1612 tonga |= SEPROM_CLK; in get_esi_asic()
1614 tonga &= ~SEPROM_DATA; in get_esi_asic()
1616 tonga &= ~SEPROM_CLK; in get_esi_asic()
1621 tonga = (address >> j) & 1 ? tonga | SEPROM_DATA : in get_esi_asic()
1622 tonga & ~SEPROM_DATA; in get_esi_asic()
1624 tonga |= SEPROM_CLK; in get_esi_asic()
1626 tonga &= ~SEPROM_CLK; in get_esi_asic()
1630 tonga |= SEPROM_DATA; in get_esi_asic()
1632 tonga |= SEPROM_CLK; in get_esi_asic()
1635 failed = tonga & SEPROM_DATA; in get_esi_asic()
1636 tonga &= ~SEPROM_CLK; in get_esi_asic()
1638 tonga |= SEPROM_DATA; in get_esi_asic()
1645 tonga |= SEPROM_DATA; in get_esi_asic()
1647 tonga |= SEPROM_CLK; in get_esi_asic()
1650 if (tonga & SEPROM_DATA) dev->esi[i] |= 1; in get_esi_asic()
1651 tonga &= ~SEPROM_CLK; in get_esi_asic()
1653 tonga |= SEPROM_DATA; in get_esi_asic()
1657 tonga |= SEPROM_DATA; in get_esi_asic()
1659 tonga |= SEPROM_CLK; in get_esi_asic()
1662 if (!(tonga & SEPROM_DATA)) error = -EIO; in get_esi_asic()
1663 tonga &= ~SEPROM_CLK; in get_esi_asic()
1665 tonga |= SEPROM_DATA; in get_esi_asic()
1669 tonga &= ~SEPROM_DATA; in get_esi_asic()
1671 tonga |= SEPROM_CLK; in get_esi_asic()
1673 tonga |= SEPROM_DATA; in get_esi_asic()