Lines Matching refs:memaddr
132 u16 memaddr; member
544 static int idt_eeprom_read_byte(struct idt_89hpesx_dev *pdev, u16 memaddr, in idt_eeprom_read_byte() argument
566 eeseq.memaddr = cpu_to_le16(memaddr); in idt_eeprom_read_byte()
570 memaddr); in idt_eeprom_read_byte()
579 memaddr); in idt_eeprom_read_byte()
616 static int idt_eeprom_write(struct idt_89hpesx_dev *pdev, u16 memaddr, u16 len, in idt_eeprom_write() argument
630 for (idx = 0; idx < len; idx++, memaddr++) { in idt_eeprom_write()
638 eeseq.memaddr = cpu_to_le16(memaddr); in idt_eeprom_write()
644 memaddr, data[idx]); in idt_eeprom_write()
653 ret = idt_eeprom_read_byte(pdev, memaddr, &eeseq.data); in idt_eeprom_write()
682 static int idt_eeprom_read(struct idt_89hpesx_dev *pdev, u16 memaddr, u16 len, in idt_eeprom_read() argument
689 for (idx = 0; idx < len; idx++, memaddr++) { in idt_eeprom_read()
694 ret = idt_eeprom_read_byte(pdev, memaddr, &buf[idx]); in idt_eeprom_read()