Searched refs:e1000_spi_xfer (Results 1 – 1 of 1) sorted by relevance
/openbmc/u-boot/drivers/net/ |
H A D | e1000_spi.c | 21 static int e1000_spi_xfer(struct e1000_hw *hw, unsigned int bitlen, in e1000_spi_xfer() function 145 ret = e1000_spi_xfer(hw, bitlen, dout_mem, din_mem, true); in spi_xfer() 173 return e1000_spi_xfer(hw, 8*sizeof(op), op, NULL, intr); in e1000_spi_eeprom_enable_wr() 185 return e1000_spi_xfer(hw, 8*sizeof(op), op, NULL, intr); in e1000_spi_eeprom_disable_wr() 193 return e1000_spi_xfer(hw, 8*sizeof(op), op, NULL, intr); in e1000_spi_eeprom_write_status() 200 if (e1000_spi_xfer(hw, 8*sizeof(op), op, op, intr)) in e1000_spi_eeprom_read_status() 215 if (e1000_spi_xfer(hw, 8 + hw->eeprom.address_bits, op, NULL, intr)) in e1000_spi_eeprom_write_page() 217 if (e1000_spi_xfer(hw, len << 3, data, NULL, intr)) in e1000_spi_eeprom_write_page() 233 if (e1000_spi_xfer(hw, 8 + hw->eeprom.address_bits, op, NULL, intr)) in e1000_spi_eeprom_read_page() 235 if (e1000_spi_xfer(hw, len << 3, NULL, data, intr)) in e1000_spi_eeprom_read_page()
|