Home
last modified time | relevance | path

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

/titanic_41/usr/src/uts/common/io/rtw/
H A Drtwvar.h129 (((sr)->sr_content[(ofs)/2] >> (((ofs) % 2 == 0) ? 0 : 8)) & 0xff)
135 uint16_t *sr_content; member
H A Drtw.c665 if (sr->sr_content == NULL) in rtw_srom_free()
667 kmem_free(sr->sr_content, sr->sr_size); in rtw_srom_free()
669 sr->sr_content = NULL; in rtw_srom_free()
817 sr->sr_content = kmem_zalloc(sr->sr_size, KM_SLEEP); in rtw_srom_read()
819 if (sr->sr_content == NULL) { in rtw_srom_read()
825 (void) memset(sr->sr_content, 0, sr->sr_size); in rtw_srom_read()
851 if (!read_seeprom(&sd, sr->sr_content, 0, sr->sr_size/2)) { in rtw_srom_read()
853 kmem_free(sr->sr_content, sr->sr_size); in rtw_srom_read()
854 sr->sr_content = NULL; in rtw_srom_read()
875 "offset-0x%x: %04x", 2*i, sr->sr_content[i]); in rtw_srom_read()