Lines Matching refs:first_dword
210 int first_dword, last_dword; in atl1e_get_eeprom() local
222 first_dword = eeprom->offset >> 2; in atl1e_get_eeprom()
225 eeprom_buff = kmalloc_array(last_dword - first_dword + 1, sizeof(u32), in atl1e_get_eeprom()
230 for (i = first_dword; i < last_dword; i++) { in atl1e_get_eeprom()
231 if (!atl1e_read_eeprom(hw, i * 4, &(eeprom_buff[i-first_dword]))) { in atl1e_get_eeprom()
251 int first_dword, last_dword; in atl1e_set_eeprom() local
261 first_dword = eeprom->offset >> 2; in atl1e_set_eeprom()
272 if (!atl1e_read_eeprom(hw, first_dword * 4, &(eeprom_buff[0]))) { in atl1e_set_eeprom()
283 &(eeprom_buff[last_dword - first_dword]))) { in atl1e_set_eeprom()
292 for (i = 0; i < last_dword - first_dword + 1; i++) { in atl1e_set_eeprom()
293 if (!atl1e_write_eeprom(hw, ((first_dword + i) * 4), in atl1e_set_eeprom()