Home
last modified time | relevance | path

Searched refs:first_dword (Results 1 – 3 of 3) sorted by relevance

/linux-5.19.10/drivers/net/ethernet/atheros/atl1e/
Datl1e_ethtool.c210 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()
[all …]
/linux-5.19.10/drivers/net/ethernet/atheros/atl1c/
Datl1c_ethtool.c182 int first_dword, last_dword; in atl1c_get_eeprom() local
195 first_dword = eeprom->offset >> 2; in atl1c_get_eeprom()
198 eeprom_buff = kmalloc_array(last_dword - first_dword + 1, sizeof(u32), in atl1c_get_eeprom()
203 for (i = first_dword; i < last_dword; i++) { in atl1c_get_eeprom()
204 if (!atl1c_read_eeprom(hw, i * 4, &(eeprom_buff[i-first_dword]))) { in atl1c_get_eeprom()
/linux-5.19.10/drivers/net/ethernet/atheros/atlx/
Datl2.c1882 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()
[all …]