Lines Matching refs:first_dword
1882 int first_dword, last_dword; in atl2_get_eeprom() local
1894 first_dword = eeprom->offset >> 2; in atl2_get_eeprom()
1897 eeprom_buff = kmalloc_array(last_dword - first_dword + 1, sizeof(u32), in atl2_get_eeprom()
1902 for (i = first_dword; i < last_dword; i++) { in atl2_get_eeprom()
1903 if (!atl2_read_eeprom(hw, i*4, &(eeprom_buff[i-first_dword]))) { in atl2_get_eeprom()
1924 int max_len, first_dword, last_dword, ret_val = 0; in atl2_set_eeprom() local
1935 first_dword = eeprom->offset >> 2; in atl2_set_eeprom()
1946 if (!atl2_read_eeprom(hw, first_dword*4, &(eeprom_buff[0]))) { in atl2_set_eeprom()
1958 &(eeprom_buff[last_dword - first_dword]))) { in atl2_set_eeprom()
1967 for (i = 0; i < last_dword - first_dword + 1; i++) { in atl2_set_eeprom()
1968 if (!atl2_write_eeprom(hw, ((first_dword+i)*4), eeprom_buff[i])) { in atl2_set_eeprom()