Lines Matching refs:read_eeprom
1712 static u16 read_eeprom (void __iomem *ioaddr, int location, int addr_len) in read_eeprom() function
1766 size = read_eeprom(cp->regs, 0, 8) == 0x8129 ? 256 : 128; in cp_get_eeprom_len()
1786 addr_len = read_eeprom(cp->regs, 0, 8) == 0x8129 ? 8 : 6; in cp_get_eeprom()
1789 val = read_eeprom(cp->regs, offset, addr_len); in cp_get_eeprom()
1795 val = read_eeprom(cp->regs, offset, addr_len); in cp_get_eeprom()
1802 val = read_eeprom(cp->regs, offset, addr_len); in cp_get_eeprom()
1825 addr_len = read_eeprom(cp->regs, 0, 8) == 0x8129 ? 8 : 6; in cp_set_eeprom()
1828 val = read_eeprom(cp->regs, offset, addr_len) & 0xff; in cp_set_eeprom()
1842 val = read_eeprom(cp->regs, offset, addr_len) & 0xff00; in cp_set_eeprom()
1983 addr_len = read_eeprom (regs, 0, 8) == 0x8129 ? 8 : 6; in cp_init_one()
1985 addr[i] = cpu_to_le16(read_eeprom (regs, i + 7, addr_len)); in cp_init_one()