Searched refs:ah (Results 1 - 25 of 122) sorted by relevance

12345

/illumos-gate/usr/src/uts/common/io/arn/
H A Darn_hw.c47 static boolean_t ath9k_hw_set_reset_reg(struct ath_hal *ah, uint32_t type);
48 static void ath9k_hw_set_regs(struct ath_hal *ah, struct ath9k_channel *chan,
50 static uint32_t ath9k_hw_ini_fixup(struct ath_hal *ah,
53 static void ath9k_hw_9280_spur_mitigate(struct ath_hal *ah,
55 static void ath9k_hw_spur_mitigate(struct ath_hal *ah,
61 ath9k_hw_mac_usec(struct ath_hal *ah, uint32_t clks) argument
63 if (ah->ah_curchan != NULL)
65 CLOCK_RATE[ath9k_hw_chan2wmode(ah, ah->ah_curchan)]);
71 ath9k_hw_mac_to_usec(struct ath_hal *ah, uint32_ argument
82 ath9k_hw_mac_clks(struct ath_hal *ah, uint32_t usecs) argument
92 ath9k_hw_mac_to_clks(struct ath_hal *ah, uint32_t usecs) argument
104 ath9k_hw_chan2wmode(struct ath_hal *ah, const struct ath9k_channel *chan) argument
115 ath9k_hw_wait(struct ath_hal *ah, uint32_t reg, uint32_t mask, uint32_t val) argument
146 ath9k_get_channel_edges(struct ath_hal *ah, uint16_t flags, uint16_t *low, uint16_t *high) argument
165 ath9k_hw_computetxtime(struct ath_hal *ah, struct ath_rate_table *rates, uint32_t frameLen, uint16_t rateix, boolean_t shortPreamble) argument
223 ath9k_hw_mhz2ieee(struct ath_hal *ah, uint32_t freq, uint32_t flags) argument
264 ath9k_hw_get_channel_centers(struct ath_hal *ah, struct ath9k_channel *chan, struct chan_centers *centers) argument
300 ath9k_hw_read_revisions(struct ath_hal *ah) argument
323 ath9k_hw_get_radiorev(struct ath_hal *ah) argument
341 ath9k_hw_disablepcie(struct ath_hal *ah) argument
360 ath9k_hw_chip_test(struct ath_hal *ah) argument
429 ath9k_hw_set_defaults(struct ath_hal *ah) argument
495 struct ath_hal *ah; local
541 ath9k_hw_rfattach(struct ath_hal *ah) argument
558 ath9k_hw_rf_claim(struct ath_hal *ah) argument
590 ath9k_hw_init_macaddr(struct ath_hal *ah) argument
616 ath9k_hw_init_rxgain_ini(struct ath_hal *ah) argument
646 ath9k_hw_init_txgain_ini(struct ath_hal *ah) argument
672 ath9k_hw_post_attach(struct ath_hal *ah) argument
706 struct ath_hal *ah; local
1040 ath9k_hw_init_bb(struct ath_hal *ah, struct ath9k_channel *chan) argument
1056 ath9k_hw_init_qos(struct ath_hal *ah) argument
1074 ath9k_hw_init_pll(struct ath_hal *ah, struct ath9k_channel *chan) argument
1142 ath9k_hw_init_chain_masks(struct ath_hal *ah) argument
1183 ath9k_hw_init_interrupt_masks(struct ath_hal *ah, enum ath9k_opmode opmode) argument
1214 ath9k_hw_set_ack_timeout(struct ath_hal *ah, uint32_t us) argument
1233 ath9k_hw_set_cts_timeout(struct ath_hal *ah, uint32_t us) argument
1252 ath9k_hw_set_global_txtimeout(struct ath_hal *ah, uint32_t tu) argument
1271 ath9k_hw_init_user_settings(struct ath_hal *ah) argument
1300 ath9k_hw_detach(struct ath_hal *ah) argument
1314 struct ath_hal *ah = NULL; local
1337 ath9k_hw_override_ini(struct ath_hal *ah, struct ath9k_channel *chan) argument
1354 ath9k_hw_def_ini_fixup(struct ath_hal *ah, struct ar5416_eeprom_def *pEepData, uint32_t reg, uint32_t value) argument
1395 ath9k_hw_ini_fixup(struct ath_hal *ah, struct ar5416_eeprom_def *pEepData, uint32_t reg, uint32_t value) argument
1407 ath9k_hw_process_ini(struct ath_hal *ah, struct ath9k_channel *chan, enum ath9k_ht_macmode macmode) argument
1555 ath9k_hw_set_rfmode(struct ath_hal *ah, struct ath9k_channel *chan) argument
1577 ath9k_hw_mark_phy_inactive(struct ath_hal *ah) argument
1583 ath9k_hw_set_dma(struct ath_hal *ah) argument
1610 ath9k_hw_set_operating_mode(struct ath_hal *ah, int opmode) argument
1636 ath9k_hw_get_delta_slope_vals(struct ath_hal *ah, uint32_t coef_scaled, uint32_t *coef_mantissa, uint32_t *coef_exponent) argument
1656 ath9k_hw_set_delta_slope(struct ath_hal *ah, struct ath9k_channel *chan) argument
1691 ath9k_hw_set_reset(struct ath_hal *ah, int type) argument
1741 ath9k_hw_set_reset_power_on(struct ath_hal *ah) argument
1766 ath9k_hw_set_reset_reg(struct ath_hal *ah, uint32_t type) argument
1783 ath9k_hw_set_regs(struct ath_hal *ah, struct ath9k_channel *chan, enum ath9k_ht_macmode macmode) argument
1816 ath9k_hw_chip_reset(struct ath_hal *ah, struct ath9k_channel *chan) argument
1837 ath9k_hw_check_chan(struct ath_hal *ah, struct ath9k_channel *chan) argument
1862 ath9k_hw_channel_change(struct ath_hal *ah, struct ath9k_channel *chan, enum ath9k_ht_macmode macmode) argument
1941 ath9k_hw_9280_spur_mitigate(struct ath_hal *ah, struct ath9k_channel *chan) argument
2192 ath9k_hw_spur_mitigate(struct ath_hal *ah, struct ath9k_channel *chan) argument
2394 ath9k_hw_reset(struct ath_hal *ah, struct ath9k_channel *chan, enum ath9k_ht_macmode macmode, uint8_t txchainmask, uint8_t rxchainmask, enum ath9k_ht_extprotspacing extprotspacing, boolean_t bChannelChange, int *status) argument
2620 ath9k_hw_keyreset(struct ath_hal *ah, uint16_t entry) argument
2660 ath9k_hw_keysetmac(struct ath_hal *ah, uint16_t entry, const uint8_t *mac) argument
2689 ath9k_hw_set_keycache_entry(struct ath_hal *ah, uint16_t entry, const struct ath9k_keyval *k, const uint8_t *mac, int xorKey) argument
2823 ath9k_hw_keyisvalid(struct ath_hal *ah, uint16_t entry) argument
2836 ath9k_set_power_sleep(struct ath_hal *ah, int setChip) argument
2851 ath9k_set_power_network_sleep(struct ath_hal *ah, int setChip) argument
2868 ath9k_hw_set_power_awake(struct ath_hal *ah, int setChip) argument
2913 ath9k_hw_setpower(struct ath_hal *ah, enum ath9k_power_mode mode) argument
2951 ath9k_hw_configpcipowersave(struct ath_hal *ah, int restore) argument
3022 ath9k_hw_intrpend(struct ath_hal *ah) argument
3043 ath9k_hw_getisr(struct ath_hal *ah, enum ath9k_int *masked) argument
3180 ath9k_hw_intrget(struct ath_hal *ah) argument
3186 ath9k_hw_set_interrupts(struct ath_hal *ah, enum ath9k_int ints) argument
3298 ath9k_hw_beaconinit(struct ath_hal *ah, uint32_t next_beacon, uint32_t beacon_period) argument
3358 ath9k_hw_set_sta_beacon_timers(struct ath_hal *ah, const struct ath9k_beacon_state *bs) argument
3428 ath9k_hw_fill_cap_info(struct ath_hal *ah) argument
3619 ath9k_hw_getcapability(struct ath_hal *ah, enum ath9k_capability_type type, uint32_t capability, uint32_t *result) argument
3711 ath9k_hw_setcapability(struct ath_hal *ah, enum ath9k_capability_type type, uint32_t capability, uint32_t setting, int *status) argument
3756 ath9k_hw_gpio_cfg_output_mux(struct ath_hal *ah, uint32_t gpio, uint32_t type) argument
3785 ath9k_hw_cfg_gpio_input(struct ath_hal *ah, uint32_t gpio) argument
3800 ath9k_hw_gpio_get(struct ath_hal *ah, uint32_t gpio) argument
3816 ath9k_hw_cfg_output(struct ath_hal *ah, uint32_t gpio, uint32_t ah_signal_type) argument
3832 ath9k_hw_set_gpio(struct ath_hal *ah, uint32_t gpio, uint32_t val) argument
3840 ath9k_enable_rfkill(struct ath_hal *ah) argument
3854 ath9k_hw_select_antconfig(struct ath_hal *ah, uint32_t cfg) argument
3876 ath9k_hw_getdefantenna(struct ath_hal *ah) argument
3882 ath9k_hw_setantenna(struct ath_hal *ah, uint32_t antenna) argument
3889 ath9k_hw_setantennaswitch(struct ath_hal *ah, enum ath9k_ant_setting settings, struct ath9k_channel *chan, uint8_t *tx_chainmask, uint8_t *rx_chainmask, uint8_t *antenna_cfgd) argument
3938 ath9k_hw_getrxfilter(struct ath_hal *ah) argument
3952 ath9k_hw_setrxfilter(struct ath_hal *ah, uint32_t bits) argument
3974 ath9k_hw_phy_disable(struct ath_hal *ah) argument
3980 ath9k_hw_disable(struct ath_hal *ah) argument
3989 ath9k_hw_set_txpowerlimit(struct ath_hal *ah, uint32_t limit) argument
4008 ath9k_hw_getmac(struct ath_hal *ah, uint8_t *mac) argument
4016 ath9k_hw_setmac(struct ath_hal *ah, const uint8_t *mac) argument
4026 ath9k_hw_setopmode(struct ath_hal *ah) argument
4032 ath9k_hw_setmcastfilter(struct ath_hal *ah, uint32_t filter0, uint32_t filter1) argument
4039 ath9k_hw_getbssidmask(struct ath_hal *ah, uint8_t *mask) argument
4047 ath9k_hw_setbssidmask(struct ath_hal *ah, const uint8_t *mask) argument
4060 ath9k_hw_write_associd(struct ath_hal *ah, const uint8_t *bssid, uint16_t assocId) argument
4074 ath9k_hw_gettsf64(struct ath_hal *ah) argument
4085 ath9k_hw_reset_tsf(struct ath_hal *ah) argument
4105 ath9k_hw_set_tsfadjust(struct ath_hal *ah, uint32_t setting) argument
4118 ath9k_hw_setslottime(struct ath_hal *ah, uint32_t us) argument
4136 ath9k_hw_set11nmac2040(struct ath_hal *ah, enum ath9k_ht_macmode mode) argument
[all...]
H A Darn_calib.c40 ath9k_hw_nf_in_range(struct ath_hal *ah, signed short nf) argument
106 ath9k_hw_do_getnf(struct ath_hal *ah, argument
111 if (AR_SREV_9280_10_OR_LATER(ah))
112 nf = MS(REG_READ(ah, AR_PHY_CCA), AR9280_PHY_MINCCA_PWR);
114 nf = MS(REG_READ(ah, AR_PHY_CCA), AR_PHY_MINCCA_PWR);
122 if (AR_SREV_9280_10_OR_LATER(ah))
123 nf = MS(REG_READ(ah, AR_PHY_CH1_CCA),
126 nf = MS(REG_READ(ah, AR_PHY_CH1_CCA),
135 if (!AR_SREV_9280(ah)) {
136 nf = MS(REG_READ(ah, AR_PHY_CH2_CC
183 getNoiseFloorThresh(struct ath_hal *ah, const struct ath9k_channel *chan, int16_t *nft) argument
212 ath9k_hw_setup_calibration(struct ath_hal *ah, struct hal_cal_list *currCal) argument
249 ath9k_hw_reset_calibration(struct ath_hal *ah, struct hal_cal_list *currCal) argument
270 ath9k_hw_per_calibration(struct ath_hal *ah, struct ath9k_channel *ichan, uint8_t rxchainmask, struct hal_cal_list *currCal, boolean_t *isCalDone) argument
309 ath9k_hw_iscal_supported(struct ath_hal *ah, struct ath9k_channel *chan, enum hal_cal_types calType) argument
333 ath9k_hw_iqcal_collect(struct ath_hal *ah) argument
354 ath9k_hw_adc_gaincal_collect(struct ath_hal *ah) argument
380 ath9k_hw_adc_dccal_collect(struct ath_hal *ah) argument
406 ath9k_hw_iqcalibrate(struct ath_hal *ah, uint8_t numChains) argument
487 ath9k_hw_adc_gaincal_calibrate(struct ath_hal *ah, uint8_t numChains) argument
547 ath9k_hw_adc_dccal_calibrate(struct ath_hal *ah, uint8_t numChains) argument
606 ath9k_hw_reset_calvalid(struct ath_hal *ah, struct ath9k_channel *chan, boolean_t *isCalDone) argument
652 ath9k_hw_start_nfcal(struct ath_hal *ah) argument
663 ath9k_hw_loadnf(struct ath_hal *ah, struct ath9k_channel *chan) argument
722 ath9k_hw_getnf(struct ath_hal *ah, struct ath9k_channel *chan) argument
762 ath9k_init_nfcal_hist_buffer(struct ath_hal *ah) argument
786 ath9k_hw_getchan_noise(struct ath_hal *ah, struct ath9k_channel *chan) argument
811 ath9k_hw_calibrate(struct ath_hal *ah, struct ath9k_channel *chan, uint8_t rxchainmask, boolean_t longcal, boolean_t *isCalDone) argument
859 ath9k_hw_9285_pa_cal(struct ath_hal *ah) argument
955 ath9k_hw_init_cal(struct ath_hal *ah, struct ath9k_channel *chan) argument
[all...]
H A Darn_ani.c28 ath9k_hw_get_ani_channel_idx(struct ath_hal *ah, struct ath9k_channel *chan) argument
30 struct ath_hal_5416 *ahp = AH5416(ah);
50 ath9k_hw_ani_control(struct ath_hal *ah, enum ath9k_ani_cmd cmd, int param) argument
52 struct ath_hal_5416 *ahp = AH5416(ah);
61 "ah->ah_sc, ATH_DBG_ANI",
69 REG_RMW_FIELD(ah, AR_PHY_DESIRED_SZ,
72 REG_RMW_FIELD(ah, AR_PHY_AGC_CTL1,
75 REG_RMW_FIELD(ah, AR_PHY_AGC_CTL1,
78 REG_RMW_FIELD(ah, AR_PHY_FIND_SIG,
98 REG_RMW_FIELD(ah, AR_PHY_SFCORR_LO
235 ath9k_hw_update_mibstats(struct ath_hal *ah, struct ath9k_mib_stats *stats) argument
245 ath9k_ani_restart(struct ath_hal *ah) argument
291 ath9k_hw_ani_ofdm_err_trigger(struct ath_hal *ah) argument
366 ath9k_hw_ani_cck_err_trigger(struct ath_hal *ah) argument
407 ath9k_hw_ani_lower_immunity(struct ath_hal *ah) argument
463 ath9k_hw_ani_get_listen_time(struct ath_hal *ah) argument
493 ath9k_ani_reset(struct ath_hal *ah) argument
576 ath9k_hw_ani_monitor(struct ath_hal *ah, const struct ath9k_node_stats *stats, struct ath9k_channel *chan) argument
666 ath9k_hw_phycounters(struct ath_hal *ah) argument
674 ath9k_enable_mib_counters(struct ath_hal *ah) argument
692 ath9k_hw_disable_mib_counters(struct ath_hal *ah) argument
709 ath9k_hw_GetMibCycleCountsPct(struct ath_hal *ah, uint32_t *rxc_pcnt, uint32_t *rxf_pcnt, uint32_t *txf_pcnt) argument
754 ath9k_hw_procmibevent(struct ath_hal *ah, const struct ath9k_node_stats *stats) argument
808 ath9k_hw_ani_setup(struct ath_hal *ah) argument
827 ath9k_hw_ani_attach(struct ath_hal *ah) argument
879 ath9k_hw_ani_detach(struct ath_hal *ah) argument
[all...]
H A Darn_ath9k.h839 enum wireless_mode ath9k_hw_chan2wmode(struct ath_hal *ah,
841 boolean_t ath9k_hw_wait(struct ath_hal *ah, uint32_t reg, uint32_t mask,
844 boolean_t ath9k_get_channel_edges(struct ath_hal *ah,
846 uint16_t ath9k_hw_computetxtime(struct ath_hal *ah,
850 uint32_t ath9k_hw_mhz2ieee(struct ath_hal *ah, uint32_t freq, uint32_t flags);
851 void ath9k_hw_get_channel_centers(struct ath_hal *ah,
858 void ath9k_hw_detach(struct ath_hal *ah);
861 void ath9k_hw_rfdetach(struct ath_hal *ah);
866 boolean_t ath9k_hw_reset(struct ath_hal *ah, struct ath9k_channel *chan,
874 boolean_t ath9k_hw_keyreset(struct ath_hal *ah, uint16_
[all...]
H A Darn_regd.c54 ath9k_regd_get_eepromRD(struct ath_hal *ah) argument
56 return (ah->ah_currentRD & ~WORLDWIDE_ROAMING_FLAG);
72 ath9k_regd_is_eeprom_valid(struct ath_hal *ah) argument
74 uint16_t rd = ath9k_regd_get_eepromRD(ah);
96 ath9k_regd_is_fcc_midband_supported(struct ath_hal *ah) argument
100 regcap = ah->ah_caps.reg_cap;
109 ath9k_regd_is_ccode_valid(struct ath_hal *ah, uint16_t cc) argument
119 rd = ath9k_regd_get_eepromRD(ah);
146 ath9k_regd_get_wmodes_nreg(struct ath_hal *ah, argument
152 bcopy(ah
189 ath9k_regd_is_public_safety_sku(struct ath_hal *ah) argument
221 ath9k_regd_get_default_country(struct ath_hal *ah) argument
278 ath9k_regd_get_wmode_regdomain(struct ath_hal *ah, int regDmn, uint16_t channelFlag, struct regDomain *rd) argument
382 ath9k_regd_get_eeprom_reg_ext_bits(struct ath_hal *ah, enum reg_ext_bitmap bit) argument
412 ath9k_regd_is_chan_present(struct ath_hal *ah, uint16_t c) argument
428 ath9k_regd_add_channel( struct ath_hal *ah, uint16_t c, uint16_t c_lo, uint16_t c_hi, uint16_t maxChan, uint8_t ctl, int pos, struct regDomain rd5GHz, struct RegDmnFreqBand *fband, struct regDomain *rd, const struct cmode *cm, struct ath9k_channel *ichans, boolean_t enableExtendedChannels) argument
604 ath9k_regd_japan_check(struct ath_hal *ah, int b, struct regDomain *rd5GHz) argument
632 ath9k_regd_init_channels( struct ath_hal *ah, uint32_t maxchans, uint32_t *nchans, uint8_t *regclassids, uint32_t maxregids, uint32_t *nregids, uint16_t cc, boolean_t enableOutdoor, boolean_t enableExtendedChannels) argument
928 ath9k_regd_check_channel(struct ath_hal *ah, const struct ath9k_channel *c) argument
985 ath9k_regd_get_antenna_allowed(struct ath_hal *ah, struct ath9k_channel *chan) argument
997 ath9k_regd_get_ctl(struct ath_hal *ah, struct ath9k_channel *chan) argument
1028 ath9k_regd_get_current_country(struct ath_hal *ah, struct ath9k_country_entry *ctry) argument
[all...]
H A Darn_mac.c31 ath9k_hw_set_txq_interrupts(struct ath_hal *ah, argument
34 struct ath_hal_5416 *ahp = AH5416(ah);
42 REG_WRITE(ah, AR_IMR_S0,
45 REG_WRITE(ah, AR_IMR_S1,
48 REG_RMW_FIELD(ah, AR_IMR_S2,
53 ath9k_hw_dmaRegDump(struct ath_hal *ah) argument
60 REG_WRITE(ah, AR_MACMISC,
71 val[i] = REG_READ(ah, AR_DMADBG_0 + (i * sizeof (uint32_t)));
120 REG_READ(ah, AR_OBS_BUS_1)));
122 "AR_CR 0x%x \n", REG_READ(ah, AR_C
126 ath9k_hw_gettxbuf(struct ath_hal *ah, uint32_t q) argument
132 ath9k_hw_puttxbuf(struct ath_hal *ah, uint32_t q, uint32_t txdp) argument
140 ath9k_hw_txstart(struct ath_hal *ah, uint32_t q) argument
151 ath9k_hw_numtxpending(struct ath_hal *ah, uint32_t q) argument
166 ath9k_hw_updatetxtriglevel(struct ath_hal *ah, boolean_t bIncTrigLevel) argument
198 ath9k_hw_stoptxdma(struct ath_hal *ah, uint32_t q) argument
258 ath9k_hw_filltxdesc(struct ath_hal *ah, struct ath_desc *ds, uint32_t segLen, boolean_t firstSeg, boolean_t lastSeg, const struct ath_desc *ds0) argument
288 ath9k_hw_cleartxdesc(struct ath_hal *ah, struct ath_desc *ds) argument
300 ath9k_hw_txprocdesc(struct ath_hal *ah, struct ath_desc *ds) argument
388 ath9k_hw_set11n_txdesc(struct ath_hal *ah, struct ath_desc *ds, uint32_t pktLen, enum ath9k_pkt_type type, uint32_t txPower, uint32_t keyIx, enum ath9k_key_type keyType, uint32_t flags) argument
427 ath9k_hw_set11n_ratescenario(struct ath_hal *ah, struct ath_desc *ds, struct ath_desc *lastds, uint32_t durUpdateEn, uint32_t rtsctsRate, uint32_t rtsctsDuration, struct ath9k_11n_rate_series series[], uint32_t nseries, uint32_t flags) argument
487 ath9k_hw_set11n_aggr_first(struct ath_hal *ah, struct ath_desc *ds, uint32_t aggrLen) argument
499 ath9k_hw_set11n_aggr_middle(struct ath_hal *ah, struct ath_desc *ds, uint32_t numDelims) argument
515 ath9k_hw_set11n_aggr_last(struct ath_hal *ah, struct ath_desc *ds) argument
526 ath9k_hw_clr11n_aggr(struct ath_hal *ah, struct ath_desc *ds) argument
535 ath9k_hw_set11n_burstduration(struct ath_hal *ah, struct ath_desc *ds, uint32_t burstDuration) argument
546 ath9k_hw_set11n_virtualmorefrag(struct ath_hal *ah, struct ath_desc *ds, uint32_t vmf) argument
558 ath9k_hw_gettxintrtxqs(struct ath_hal *ah, uint32_t *txqs) argument
567 ath9k_hw_set_txq_props(struct ath_hal *ah, int q, const struct ath9k_tx_queue_info *qinfo) argument
639 ath9k_hw_get_txq_props(struct ath_hal *ah, int q, struct ath9k_tx_queue_info *qinfo) argument
678 ath9k_hw_setuptxqueue(struct ath_hal *ah, enum ath9k_tx_queue type, const struct ath9k_tx_queue_info *qinfo) argument
751 ath9k_hw_releasetxqueue(struct ath_hal *ah, uint32_t q) argument
785 ath9k_hw_resettxqueue(struct ath_hal *ah, uint32_t q) argument
948 ath9k_hw_rxprocdesc(struct ath_hal *ah, struct ath_desc *ds, uint32_t pa, struct ath_desc *nds, uint64_t tsf) argument
1016 ath9k_hw_setuprxdesc(struct ath_hal *ah, struct ath_desc *ds, uint32_t size, uint32_t flags) argument
1034 ath9k_hw_setrxabort(struct ath_hal *ah, boolean_t set) argument
1064 ath9k_hw_putrxbuf(struct ath_hal *ah, uint32_t rxdp) argument
1070 ath9k_hw_rxena(struct ath_hal *ah) argument
1076 ath9k_hw_startpcureceive(struct ath_hal *ah) argument
1086 ath9k_hw_stoppcurecv(struct ath_hal *ah) argument
1094 ath9k_hw_stopdmarecv(struct ath_hal *ah) argument
[all...]
H A Darn_phy.c29 ath9k_hw_write_regs(struct ath_hal *ah, uint32_t modesIndex, uint32_t freqIndex, argument
32 struct ath_hal_5416 *ahp = AH5416(ah);
39 ath9k_hw_set_channel(struct ath_hal *ah, struct ath9k_channel *chan) argument
48 ath9k_hw_get_channel_centers(ah, chan, &centers);
69 txctl = REG_READ(ah, AR_PHY_CCK_TX_CTRL);
72 REG_WRITE(ah, AR_PHY_CCK_TX_CTRL,
75 REG_WRITE(ah, AR_PHY_CCK_TX_CTRL,
86 if (AR_SREV_9100(ah) || AR_SREV_9160_10_OR_LATER(ah))
102 REG_WRITE(ah, AR_PH
112 ath9k_hw_ar9280_set_channel(struct ath_hal *ah, struct ath9k_channel *chan) argument
209 ath9k_hw_set_rf_regs(struct ath_hal *ah, struct ath9k_channel *chan, uint16_t modesIndex) argument
283 ath9k_hw_rfdetach(struct ath_hal *ah) argument
336 ath9k_hw_init_rf(struct ath_hal *ah, int *status) argument
404 ath9k_hw_decrease_chain_power(struct ath_hal *ah, struct ath9k_channel *chan) argument
[all...]
H A Darn_eeprom.c60 ath9k_hw_analog_shift_rmw(struct ath_hal *ah, argument
66 regVal = REG_READ(ah, reg) & ~mask;
69 REG_WRITE(ah, reg, regVal);
71 if (ah->ah_config.analog_shiftreg)
131 ath9k_hw_eeprom_read(struct ath_hal *ah, uint32_t off, uint16_t *data) argument
133 (void) REG_READ(ah, AR5416_EEPROM_OFFSET + (off << AR5416_EEPROM_S));
135 if (!ath9k_hw_wait(ah, AR_EEPROM_STATUS_DATA,
141 *data = MS(REG_READ(ah, AR_EEPROM_STATUS_DATA),
149 ath9k_hw_flash_map(struct ath_hal *ah) argument
158 ath9k_hw_flash_read(struct ath_hal *ah, uint32_ argument
166 ath9k_hw_nvram_read(struct ath_hal *ah, uint32_t off, uint16_t *data) argument
175 ath9k_hw_fill_4k_eeprom(struct ath_hal *ah) argument
205 ath9k_hw_fill_def_eeprom(struct ath_hal *ah) argument
234 ath9k_hw_fill_eeprom(struct ath_hal *ah) argument
242 ath9k_hw_check_def_eeprom(struct ath_hal *ah) argument
371 ath9k_hw_check_4k_eeprom(struct ath_hal *ah) argument
504 ath9k_hw_check_eeprom(struct ath_hal *ah) argument
541 ath9k_hw_get_4k_gain_boundaries_pdadcs(struct ath_hal *ah, struct ath9k_channel *chan, struct cal_data_per_freq_4k *pRawDataSet, uint8_t *bChans, uint16_t availPiers, uint16_t tPdGainOverlap, int16_t *pMinCalPower, uint16_t *pPdGainBoundaries, uint8_t *pPDADCValues, uint16_t numXpdGains) argument
712 ath9k_hw_get_def_gain_boundaries_pdadcs(struct ath_hal *ah, struct ath9k_channel *chan, struct cal_data_per_freq *pRawDataSet, uint8_t *bChans, uint16_t availPiers, uint16_t tPdGainOverlap, int16_t *pMinCalPower, uint16_t *pPdGainBoundaries, uint8_t *pPDADCValues, uint16_t numXpdGains) argument
881 ath9k_hw_get_legacy_target_powers(struct ath_hal *ah, struct ath9k_channel *chan, struct cal_target_power_leg *powInfo, uint16_t numChannels, struct cal_target_power_leg *pNewPower, uint16_t numRates, boolean_t isExtTarget) argument
938 ath9k_hw_get_target_powers(struct ath_hal *ah, struct ath9k_channel *chan, struct cal_target_power_ht *powInfo, uint16_t numChannels, struct cal_target_power_ht *pNewPower, uint16_t numRates, boolean_t isHt40Target) argument
1028 ath9k_hw_set_def_power_cal_table(struct ath_hal *ah, struct ath9k_channel *chan, int16_t *pTxPowerIndexOffset) argument
1156 ath9k_hw_set_4k_power_cal_table(struct ath_hal *ah, struct ath9k_channel *chan, int16_t *pTxPowerIndexOffset) argument
1273 ath9k_hw_set_def_power_per_rate_table(struct ath_hal *ah, struct ath9k_channel *chan, int16_t *ratesArray, uint16_t cfgCtl, uint16_t AntennaReduction, uint16_t twiceMaxRegulatoryPower, uint16_t powerLimit) argument
1578 ath9k_hw_set_4k_power_per_rate_table(struct ath_hal *ah, struct ath9k_channel *chan, int16_t *ratesArray, uint16_t cfgCtl, uint16_t AntennaReduction, uint16_t twiceMaxRegulatoryPower, uint16_t powerLimit) argument
1815 ath9k_hw_def_set_txpower(struct ath_hal *ah, struct ath9k_channel *chan, uint16_t cfgCtl, uint8_t twiceAntennaReduction, uint8_t twiceMaxRegulatoryPower, uint8_t powerLimit) argument
1948 ath9k_hw_4k_set_txpower(struct ath_hal *ah, struct ath9k_channel *chan, uint16_t cfgCtl, uint8_t twiceAntennaReduction, uint8_t twiceMaxRegulatoryPower, uint8_t powerLimit) argument
2078 ath9k_hw_set_txpower(struct ath_hal *ah, struct ath9k_channel *chan, uint16_t cfgCtl, uint8_t twiceAntennaReduction, uint8_t twiceMaxRegulatoryPower, uint8_t powerLimit) argument
2100 ath9k_hw_set_def_addac(struct ath_hal *ah, struct ath9k_channel *chan) argument
2161 ath9k_hw_set_4k_addac(struct ath_hal *ah, struct ath9k_channel *chan) argument
2185 ath9k_hw_set_addac(struct ath_hal *ah, struct ath9k_channel *chan) argument
2197 ath9k_hw_eeprom_set_def_board_values(struct ath_hal *ah, struct ath9k_channel *chan) argument
2429 ath9k_hw_eeprom_set_4k_board_values(struct ath_hal *ah, struct ath9k_channel *chan) argument
2617 ath9k_hw_eeprom_set_board_values(struct ath_hal *ah, struct ath9k_channel *chan) argument
2631 ath9k_hw_get_def_eeprom_antenna_cfg(struct ath_hal *ah, struct ath9k_channel *chan, uint8_t index, uint16_t *config) argument
2664 ath9k_hw_get_4k_eeprom_antenna_cfg(struct ath_hal *ah, struct ath9k_channel *chan, uint8_t index, uint16_t *config) argument
2684 ath9k_hw_get_eeprom_antenna_cfg(struct ath_hal *ah, struct ath9k_channel *chan, uint8_t index, uint16_t *config) argument
2703 ath9k_hw_get_4k_num_ant_config(struct ath_hal *ah, enum ath9k_band freq_band) argument
2710 ath9k_hw_get_def_num_ant_config(struct ath_hal *ah, enum ath9k_band freq_band) argument
2731 ath9k_hw_get_num_ant_config(struct ath_hal *ah, enum ath9k_band freq_band) argument
2746 ath9k_hw_eeprom_get_spur_chan(struct ath_hal *ah, uint16_t i, boolean_t is2GHz) argument
2783 ath9k_hw_get_eeprom_4k(struct ath_hal *ah, enum eeprom_param param) argument
2829 ath9k_hw_get_eeprom_def(struct ath_hal *ah, enum eeprom_param param) argument
2903 ath9k_hw_get_eeprom(struct ath_hal *ah, enum eeprom_param param) argument
2917 ath9k_hw_eeprom_attach(struct ath_hal *ah) argument
[all...]
H A Darn_main.c250 arn_iowrite32(struct ath_hal *ah, uint32_t reg_offset, uint32_t val) argument
252 struct arn_softc *sc = ah->ah_sc;
253 if (ah->ah_config.serialize_regmode == SER_REG_MODE_ON) {
265 arn_ioread32(struct ath_hal *ah, uint32_t reg_offset) argument
268 struct arn_softc *sc = ah->ah_sc;
269 if (ah->ah_config.serialize_regmode == SER_REG_MODE_ON) {
560 struct ath_hal *ah = sc->sc_ah; local
564 (void) ath9k_hw_set_txpowerlimit(ah, sc->sc_config.txpowlimit);
566 (void) ath9k_hw_getcapability(ah, ATH9K_CAP_TXPOW, 1, &txpow);
678 struct ath_hal *ah local
838 struct ath_hal *ah = sc->sc_ah; local
936 struct ath_hal *ah = sc->sc_ah; local
1058 struct ath_hal *ah = sc->sc_ah; local
1240 struct ath_hal *ah = sc->sc_ah; local
1392 struct ath_hal *ah = sc->sc_ah; local
1881 struct ath_hal *ah = sc->sc_ah; local
1932 struct ath_hal *ah = sc->sc_ah; local
2022 struct ath_hal *ah = ((struct arn_softc *)ic)->sc_ah; local
2159 struct ath_hal *ah = sc->sc_ah; local
2314 struct ath_hal *ah = sc->sc_ah; local
2336 struct ath_hal *ah = sc->sc_ah; local
2369 struct ath_hal *ah = sc->sc_ah; local
2556 struct ath_hal *ah; local
2655 struct ath_hal *ah = sc->sc_ah; local
2801 struct ath_hal *ah; local
3413 struct ath_hal *ah; local
[all...]
H A Darn_recv.c152 struct ath_hal *ah = sc->sc_ah; local
159 ath9k_hw_setrxfilter(ah, rfilt);
162 if (ah->ah_caps.hw_caps & ATH9K_HW_CAP_BSSIDMASK)
163 (void) ath9k_hw_setbssidmask(ah, sc->sc_bssidmask);
166 ath9k_hw_setopmode(ah);
169 (void) ath9k_hw_setmac(ah, sc->sc_myaddr);
175 ath9k_hw_setmcastfilter(ah, mfilt[0], mfilt[1]);
276 struct ath_hal *ah = sc->sc_ah; local
300 ath9k_hw_putrxbuf(ah, bf->bf_daddr);
301 ath9k_hw_rxena(ah);
314 struct ath_hal *ah = sc->sc_ah; local
424 struct ath_hal *ah = sc->sc_ah; local
[all...]
H A Darn_beacon.c44 struct ath_hal *ah = sc->sc_ah; local
59 (ah->ah_caps.hw_caps & ATH9K_HW_CAP_VEOL)) {
86 ath9k_hw_set11n_txdesc(ah, ds,
95 (void) ath9k_hw_filltxdesc(ah, ds,
106 ath9k_hw_set11n_ratescenario(ah, ds, ds, 0,
123 struct ath_hal *ah = sc->sc_ah; local
138 if (!ath9k_hw_stoptxdma(ah, sc->sc_beaconq)) {
145 (void) ath9k_hw_puttxbuf(ah, sc->sc_beaconq, bf->bf_daddr);
146 (void) ath9k_hw_txstart(ah, sc->sc_beaconq);
155 arn_beaconq_setup(struct ath_hal *ah) argument
[all...]
/illumos-gate/usr/src/boot/lib/libstand/
H A Darp.c77 struct ether_arp *ah; local
111 ah = &wbuf.data.arp;
112 ah->arp_hrd = htons(ARPHRD_ETHER);
113 ah->arp_pro = htons(ETHERTYPE_IP);
114 ah->arp_hln = sizeof(ah->arp_sha); /* hardware address length */
115 ah->arp_pln = sizeof(ah->arp_spa); /* protocol address length */
116 ah->arp_op = htons(ARPOP_REQUEST);
117 MACPY(d->myea, ah
176 struct ether_arp *ah; local
[all...]
/illumos-gate/usr/src/lib/libnwam/common/
H A Dlibnwam_audit.c40 adt_session_data_t *ah; local
43 if (adt_start_session(&ah, NULL, 0) != 0)
46 if (adt_set_from_ucred(ah, ucr, ADT_NEW) != 0) {
47 (void) adt_end_session(ah);
51 if ((edata = adt_alloc_event(ah, eid)) == NULL) {
52 (void) adt_end_session(ah);
81 (void) adt_end_session(ah);
/illumos-gate/usr/src/cmd/login/
H A Dlogin_audit.c61 adt_session_data_t *ah; local
67 if (adt_start_session(&ah, NULL, ADT_USE_PROC_DATA)) {
71 if (adt_set_user(ah, pwd->pw_uid, pwd->pw_gid,
74 (void) adt_end_session(ah);
77 event = adt_alloc_event(ah, event_id);
93 (void) adt_end_session(ah);
108 audit_logout(ah); /* fork to catch logout */
112 (void) adt_end_session(ah);
119 audit_logout(adt_session_data_t *ah) argument
126 if ((logout = adt_alloc_event(ah, ADT_logou
209 adt_session_data_t *ah; local
[all...]
/illumos-gate/usr/src/common/net/wanboot/crypt/
H A Daes_test.c67 void *ah; local
78 if (aes_init(&ah) != 0) {
89 aes_key(ah, key, td[i].keysize);
96 aes_encrypt(ah, work);
102 aes_decrypt(ah, work);
112 aes_fini(ah);
/illumos-gate/usr/src/lib/smbsrv/libsmbns/common/
H A Dsmbns_ads.c644 smb_ads_handle_t *ah; local
664 ah = (smb_ads_handle_t *)malloc(sizeof (smb_ads_handle_t));
665 if (ah == NULL) {
670 (void) memset(ah, 0, sizeof (smb_ads_handle_t));
675 free(ah);
683 free(ah);
690 ah->ld = ld;
691 ah->domain = strdup(domain);
693 if (ah->domain == NULL) {
694 smb_ads_close(ah);
756 smb_ads_close(smb_ads_handle_t *ah) argument
871 smb_ads_add_share(smb_ads_handle_t *ah, const char *adsShareName, const char *unc_name, const char *adsContainer) argument
932 smb_ads_del_share(smb_ads_handle_t *ah, const char *adsShareName, const char *adsContainer) argument
1021 smb_ads_lookup_share(smb_ads_handle_t *ah, const char *adsShareName, const char *adsContainer, char *unc_name) argument
1095 smb_ads_publish_share(smb_ads_handle_t *ah, const char *adsShareName, const char *shareUNC, const char *adsContainer, const char *hostname) argument
1151 smb_ads_remove_share(smb_ads_handle_t *ah, const char *adsShareName, const char *shareUNC, const char *adsContainer, const char *hostname) argument
1182 smb_ads_get_default_comp_container_dn(smb_ads_handle_t *ah, char *buf, size_t buflen) argument
1195 smb_ads_get_default_comp_dn(smb_ads_handle_t *ah, char *buf, size_t buflen) argument
1211 smb_ads_add_computer(smb_ads_handle_t *ah, int dclevel, char *dn) argument
1222 smb_ads_modify_computer(smb_ads_handle_t *ah, int dclevel, char *dn) argument
1234 smb_ads_get_dc_level(smb_ads_handle_t *ah) argument
1284 smb_ads_getfqhostname(smb_ads_handle_t *ah, char *fqhost, int len) argument
1296 smb_ads_computer_op(smb_ads_handle_t *ah, int op, int dclevel, char *dn) argument
1419 smb_ads_del_computer(smb_ads_handle_t *ah, char *dn) argument
1459 smb_ads_get_qstat(smb_ads_handle_t *ah, LDAPMessage *res, smb_ads_avpair_t *avpair) argument
1538 smb_ads_lookup_computer_n_attr(smb_ads_handle_t *ah, smb_ads_avpair_t *avpair, int scope, char *dn) argument
1589 smb_ads_find_computer(smb_ads_handle_t *ah, char *dn) argument
1622 smb_ads_update_computer_cntrl_attr(smb_ads_handle_t *ah, int flags, char *dn) argument
1654 smb_ads_lookup_computer_attr_kvno(smb_ads_handle_t *ah, char *dn) argument
1697 smb_ads_handle_t *ah = NULL; local
[all...]
/illumos-gate/usr/src/uts/common/inet/
H A Dipsecah.h124 typedef struct ah { struct
133 #define AH_TOTAL_LEN(ah) (((ah)->ah_length << 2) + AH_BASELEN - \
134 sizeof ((ah)->ah_replay))
146 #define AHOLD_TOTAL_LEN(ah) (((ah)->ah_length << 2) + AH_BASELEN)
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/
H A Dsmb_autohome.c195 smb_autohome_t *ah = NULL; local
205 while ((ah = smb_autohome_getent(name)) != NULL) {
206 if (strcasecmp(ah->ah_name, name) == 0)
210 if (ah == NULL) {
213 while ((ah = smb_autohome_getent(name)) != NULL) {
214 if (strcasecmp(ah->ah_name, "*") == 0) {
215 ah->ah_name = (char *)name;
221 if (ah == NULL) {
224 while ((ah = smb_autohome_getent("+nsswitch")) != NULL) {
225 if (strcasecmp("+nsswitch", ah
[all...]
/illumos-gate/usr/src/cmd/smbsrv/smbd/
H A Dsmbd_logon.c86 adt_session_data_t *ah; local
133 if (adt_start_session(&ah, NULL, 0)) {
139 if ((event = adt_alloc_event(ah, ADT_smbd_session)) == NULL) {
142 (void) adt_end_session(ah);
158 adt_set_termid(ah, &termid);
160 if (adt_set_user(ah, uid, gid, uid, gid, NULL, ADT_NEW)) {
163 (void) adt_end_session(ah);
180 (void) adt_end_session(ah);
185 entry->sa_handle = ah;
232 adt_session_data_t *ah; local
[all...]
/illumos-gate/usr/src/uts/common/io/ath/
H A Dath_aux.c115 struct ath_hal *ah = asc->asc_ah; local
118 rfilt = (ATH_HAL_GETRXFILTER(ah) & HAL_RX_FILTER_PHYERR)
136 struct ath_hal *ah = asc->asc_ah; local
160 qnum = ATH_HAL_SETUPTXQUEUE(ah, HAL_TX_QUEUE_DATA, &qi);
250 struct ath_hal *ah = asc->asc_ah; local
255 ATH_HAL_SETRXFILTER(ah, rfilt);
256 ATH_HAL_SETOPMODE(ah);
257 ATH_HAL_SETMCASTFILTER(ah, asc->asc_mcast_hash[0],
301 struct ath_hal *ah = asc->asc_ah; local
309 if (!ath_hal_init_channels(ah, chan
398 struct ath_hal *ah = asc->asc_ah; local
466 struct ath_hal *ah = asc->asc_ah; local
543 struct ath_hal *ah = asc->asc_ah; local
769 struct ath_hal *ah = asc->asc_ah; local
865 struct ath_hal *ah = asc->asc_ah; local
932 struct ath_hal *ah = asc->asc_ah; local
966 struct ath_hal *ah = ((ath_t *)ic)->asc_ah; local
978 struct ath_hal *ah = asc->asc_ah; local
[all...]
H A Dath_main.c532 struct ath_hal *ah = asc->asc_ah; local
564 status = ATH_HAL_RXPROCDESC(ah, ds,
643 ATH_HAL_RXMONITOR(ah, &hal_node_stats, &asc->asc_curchan);
674 struct ath_hal *ah = asc->asc_ah; local
838 dur = ath_hal_computetxtime(ah, rt, IEEE80211_ACK_SIZE,
865 ctsduration += ath_hal_computetxtime(ah,
869 ctsduration += ath_hal_computetxtime(ah,
872 ctsduration += ath_hal_computetxtime(ah,
886 ATH_HAL_SETUPTXDESC(ah, ds,
915 ATH_HAL_SETUPXTXDESC(ah, d
958 struct ath_hal *ah = asc->asc_ah; local
1099 struct ath_hal *ah = asc->asc_ah; local
1275 struct ath_hal *ah = asc->asc_ah; local
1378 struct ath_hal *ah = asc->asc_ah; local
1454 struct ath_hal *ah = asc->asc_ah; local
1562 struct ath_hal *ah = asc->asc_ah; local
1602 struct ath_hal *ah = asc->asc_ah; local
1615 struct ath_hal *ah = asc->asc_ah; local
1688 struct ath_hal *ah = asc->asc_ah; local
1708 struct ath_hal *ah = asc->asc_ah; local
1728 struct ath_hal *ah = asc->asc_ah; local
1962 struct ath_hal *ah; local
2452 struct ath_hal *ah; local
[all...]
/illumos-gate/usr/src/lib/libm/common/C/
H A Datan2.c410 double ah, al, t, xh, x, y, z; local
432 ah = pio2;
435 ah = -pio2;
443 ah = mpi;
447 ah = al = zero;
456 ah += pio4;
458 inexact = (int)ah; /* inexact if ah != 0 */
460 return ((sy)? -ah : ah);
[all...]
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dstart_eltorito.S151 mov $0x42, %ah /* Extended Read */
181 mov %ah, %dl /* Save error code */
185 mov ABS(dapa+2), %ah /* Sector transfer count */
188 mov $1, %ah /* Drop transfer size to 1 */
193 shr $1, %ah /* Otherwise, try to reduce */
194 adc $0, %ah /* the max transfer size, but not */
196 mov %ah, ABS(MaxTransfer)
197 mov %ah, ABS(dapa+2)
219 * %ah = 0xe %al = character
224 mov $0x0E, %ah
[all...]
/illumos-gate/usr/src/psm/stand/bootblks/ufs/i386/
H A Dmboot.S164 mov ah, 2 /* get shift state */
191 mov ah, 0 /* reset disk */
197 mov ah, 0x41 /* chkext function */
231 mov ah, 0x42 /* "read LBA" */
238 mov ah, 0 /* reset disk */
253 mov ah, 0x8
265 mov al, cl /* ah doesn't matter; mul dh will set it */
284 /* ah = 0-rel sect in track */
285 inc ah /* ah
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_ipsec.c106 ah_t *ah = (ah_t *)hdr; local
122 aligned_ah = ah;
139 auth_data = (uint8_t *)(ah + 1);
152 (void) sprintf(get_line((char *)&ah->ah_nexthdr - dlc_header,
155 (void) sprintf(get_line((char *)&ah->ah_length - dlc_header, 1),
157 (void) sprintf(get_line((char *)&ah->ah_reserved - dlc_header,
160 (void) sprintf(get_line((char *)&ah->ah_spi - dlc_header, 4),
162 (void) sprintf(get_line((char *)&ah->ah_replay - dlc_header, 4),

Completed in 208 milliseconds

12345