Home
last modified time | relevance | path

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

/netbsd-src/sys/dev/ic/
H A Drtwvar.h157 (((sr)->sr_content[(ofs)/2] >> (((ofs) % 2 == 0) ? 0 : 8)) & 0xff)
163 uint16_t *sr_content; member
H A Drtw.c804 if (sr->sr_content == NULL) in rtw_srom_free()
806 free(sr->sr_content, M_DEVBUF); in rtw_srom_free()
807 sr->sr_content = NULL; in rtw_srom_free()
961 sr->sr_content = malloc(sr->sr_size, M_DEVBUF, M_WAITOK | M_ZERO); in rtw_srom_read()
982 if (!read_seeprom(&sd, sr->sr_content, 0, sr->sr_size/2)) { in rtw_srom_read()
984 free(sr->sr_content, M_DEVBUF); in rtw_srom_read()
985 sr->sr_content = NULL; in rtw_srom_read()
1006 (" %04x", sr->sr_content[i])); in rtw_srom_read()