Home
last modified time | relevance | path

Searched refs:last_dword (Results 1 – 4 of 4) sorted by relevance

/linux-6.6.21/drivers/net/ethernet/atheros/atl1e/
Datl1e_ethtool.c210 int first_dword, last_dword; in atl1e_get_eeprom() local
223 last_dword = (eeprom->offset + eeprom->len - 1) >> 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()
251 int first_dword, last_dword; in atl1e_set_eeprom() local
262 last_dword = (eeprom->offset + eeprom->len - 1) >> 2; in atl1e_set_eeprom()
282 if (!atl1e_read_eeprom(hw, last_dword * 4, 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()
/linux-6.6.21/drivers/net/ethernet/microsoft/mana/
Dshm_channel.c71 u32 last_dword; in mana_smc_poll_register() local
79 last_dword = readl(ptr); in mana_smc_poll_register()
82 if (reset && last_dword == SHMEM_VF_RESET_STATE) in mana_smc_poll_register()
86 if (!(last_dword & BIT(31))) in mana_smc_poll_register()
/linux-6.6.21/drivers/net/ethernet/atheros/atl1c/
Datl1c_ethtool.c182 int first_dword, last_dword; in atl1c_get_eeprom() local
196 last_dword = (eeprom->offset + eeprom->len - 1) >> 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()
/linux-6.6.21/drivers/net/ethernet/atheros/atlx/
Datl2.c1882 int first_dword, last_dword; in atl2_get_eeprom() local
1895 last_dword = (eeprom->offset + eeprom->len - 1) >> 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()
1924 int max_len, first_dword, last_dword, ret_val = 0; in atl2_set_eeprom() local
1936 last_dword = (eeprom->offset + eeprom->len - 1) >> 2; in atl2_set_eeprom()
1957 if (!atl2_read_eeprom(hw, last_dword * 4, 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()