H A D | nxt6000.c | 56 static u8 nxt6000_readreg(struct nxt6000_state* state, u8 reg) nxt6000_readreg() function 78 val = nxt6000_readreg(state, OFDM_COR_CTL); nxt6000_reset() 118 return nxt6000_writereg(state, OFDM_COR_MODEGUARD, 0x00 | (nxt6000_readreg(state, OFDM_COR_MODEGUARD) & ~0x03)); nxt6000_set_guard_interval() 121 return nxt6000_writereg(state, OFDM_COR_MODEGUARD, 0x01 | (nxt6000_readreg(state, OFDM_COR_MODEGUARD) & ~0x03)); nxt6000_set_guard_interval() 125 return nxt6000_writereg(state, OFDM_COR_MODEGUARD, 0x02 | (nxt6000_readreg(state, OFDM_COR_MODEGUARD) & ~0x03)); nxt6000_set_guard_interval() 128 return nxt6000_writereg(state, OFDM_COR_MODEGUARD, 0x03 | (nxt6000_readreg(state, OFDM_COR_MODEGUARD) & ~0x03)); nxt6000_set_guard_interval() 161 if ((result = nxt6000_writereg(state, EN_DMD_RACQ, 0x00 | (nxt6000_readreg(state, EN_DMD_RACQ) & ~0x03))) < 0) nxt6000_set_transmission_mode() 164 return nxt6000_writereg(state, OFDM_COR_MODEGUARD, (0x00 << 2) | (nxt6000_readreg(state, OFDM_COR_MODEGUARD) & ~0x04)); nxt6000_set_transmission_mode() 168 if ((result = nxt6000_writereg(state, EN_DMD_RACQ, 0x02 | (nxt6000_readreg(state, EN_DMD_RACQ) & ~0x03))) < 0) nxt6000_set_transmission_mode() 171 return nxt6000_writereg(state, OFDM_COR_MODEGUARD, (0x01 << 2) | (nxt6000_readreg(state, OFDM_COR_MODEGUARD) & ~0x04)); nxt6000_set_transmission_mode() 191 nxt6000_writereg(state, OFDM_COR_CTL, (0x01 << 5) | (nxt6000_readreg(state, OFDM_COR_CTL) & 0x0F)); nxt6000_setup() 219 printk("RS_COR_STAT: 0x%02X\n", nxt6000_readreg(fe, RS_COR_STAT)); nxt6000_dump_status() 220 printk("VIT_SYNC_STATUS: 0x%02X\n", nxt6000_readreg(fe, VIT_SYNC_STATUS)); nxt6000_dump_status() 221 printk("OFDM_COR_STAT: 0x%02X\n", nxt6000_readreg(fe, OFDM_COR_STAT)); nxt6000_dump_status() 222 printk("OFDM_SYR_STAT: 0x%02X\n", nxt6000_readreg(fe, OFDM_SYR_STAT)); nxt6000_dump_status() 223 printk("OFDM_TPS_RCVD_1: 0x%02X\n", nxt6000_readreg(fe, OFDM_TPS_RCVD_1)); nxt6000_dump_status() 224 printk("OFDM_TPS_RCVD_2: 0x%02X\n", nxt6000_readreg(fe, OFDM_TPS_RCVD_2)); nxt6000_dump_status() 225 printk("OFDM_TPS_RCVD_3: 0x%02X\n", nxt6000_readreg(fe, OFDM_TPS_RCVD_3)); nxt6000_dump_status() 226 printk("OFDM_TPS_RCVD_4: 0x%02X\n", nxt6000_readreg(fe, OFDM_TPS_RCVD_4)); nxt6000_dump_status() 227 printk("OFDM_TPS_RESERVED_1: 0x%02X\n", nxt6000_readreg(fe, OFDM_TPS_RESERVED_1)); nxt6000_dump_status() 228 printk("OFDM_TPS_RESERVED_2: 0x%02X\n", nxt6000_readreg(fe, OFDM_TPS_RESERVED_2)); nxt6000_dump_status() 232 val = nxt6000_readreg(state, RS_COR_STAT); nxt6000_dump_status() 237 val = nxt6000_readreg(state, VIT_SYNC_STATUS); nxt6000_dump_status() 268 val = nxt6000_readreg(state, OFDM_COR_STAT); nxt6000_dump_status() 310 val = nxt6000_readreg(state, OFDM_SYR_STAT); nxt6000_dump_status() 334 val = nxt6000_readreg(state, OFDM_TPS_RCVD_3); nxt6000_dump_status() 390 val = nxt6000_readreg(state, OFDM_TPS_RCVD_4); nxt6000_dump_status() 415 nxt6000_readreg(state, RF_AGC_VAL_1); nxt6000_dump_status() 416 val = nxt6000_readreg(state, RF_AGC_STATUS); nxt6000_dump_status() 417 val = nxt6000_readreg(state, RF_AGC_STATUS); nxt6000_dump_status() 430 core_status = nxt6000_readreg(state, OFDM_COR_STAT); nxt6000_read_status() 435 if (nxt6000_readreg(state, OFDM_SYR_STAT) & GI14_SYR_LOCK) nxt6000_read_status() 438 if (nxt6000_readreg(state, VIT_SYNC_STATUS) & VITINSYNC) nxt6000_read_status() 441 if (nxt6000_readreg(state, RS_COR_STAT) & RSCORESTATUS) nxt6000_read_status() 504 *snr = nxt6000_readreg( state, OFDM_CHC_SNR) / 8; nxt6000_read_snr() 515 *ber = (nxt6000_readreg( state, VIT_BER_1 ) << 8 ) | nxt6000_read_ber() 516 nxt6000_readreg( state, VIT_BER_0 ); nxt6000_read_ber() 528 (nxt6000_readreg(state, AGC_GAIN_1) + nxt6000_read_signal_strength() 529 ((nxt6000_readreg(state, AGC_GAIN_2) & 0x03) << 8))); nxt6000_read_signal_strength() 567 if (nxt6000_readreg(state, OFDM_MSC_REV) != NXT6000ASICDEVICE) goto error; nxt6000_attach()
|