Home
last modified time | relevance | path

Searched refs:sc_ah (Results 1 – 25 of 25) sorted by relevance

/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/
H A Dif_ath_btcoex_mci.c142 ath_hal_btcoex_mci_setup(sc->sc_ah, in ath_btcoex_mci_attach()
158 ath_hal_btcoex_mci_detach(sc->sc_ah); in ath_btcoex_mci_detach()
186 ath_hal_btcoex_set_weights(sc->sc_ah, HAL_BT_COEX_STOMP_ALL); in ath_btcoex_mci_enable()
214 if (ath_hal_btcoex_mci_state(sc->sc_ah, in ath_btcoex_mci_event()
218 if (ath_hal_btcoex_mci_state(sc->sc_ah, in ath_btcoex_mci_event()
228 ath_hal_btcoex_mci_state(sc->sc_ah, in ath_btcoex_mci_event()
230 ath_hal_btcoex_mci_state(sc->sc_ah, in ath_btcoex_mci_event()
244 ath_hal_btcoex_mci_send_message(sc->sc_ah, MCI_GPM, 0, payload, 16, in ath_btcoex_mci_send_gpm()
268 if (ath_hal_btcoex_mci_state(sc->sc_ah, HAL_MCI_STATE_BT, in ath_btcoex_mci_cal_msg()
270 ath_hal_btcoex_mci_state(sc->sc_ah, in ath_btcoex_mci_cal_msg()
[all …]
H A Dif_ath_spectral.c110 if (! ath_hal_spectral_supported(sc->sc_ah)) in ath_spectral_attach()
124 (void) ath_hal_spectral_get_config(sc->sc_ah, &ss->spectral_state); in ath_spectral_attach()
136 if (! ath_hal_spectral_supported(sc->sc_ah)) in ath_spectral_detach()
161 ath_hal_spectral_configure(sc->sc_ah, in ath_spectral_enable()
163 (void) ath_hal_spectral_start(sc->sc_ah); in ath_spectral_enable()
190 if (! ath_hal_spectral_supported(sc->sc_ah)) in ath_ioctl_spectral()
228 ath_hal_spectral_get_config(sc->sc_ah, &peout); in ath_ioctl_spectral()
238 ath_hal_spectral_configure(sc->sc_ah, pe); in ath_ioctl_spectral()
240 ath_hal_spectral_get_config(sc->sc_ah, in ath_ioctl_spectral()
244 ath_hal_spectral_configure(sc->sc_ah, in ath_ioctl_spectral()
[all …]
H A Dif_ath_led.c132 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()
H A Dif_ath_sysctl.c116 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 …]
H A Dif_ath_btcoex.c90 struct ath_hal *ah = sc->sc_ah; in ath_btcoex_cfg_wb195()
146 struct ath_hal *ah = sc->sc_ah; in ath_btcoex_cfg_wb225()
197 struct ath_hal *ah = sc->sc_ah; in ath_btcoex_cfg_mci()
205 sc->sc_ah->ah_config.ath_hal_mci_config = mci_cfg; in ath_btcoex_cfg_mci()
248 ath_hal_btcoex_enable(sc->sc_ah); in ath_btcoex_cfg_mci()
344 struct ath_hal *ah = sc->sc_ah; in ath_btcoex_attach()
H A Dif_ath.c325 ath_hal_setpower(sc->sc_ah, power_state); in _ath_power_setpower()
338 ath_hal_setselfgenpower(sc->sc_ah, in _ath_power_setpower()
375 ath_hal_setselfgenpower(sc->sc_ah, power_state); in _ath_power_set_selfgen()
407 ath_hal_setpower(sc->sc_ah, power_state); in _ath_power_set_power_state()
414 ath_hal_setselfgenpower(sc->sc_ah, in _ath_power_set_power_state()
447 ath_hal_setpower(sc->sc_ah, sc->sc_target_powerstate); in _ath_power_restore_power_state()
455 ath_hal_setselfgenpower(sc->sc_ah, in _ath_power_restore_power_state()
633 sc->sc_ah = ah; in ath_attach()
656 if (ath_hal_hasedma(sc->sc_ah)) { in ath_attach()
665 if (ath_hal_hasmybeacon(sc->sc_ah)) { in ath_attach()
[all …]
H A Dif_ath_beacon.c114 struct ath_hal *ah = sc->sc_ah; in ath_beaconq_setup()
138 struct ath_hal *ah = sc->sc_ah; in ath_beaconq_config()
274 struct ath_hal *ah = sc->sc_ah; in ath_beacon_setup()
294 ath_hal_settxdesclink(sc->sc_ah, ds, bf->bf_daddr); in ath_beacon_setup()
301 ath_hal_settxdesclink(sc->sc_ah, ds, 0); in ath_beacon_setup()
398 ret = ath_hal_get_mib_cycle_counts(sc->sc_ah, &hs); in ath_beacon_miss()
400 if (ath_hal_gethangstate(sc->sc_ah, 0xffff, &hangs) && hangs != 0) { in ath_beacon_miss()
433 struct ath_hal *ah = sc->sc_ah; in ath_beacon_proc()
500 ath_hal_gettxdesclinkptr(sc->sc_ah, in ath_beacon_proc()
651 ath_hal_puttxbuf(sc->sc_ah, cabq->axq_qnum, bf->bf_daddr); in ath_beacon_cabq_start_edma()
[all …]
H A Dif_ath_tx_edma.c246 ath_hal_settxdesclink(sc->sc_ah, bfp->bf_lastds, in ath_tx_edma_push_staging_list()
283 ath_hal_puttxbuf(sc->sc_ah, txq->axq_qnum, bf->bf_daddr); in ath_tx_edma_push_staging_list()
286 ath_hal_txstart(sc->sc_ah, txq->axq_qnum); in ath_tx_edma_push_staging_list()
481 ath_hal_puttxbuf(sc->sc_ah, txq->axq_qnum, bf->bf_daddr); in ath_edma_dma_restart()
496 ath_hal_txstart(sc->sc_ah, txq->axq_qnum); in ath_edma_dma_restart()
590 ath_hal_settxdesclink(sc->sc_ah, in ath_edma_xmit_handoff_mcast()
680 ath_hal_setuptxstatusring(sc->sc_ah, in ath_edma_dma_txsetup()
796 struct ath_hal *ah = sc->sc_ah; in ath_edma_tx_processq()
1061 (void) ath_hal_gettxdesclen(sc->sc_ah, &sc->sc_tx_desclen); in ath_xmit_setup_edma()
1062 (void) ath_hal_gettxstatuslen(sc->sc_ah, &sc->sc_tx_statuslen); in ath_xmit_setup_edma()
[all …]
H A Dif_ath_rx_edma.c161 struct ath_hal *ah = sc->sc_ah; in ath_edma_stoprecv()
224 ath_hal_putrxbuf(sc->sc_ah, bf->bf_daddr, qtype); in ath_edma_reinit_fifo()
244 struct ath_hal *ah = sc->sc_ah; in ath_edma_startrecv()
417 struct ath_hal *ah = sc->sc_ah; in ath_edma_recv_proc_queue()
561 nf = ath_hal_getchannoise(sc->sc_ah, sc->sc_curchan); in ath_edma_recv_proc_deferred_queue()
567 tsf = ath_hal_gettsf64(sc->sc_ah); in ath_edma_recv_proc_deferred_queue()
864 ath_hal_putrxbuf(sc->sc_ah, bf->bf_daddr, qtype); in ath_edma_rxfifo_alloc()
922 if (! ath_hal_getrxfifodepth(sc->sc_ah, qtype, &re->m_fifolen)) { in ath_edma_setup_rxfifo()
1019 (void) ath_hal_getrxstatuslen(sc->sc_ah, &sc->sc_rx_statuslen); in ath_recv_setup_edma()
1022 (void) ath_hal_setrxbufsize(sc->sc_ah, sc->sc_edma_bufsize - in ath_recv_setup_edma()
H A Dif_ath_debug.c103 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()
H A Dif_ath_tdma.c136 struct ath_hal *ah = sc->sc_ah; in ath_tdma_settimers()
252 struct ath_hal *ah = sc->sc_ah; in ath_tdma_config()
363 struct ath_hal *ah = sc->sc_ah; in ath_tdma_update()
616 struct ath_hal *ah = sc->sc_ah; in ath_tdma_beacon_send()
H A Dif_ath_keycache.c127 struct ath_hal *ah = sc->sc_ah; in ath_keyset_tkip()
196 struct ath_hal *ah = sc->sc_ah; in ath_keyset()
490 struct ath_hal *ah = sc->sc_ah; in ath_key_delete()
H A Dif_ath_rx.c204 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()
389 nexttbtt = ath_hal_getnexttbtt(sc->sc_ah); in ath_recv_mgmt()
485 ath_hal_gettsf64(sc->sc_ah)); in ath_recv_mgmt()
1076 struct ath_hal *ah = sc->sc_ah; in ath_rx_proc()
1393 struct ath_hal *ah = sc->sc_ah; in ath_legacy_stoprecv()
1452 struct ath_hal *ah = sc->sc_ah; in ath_legacy_startrecv()
H A Dif_ath_tx.c170 return ((sc->sc_ah->ah_magic == 0x20065416) || in ath_tx_is_11n()
171 (sc->sc_ah->ah_magic == 0x19741014)); in ath_tx_is_11n()
367 struct ath_hal *ah = sc->sc_ah; in ath_tx_chaindesclist()
449 ath_hal_clr11n_aggr(sc->sc_ah, (struct ath_desc *) ds); in ath_tx_chaindesclist()
456 ath_hal_set11n_aggr_last(sc->sc_ah, in ath_tx_chaindesclist()
467 ath_hal_set11n_aggr_middle(sc->sc_ah, in ath_tx_chaindesclist()
535 ath_hal_setupxtxdesc(sc->sc_ah, bf->bf_desc in ath_tx_set_ratectrl()
582 ath_hal_setuptxdesc(sc->sc_ah, bf->bf_desc in ath_tx_setds_11n()
622 ath_hal_set11n_aggr_first(sc->sc_ah, in ath_tx_setds_11n()
633 ath_hal_settxdesclink(sc->sc_ah, bf_prev->bf_lastds, in ath_tx_setds_11n()
[all …]
H A Dif_ath_lna_div.c94 if (! ath_hal_hasdivantcomb(sc->sc_ah)) in ath_lna_div_attach()
108 ath_hal_div_comb_conf_get(sc->sc_ah, &div_ant_conf); in ath_lna_div_attach()
805 ath_hal_div_comb_conf_get(sc->sc_ah, &div_ant_conf); in ath_lna_rx_comb_scan()
980 ath_hal_div_comb_conf_set(sc->sc_ah, &div_ant_conf); in ath_lna_rx_comb_scan()
H A Dif_ath_descdma.c167 if (! ath_hal_split4ktrans(sc->sc_ah)) { in ath_descdma_alloc_desc()
274 if (! ath_hal_split4ktrans(sc->sc_ah)) { in ath_descdma_setup()
H A Dif_ath_ioctl.c169 struct ath_hal *ah = sc->sc_ah; in ath_ioctl_diag()
H A Dif_ath_tx_ht.c618 struct ath_hal *ah = sc->sc_ah; in ath_rateseries_setup()
746 struct ath_hal *ah = sc->sc_ah; in ath_buf_set_rate()
H A Dif_athvar.h611 struct ath_hal *sc_ah; /* Atheros HAL */ member
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_dfs/null/
H A Ddfs_null.c108 if (ath_hal_getcapability(sc->sc_ah, in ath_dfs_radar_enable()
118 if (! ath_hal_getdfsdefaultthresh(sc->sc_ah, &pe)) in ath_dfs_radar_enable()
133 ath_hal_enabledfs(sc->sc_ah, &pe); in ath_dfs_radar_enable()
140 (void) ath_hal_setcapability(sc->sc_ah, HAL_CAP_DIVERSITY, 2, 0, NULL); in ath_dfs_radar_enable()
159 (void) ath_hal_getdfsthresh(sc->sc_ah, &pe); in ath_dfs_radar_disable()
161 (void) ath_hal_enabledfs(sc->sc_ah, &pe); in ath_dfs_radar_disable()
261 ath_hal_enabledfs(sc->sc_ah, pe); in ath_ioctl_phyerr()
266 ath_hal_getdfsthresh(sc->sc_ah, &peout); in ath_ioctl_phyerr()
291 ath_hal_getdfsthresh(sc->sc_ah, param); in ath_dfs_get_thresholds()
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/
H A Dglue.c27 struct ath_hal* ah = sc->sc_ah; in HAIKU_CHECK_DISABLE_INTERRUPTS()
64 struct ath_hal* ah = sc->sc_ah; in HAIKU_REENABLE_INTERRUPTS()
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_rate/sample/
H A Dsample.h215 ctsduration += ath_hal_pkt_txtime(sc->sc_ah, rt, length, rix, in calc_usecs_unicast_packet()
226 tt += (long_retries+1)*ath_hal_pkt_txtime(sc->sc_ah, rt, length, rix, in calc_usecs_unicast_packet()
H A Dsample.c943 ath_hal_setupxtxdesc(sc->sc_ah, ds, in ath_rate_setupxtxdesc()
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_rate/onoe/
H A Donoe.c160 ath_hal_setupxtxdesc(sc->sc_ah, ds in ath_rate_setupxtxdesc()
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_rate/amrr/
H A Damrr.c152 ath_hal_setupxtxdesc(sc->sc_ah, ds in ath_rate_setupxtxdesc()