Lines Matching refs:eeseq
581 struct idt_eeprom_seq eeseq; in idt_eeprom_read_byte() local
587 smbseq.data = (u8 *)&eeseq; in idt_eeprom_read_byte()
597 eeseq.cmd = pdev->inieecmd | EEPROM_OP_READ; in idt_eeprom_read_byte()
598 eeseq.eeaddr = pdev->eeaddr; in idt_eeprom_read_byte()
599 eeseq.memaddr = cpu_to_le16(memaddr); in idt_eeprom_read_byte()
617 if (retry && (eeseq.cmd & EEPROM_NAERR)) { in idt_eeprom_read_byte()
625 if (eeseq.cmd & (EEPROM_NAERR | EEPROM_LAERR | EEPROM_MSS)) { in idt_eeprom_read_byte()
628 eeseq.cmd); in idt_eeprom_read_byte()
634 *data = eeseq.data; in idt_eeprom_read_byte()
653 struct idt_eeprom_seq eeseq; in idt_eeprom_write() local
660 smbseq.data = (u8 *)&eeseq; in idt_eeprom_write()
669 eeseq.cmd = pdev->inieecmd | EEPROM_OP_WRITE; in idt_eeprom_write()
670 eeseq.eeaddr = pdev->eeaddr; in idt_eeprom_write()
671 eeseq.memaddr = cpu_to_le16(memaddr); in idt_eeprom_write()
672 eeseq.data = data[idx]; in idt_eeprom_write()
685 eeseq.data = ~data[idx]; in idt_eeprom_write()
686 ret = idt_eeprom_read_byte(pdev, memaddr, &eeseq.data); in idt_eeprom_write()
691 if (eeseq.data != data[idx]) { in idt_eeprom_write()
693 eeseq.data, data[idx]); in idt_eeprom_write()