eec 651 drivers/net/ethernet/intel/igb/e1000_i210.c u32 eec = 0; eec 654 drivers/net/ethernet/intel/igb/e1000_i210.c eec = rd32(E1000_EECD); eec 655 drivers/net/ethernet/intel/igb/e1000_i210.c if (eec & E1000_EECD_FLASH_DETECTED_I210) eec 455 drivers/net/ethernet/intel/igc/igc_i225.c u32 eec = 0; eec 457 drivers/net/ethernet/intel/igc/igc_i225.c eec = rd32(IGC_EECD); eec 458 drivers/net/ethernet/intel/igc/igc_i225.c if (eec & IGC_EECD_FLASH_DETECTED_I225) eec 21 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c static void ixgbe_raise_eeprom_clk(struct ixgbe_hw *hw, u32 *eec); eec 22 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c static void ixgbe_lower_eeprom_clk(struct ixgbe_hw *hw, u32 *eec); eec 850 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c u32 eec; eec 865 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c eec = IXGBE_READ_REG(hw, IXGBE_EEC(hw)); eec 866 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c if (eec & IXGBE_EEC_PRES) { eec 873 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c eeprom_size = (u16)((eec & IXGBE_EEC_SIZE) >> eec 879 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c if (eec & IXGBE_EEC_ADDR_SIZE) eec 1343 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c u32 eec; eec 1349 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c eec = IXGBE_READ_REG(hw, IXGBE_EEC(hw)); eec 1352 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c eec |= IXGBE_EEC_REQ; eec 1353 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c IXGBE_WRITE_REG(hw, IXGBE_EEC(hw), eec); eec 1356 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c eec = IXGBE_READ_REG(hw, IXGBE_EEC(hw)); eec 1357 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c if (eec & IXGBE_EEC_GNT) eec 1363 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c if (!(eec & IXGBE_EEC_GNT)) { eec 1364 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c eec &= ~IXGBE_EEC_REQ; eec 1365 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c IXGBE_WRITE_REG(hw, IXGBE_EEC(hw), eec); eec 1374 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c eec &= ~(IXGBE_EEC_CS | IXGBE_EEC_SK); eec 1375 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c IXGBE_WRITE_REG(hw, IXGBE_EEC(hw), eec); eec 1518 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c u32 eec; eec 1520 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c eec = IXGBE_READ_REG(hw, IXGBE_EEC(hw)); eec 1523 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c eec |= IXGBE_EEC_CS; eec 1524 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c IXGBE_WRITE_REG(hw, IXGBE_EEC(hw), eec); eec 1527 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c eec &= ~IXGBE_EEC_CS; eec 1528 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c IXGBE_WRITE_REG(hw, IXGBE_EEC(hw), eec); eec 1542 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c u32 eec; eec 1546 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c eec = IXGBE_READ_REG(hw, IXGBE_EEC(hw)); eec 1563 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c eec |= IXGBE_EEC_DI; eec 1565 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c eec &= ~IXGBE_EEC_DI; eec 1567 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c IXGBE_WRITE_REG(hw, IXGBE_EEC(hw), eec); eec 1572 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c ixgbe_raise_eeprom_clk(hw, &eec); eec 1573 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c ixgbe_lower_eeprom_clk(hw, &eec); eec 1583 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c eec &= ~IXGBE_EEC_DI; eec 1584 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c IXGBE_WRITE_REG(hw, IXGBE_EEC(hw), eec); eec 1595 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c u32 eec; eec 1606 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c eec = IXGBE_READ_REG(hw, IXGBE_EEC(hw)); eec 1608 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c eec &= ~(IXGBE_EEC_DO | IXGBE_EEC_DI); eec 1612 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c ixgbe_raise_eeprom_clk(hw, &eec); eec 1614 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c eec = IXGBE_READ_REG(hw, IXGBE_EEC(hw)); eec 1616 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c eec &= ~(IXGBE_EEC_DI); eec 1617 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c if (eec & IXGBE_EEC_DO) eec 1620 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c ixgbe_lower_eeprom_clk(hw, &eec); eec 1631 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c static void ixgbe_raise_eeprom_clk(struct ixgbe_hw *hw, u32 *eec) eec 1637 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c *eec = *eec | IXGBE_EEC_SK; eec 1638 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c IXGBE_WRITE_REG(hw, IXGBE_EEC(hw), *eec); eec 1648 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c static void ixgbe_lower_eeprom_clk(struct ixgbe_hw *hw, u32 *eec) eec 1654 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c *eec = *eec & ~IXGBE_EEC_SK; eec 1655 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c IXGBE_WRITE_REG(hw, IXGBE_EEC(hw), *eec); eec 1666 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c u32 eec; eec 1668 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c eec = IXGBE_READ_REG(hw, IXGBE_EEC(hw)); eec 1670 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c eec |= IXGBE_EEC_CS; /* Pull CS high */ eec 1671 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c eec &= ~IXGBE_EEC_SK; /* Lower SCK */ eec 1673 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c IXGBE_WRITE_REG(hw, IXGBE_EEC(hw), eec); eec 1679 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c eec &= ~IXGBE_EEC_REQ; eec 1680 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c IXGBE_WRITE_REG(hw, IXGBE_EEC(hw), eec); eec 10744 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c u32 eec; eec 10830 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c eec = IXGBE_READ_REG(hw, IXGBE_EEC(hw)); eec 10836 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c if (!(eec & BIT(8))) eec 190 drivers/net/ethernet/intel/ixgbe/ixgbe_x540.c u32 eec; eec 197 drivers/net/ethernet/intel/ixgbe/ixgbe_x540.c eec = IXGBE_READ_REG(hw, IXGBE_EEC(hw)); eec 198 drivers/net/ethernet/intel/ixgbe/ixgbe_x540.c eeprom_size = (u16)((eec & IXGBE_EEC_SIZE) >> eec 631 drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c u32 eec; eec 638 drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c eec = IXGBE_READ_REG(hw, IXGBE_EEC(hw)); eec 639 drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c eeprom_size = (u16)((eec & IXGBE_EEC_SIZE) >>