/linux-6.12.1/drivers/net/wireless/broadcom/b43/ |
D | phy_g.c | 373 val = b43_phy_read(dev, B43_PHY_NRSSILT_DATA); in b43_nrssi_hw_read() 417 backup[0] = b43_phy_read(dev, 0x0001); in b43_calc_nrssi_offset() 418 backup[1] = b43_phy_read(dev, 0x0811); in b43_calc_nrssi_offset() 419 backup[2] = b43_phy_read(dev, 0x0812); in b43_calc_nrssi_offset() 421 backup[3] = b43_phy_read(dev, 0x0814); in b43_calc_nrssi_offset() 422 backup[4] = b43_phy_read(dev, 0x0815); in b43_calc_nrssi_offset() 424 backup[5] = b43_phy_read(dev, 0x005A); in b43_calc_nrssi_offset() 425 backup[6] = b43_phy_read(dev, 0x0059); in b43_calc_nrssi_offset() 426 backup[7] = b43_phy_read(dev, 0x0058); in b43_calc_nrssi_offset() 427 backup[8] = b43_phy_read(dev, 0x000A); in b43_calc_nrssi_offset() [all …]
|
D | tables_phy_ht.c | 617 value = b43_phy_read(dev, B43_PHY_HT_TABLE_DATALO) & 0xFF; in b43_httab_read() 621 value = b43_phy_read(dev, B43_PHY_HT_TABLE_DATALO); in b43_httab_read() 625 value = b43_phy_read(dev, B43_PHY_HT_TABLE_DATAHI); in b43_httab_read() 627 value |= b43_phy_read(dev, B43_PHY_HT_TABLE_DATALO); in b43_httab_read() 653 *data = b43_phy_read(dev, B43_PHY_HT_TABLE_DATALO) & 0xFF; in b43_httab_read_bulk() 657 *((u16 *)data) = b43_phy_read(dev, B43_PHY_HT_TABLE_DATALO); in b43_httab_read_bulk() 661 *((u32 *)data) = b43_phy_read(dev, B43_PHY_HT_TABLE_DATAHI); in b43_httab_read_bulk() 663 *((u32 *)data) |= b43_phy_read(dev, B43_PHY_HT_TABLE_DATALO); in b43_httab_read_bulk()
|
D | tables_phy_lcn.c | 468 value = b43_phy_read(dev, B43_PHY_LCN_TABLE_DATALO) & 0xFF; in b43_lcntab_read() 472 value = b43_phy_read(dev, B43_PHY_LCN_TABLE_DATALO); in b43_lcntab_read() 476 value = b43_phy_read(dev, B43_PHY_LCN_TABLE_DATALO); in b43_lcntab_read() 477 value |= (b43_phy_read(dev, B43_PHY_LCN_TABLE_DATAHI) << 16); in b43_lcntab_read() 503 *data = b43_phy_read(dev, in b43_lcntab_read_bulk() 508 *((u16 *)data) = b43_phy_read(dev, in b43_lcntab_read_bulk() 513 *((u32 *)data) = b43_phy_read(dev, in b43_lcntab_read_bulk() 515 *((u32 *)data) |= (b43_phy_read(dev, in b43_lcntab_read_bulk()
|
D | phy_ht.c | 179 u16 save_seq_mode = b43_phy_read(dev, B43_PHY_HT_RF_SEQ_MODE); in b43_phy_ht_force_rf_sequence() 184 if (!(b43_phy_read(dev, B43_PHY_HT_RF_SEQ_STATUS) & rf_seq)) { in b43_phy_ht_force_rf_sequence() 209 htphy->rf_ctl_int_save[i] = b43_phy_read(dev, regs[i]); in b43_phy_ht_pa_override() 227 tmp = b43_phy_read(dev, B43_PHY_HT_CLASS_CTL); in b43_phy_ht_classifier() 241 bbcfg = b43_phy_read(dev, B43_PHY_HT_BBCFG); in b43_phy_ht_reset_cca() 288 clip_st[0] = b43_phy_read(dev, B43_PHY_HT_C1_CLIP1THRES); in b43_phy_ht_read_clip_detection() 289 clip_st[1] = b43_phy_read(dev, B43_PHY_HT_C2_CLIP1THRES); in b43_phy_ht_read_clip_detection() 290 clip_st[2] = b43_phy_read(dev, B43_PHY_HT_C3_CLIP1THRES); in b43_phy_ht_read_clip_detection() 341 tmp = b43_phy_read(dev, B43_PHY_HT_SAMP_STAT); in b43_phy_ht_stop_playback() 392 save_seq_mode = b43_phy_read(dev, B43_PHY_HT_RF_SEQ_MODE); in b43_phy_ht_run_samples() [all …]
|
D | lo.c | 113 feedthrough = b43_phy_read(dev, B43_PHY_LO_LEAKAGE); in lo_measure_feedthrough() 382 sav->phy_lo_mask = b43_phy_read(dev, B43_PHY_LO_MASK); in lo_measure_setup() 383 sav->phy_extg_01 = b43_phy_read(dev, B43_PHY_EXTG(0x01)); in lo_measure_setup() 384 sav->phy_dacctl_hwpctl = b43_phy_read(dev, B43_PHY_DACCTL); in lo_measure_setup() 385 sav->phy_cck_14 = b43_phy_read(dev, B43_PHY_CCK(0x14)); in lo_measure_setup() 386 sav->phy_hpwr_tssictl = b43_phy_read(dev, B43_PHY_HPWR_TSSICTL); in lo_measure_setup() 399 sav->phy_analogover = b43_phy_read(dev, B43_PHY_ANALOGOVER); in lo_measure_setup() 401 b43_phy_read(dev, B43_PHY_ANALOGOVERVAL); in lo_measure_setup() 402 sav->phy_rfover = b43_phy_read(dev, B43_PHY_RFOVER); in lo_measure_setup() 403 sav->phy_rfoverval = b43_phy_read(dev, B43_PHY_RFOVERVAL); in lo_measure_setup() [all …]
|
D | phy_n.c | 104 return (b43_phy_read(dev, B43_NPHY_RFSEQCA) & B43_NPHY_RFSEQCA_RXEN) >> in b43_nphy_get_rx_core_state() 125 u16 seq_mode = b43_phy_read(dev, B43_NPHY_RFSEQMODE); in b43_nphy_force_rf_sequence() 133 if (!(b43_phy_read(dev, B43_NPHY_RFSEQST) & trigger[seq])) in b43_nphy_force_rf_sequence() 423 if (!(b43_phy_read(dev, B43_NPHY_RFCTL_CMD) & B43_NPHY_RFCTL_CMD_START)) { in b43_nphy_rf_ctl_intc_override() 442 if (!(b43_phy_read(dev, B43_NPHY_RFCTL_CMD) & B43_NPHY_RFCTL_CMD_RXTX)) { in b43_nphy_rf_ctl_intc_override() 504 clip_st[0] = b43_phy_read(dev, B43_NPHY_C1_CLIP1THRES); in b43_nphy_read_clip_detection() 505 clip_st[1] = b43_phy_read(dev, B43_NPHY_C2_CLIP1THRES); in b43_nphy_read_clip_detection() 516 tmp = b43_phy_read(dev, B43_NPHY_CLASSCTL); in b43_nphy_classifier() 535 bbcfg = b43_phy_read(dev, B43_NPHY_BBCFG); in b43_nphy_reset_cca() 834 saved_regs_phy[i] = b43_phy_read(dev, phy_to_store[i]); in b43_radio_2057_rcal() [all …]
|
D | tables.c | 380 return b43_phy_read(dev, B43_PHY_OTABLEI); in b43_ofdmtab_read16() 417 ret = b43_phy_read(dev, B43_PHY_OTABLEQ); in b43_ofdmtab_read32() 419 ret |= b43_phy_read(dev, B43_PHY_OTABLEI); in b43_ofdmtab_read32() 446 return b43_phy_read(dev, B43_PHY_GTABDATA); in b43_gtab_read()
|
D | tables_nphy.c | 3321 value = b43_phy_read(dev, B43_NPHY_TABLE_DATALO) & 0xFF; in b43_ntab_read() 3325 value = b43_phy_read(dev, B43_NPHY_TABLE_DATALO); in b43_ntab_read() 3329 value = b43_phy_read(dev, B43_NPHY_TABLE_DATALO); in b43_ntab_read() 3330 value |= b43_phy_read(dev, B43_NPHY_TABLE_DATAHI) << 16; in b43_ntab_read() 3356 b43_phy_read(dev, B43_NPHY_TABLE_DATALO); in b43_ntab_read_bulk() 3362 *data = b43_phy_read(dev, B43_NPHY_TABLE_DATALO) & 0xFF; in b43_ntab_read_bulk() 3366 *((u16 *)data) = b43_phy_read(dev, B43_NPHY_TABLE_DATALO); in b43_ntab_read_bulk() 3371 b43_phy_read(dev, B43_NPHY_TABLE_DATALO); in b43_ntab_read_bulk() 3373 b43_phy_read(dev, B43_NPHY_TABLE_DATAHI) << 16; in b43_ntab_read_bulk() 3432 b43_phy_read(dev, B43_NPHY_TABLE_DATALO); in b43_ntab_write_bulk()
|
D | phy_lp.c | 331 tmp = b43_phy_read(dev, B43_LPPHY_CLIPCTRTHRESH); in lpphy_baseband_rev0_1_init() 335 tmp = b43_phy_read(dev, B43_LPPHY_GAINDIRECTMISMATCH); in lpphy_baseband_rev0_1_init() 339 tmp = b43_phy_read(dev, B43_LPPHY_VERYLOWGAINDB); in lpphy_baseband_rev0_1_init() 370 lpphy->dig_flt_state[i] = b43_phy_read(dev, addr[i]); in lpphy_save_dig_flt_state() 850 gains.dac = (b43_phy_read(dev, B43_LPPHY_AFE_DAC_CTL) & 0x380) >> 7; in lpphy_get_tx_gains() 852 tmp = b43_phy_read(dev, in lpphy_get_tx_gains() 858 tmp = b43_phy_read(dev, B43_LPPHY_TX_GAIN_CTL_OVERRIDE_VAL); in lpphy_get_tx_gains() 859 gains.pad = b43_phy_read(dev, B43_PHY_OFDM(0xFB)) & 0xFF; in lpphy_get_tx_gains() 869 u16 ctl = b43_phy_read(dev, B43_LPPHY_AFE_DAC_CTL) & 0xC7F; in lpphy_set_dac_gain() 876 return b43_phy_read(dev, B43_PHY_OFDM(0xFB)) & 0x7F; in lpphy_get_pa_gain() [all …]
|
D | phy_lcn.c | 167 u16 afe_ctl2 = b43_phy_read(dev, B43_PHY_LCN_AFE_CTL2); in b43_phy_lcn_afe_set_unset() 168 u16 afe_ctl1 = b43_phy_read(dev, B43_PHY_LCN_AFE_CTL1); in b43_phy_lcn_afe_set_unset() 183 return (b43_phy_read(dev, 0x4fb) & 0x7f00) >> 8; in b43_phy_lcn_get_pa_gain() 191 dac_ctrl = b43_phy_read(dev, 0x439); in b43_phy_lcn_set_dac_gain() 337 save_phy_regs[i][1] = b43_phy_read(dev, save_phy_regs[i][0]); in b43_phy_lcn_sense_setup() 405 if (!(b43_phy_read(dev, 0x476) & 0x8000)) in b43_phy_lcn_sense_setup()
|
D | phy_common.c | 266 u16 b43_phy_read(struct b43_wldev *dev, u16 reg) in b43_phy_read() function 296 b43_phy_write(dev, destreg, b43_phy_read(dev, srcreg)); in b43_phy_copy() 306 b43_phy_read(dev, offset) & mask); in b43_phy_mask() 317 b43_phy_read(dev, offset) | set); in b43_phy_set() 328 (b43_phy_read(dev, offset) & mask) | set); in b43_phy_maskset()
|
D | wa.c | 63 ofdmrev = b43_phy_read(dev, B43_PHY_VERSION_OFDM) & B43_PHYVER_VERSION; in b43_wa_analog() 118 if (b43_phy_read(dev, B43_PHY_ENCORE) & B43_PHY_ENCORE_EN) in b43_wa_nst() 286 b43_phy_read(dev, B43_PHY_VERSION_OFDM); /* Dummy read */ in b43_wa_altagc()
|
D | phy_common.h | 305 u16 b43_phy_read(struct b43_wldev *dev, u16 reg);
|
D | tables_lpphy.c | 592 value = b43_phy_read(dev, B43_LPPHY_TABLEDATALO) & 0xFF; in b43_lptab_read() 596 value = b43_phy_read(dev, B43_LPPHY_TABLEDATALO); in b43_lptab_read() 600 value = b43_phy_read(dev, B43_LPPHY_TABLEDATAHI); in b43_lptab_read() 602 value |= b43_phy_read(dev, B43_LPPHY_TABLEDATALO); in b43_lptab_read() 628 *data = b43_phy_read(dev, B43_LPPHY_TABLEDATALO) & 0xFF; in b43_lptab_read_bulk() 632 *((u16 *)data) = b43_phy_read(dev, B43_LPPHY_TABLEDATALO); in b43_lptab_read_bulk() 636 *((u32 *)data) = b43_phy_read(dev, B43_LPPHY_TABLEDATAHI); in b43_lptab_read_bulk() 638 *((u32 *)data) |= b43_phy_read(dev, B43_LPPHY_TABLEDATALO); in b43_lptab_read_bulk()
|