/netbsd-src/sys/dev/ic/ |
H A D | athnvar.h | 35 #define ATHN_SOFTC(sc) ((struct athn_softc *)(sc)) 382 struct athn_softc; 386 uint32_t (*read)(struct athn_softc *, uint32_t); 387 void (*write)(struct athn_softc *, uint32_t, uint32_t); 388 void (*write_barrier)(struct athn_softc *); 390 void (*setup)(struct athn_softc *); 391 void (*set_txpower)(struct athn_softc *, struct ieee80211_channel *, 393 void (*spur_mitigate)(struct athn_softc *, 396 (*get_spur_chans)(struct athn_softc *, int); 397 void (*init_from_rom)(struct athn_softc *, [all …]
|
H A D | arn5416.h | 31 int ar5416_attach(struct athn_softc *); 32 int ar5416_init_calib(struct athn_softc *, 34 uint8_t ar5416_get_rf_rev(struct athn_softc *); 35 void ar5416_reset_addac(struct athn_softc *, struct ieee80211_channel *); 36 void ar5416_rf_reset(struct athn_softc *, struct ieee80211_channel *); 37 void ar5416_reset_bb_gain(struct athn_softc *, struct ieee80211_channel *); 38 void ar5416_swap_rom(struct athn_softc *); 39 void ar5416_set_txpower(struct athn_softc *, struct ieee80211_channel *, 42 ar5416_get_spur_chans(struct athn_softc *, int);
|
H A D | arn5008.c | 71 Static void ar5008_calib_adc_dc_off(struct athn_softc *); 72 Static void ar5008_calib_adc_gain(struct athn_softc *); 73 Static void ar5008_calib_iq(struct athn_softc *); 74 Static void ar5008_disable_ofdm_weak_signal(struct athn_softc *); 75 Static void ar5008_disable_phy(struct athn_softc *); 76 Static int ar5008_dma_alloc(struct athn_softc *); 77 Static void ar5008_dma_free(struct athn_softc *); 78 Static void ar5008_do_calib(struct athn_softc *); 79 Static void ar5008_do_noisefloor_calib(struct athn_softc *); 80 Static void ar5008_enable_antenna_diversity(struct athn_softc *); [all …]
|
H A D | arn9003.c | 69 Static void ar9003_calib_iq(struct athn_softc *); 70 Static int ar9003_calib_tx_iq(struct athn_softc *); 71 Static int ar9003_compute_predistortion(struct athn_softc *, 73 Static void ar9003_disable_ofdm_weak_signal(struct athn_softc *); 74 Static void ar9003_disable_phy(struct athn_softc *); 75 Static int ar9003_dma_alloc(struct athn_softc *); 76 Static void ar9003_dma_free(struct athn_softc *); 77 Static void ar9003_do_calib(struct athn_softc *); 78 Static void ar9003_do_noisefloor_calib(struct athn_softc *); 79 Static void ar9003_enable_antenna_diversity(struct athn_softc *); [all …]
|
H A D | athn.c | 85 Static int athn_clock_rate(struct athn_softc *); 87 athn_get_mac_name(struct athn_softc *); 89 athn_get_rf_name(struct athn_softc *); 91 Static int athn_init_calib(struct athn_softc *, 99 Static int athn_reset_power_on(struct athn_softc *); 100 Static int athn_stop_rx_dma(struct athn_softc *); 101 Static int athn_switch_chan(struct athn_softc *, 104 Static void athn_disable_interrupts(struct athn_softc *); 105 Static void athn_enable_interrupts(struct athn_softc *); 106 Static void athn_get_chanlist(struct athn_softc *); [all …]
|
H A D | arn9280.h | 31 int ar9280_attach(struct athn_softc *); 32 void ar9280_reset_rx_gain(struct athn_softc *, struct ieee80211_channel *); 33 void ar9280_reset_tx_gain(struct athn_softc *, struct ieee80211_channel *); 34 void ar9280_olpc_get_pdadcs(struct athn_softc *, struct ieee80211_channel *, 37 int ar9280_set_synth(struct athn_softc *, struct ieee80211_channel *, 39 void ar9280_spur_mitigate(struct athn_softc *, struct ieee80211_channel *,
|
H A D | arn9003.h | 31 int ar9003_attach(struct athn_softc *); 32 int ar9003_init_calib(struct athn_softc *); 33 void ar9003_reset_txsring(struct athn_softc *); 34 void ar9003_get_lg_tpow(struct athn_softc *, struct ieee80211_channel *, 37 void ar9003_get_ht_tpow(struct athn_softc *, struct ieee80211_channel *, 40 void ar9003_write_txpower(struct athn_softc *, int16_t power[ATHN_POWER_COUNT]);
|
H A D | arn5008.h | 33 int ar5008_attach(struct athn_softc *); 34 void ar5008_write_txpower(struct athn_softc *, int16_t power[ATHN_POWER_COUNT]); 35 void ar5008_set_viterbi_mask(struct athn_softc *, int); 36 void ar5008_get_pdadcs(struct athn_softc *, uint8_t, struct athn_pier *, 39 void ar5008_get_ht_tpow(struct athn_softc *, struct ieee80211_channel *, 41 void ar5008_get_lg_tpow(struct athn_softc *, struct ieee80211_channel *,
|
H A D | arn9287.c | 74 Static void ar9287_get_pdadcs(struct athn_softc *, 78 ar9287_get_spur_chans(struct athn_softc *, int); 79 Static void ar9287_init_from_rom(struct athn_softc *, 81 Static void ar9287_olpc_get_pdgain(struct athn_softc *, 83 Static void ar9287_olpc_init(struct athn_softc *); 84 Static void ar9287_olpc_temp_compensation(struct athn_softc *); 85 Static void ar9287_set_power_calib(struct athn_softc *, 87 Static void ar9287_set_txpower(struct athn_softc *, 89 Static void ar9287_setup(struct athn_softc *); 90 Static void ar9287_swap_rom(struct athn_softc *); [all …]
|
H A D | arn9285.h | 31 int ar9285_attach(struct athn_softc *); 32 int ar9285_init_calib(struct athn_softc *, struct ieee80211_channel *, 34 void ar9285_pa_calib(struct athn_softc *); 35 void ar9271_load_ani(struct athn_softc *); 36 void ar9271_pa_calib(struct athn_softc *);
|
H A D | arn9380.c | 69 Static void ar9380_get_correction(struct athn_softc *, 71 Static void ar9380_get_paprd_masks(struct athn_softc *, 74 ar9380_get_rom_template(struct athn_softc *, uint8_t); 75 Static void ar9380_init_from_rom(struct athn_softc *, 77 Static void ar9380_set_correction(struct athn_softc *, 79 Static int ar9380_set_synth(struct athn_softc *, 81 Static void ar9380_set_txpower(struct athn_softc *, 83 Static void ar9380_setup(struct athn_softc *); 84 Static void ar9380_spur_mitigate(struct athn_softc *, 86 Static void ar9380_spur_mitigate_cck(struct athn_softc *, [all …]
|
H A D | arn5416.c | 72 Static void ar5416_force_bias(struct athn_softc *, 74 Static void ar5416_get_pdadcs(struct athn_softc *, 77 Static void ar5416_init_from_rom(struct athn_softc *, 80 Static void ar5416_rw_bank6tpc(struct athn_softc *, 83 Static void ar5416_set_power_calib(struct athn_softc *, 85 Static int ar5416_set_synth(struct athn_softc *, 87 Static void ar5416_setup(struct athn_softc *); 88 Static void ar5416_spur_mitigate(struct athn_softc *, 90 Static void ar9160_rw_addac(struct athn_softc *, 94 ar5416_attach(struct athn_softc *sc) in ar5416_attach() [all …]
|
H A D | arn9285.c | 79 Static int ar9285_cl_cal(struct athn_softc *, struct ieee80211_channel *, 81 Static void ar9285_get_pdadcs(struct athn_softc *, 85 ar9285_get_spur_chans(struct athn_softc *, int); 86 Static void ar9285_init_from_rom(struct athn_softc *, 88 Static void ar9285_set_power_calib(struct athn_softc *, 90 Static void ar9285_set_txpower(struct athn_softc *, 92 Static void ar9285_setup(struct athn_softc *); 93 Static void ar9285_swap_rom(struct athn_softc *); 96 ar9285_attach(struct athn_softc *sc) in ar9285_attach() 124 ar9285_setup(struct athn_softc *sc) in ar9285_setup() [all …]
|
H A D | arn9280.c | 73 Static void ar9280_init_from_rom(struct athn_softc *, 75 Static void ar9280_olpc_init(struct athn_softc *); 76 Static void ar9280_olpc_temp_compensation(struct athn_softc *); 77 Static void ar9280_setup(struct athn_softc *); 80 ar9280_attach(struct athn_softc *sc) in ar9280_attach() 105 ar9280_setup(struct athn_softc *sc) in ar9280_setup() 164 ar9280_set_synth(struct athn_softc *sc, struct ieee80211_channel *c, in ar9280_set_synth() 233 ar9280_init_from_rom(struct athn_softc *sc, struct ieee80211_channel *c, in ar9280_init_from_rom() 416 ar9280_olpc_get_pdadcs(struct athn_softc *sc, struct ieee80211_channel *c, in ar9280_olpc_get_pdadcs() 465 ar9280_spur_mitigate(struct athn_softc *sc, struct ieee80211_channel *c, in ar9280_spur_mitigate() [all …]
|
H A D | arn9287.h | 31 int ar9287_attach(struct athn_softc *); 32 void ar9287_1_3_enable_async_fifo(struct athn_softc *); 33 void ar9287_1_3_setup_async_fifo(struct athn_softc *);
|
H A D | arn9380.h | 31 int ar9380_attach(struct athn_softc *);
|
/netbsd-src/sys/dev/cardbus/ |
H A D | if_athn_cardbus.c | 64 struct athn_softc csc_sc; 85 Static uint32_t athn_cardbus_read(struct athn_softc *, uint32_t); 89 Static void athn_cardbus_write(struct athn_softc *, uint32_t, uint32_t); 90 Static void athn_cardbus_write_barrier(struct athn_softc *); 93 Static int athn_cardbus_enable(struct athn_softc *); 94 Static void athn_cardbus_disable(struct athn_softc *); 95 Static void athn_cardbus_power(struct athn_softc *, int); 131 struct athn_softc *sc = &csc->csc_sc; in athn_cardbus_attach() 193 struct athn_softc *sc = &csc->csc_sc; in athn_cardbus_detach() 258 athn_cardbus_read(struct athn_softc *sc, uint32_t addr) in athn_cardbus_read() [all …]
|
/netbsd-src/sys/dev/pci/ |
H A D | if_athn_pci.c | 63 struct athn_softc psc_sc; 88 Static uint32_t athn_pci_read(struct athn_softc *, uint32_t); 89 Static void athn_pci_write(struct athn_softc *, uint32_t, uint32_t); 90 Static void athn_pci_write_barrier(struct athn_softc *); 91 Static void athn_pci_disable_aspm(struct athn_softc *); 130 struct athn_softc *sc = &psc->psc_sc; in athn_pci_attach() 245 struct athn_softc *sc = &psc->psc_sc; in athn_pci_detach() 263 struct athn_softc *sc = &psc->psc_sc; in athn_pci_activate() 277 struct athn_softc *sc = &psc->psc_sc; in athn_pci_suspend() 291 struct athn_softc *sc = &psc->psc_sc; in athn_pci_resume() [all …]
|
/netbsd-src/sys/dev/usb/ |
H A D | if_athn_usb.c | 136 Static uint32_t athn_usb_read(struct athn_softc *, uint32_t); 138 Static void athn_usb_rx_enable(struct athn_softc *); 140 Static void athn_usb_rx_radiotap(struct athn_softc *, struct mbuf *, 150 Static int athn_usb_switch_chan(struct athn_softc *, 153 Static int athn_usb_tx(struct athn_softc *, struct mbuf *, 166 Static void athn_usb_write(struct athn_softc *, uint32_t, uint32_t); 167 Static void athn_usb_write_barrier(struct athn_softc *); 173 Static int athn_usb_read_rom(struct athn_softc *); 248 struct athn_softc *sc; in athn_usb_attach() 401 struct athn_softc *sc = &usc->usc_sc; in athn_usb_attachhook() [all …]
|
H A D | if_athn_usb.h | 441 struct athn_softc usc_sc;
|