Home
last modified time | relevance | path

Searched refs:eeprom_offset (Results 1 – 5 of 5) sorted by relevance

/linux-3.4.99/drivers/infiniband/hw/nes/
Dnes_utils.c90 u16 eeprom_offset; in nes_read_eeprom_values() local
101 eeprom_offset = 2 + (((eeprom_data & 0x007f) << 3) << in nes_read_eeprom_values()
103 nes_debug(NES_DBG_HW, "Firmware Offset = 0x%04X\n", eeprom_offset); in nes_read_eeprom_values()
104 nesadapter->firmware_eeprom_offset = eeprom_offset; in nes_read_eeprom_values()
105 eeprom_data = nes_read16_eeprom(nesdev->regs, eeprom_offset + 4); in nes_read_eeprom_values()
111 eeprom_data = nes_read16_eeprom(nesdev->regs, eeprom_offset + 2); in nes_read_eeprom_values()
113 eeprom_offset + 2, eeprom_data); in nes_read_eeprom_values()
114 eeprom_offset += ((eeprom_data & 0x00ff) << 3) << ((eeprom_data & 0x0100) >> 8); in nes_read_eeprom_values()
115 nes_debug(NES_DBG_HW, "Software Offset = 0x%04X\n", eeprom_offset); in nes_read_eeprom_values()
116 nesadapter->software_eeprom_offset = eeprom_offset; in nes_read_eeprom_values()
[all …]
/linux-3.4.99/drivers/infiniband/hw/ipath/
Dipath_eeprom.c486 u8 eeprom_offset, void *buffer, int len) in ipath_eeprom_internal_read() argument
500 eeprom_offset = (eeprom_offset << 1) | READ_CMD; in ipath_eeprom_internal_read()
501 ret = i2c_startcmd(dd, eeprom_offset); in ipath_eeprom_internal_read()
511 ret = wr_byte(dd, eeprom_offset); in ipath_eeprom_internal_read()
547 static int ipath_eeprom_internal_write(struct ipath_devdata *dd, u8 eeprom_offset, in ipath_eeprom_internal_write() argument
564 (eeprom_offset << 1) | WRITE_CMD)) { in ipath_eeprom_internal_write()
566 eeprom_offset); in ipath_eeprom_internal_write()
575 ret = wr_byte(dd, eeprom_offset); in ipath_eeprom_internal_write()
584 eeprom_offset += sub_len; in ipath_eeprom_internal_write()
641 int ipath_eeprom_read(struct ipath_devdata *dd, u8 eeprom_offset, in ipath_eeprom_read() argument
[all …]
/linux-3.4.99/drivers/infiniband/hw/qib/
Dqib_eeprom.c52 int qib_eeprom_read(struct qib_devdata *dd, u8 eeprom_offset, in qib_eeprom_read() argument
64 eeprom_offset, buff, len); in qib_eeprom_read()
99 int qib_eeprom_write(struct qib_devdata *dd, u8 eeprom_offset, in qib_eeprom_write() argument
106 ret = eeprom_write_with_enable(dd, eeprom_offset, buff, len); in qib_eeprom_write()
/linux-3.4.99/drivers/net/ethernet/3com/
D3c515.c237 enum eeprom_offset { enum
D3c59x.c491 enum eeprom_offset { enum