/drivers/net/wireless/ath/ath9k/ |
D | channel.c | 29 struct cfg80211_chan_def *chandef = &sc->cur_chan->chandef; in ath_set_channel() 56 if (!sc->cur_chan->offchannel && sc->cur_survey != &sc->survey[pos]) { in ath_set_channel() 130 bool cur_chan; in ath_chanctx_set_channel() local 135 cur_chan = sc->cur_chan == ctx; in ath_chanctx_set_channel() 138 if (!cur_chan) { in ath_chanctx_set_channel() 323 beacon_int = TU_TO_USEC(sc->cur_chan->beacon.beacon_interval); in ath_chanctx_adjust_tbtt_delta() 325 cur = sc->cur_chan; in ath_chanctx_adjust_tbtt_delta() 491 sc->cur_chan->chandef.center_freq1, in ath_chanctx_event() 508 if (avp->chanctx != sc->cur_chan) { in ath_chanctx_event() 522 ctx = ath_chanctx_get_next(sc, sc->cur_chan); in ath_chanctx_event() [all …]
|
D | main.c | 75 list = &sc->cur_chan->acq[txq->mac80211_qnum]; in ath9k_has_pending_frames() 236 ath9k_calculate_summary_state(sc, sc->cur_chan); in ath_complete_reset() 238 ath9k_cmn_update_txpow(ah, sc->cur_chan->cur_txpower, in ath_complete_reset() 239 sc->cur_chan->txpower, in ath_complete_reset() 240 &sc->cur_chan->cur_txpower); in ath_complete_reset() 243 if (!sc->cur_chan->offchannel && start) { in ath_complete_reset() 245 if (sc->cur_chan->tsf_val) { in ath_complete_reset() 248 offset = ath9k_hw_get_tsf_offset(&sc->cur_chan->tsf_ts, in ath_complete_reset() 250 ath9k_hw_settsf64(ah, sc->cur_chan->tsf_val + offset); in ath_complete_reset() 295 if (!sc->cur_chan->offchannel) { in ath_reset_internal() [all …]
|
D | beacon.c | 179 if (sc->cur_chan->nvifs > 1) { in ath9k_beacon_generate() 222 struct ath_beacon_config *cur_conf = &sc->cur_chan->beacon; in ath9k_beacon_remove_slot() 251 struct ath_beacon_config *cur_conf = &sc->cur_chan->beacon; in ath9k_beacon_choose_slot() 522 if (sc->cur_chan != avp->chanctx) in ath9k_allow_beacon_config() 537 vif != sc->cur_chan->primary_sta) { in ath9k_allow_beacon_config() 608 if (ctx != sc->cur_chan) in ath9k_beacon_config() 632 if (ctx != sc->cur_chan) in ath9k_beacon_config() 669 struct ath_beacon_config *cur_conf = &sc->cur_chan->beacon; in ath9k_set_beacon()
|
D | recv.c | 262 ath9k_hw_startpcureceive(sc->sc_ah, sc->cur_chan->offchannel); in ath_edma_start_recv() 392 if (sc->cur_chan->rxfilter & FIF_PROBE_REQ) in ath_calcrxfilter() 398 if ((sc->cur_chan->rxfilter & FIF_CONTROL) || in ath_calcrxfilter() 403 (sc->cur_chan->nvifs <= 1) && in ath_calcrxfilter() 404 !(sc->cur_chan->rxfilter & FIF_BCN_PRBRESP_PROMISC)) in ath_calcrxfilter() 410 (sc->cur_chan->rxfilter & FIF_PSPOLL)) in ath_calcrxfilter() 416 if (sc->cur_chan->nvifs > 1 || (sc->cur_chan->rxfilter & FIF_OTHER_BSS)) { in ath_calcrxfilter() 466 ath9k_hw_startpcureceive(ah, sc->cur_chan->offchannel); in ath_startrecv() 550 if (sc->cur_chan == &sc->offchannel.chan) in ath_rx_ps_beacon() 556 !(WARN_ON_ONCE(sc->cur_chan->beacon.beacon_interval == 0))) in ath_rx_ps_beacon() [all …]
|
D | init.c | 207 sc->cur_chan->txpower = 2 * ah->curchan->chan->max_power; in ath9k_reg_notifier() 209 ath9k_hw_set_txpowerlimit(ah, sc->cur_chan->txpower, false); in ath9k_reg_notifier() 210 ath9k_cmn_update_txpow(ah, sc->cur_chan->cur_txpower, in ath9k_reg_notifier() 211 sc->cur_chan->txpower, in ath9k_reg_notifier() 212 &sc->cur_chan->cur_txpower); in ath9k_reg_notifier() 568 sc->cur_chan = &sc->chanctx[0]; in ath9k_init_softc() 570 sc->cur_chan->hw_queue_base = 0; in ath9k_init_softc()
|
D | tx99.c | 85 tx_info->band = sc->cur_chan->chandef.chan->band; in ath9k_build_tx99_skb() 186 if (sc->cur_chan->nvifs > 1) in write_file_tx99()
|
D | link.c | 425 sc->cur_chan->offchannel) in ath_start_ani() 449 struct ath_beacon_config *cur_conf = &sc->cur_chan->beacon; in ath_check_ani()
|
D | xmit.c | 1778 struct ath_beacon_config *cur_conf = &sc->cur_chan->beacon; in ath_cabq_update() 1916 tid_list = &sc->cur_chan->acq[txq->mac80211_qnum]; in ath_txq_schedule() 1929 if (sc->cur_chan->stopped) in ath_txq_schedule() 2111 txpower = sc->cur_chan->cur_txpower; in setup_frame_info() 2329 if (((avp && avp->chanctx != sc->cur_chan) || in ath_tx_start() 2330 sc->cur_chan->stopped) && !txctl->force_channel) { in ath_tx_start() 2403 sc->cur_chan->beacon.beacon_interval * 1000 * in ath_tx_cabq() 2404 sc->cur_chan->beacon.dtim_period / ATH_BCBUF; in ath_tx_cabq()
|
D | wow.c | 192 if (sc->cur_chan->nvifs > 1) { in ath9k_suspend()
|
D | mci.c | 708 struct ath9k_hw_cal_data *caldata = &sc->cur_chan->caldata; in ath9k_mci_set_txpower() 722 ath9k_hw_set_txpowerlimit(ah, sc->cur_chan->txpower, false); in ath9k_mci_set_txpower()
|
D | debug.c | 745 iter_data.nadhocs, iter_data.nocbs, sc->cur_chan->nvifs, in read_file_misc() 953 struct ath9k_nfcal_hist *h = sc->cur_chan->caldata.nfCalHist; in read_file_dump_nfcal()
|
D | ath9k.h | 1004 struct ath_chanctx *cur_chan; member
|
/drivers/staging/comedi/drivers/ |
D | adv_pci1710.c | 353 unsigned int cur_chan, in pci171x_ai_read_sample() argument 369 if (chan != devpriv->act_chanlist[cur_chan]) { in pci171x_ai_read_sample() 372 chan, devpriv->act_chanlist[cur_chan]); in pci171x_ai_read_sample() 538 ret = pci171x_ai_read_sample(dev, s, s->async->cur_chan, &val); in pci1710_handle_every_sample() 582 ret = pci171x_ai_read_sample(dev, s, s->async->cur_chan, &val); in pci1710_handle_fifo()
|
D | pcl812.c | 776 unsigned int chan = s->async->cur_chan; in pcl812_handle_eoc() 790 next_chan = s->async->cur_chan; in pcl812_handle_eoc()
|
D | comedi_test.c | 192 unsigned int chanspec = cmd->chanlist[async->cur_chan]; in waveform_ai_timer()
|
D | rtd520.c | 593 unsigned int range = CR_RANGE(cmd->chanlist[async->cur_chan]); in ai_read_n()
|
D | amplc_pci230.c | 1716 wake = cmd->scan_end_arg - s->async->cur_chan; in pci230_ai_update_fifo_trigger_level()
|
/drivers/net/wireless/mwifiex/ |
D | sta_event.c | 186 tdls_evt->u.switch_result.cur_chan); in mwifiex_parse_tdls_event() 190 switch (tdls_evt->u.switch_result.cur_chan) { in mwifiex_parse_tdls_event() 204 switch (tdls_evt->u.switch_result.cur_chan) { in mwifiex_parse_tdls_event()
|
D | fw.h | 2041 u8 cur_chan; member
|
/drivers/staging/comedi/ |
D | drivers.c | 523 async->cur_chan += comedi_bytes_to_samples(s, num_bytes); in comedi_inc_scan_progress() 524 async->cur_chan %= cmd->chanlist_len; in comedi_inc_scan_progress()
|
D | comedidev.h | 363 unsigned int cur_chan; member
|
D | comedi_buf.c | 238 async->cur_chan = 0; in comedi_buf_reset()
|