Searched refs:eep_size (Results 1 – 8 of 8) sorted by relevance
347 sc->eep_size = AR_SREV_9485(sc) ? 4096 : 1024; in ar9003_find_rom()348 sc->eep_base = sc->eep_size - 1; in ar9003_find_rom()353 sc->eep_size = 512; in ar9003_find_rom()354 sc->eep_base = sc->eep_size - 1; in ar9003_find_rom()362 sc->eep_size = 1024; in ar9003_find_rom()363 sc->eep_base = sc->eep_size - 1; in ar9003_find_rom()368 sc->eep_size = 512; in ar9003_find_rom()369 sc->eep_base = sc->eep_size - 1; in ar9003_find_rom()393 memcpy(eep, def, sc->eep_size); in ar9003_restore_rom_block()406 if (off + clen > sc->eep_size) in ar9003_restore_rom_block()[all …]
518 uint32_t eep_size; member
95 sc->eep_size = sizeof(struct ar5416_eeprom); in ar9280_attach()
105 sc->eep_size = sizeof(struct ar9287_eeprom); in ar9287_attach()
114 sc->eep_size = sizeof(struct ar5416_eeprom); in ar5416_attach()
106 sc->eep_size = sizeof(struct ar9285_eeprom); in ar9285_attach()
321 sc->eep = malloc(sc->eep_size, M_DEVBUF, M_NOWAIT); in ar5008_read_rom()328 end = sc->eep_base + sc->eep_size / sizeof(uint16_t); in ar5008_read_rom()
932 for (i = 0; i < sc->eep_size / 16; i++) { in athn_usb_read_rom()