Searched refs:sc_eep_size (Results 1 – 8 of 8) sorted by relevance
367 sc->sc_eep_size = AR_SREV_9485(sc) ? 4096 : 1024; in ar9003_find_rom()368 sc->sc_eep_base = sc->sc_eep_size - 1; in ar9003_find_rom()373 sc->sc_eep_size = 512; in ar9003_find_rom()374 sc->sc_eep_base = sc->sc_eep_size - 1; in ar9003_find_rom()382 sc->sc_eep_size = 1024; in ar9003_find_rom()383 sc->sc_eep_base = sc->sc_eep_size - 1; in ar9003_find_rom()388 sc->sc_eep_size = 512; in ar9003_find_rom()389 sc->sc_eep_base = sc->sc_eep_size - 1; in ar9003_find_rom()414 memcpy(eep, def, sc->sc_eep_size); in ar9003_restore_rom_block()427 if (off + clen > sc->sc_eep_size) in ar9003_restore_rom_block()[all …]
550 uint32_t sc_eep_size; member
97 sc->sc_eep_size = sizeof(struct ar9287_eeprom); in ar9287_attach()
84 sc->sc_eep_size = sizeof(struct ar5416_eeprom); in ar9280_attach()
97 sc->sc_eep_size = sizeof(struct ar5416_eeprom); in ar5416_attach()
100 sc->sc_eep_size = sizeof(struct ar9285_eeprom); in ar9285_attach()
316 sc->sc_eep = malloc(sc->sc_eep_size, M_DEVBUF, M_WAITOK); in ar5008_read_rom()321 end = sc->sc_eep_base + sc->sc_eep_size / sizeof(uint16_t); in ar5008_read_rom()
1319 for (i = 0; i < sc->sc_eep_size / 16; i++) { in athn_usb_read_rom()