Home
last modified time | relevance | path

Searched refs:b43_phy_read (Results 1 – 15 of 15) sorted by relevance

/linux-3.4.99/drivers/net/wireless/b43/
Dphy_g.c385 val = b43_phy_read(dev, B43_PHY_NRSSILT_DATA); in b43_nrssi_hw_read()
429 backup[0] = b43_phy_read(dev, 0x0001); in b43_calc_nrssi_offset()
430 backup[1] = b43_phy_read(dev, 0x0811); in b43_calc_nrssi_offset()
431 backup[2] = b43_phy_read(dev, 0x0812); in b43_calc_nrssi_offset()
433 backup[3] = b43_phy_read(dev, 0x0814); in b43_calc_nrssi_offset()
434 backup[4] = b43_phy_read(dev, 0x0815); in b43_calc_nrssi_offset()
436 backup[5] = b43_phy_read(dev, 0x005A); in b43_calc_nrssi_offset()
437 backup[6] = b43_phy_read(dev, 0x0059); in b43_calc_nrssi_offset()
438 backup[7] = b43_phy_read(dev, 0x0058); in b43_calc_nrssi_offset()
439 backup[8] = b43_phy_read(dev, 0x000A); in b43_calc_nrssi_offset()
[all …]
Dtables_phy_ht.c630 value = b43_phy_read(dev, B43_PHY_HT_TABLE_DATALO) & 0xFF; in b43_httab_read()
634 value = b43_phy_read(dev, B43_PHY_HT_TABLE_DATALO); in b43_httab_read()
638 value = b43_phy_read(dev, B43_PHY_HT_TABLE_DATAHI); in b43_httab_read()
640 value |= b43_phy_read(dev, B43_PHY_HT_TABLE_DATALO); in b43_httab_read()
666 *data = b43_phy_read(dev, B43_PHY_HT_TABLE_DATALO) & 0xFF; in b43_httab_read_bulk()
670 *((u16 *)data) = b43_phy_read(dev, B43_PHY_HT_TABLE_DATALO); in b43_httab_read_bulk()
674 *((u32 *)data) = b43_phy_read(dev, B43_PHY_HT_TABLE_DATAHI); in b43_httab_read_bulk()
676 *((u32 *)data) |= b43_phy_read(dev, B43_PHY_HT_TABLE_DATALO); in b43_httab_read_bulk()
Dtables_phy_lcn.c481 value = b43_phy_read(dev, B43_PHY_LCN_TABLE_DATALO) & 0xFF; in b43_lcntab_read()
485 value = b43_phy_read(dev, B43_PHY_LCN_TABLE_DATALO); in b43_lcntab_read()
489 value = b43_phy_read(dev, B43_PHY_LCN_TABLE_DATALO); in b43_lcntab_read()
490 value |= (b43_phy_read(dev, B43_PHY_LCN_TABLE_DATAHI) << 16); in b43_lcntab_read()
516 *data = b43_phy_read(dev, in b43_lcntab_read_bulk()
521 *((u16 *)data) = b43_phy_read(dev, in b43_lcntab_read_bulk()
526 *((u32 *)data) = b43_phy_read(dev, in b43_lcntab_read_bulk()
528 *((u32 *)data) |= (b43_phy_read(dev, in b43_lcntab_read_bulk()
Dphy_n.c91 return (b43_phy_read(dev, B43_NPHY_RFSEQCA) & B43_NPHY_RFSEQCA_RXEN) >> in b43_nphy_get_rx_core_state()
112 u16 seq_mode = b43_phy_read(dev, B43_NPHY_RFSEQMODE); in b43_nphy_force_rf_sequence()
120 if (!(b43_phy_read(dev, B43_NPHY_RFSEQST) & trigger[seq])) in b43_nphy_force_rf_sequence()
237 if (!(b43_phy_read(dev, B43_NPHY_RFCTL_CMD) & B43_NPHY_RFCTL_CMD_START)) { in b43_nphy_rf_control_intc_override()
256 if (!(b43_phy_read(dev, B43_NPHY_RFCTL_CMD) & B43_NPHY_RFCTL_CMD_RXTX)) { in b43_nphy_rf_control_intc_override()
318 clip_st[0] = b43_phy_read(dev, B43_NPHY_C1_CLIP1THRES); in b43_nphy_read_clip_detection()
319 clip_st[1] = b43_phy_read(dev, B43_NPHY_C2_CLIP1THRES); in b43_nphy_read_clip_detection()
330 tmp = b43_phy_read(dev, B43_NPHY_CLASSCTL); in b43_nphy_classifier()
349 bbcfg = b43_phy_read(dev, B43_NPHY_BBCFG); in b43_nphy_reset_cca()
869 if (b43_phy_read(dev, B43_NPHY_BBCFG) & B43_NPHY_BBCFG_RSTRX) in b43_nphy_gen_load_samples()
[all …]
Dlo.c126 feedthrough = b43_phy_read(dev, B43_PHY_LO_LEAKAGE); in lo_measure_feedthrough()
395 sav->phy_lo_mask = b43_phy_read(dev, B43_PHY_LO_MASK); in lo_measure_setup()
396 sav->phy_extg_01 = b43_phy_read(dev, B43_PHY_EXTG(0x01)); in lo_measure_setup()
397 sav->phy_dacctl_hwpctl = b43_phy_read(dev, B43_PHY_DACCTL); in lo_measure_setup()
398 sav->phy_cck_14 = b43_phy_read(dev, B43_PHY_CCK(0x14)); in lo_measure_setup()
399 sav->phy_hpwr_tssictl = b43_phy_read(dev, B43_PHY_HPWR_TSSICTL); in lo_measure_setup()
412 sav->phy_analogover = b43_phy_read(dev, B43_PHY_ANALOGOVER); in lo_measure_setup()
414 b43_phy_read(dev, B43_PHY_ANALOGOVERVAL); in lo_measure_setup()
415 sav->phy_rfover = b43_phy_read(dev, B43_PHY_RFOVER); in lo_measure_setup()
416 sav->phy_rfoverval = b43_phy_read(dev, B43_PHY_RFOVERVAL); in lo_measure_setup()
[all …]
Dtables_nphy.c2913 value = b43_phy_read(dev, B43_NPHY_TABLE_DATALO) & 0xFF; in b43_ntab_read()
2917 value = b43_phy_read(dev, B43_NPHY_TABLE_DATALO); in b43_ntab_read()
2921 value = b43_phy_read(dev, B43_NPHY_TABLE_DATALO); in b43_ntab_read()
2922 value |= b43_phy_read(dev, B43_NPHY_TABLE_DATAHI) << 16; in b43_ntab_read()
2948 b43_phy_read(dev, B43_NPHY_TABLE_DATALO); in b43_ntab_read_bulk()
2954 *data = b43_phy_read(dev, B43_NPHY_TABLE_DATALO) & 0xFF; in b43_ntab_read_bulk()
2958 *((u16 *)data) = b43_phy_read(dev, B43_NPHY_TABLE_DATALO); in b43_ntab_read_bulk()
2963 b43_phy_read(dev, B43_NPHY_TABLE_DATALO); in b43_ntab_read_bulk()
2965 b43_phy_read(dev, B43_NPHY_TABLE_DATAHI) << 16; in b43_ntab_read_bulk()
3024 b43_phy_read(dev, B43_NPHY_TABLE_DATALO); in b43_ntab_write_bulk()
Dtables.c393 return b43_phy_read(dev, B43_PHY_OTABLEI); in b43_ofdmtab_read16()
430 ret = b43_phy_read(dev, B43_PHY_OTABLEQ); in b43_ofdmtab_read32()
432 ret |= b43_phy_read(dev, B43_PHY_OTABLEI); in b43_ofdmtab_read32()
459 return b43_phy_read(dev, B43_PHY_GTABDATA); in b43_gtab_read()
Dphy_ht.c200 u16 save_seq_mode = b43_phy_read(dev, B43_PHY_HT_RF_SEQ_MODE); in b43_phy_ht_force_rf_sequence()
205 if (!(b43_phy_read(dev, B43_PHY_HT_RF_SEQ_STATUS) & rf_seq)) { in b43_phy_ht_force_rf_sequence()
219 clip_st[0] = b43_phy_read(dev, B43_PHY_HT_C1_CLIP1THRES); in b43_phy_ht_read_clip_detection()
220 clip_st[1] = b43_phy_read(dev, B43_PHY_HT_C2_CLIP1THRES); in b43_phy_ht_read_clip_detection()
221 clip_st[2] = b43_phy_read(dev, B43_PHY_HT_C3_CLIP1THRES); in b43_phy_ht_read_clip_detection()
253 old_band_5ghz = b43_phy_read(dev, B43_PHY_HT_BANDCTL) & 0; /* FIXME */ in b43_phy_ht_channel_setup()
374 b43_phy_read(dev, 0xb0); /* TODO: what for? */ in b43_phy_ht_op_init()
444 tmp = b43_phy_read(dev, B43_PHY_HT_BBCFG); in b43_phy_ht_op_init()
Dphy_lp.c349 tmp = b43_phy_read(dev, B43_LPPHY_CLIPCTRTHRESH); in lpphy_baseband_rev0_1_init()
353 tmp = b43_phy_read(dev, B43_LPPHY_GAINDIRECTMISMATCH); in lpphy_baseband_rev0_1_init()
357 tmp = b43_phy_read(dev, B43_LPPHY_VERYLOWGAINDB); in lpphy_baseband_rev0_1_init()
388 lpphy->dig_flt_state[i] = b43_phy_read(dev, addr[i]); in lpphy_save_dig_flt_state()
868 gains.dac = (b43_phy_read(dev, B43_LPPHY_AFE_DAC_CTL) & 0x380) >> 7; in lpphy_get_tx_gains()
870 tmp = b43_phy_read(dev, in lpphy_get_tx_gains()
876 tmp = b43_phy_read(dev, B43_LPPHY_TX_GAIN_CTL_OVERRIDE_VAL); in lpphy_get_tx_gains()
877 gains.pad = b43_phy_read(dev, B43_PHY_OFDM(0xFB)) & 0xFF; in lpphy_get_tx_gains()
887 u16 ctl = b43_phy_read(dev, B43_LPPHY_AFE_DAC_CTL) & 0xC7F; in lpphy_set_dac_gain()
894 return b43_phy_read(dev, B43_PHY_OFDM(0xFB)) & 0x7F; in lpphy_get_pa_gain()
[all …]
Dphy_lcn.c200 u16 afe_ctl2 = b43_phy_read(dev, B43_PHY_LCN_AFE_CTL2); in b43_phy_lcn_afe_set_unset()
201 u16 afe_ctl1 = b43_phy_read(dev, B43_PHY_LCN_AFE_CTL1); in b43_phy_lcn_afe_set_unset()
216 return (b43_phy_read(dev, 0x4fb) & 0x7f00) >> 8; in b43_phy_lcn_get_pa_gain()
224 dac_ctrl = b43_phy_read(dev, 0x439); in b43_phy_lcn_set_dac_gain()
370 save_phy_regs[i][1] = b43_phy_read(dev, save_phy_regs[i][0]); in b43_phy_lcn_sense_setup()
438 if (!(b43_phy_read(dev, 0x476) & 0x8000)) in b43_phy_lcn_sense_setup()
Dphy_common.c243 u16 b43_phy_read(struct b43_wldev *dev, u16 reg) in b43_phy_read() function
274 b43_phy_read(dev, offset) & mask); in b43_phy_mask()
285 b43_phy_read(dev, offset) | set); in b43_phy_set()
296 (b43_phy_read(dev, offset) & mask) | set); in b43_phy_maskset()
Dphy_a.c224 b = b43_phy_read(dev, B43_PHY_PWRDOWN); in b43_phy_ww()
229 curr_s = b43_phy_read(dev, B43_PHY_OTABLEQ) & 0x00FF; in b43_phy_ww()
281 if (b43_phy_read(dev, B43_PHY_ENCORE) & B43_PHY_ENCORE_EN) in b43_phy_inita()
535 tmp = b43_phy_read(dev, B43_PHY_ANTDWELL); in b43_aphy_op_set_rx_antenna()
Dwa.c139 ofdmrev = b43_phy_read(dev, B43_PHY_VERSION_OFDM) & B43_PHYVER_VERSION; in b43_wa_analog()
235 if (b43_phy_read(dev, B43_PHY_ENCORE) & B43_PHY_ENCORE_EN) in b43_wa_nst()
439 b43_phy_read(dev, B43_PHY_VERSION_OFDM); /* Dummy read */ in b43_wa_altagc()
Dphy_common.h313 u16 b43_phy_read(struct b43_wldev *dev, u16 reg);
Dtables_lpphy.c605 value = b43_phy_read(dev, B43_LPPHY_TABLEDATALO) & 0xFF; in b43_lptab_read()
609 value = b43_phy_read(dev, B43_LPPHY_TABLEDATALO); in b43_lptab_read()
613 value = b43_phy_read(dev, B43_LPPHY_TABLEDATAHI); in b43_lptab_read()
615 value |= b43_phy_read(dev, B43_LPPHY_TABLEDATALO); in b43_lptab_read()
641 *data = b43_phy_read(dev, B43_LPPHY_TABLEDATALO) & 0xFF; in b43_lptab_read_bulk()
645 *((u16 *)data) = b43_phy_read(dev, B43_LPPHY_TABLEDATALO); in b43_lptab_read_bulk()
649 *((u32 *)data) = b43_phy_read(dev, B43_LPPHY_TABLEDATAHI); in b43_lptab_read_bulk()
651 *((u32 *)data) |= b43_phy_read(dev, B43_LPPHY_TABLEDATALO); in b43_lptab_read_bulk()