Lines Matching defs:rom
89 struct r92c_rom *rom = (struct r92c_rom *)buf;
92 rs->board_type = MS(rom->rf_opt1, R92C_ROM_RF1_BOARD_TYPE);
93 rs->regulatory = MS(rom->rf_opt1, R92C_ROM_RF1_REGULATORY);
103 rt->cck_tx_pwr[i][j] = rom->cck_tx_pwr[i][j];
104 rt->ht40_1s_tx_pwr[i][j] = rom->ht40_1s_tx_pwr[i][j];
108 MS(rom->ht40_2s_tx_pwr_diff[j], LOW_PART);
110 RTWN_SIGN4TO8(MS(rom->ht20_tx_pwr_diff[j],
113 MS(rom->ofdm_tx_pwr_diff[j], LOW_PART);
115 MS(rom->ht40_max_pwr[j], LOW_PART);
117 MS(rom->ht20_max_pwr[j], LOW_PART);
121 MS(rom->ht40_2s_tx_pwr_diff[j], HIGH_PART);
123 RTWN_SIGN4TO8(MS(rom->ht20_tx_pwr_diff[j],
126 MS(rom->ofdm_tx_pwr_diff[j], HIGH_PART);
128 MS(rom->ht40_max_pwr[j], HIGH_PART);
130 MS(rom->ht20_max_pwr[j], HIGH_PART);
134 sc->thermal_meter = MS(rom->thermal_meter, R92C_ROM_THERMAL_METER);
137 IEEE80211_ADDR_COPY(sc->sc_ic.ic_macaddr, rom->macaddr);