| /NextBSD/sys/dev/ath/ |
| HD | if_ath_spectral.c | 111 if (! ath_hal_spectral_supported(sc->sc_ah)) in ath_spectral_attach() 125 (void) ath_hal_spectral_get_config(sc->sc_ah, &ss->spectral_state); in ath_spectral_attach() 137 if (! ath_hal_spectral_supported(sc->sc_ah)) in ath_spectral_detach() 162 ath_hal_spectral_configure(sc->sc_ah, in ath_spectral_enable() 164 (void) ath_hal_spectral_start(sc->sc_ah); in ath_spectral_enable() 191 if (! ath_hal_spectral_supported(sc->sc_ah)) in ath_ioctl_spectral() 225 ath_hal_spectral_get_config(sc->sc_ah, &peout); in ath_ioctl_spectral() 235 ath_hal_spectral_configure(sc->sc_ah, pe); in ath_ioctl_spectral() 237 ath_hal_spectral_get_config(sc->sc_ah, in ath_ioctl_spectral() 241 ath_hal_spectral_configure(sc->sc_ah, in ath_ioctl_spectral() [all …]
|
| HD | if_ath_led.c | 132 ath_hal_gpioCfgOutput(sc->sc_ah, sc->sc_ledpin, in ath_led_config() 134 ath_hal_gpioset(sc->sc_ah, sc->sc_ledpin, !sc->sc_ledon); in ath_led_config() 146 ath_hal_gpioCfgOutput(sc->sc_ah, sc->sc_led_pwr_pin, in ath_led_config() 149 ath_hal_gpioCfgOutput(sc->sc_ah, sc->sc_led_net_pin, in ath_led_config() 175 ath_hal_gpioset(sc->sc_ah, sc->sc_ledpin, !sc->sc_ledon); in ath_led_off() 186 ath_hal_gpioset(sc->sc_ah, sc->sc_ledpin, sc->sc_ledon); in ath_led_blink()
|
| HD | if_ath_sysctl.c | 116 slottime = ath_hal_getslottime(sc->sc_ah); in ath_sysctl_slottime() 123 error = !ath_hal_setslottime(sc->sc_ah, slottime) ? EINVAL : 0; in ath_sysctl_slottime() 142 acktimeout = ath_hal_getacktimeout(sc->sc_ah); in ath_sysctl_acktimeout() 149 error = !ath_hal_setacktimeout(sc->sc_ah, acktimeout) ? EINVAL : 0; in ath_sysctl_acktimeout() 168 ctstimeout = ath_hal_getctstimeout(sc->sc_ah); in ath_sysctl_ctstimeout() 175 error = !ath_hal_setctstimeout(sc->sc_ah, ctstimeout) ? EINVAL : 0; in ath_sysctl_ctstimeout() 257 txantenna = ath_hal_getantennaswitch(sc->sc_ah); in ath_sysctl_txantenna() 266 ath_hal_setantennaswitch(sc->sc_ah, txantenna); in ath_sysctl_txantenna() 292 defantenna = ath_hal_getdefantenna(sc->sc_ah); in ath_sysctl_rxantenna() 297 ath_hal_setdefantenna(sc->sc_ah, defantenna); in ath_sysctl_rxantenna() [all …]
|
| HD | if_ath.c | 305 ath_hal_setpower(sc->sc_ah, power_state); in _ath_power_setpower() 317 ath_hal_setselfgenpower(sc->sc_ah, in _ath_power_setpower() 354 ath_hal_setselfgenpower(sc->sc_ah, power_state); in _ath_power_set_selfgen() 382 ath_hal_setpower(sc->sc_ah, power_state); in _ath_power_set_power_state() 390 ath_hal_setselfgenpower(sc->sc_ah, in _ath_power_set_power_state() 424 ath_hal_setpower(sc->sc_ah, sc->sc_target_powerstate); in _ath_power_restore_power_state() 432 ath_hal_setselfgenpower(sc->sc_ah, in _ath_power_restore_power_state() 604 sc->sc_ah = ah; in ath_attach() 616 if (ath_hal_hasedma(sc->sc_ah)) { in ath_attach() 625 if (ath_hal_hasmybeacon(sc->sc_ah)) { in ath_attach() [all …]
|
| HD | if_ath_tx_edma.c | 200 ath_hal_puttxbuf(sc->sc_ah, txq->axq_qnum, bf->bf_daddr); in ath_edma_tx_fifo_fill() 213 ath_hal_txstart(sc->sc_ah, txq->axq_qnum); in ath_edma_tx_fifo_fill() 303 ath_hal_puttxbuf(sc->sc_ah, txq->axq_qnum, bf->bf_daddr); in ath_edma_dma_restart() 318 ath_hal_txstart(sc->sc_ah, txq->axq_qnum); in ath_edma_dma_restart() 419 ath_hal_settxdesclink(sc->sc_ah, in ath_edma_xmit_handoff_mcast() 509 ath_hal_setuptxstatusring(sc->sc_ah, in ath_edma_dma_txsetup() 607 struct ath_hal *ah = sc->sc_ah; in ath_edma_tx_processq() 856 (void) ath_hal_gettxdesclen(sc->sc_ah, &sc->sc_tx_desclen); in ath_xmit_setup_edma() 857 (void) ath_hal_gettxstatuslen(sc->sc_ah, &sc->sc_tx_statuslen); in ath_xmit_setup_edma() 858 (void) ath_hal_getntxmaps(sc->sc_ah, &sc->sc_tx_nmaps); in ath_xmit_setup_edma()
|
| HD | if_ath_beacon.c | 114 struct ath_hal *ah = sc->sc_ah; in ath_beaconq_setup() 138 struct ath_hal *ah = sc->sc_ah; in ath_beaconq_config() 270 struct ath_hal *ah = sc->sc_ah; in ath_beacon_setup() 290 ath_hal_settxdesclink(sc->sc_ah, ds, bf->bf_daddr); in ath_beacon_setup() 297 ath_hal_settxdesclink(sc->sc_ah, ds, 0); in ath_beacon_setup() 394 ret = ath_hal_get_mib_cycle_counts(sc->sc_ah, &hs); in ath_beacon_miss() 396 if (ath_hal_gethangstate(sc->sc_ah, 0xffff, &hangs) && hangs != 0) { in ath_beacon_miss() 429 struct ath_hal *ah = sc->sc_ah; in ath_beacon_proc() 494 ath_hal_gettxdesclinkptr(sc->sc_ah, in ath_beacon_proc() 645 ath_hal_puttxbuf(sc->sc_ah, cabq->axq_qnum, bf->bf_daddr); in ath_beacon_cabq_start_edma() [all …]
|
| HD | if_ath_rx_edma.c | 161 struct ath_hal *ah = sc->sc_ah; in ath_edma_stoprecv() 217 ath_hal_putrxbuf(sc->sc_ah, bf->bf_daddr, qtype); in ath_edma_reinit_fifo() 236 struct ath_hal *ah = sc->sc_ah; in ath_edma_startrecv() 383 struct ath_hal *ah = sc->sc_ah; in ath_edma_recv_proc_queue() 525 nf = ath_hal_getchannoise(sc->sc_ah, sc->sc_curchan); in ath_edma_recv_proc_deferred_queue() 531 tsf = ath_hal_gettsf64(sc->sc_ah); in ath_edma_recv_proc_deferred_queue() 829 ath_hal_putrxbuf(sc->sc_ah, bf->bf_daddr, qtype); in ath_edma_rxfifo_alloc() 887 if (! ath_hal_getrxfifodepth(sc->sc_ah, qtype, &re->m_fifolen)) { in ath_edma_setup_rxfifo() 984 (void) ath_hal_getrxstatuslen(sc->sc_ah, &sc->sc_rx_statuslen); in ath_recv_setup_edma() 987 (void) ath_hal_setrxbufsize(sc->sc_ah, sc->sc_edma_bufsize - in ath_recv_setup_edma()
|
| HD | if_ath_btcoex.c | 89 struct ath_hal *ah = sc->sc_ah; in ath_btcoex_cfg_wb195() 145 struct ath_hal *ah = sc->sc_ah; in ath_btcoex_cfg_wb225() 202 struct ath_hal *ah = sc->sc_ah; in ath_btcoex_cfg_wb222() 288 struct ath_hal *ah = sc->sc_ah; in ath_btcoex_attach()
|
| HD | if_ath_debug.c | 103 struct ath_hal *ah = sc->sc_ah; in ath_printrxbuf() 203 struct ath_hal *ah = sc->sc_ah; in ath_printtxbuf_legacy() 244 if (sc->sc_ah->ah_magic == 0x19741014) in ath_printtxbuf()
|
| HD | if_ath_tdma.c | 136 struct ath_hal *ah = sc->sc_ah; in ath_tdma_settimers() 252 struct ath_hal *ah = sc->sc_ah; in ath_tdma_config() 362 struct ath_hal *ah = sc->sc_ah; in ath_tdma_update() 614 struct ath_hal *ah = sc->sc_ah; in ath_tdma_beacon_send()
|
| HD | if_ath_rx.c | 204 if (ath_hal_getcapability(sc->sc_ah, HAL_CAP_PSPOLL, in ath_calcrxfilter() 248 struct ath_hal *ah = sc->sc_ah; in ath_legacy_rxbuf_init() 371 nexttbtt = ath_hal_getnexttbtt(sc->sc_ah); in ath_recv_mgmt() 445 ath_hal_gettsf64(sc->sc_ah)); in ath_recv_mgmt() 991 struct ath_hal *ah = sc->sc_ah; in ath_rx_proc() 1308 struct ath_hal *ah = sc->sc_ah; in ath_legacy_stoprecv() 1367 struct ath_hal *ah = sc->sc_ah; in ath_legacy_startrecv()
|
| HD | if_ath_tx.c | 170 return ((sc->sc_ah->ah_magic == 0x20065416) || in ath_tx_is_11n() 171 (sc->sc_ah->ah_magic == 0x19741014)); in ath_tx_is_11n() 354 struct ath_hal *ah = sc->sc_ah; in ath_tx_chaindesclist() 436 ath_hal_clr11n_aggr(sc->sc_ah, (struct ath_desc *) ds); in ath_tx_chaindesclist() 443 ath_hal_set11n_aggr_last(sc->sc_ah, in ath_tx_chaindesclist() 454 ath_hal_set11n_aggr_middle(sc->sc_ah, in ath_tx_chaindesclist() 522 ath_hal_setupxtxdesc(sc->sc_ah, bf->bf_desc in ath_tx_set_ratectrl() 569 ath_hal_setuptxdesc(sc->sc_ah, bf->bf_desc in ath_tx_setds_11n() 609 ath_hal_set11n_aggr_first(sc->sc_ah, in ath_tx_setds_11n() 620 ath_hal_settxdesclink(sc->sc_ah, bf_prev->bf_lastds, in ath_tx_setds_11n() [all …]
|
| HD | if_ath_keycache.c | 127 struct ath_hal *ah = sc->sc_ah; in ath_keyset_tkip() 196 struct ath_hal *ah = sc->sc_ah; in ath_keyset() 489 struct ath_hal *ah = sc->sc_ah; in ath_key_delete()
|
| HD | if_ath_lna_div.c | 96 if (! ath_hal_hasdivantcomb(sc->sc_ah)) in ath_lna_div_attach() 110 ath_hal_div_comb_conf_get(sc->sc_ah, &div_ant_conf); in ath_lna_div_attach() 806 ath_hal_div_comb_conf_get(sc->sc_ah, &div_ant_conf); in ath_lna_rx_comb_scan() 981 ath_hal_div_comb_conf_set(sc->sc_ah, &div_ant_conf); in ath_lna_rx_comb_scan()
|
| HD | if_ath_descdma.c | 169 if (! ath_hal_split4ktrans(sc->sc_ah)) { in ath_descdma_alloc_desc() 276 if (! ath_hal_split4ktrans(sc->sc_ah)) { in ath_descdma_setup()
|
| HD | if_ath_tx_ht.c | 499 struct ath_hal *ah = sc->sc_ah; in ath_rateseries_setup() 620 struct ath_hal *ah = sc->sc_ah; in ath_buf_set_rate()
|
| HD | if_ath_ioctl.c | 171 struct ath_hal *ah = sc->sc_ah; in ath_ioctl_diag()
|
| HD | if_athvar.h | 607 struct ath_hal *sc_ah; /* Atheros HAL */ member
|
| /NextBSD/sys/dev/ath/ath_dfs/null/ |
| HD | dfs_null.c | 110 if (ath_hal_getcapability(sc->sc_ah, in ath_dfs_radar_enable() 120 if (! ath_hal_getdfsdefaultthresh(sc->sc_ah, &pe)) in ath_dfs_radar_enable() 135 ath_hal_enabledfs(sc->sc_ah, &pe); in ath_dfs_radar_enable() 142 (void) ath_hal_setcapability(sc->sc_ah, HAL_CAP_DIVERSITY, 2, 0, NULL); in ath_dfs_radar_enable() 161 (void) ath_hal_getdfsthresh(sc->sc_ah, &pe); in ath_dfs_radar_disable() 163 (void) ath_hal_enabledfs(sc->sc_ah, &pe); in ath_dfs_radar_disable() 263 ath_hal_enabledfs(sc->sc_ah, pe); in ath_ioctl_phyerr() 268 ath_hal_getdfsthresh(sc->sc_ah, &peout); in ath_ioctl_phyerr() 293 ath_hal_getdfsthresh(sc->sc_ah, param); in ath_dfs_get_thresholds()
|
| /NextBSD/sys/dev/acpi_support/ |
| HD | atk0110.c | 70 ACPI_HANDLE sc_ah; member 124 sc->sc_ah = acpi_get_handle(dev); in aibs_attach() 163 s = AcpiEvaluateObjectTyped(sc->sc_ah, name, NULL, &b, in aibs_attach_sif() 329 rs = AcpiEvaluateObjectTyped(sc->sc_ah, name, &mp, &b, in aibs_sysctl()
|
| /NextBSD/sys/dev/ath/ath_rate/sample/ |
| HD | sample.h | 216 ctsduration += ath_hal_pkt_txtime(sc->sc_ah, rt, length, rix, in calc_usecs_unicast_packet() 227 tt += (long_retries+1)*ath_hal_pkt_txtime(sc->sc_ah, rt, length, rix, in calc_usecs_unicast_packet()
|
| HD | sample.c | 706 ath_hal_setupxtxdesc(sc->sc_ah, ds, in ath_rate_setupxtxdesc()
|
| /NextBSD/sys/dev/ath/ath_rate/onoe/ |
| HD | onoe.c | 157 ath_hal_setupxtxdesc(sc->sc_ah, ds in ath_rate_setupxtxdesc()
|
| /NextBSD/sys/dev/ath/ath_rate/amrr/ |
| HD | amrr.c | 150 ath_hal_setupxtxdesc(sc->sc_ah, ds in ath_rate_setupxtxdesc()
|