Home
last modified time | relevance | path

Searched refs:eeprom_map (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/drivers/staging/rtlwifi/halmac/halmac_88xx/
Dhalmac_func_88xx.c566 u8 *eeprom_map = NULL; in halmac_func_write_logical_efuse_88xx() local
574 eeprom_map = kzalloc(eeprom_size, GFP_KERNEL); in halmac_func_write_logical_efuse_88xx()
575 if (!eeprom_map) in halmac_func_write_logical_efuse_88xx()
577 memset(eeprom_map, 0xFF, eeprom_size); in halmac_func_write_logical_efuse_88xx()
579 status = halmac_read_logical_efuse_map_88xx(halmac_adapter, eeprom_map); in halmac_func_write_logical_efuse_88xx()
583 kfree(eeprom_map); in halmac_func_write_logical_efuse_88xx()
587 if (*(eeprom_map + offset) != value) { in halmac_func_write_logical_efuse_88xx()
606 pg_efuse_byte2 = *(eeprom_map + offset + 1); in halmac_func_write_logical_efuse_88xx()
608 pg_efuse_byte1 = *(eeprom_map + offset - 1); in halmac_func_write_logical_efuse_88xx()
617 kfree(eeprom_map); in halmac_func_write_logical_efuse_88xx()
[all …]
Dhalmac_api_88xx.c1875 u8 *eeprom_map = NULL; in halmac_dump_logical_efuse_map_88xx() local
1933 eeprom_map = kzalloc(eeprom_size, GFP_KERNEL); in halmac_dump_logical_efuse_map_88xx()
1934 if (!eeprom_map) { in halmac_dump_logical_efuse_map_88xx()
1938 memset(eeprom_map, 0xFF, eeprom_size); in halmac_dump_logical_efuse_map_88xx()
1942 eeprom_map) != HALMAC_RET_SUCCESS) { in halmac_dump_logical_efuse_map_88xx()
1943 kfree(eeprom_map); in halmac_dump_logical_efuse_map_88xx()
1949 *process_status, eeprom_map, eeprom_size); in halmac_dump_logical_efuse_map_88xx()
1952 kfree(eeprom_map); in halmac_dump_logical_efuse_map_88xx()
1979 u8 *eeprom_map = NULL; in halmac_read_logical_efuse_88xx() local
2025 eeprom_map = kzalloc(eeprom_size, GFP_KERNEL); in halmac_read_logical_efuse_88xx()
[all …]