Lines Matching defs:index

80 static int  e1000_rar_set_pch2lan(struct e1000_hw *hw, u8 *addr, u32 index);
81 static int e1000_rar_set_pch_lpt(struct e1000_hw *hw, u8 *addr, u32 index);
2004 * @index: receive address array register
2006 * Sets the receive address array register at index to the address passed
2011 static int e1000_rar_set_pch2lan(struct e1000_hw *hw, u8 *addr, u32 index)
2030 if (index == 0) {
2031 E1000_WRITE_REG(hw, E1000_RAL(index), rar_low);
2033 E1000_WRITE_REG(hw, E1000_RAH(index), rar_high);
2041 if (index < (u32) (hw->mac.rar_entry_count)) {
2048 E1000_WRITE_REG(hw, E1000_SHRAL(index - 1), rar_low);
2050 E1000_WRITE_REG(hw, E1000_SHRAH(index - 1), rar_high);
2056 if ((E1000_READ_REG(hw, E1000_SHRAL(index - 1)) == rar_low) &&
2057 (E1000_READ_REG(hw, E1000_SHRAH(index - 1)) == rar_high))
2061 (index - 1), E1000_READ_REG(hw, E1000_FWSM));
2065 DEBUGOUT1("Failed to write receive address at index %d\n", index);
2073 * @index: receive address array register
2075 * Sets the receive address register array at index to the address passed
2080 static int e1000_rar_set_pch_lpt(struct e1000_hw *hw, u8 *addr, u32 index)
2099 if (index == 0) {
2100 E1000_WRITE_REG(hw, E1000_RAL(index), rar_low);
2102 E1000_WRITE_REG(hw, E1000_RAH(index), rar_high);
2110 if (index < hw->mac.rar_entry_count) {
2119 if ((wlock_mac == 0) || (index <= wlock_mac)) {
2127 E1000_WRITE_REG(hw, E1000_SHRAL_PCH_LPT(index - 1),
2130 E1000_WRITE_REG(hw, E1000_SHRAH_PCH_LPT(index - 1),
2137 if ((E1000_READ_REG(hw, E1000_SHRAL_PCH_LPT(index - 1)) == rar_low) &&
2138 (E1000_READ_REG(hw, E1000_SHRAH_PCH_LPT(index - 1)) == rar_high))
2144 DEBUGOUT1("Failed to write receive address at index %d\n", index);
4606 * @offset: The index of the byte to read.
4719 * consecutive sectors. The start index for the nth Hw sector
4722 * The start index for the nth Hw sector can be calculated
4783 /* Write the last 24 bits of an index within the