Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/wireless/intersil/p54/
H A Dfwio.c215 struct p54_eeprom_lm86 *eeprom_hdr; in p54_download_eeprom() local
222 eeprom_hdr_size = sizeof(*eeprom_hdr); in p54_download_eeprom()
234 eeprom_hdr = skb_put(skb, eeprom_hdr_size + len); in p54_download_eeprom()
237 eeprom_hdr->v1.offset = cpu_to_le16(offset); in p54_download_eeprom()
238 eeprom_hdr->v1.len = cpu_to_le16(len); in p54_download_eeprom()
240 eeprom_hdr->v2.offset = cpu_to_le32(offset); in p54_download_eeprom()
241 eeprom_hdr->v2.len = cpu_to_le16(len); in p54_download_eeprom()
242 eeprom_hdr->v2.magic2 = 0xf; in p54_download_eeprom()
243 memcpy(eeprom_hdr->v2.magic, (const char *)"LOCK", 4); in p54_download_eeprom()