Lines Matching refs:eeseq
579 struct idt_eeprom_seq eeseq; in idt_eeprom_read_byte() local
585 smbseq.data = (u8 *)&eeseq; in idt_eeprom_read_byte()
595 eeseq.cmd = pdev->inieecmd | EEPROM_OP_READ; in idt_eeprom_read_byte()
596 eeseq.eeaddr = pdev->eeaddr; in idt_eeprom_read_byte()
597 eeseq.memaddr = cpu_to_le16(memaddr); in idt_eeprom_read_byte()
615 if (retry && (eeseq.cmd & EEPROM_NAERR)) { in idt_eeprom_read_byte()
623 if (eeseq.cmd & (EEPROM_NAERR | EEPROM_LAERR | EEPROM_MSS)) { in idt_eeprom_read_byte()
626 eeseq.cmd); in idt_eeprom_read_byte()
632 *data = eeseq.data; in idt_eeprom_read_byte()
651 struct idt_eeprom_seq eeseq; in idt_eeprom_write() local
658 smbseq.data = (u8 *)&eeseq; in idt_eeprom_write()
667 eeseq.cmd = pdev->inieecmd | EEPROM_OP_WRITE; in idt_eeprom_write()
668 eeseq.eeaddr = pdev->eeaddr; in idt_eeprom_write()
669 eeseq.memaddr = cpu_to_le16(memaddr); in idt_eeprom_write()
670 eeseq.data = data[idx]; in idt_eeprom_write()
683 eeseq.data = ~data[idx]; in idt_eeprom_write()
684 ret = idt_eeprom_read_byte(pdev, memaddr, &eeseq.data); in idt_eeprom_write()
689 if (eeseq.data != data[idx]) { in idt_eeprom_write()
691 eeseq.data, data[idx]); in idt_eeprom_write()