Lines Matching refs:tonga
1589 pci_error = pci_write_config_byte(eni_dev->pci_dev,PCI_TONGA_CTRL,tonga); \
1594 pci_error = pci_read_config_byte(eni_dev->pci_dev,PCI_TONGA_CTRL,&tonga); \
1602 unsigned char tonga; in get_esi_asic() local
1608 tonga = SEPROM_MAGIC | SEPROM_DATA | SEPROM_CLK; in get_esi_asic()
1612 tonga |= SEPROM_DATA; in get_esi_asic()
1614 tonga |= SEPROM_CLK; in get_esi_asic()
1616 tonga &= ~SEPROM_DATA; in get_esi_asic()
1618 tonga &= ~SEPROM_CLK; in get_esi_asic()
1623 tonga = (address >> j) & 1 ? tonga | SEPROM_DATA : in get_esi_asic()
1624 tonga & ~SEPROM_DATA; in get_esi_asic()
1626 tonga |= SEPROM_CLK; in get_esi_asic()
1628 tonga &= ~SEPROM_CLK; in get_esi_asic()
1632 tonga |= SEPROM_DATA; in get_esi_asic()
1634 tonga |= SEPROM_CLK; in get_esi_asic()
1637 failed = tonga & SEPROM_DATA; in get_esi_asic()
1638 tonga &= ~SEPROM_CLK; in get_esi_asic()
1640 tonga |= SEPROM_DATA; in get_esi_asic()
1647 tonga |= SEPROM_DATA; in get_esi_asic()
1649 tonga |= SEPROM_CLK; in get_esi_asic()
1652 if (tonga & SEPROM_DATA) dev->esi[i] |= 1; in get_esi_asic()
1653 tonga &= ~SEPROM_CLK; in get_esi_asic()
1655 tonga |= SEPROM_DATA; in get_esi_asic()
1659 tonga |= SEPROM_DATA; in get_esi_asic()
1661 tonga |= SEPROM_CLK; in get_esi_asic()
1664 if (!(tonga & SEPROM_DATA)) error = -EIO; in get_esi_asic()
1665 tonga &= ~SEPROM_CLK; in get_esi_asic()
1667 tonga |= SEPROM_DATA; in get_esi_asic()
1671 tonga &= ~SEPROM_DATA; in get_esi_asic()
1673 tonga |= SEPROM_CLK; in get_esi_asic()
1675 tonga |= SEPROM_DATA; in get_esi_asic()