Searched refs:sr_content (Results 1 – 2 of 2) sorted by relevance
/openbsd/sys/dev/ic/ |
H A D | rtwvar.h | 142 (((sr)->sr_content[(ofs)/2] >> (((ofs) % 2 == 0) ? 0 : 8)) & 0xff) 148 u_int16_t *sr_content; member
|
H A D | rtw.c | 662 sr->sr_content = malloc(sr->sr_size, M_DEVBUF, M_NOWAIT | M_ZERO); in rtw_srom_read() 664 if (sr->sr_content == NULL) { in rtw_srom_read() 688 if (!read_seeprom(&sd, sr->sr_content, 0, sr->sr_size/2)) { in rtw_srom_read() 690 free(sr->sr_content, M_DEVBUF, 0); in rtw_srom_read() 691 sr->sr_content = NULL; in rtw_srom_read() 712 (" %04x", sr->sr_content[i])); in rtw_srom_read() 4061 if (sr->sr_content != NULL) { in rtw_attach() 4062 free(sr->sr_content, M_DEVBUF, sr->sr_size); in rtw_attach() 4063 sr->sr_content = NULL; in rtw_attach()
|