Home
last modified time | relevance | path

Searched refs:b43_phy_write (Results 1 – 14 of 14) sorted by relevance

/linux-5.19.10/drivers/net/wireless/broadcom/b43/
Dphy_lcn.c129 b43_phy_write(dev, 0x4ea, 0x4688); in b43_radio_2064_init()
150 b43_phy_write(dev, 0x933, 0x2d6b); in b43_radio_2064_init()
151 b43_phy_write(dev, 0x934, 0x2d6b); in b43_radio_2064_init()
152 b43_phy_write(dev, 0x935, 0x2d6b); in b43_radio_2064_init()
153 b43_phy_write(dev, 0x936, 0x2d6b); in b43_radio_2064_init()
154 b43_phy_write(dev, 0x937, 0x016b); in b43_radio_2064_init()
170 b43_phy_write(dev, B43_PHY_LCN_AFE_CTL2, afe_ctl2 | 0x1); in b43_phy_lcn_afe_set_unset()
171 b43_phy_write(dev, B43_PHY_LCN_AFE_CTL1, afe_ctl1 | 0x1); in b43_phy_lcn_afe_set_unset()
173 b43_phy_write(dev, B43_PHY_LCN_AFE_CTL2, afe_ctl2 & ~0x1); in b43_phy_lcn_afe_set_unset()
174 b43_phy_write(dev, B43_PHY_LCN_AFE_CTL1, afe_ctl1 & ~0x1); in b43_phy_lcn_afe_set_unset()
[all …]
Dphy_g.c265 b43_phy_write(dev, 0x380 + (i / 2), value); in b43_gphy_tssi_power_lt_init()
290 b43_phy_write(dev, 0x3C0 + nr_written, tmp); in b43_gphy_gain_lt_init()
363 b43_phy_write(dev, B43_PHY_NRSSILT_CTRL, offset); in b43_nrssi_hw_write()
364 b43_phy_write(dev, B43_PHY_NRSSILT_DATA, (u16) val); in b43_nrssi_hw_write()
372 b43_phy_write(dev, B43_PHY_NRSSILT_CTRL, offset); in b43_nrssi_hw_read()
447 b43_phy_write(dev, 0x002E, 0); in b43_calc_nrssi_offset()
448 b43_phy_write(dev, 0x002F, 0); in b43_calc_nrssi_offset()
449 b43_phy_write(dev, 0x080F, 0); in b43_calc_nrssi_offset()
450 b43_phy_write(dev, 0x0810, 0); in b43_calc_nrssi_offset()
486 b43_phy_write(dev, 0x005A, 0x0480); in b43_calc_nrssi_offset()
[all …]
Dtables_phy_ht.c616 b43_phy_write(dev, B43_PHY_HT_TABLE_ADDR, offset); in b43_httab_read()
620 b43_phy_write(dev, B43_PHY_HT_TABLE_ADDR, offset); in b43_httab_read()
624 b43_phy_write(dev, B43_PHY_HT_TABLE_ADDR, offset); in b43_httab_read()
648 b43_phy_write(dev, B43_PHY_HT_TABLE_ADDR, offset); in b43_httab_read_bulk()
682 b43_phy_write(dev, B43_PHY_HT_TABLE_ADDR, offset); in b43_httab_write()
683 b43_phy_write(dev, B43_PHY_HT_TABLE_DATALO, value); in b43_httab_write()
687 b43_phy_write(dev, B43_PHY_HT_TABLE_ADDR, offset); in b43_httab_write()
688 b43_phy_write(dev, B43_PHY_HT_TABLE_DATALO, value); in b43_httab_write()
691 b43_phy_write(dev, B43_PHY_HT_TABLE_ADDR, offset); in b43_httab_write()
692 b43_phy_write(dev, B43_PHY_HT_TABLE_DATAHI, value >> 16); in b43_httab_write()
[all …]
Dwa.c24 b43_phy_write(dev, B43_PHY_LNAHPFCTL, 0x1FF9); in b43_wa_initgains()
30 b43_phy_write(dev, 0x0024, 0x4680); in b43_wa_initgains()
31 b43_phy_write(dev, 0x0020, 0x0003); in b43_wa_initgains()
32 b43_phy_write(dev, 0x001D, 0x0F40); in b43_wa_initgains()
33 b43_phy_write(dev, 0x001F, 0x1C00); in b43_wa_initgains()
38 b43_phy_write(dev, 0x00CC, 0x2121); in b43_wa_initgains()
41 b43_phy_write(dev, 0x00BA, 0x3ED5); in b43_wa_initgains()
65 b43_phy_write(dev, B43_PHY_PWRDOWN, 0x1000); in b43_wa_analog()
160 b43_phy_write(dev, B43_PHY_CRSTHRES1_R1, 0x4F19); in b43_wa_crs_ed()
162 b43_phy_write(dev, B43_PHY_CRSTHRES1, 0x1861); in b43_wa_crs_ed()
[all …]
Dphy_ht.c193 b43_phy_write(dev, B43_PHY_HT_RF_SEQ_MODE, save_seq_mode); in b43_phy_ht_force_rf_sequence()
206 b43_phy_write(dev, regs[i], htphy->rf_ctl_int_save[i]); in b43_phy_ht_pa_override()
212 b43_phy_write(dev, regs[i], 0x0400); in b43_phy_ht_pa_override()
242 b43_phy_write(dev, B43_PHY_HT_BBCFG, bbcfg | B43_PHY_HT_BBCFG_RSTCCA); in b43_phy_ht_reset_cca()
244 b43_phy_write(dev, B43_PHY_HT_BBCFG, bbcfg & ~B43_PHY_HT_BBCFG_RSTCCA); in b43_phy_ht_reset_cca()
257 b43_phy_write(dev, B43_PHY_EXTG(base[i] + j), 0); in b43_phy_ht_zero_extg()
261 b43_phy_write(dev, B43_PHY_EXTG(base[i] + 0xc), 0); in b43_phy_ht_zero_extg()
300 b43_phy_write(dev, B43_PHY_N_BMODE(0x88 + i), val); in b43_phy_ht_bphy_init()
305 b43_phy_write(dev, B43_PHY_N_BMODE(0x98 + i), val); in b43_phy_ht_bphy_init()
308 b43_phy_write(dev, B43_PHY_N_BMODE(0x38), 0x668); in b43_phy_ht_bphy_init()
[all …]
Dlo.c62 b43_phy_write(dev, B43_PHY_LO_CTL, value); in b43_lo_write()
92 b43_phy_write(dev, B43_PHY_PGACTL, 0xE300); in lo_measure_feedthrough()
93 b43_phy_write(dev, B43_PHY_RFOVERVAL, rfover); in lo_measure_feedthrough()
96 b43_phy_write(dev, B43_PHY_RFOVERVAL, rfover); in lo_measure_feedthrough()
99 b43_phy_write(dev, B43_PHY_RFOVERVAL, rfover); in lo_measure_feedthrough()
101 b43_phy_write(dev, B43_PHY_PGACTL, 0xF300); in lo_measure_feedthrough()
104 b43_phy_write(dev, B43_PHY_PGACTL, pga); in lo_measure_feedthrough()
107 b43_phy_write(dev, B43_PHY_PGACTL, pga); in lo_measure_feedthrough()
110 b43_phy_write(dev, B43_PHY_PGACTL, pga); in lo_measure_feedthrough()
395 b43_phy_write(dev, B43_PHY_CCK(0x16), 0x410); in lo_measure_setup()
[all …]
Dphy_n.c139 b43_phy_write(dev, B43_NPHY_RFSEQMODE, seq_mode); in b43_nphy_force_rf_sequence()
334 b43_phy_write(dev, reg, 0); in b43_nphy_rf_ctl_intc_override_rev7()
411 b43_phy_write(dev, reg, 0); in b43_nphy_rf_ctl_intc_override()
497 b43_phy_write(dev, B43_NPHY_C1_CLIP1THRES, clip_st[0]); in b43_nphy_write_clip_detection()
498 b43_phy_write(dev, B43_NPHY_C2_CLIP1THRES, clip_st[1]); in b43_nphy_write_clip_detection()
536 b43_phy_write(dev, B43_NPHY_BBCFG, bbcfg | B43_NPHY_BBCFG_RSTCCA); in b43_nphy_reset_cca()
538 b43_phy_write(dev, B43_NPHY_BBCFG, bbcfg & ~B43_NPHY_BBCFG_RSTCCA); in b43_nphy_reset_cca()
840 b43_phy_write(dev, phy_to_store[i], 0); in b43_radio_2057_rcal()
841 b43_phy_write(dev, B43_NPHY_REV3_RFCTL_OVER0, 0x07ff); in b43_radio_2057_rcal()
842 b43_phy_write(dev, B43_NPHY_REV3_RFCTL_OVER1, 0x07ff); in b43_radio_2057_rcal()
[all …]
Dtables_phy_lcn.c467 b43_phy_write(dev, B43_PHY_LCN_TABLE_ADDR, offset); in b43_lcntab_read()
471 b43_phy_write(dev, B43_PHY_LCN_TABLE_ADDR, offset); in b43_lcntab_read()
475 b43_phy_write(dev, B43_PHY_LCN_TABLE_ADDR, offset); in b43_lcntab_read()
498 b43_phy_write(dev, B43_PHY_LCN_TABLE_ADDR, offset); in b43_lcntab_read_bulk()
535 b43_phy_write(dev, B43_PHY_LCN_TABLE_ADDR, offset); in b43_lcntab_write()
536 b43_phy_write(dev, B43_PHY_LCN_TABLE_DATALO, value); in b43_lcntab_write()
540 b43_phy_write(dev, B43_PHY_LCN_TABLE_ADDR, offset); in b43_lcntab_write()
541 b43_phy_write(dev, B43_PHY_LCN_TABLE_DATALO, value); in b43_lcntab_write()
544 b43_phy_write(dev, B43_PHY_LCN_TABLE_ADDR, offset); in b43_lcntab_write()
545 b43_phy_write(dev, B43_PHY_LCN_TABLE_DATAHI, value >> 16); in b43_lcntab_write()
[all …]
Dtables.c375 b43_phy_write(dev, B43_PHY_OTABLECTL, addr); in b43_ofdmtab_read16()
396 b43_phy_write(dev, B43_PHY_OTABLECTL, addr); in b43_ofdmtab_write16()
400 b43_phy_write(dev, B43_PHY_OTABLEI, value); in b43_ofdmtab_write16()
413 b43_phy_write(dev, B43_PHY_OTABLECTL, addr); in b43_ofdmtab_read32()
434 b43_phy_write(dev, B43_PHY_OTABLECTL, addr); in b43_ofdmtab_write32()
439 b43_phy_write(dev, B43_PHY_OTABLEI, value); in b43_ofdmtab_write32()
440 b43_phy_write(dev, B43_PHY_OTABLEQ, (value >> 16)); in b43_ofdmtab_write32()
445 b43_phy_write(dev, B43_PHY_GTABCTL, table + offset); in b43_gtab_read()
451 b43_phy_write(dev, B43_PHY_GTABCTL, table + offset); in b43_gtab_write()
452 b43_phy_write(dev, B43_PHY_GTABDATA, value); in b43_gtab_write()
Dtables_nphy.c3320 b43_phy_write(dev, B43_NPHY_TABLE_ADDR, offset); in b43_ntab_read()
3324 b43_phy_write(dev, B43_NPHY_TABLE_ADDR, offset); in b43_ntab_read()
3328 b43_phy_write(dev, B43_NPHY_TABLE_ADDR, offset); in b43_ntab_read()
3351 b43_phy_write(dev, B43_NPHY_TABLE_ADDR, offset); in b43_ntab_read_bulk()
3357 b43_phy_write(dev, B43_NPHY_TABLE_ADDR, offset + i); in b43_ntab_read_bulk()
3392 b43_phy_write(dev, B43_NPHY_TABLE_ADDR, offset); in b43_ntab_write()
3393 b43_phy_write(dev, B43_NPHY_TABLE_DATALO, value); in b43_ntab_write()
3397 b43_phy_write(dev, B43_NPHY_TABLE_ADDR, offset); in b43_ntab_write()
3398 b43_phy_write(dev, B43_NPHY_TABLE_DATALO, value); in b43_ntab_write()
3401 b43_phy_write(dev, B43_NPHY_TABLE_ADDR, offset); in b43_ntab_write()
[all …]
Dphy_lp.c205 b43_phy_write(dev, B43_LPPHY_AFE_CTL, 0); in lpphy_baseband_rev0_1_init()
206 b43_phy_write(dev, B43_LPPHY_AFE_CTL_OVR, 0); in lpphy_baseband_rev0_1_init()
207 b43_phy_write(dev, B43_LPPHY_RF_OVERRIDE_0, 0); in lpphy_baseband_rev0_1_init()
208 b43_phy_write(dev, B43_LPPHY_RF_OVERRIDE_2, 0); in lpphy_baseband_rev0_1_init()
212 b43_phy_write(dev, B43_LPPHY_ADC_COMPENSATION_CTL, 0x0016); in lpphy_baseband_rev0_1_init()
245 b43_phy_write(dev, B43_LPPHY_AFE_RSSI_CTL_0, tmp); in lpphy_baseband_rev0_1_init()
312 b43_phy_write(dev, B43_LPPHY_GPIO_SELECT, 0x0005); in lpphy_baseband_rev0_1_init()
313 b43_phy_write(dev, B43_LPPHY_GPIO_OUTEN, 0xFFFF); in lpphy_baseband_rev0_1_init()
334 b43_phy_write(dev, B43_LPPHY_4C3, tmp2); in lpphy_baseband_rev0_1_init()
338 b43_phy_write(dev, B43_LPPHY_4C4, tmp2); in lpphy_baseband_rev0_1_init()
[all …]
Dphy_common.c278 void b43_phy_write(struct b43_wldev *dev, u16 reg, u16 value) in b43_phy_write() function
296 b43_phy_write(dev, destreg, b43_phy_read(dev, srcreg)); in b43_phy_copy()
305 b43_phy_write(dev, offset, in b43_phy_mask()
316 b43_phy_write(dev, offset, in b43_phy_set()
327 b43_phy_write(dev, offset, in b43_phy_maskset()
Dtables_lpphy.c591 b43_phy_write(dev, B43_LPPHY_TABLE_ADDR, offset); in b43_lptab_read()
595 b43_phy_write(dev, B43_LPPHY_TABLE_ADDR, offset); in b43_lptab_read()
599 b43_phy_write(dev, B43_LPPHY_TABLE_ADDR, offset); in b43_lptab_read()
623 b43_phy_write(dev, B43_LPPHY_TABLE_ADDR, offset); in b43_lptab_read_bulk()
658 b43_phy_write(dev, B43_LPPHY_TABLE_ADDR, offset); in b43_lptab_write()
659 b43_phy_write(dev, B43_LPPHY_TABLEDATALO, value); in b43_lptab_write()
663 b43_phy_write(dev, B43_LPPHY_TABLE_ADDR, offset); in b43_lptab_write()
664 b43_phy_write(dev, B43_LPPHY_TABLEDATALO, value); in b43_lptab_write()
667 b43_phy_write(dev, B43_LPPHY_TABLE_ADDR, offset); in b43_lptab_write()
668 b43_phy_write(dev, B43_LPPHY_TABLEDATAHI, value >> 16); in b43_lptab_write()
[all …]
Dphy_common.h310 void b43_phy_write(struct b43_wldev *dev, u16 reg, u16 value);