Home
last modified time | relevance | path

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

12

/drivers/net/wireless/ath/ath9k/
Dchannel.c29 struct cfg80211_chan_def *chandef = &sc->cur_chan->chandef; in ath_set_channel()
57 if (!sc->cur_chan->offchannel && sc->cur_survey != &sc->survey[pos]) { in ath_set_channel()
134 bool cur_chan; in ath_chanctx_set_channel() local
139 cur_chan = sc->cur_chan == ctx; in ath_chanctx_set_channel()
142 if (!cur_chan) { in ath_chanctx_set_channel()
341 beacon_int = TU_TO_USEC(sc->cur_chan->beacon.beacon_interval); in ath_chanctx_adjust_tbtt_delta()
343 cur = sc->cur_chan; in ath_chanctx_adjust_tbtt_delta()
511 sc->cur_chan->chandef.center_freq1, in ath_chanctx_event()
529 if (avp->chanctx != sc->cur_chan) { in ath_chanctx_event()
543 ctx = ath_chanctx_get_next(sc, sc->cur_chan); in ath_chanctx_event()
[all …]
Dmain.c78 acq = &sc->cur_chan->acq[txq->mac80211_qnum]; in ath9k_has_pending_frames()
241 ath9k_calculate_summary_state(sc, sc->cur_chan); in ath_complete_reset()
243 ath9k_cmn_update_txpow(ah, sc->cur_chan->cur_txpower, in ath_complete_reset()
244 sc->cur_chan->txpower, in ath_complete_reset()
245 &sc->cur_chan->cur_txpower); in ath_complete_reset()
248 if (!sc->cur_chan->offchannel && start) { in ath_complete_reset()
250 if (sc->cur_chan->tsf_val) { in ath_complete_reset()
253 offset = ath9k_hw_get_tsf_offset(&sc->cur_chan->tsf_ts, in ath_complete_reset()
255 ath9k_hw_settsf64(ah, sc->cur_chan->tsf_val + offset); in ath_complete_reset()
300 if (!sc->cur_chan->offchannel) { in ath_reset_internal()
[all …]
Drecv.c262 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 || in ath_calcrxfilter()
417 (sc->cur_chan->rxfilter & (FIF_OTHER_BSS | FIF_MCAST_ACTION))) { in ath_calcrxfilter()
470 ath9k_hw_startpcureceive(ah, sc->cur_chan->offchannel); in ath_startrecv()
554 if (sc->cur_chan == &sc->offchannel.chan) in ath_rx_ps_beacon()
[all …]
Dinit.c268 sc->cur_chan->txpower = 2 * ah->curchan->chan->max_power; in ath9k_reg_notifier()
270 ath9k_hw_set_txpowerlimit(ah, sc->cur_chan->txpower, false); in ath9k_reg_notifier()
271 ath9k_cmn_update_txpow(ah, sc->cur_chan->cur_txpower, in ath9k_reg_notifier()
272 sc->cur_chan->txpower, in ath9k_reg_notifier()
273 &sc->cur_chan->cur_txpower); in ath9k_reg_notifier()
680 sc->cur_chan = &sc->chanctx[0]; in ath9k_init_softc()
682 sc->cur_chan->hw_queue_base = 0; in ath9k_init_softc()
Dbeacon.c180 if (sc->cur_chan->nvifs > 1) { in ath9k_beacon_generate()
295 if (sc->cur_chan == avp->chanctx) { in ath9k_beacon_ensure_primary_slot()
309 struct ath_beacon_config *cur_conf = &sc->cur_chan->beacon; in ath9k_beacon_choose_slot()
700 struct ath_beacon_config *cur_conf = &sc->cur_chan->beacon; in ath9k_set_beacon()
Dtx99.c83 tx_info->band = sc->cur_chan->chandef.chan->band; in ath9k_build_tx99_skb()
183 if (sc->cur_chan->nvifs > 1) in write_file_tx99()
Dlink.c429 sc->cur_chan->offchannel) in ath_start_ani()
453 struct ath_beacon_config *cur_conf = &sc->cur_chan->beacon; in ath_check_ani()
Dwow.c192 if (sc->cur_chan->nvifs > 1) { in ath9k_suspend()
Dmci.c708 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()
Dxmit.c1800 struct ath_beacon_config *cur_conf = &sc->cur_chan->beacon; in ath_cabq_update()
1938 if (sc->cur_chan->stopped) in ath_txq_schedule()
2111 txpower = sc->cur_chan->cur_txpower; in setup_frame_info()
2355 sc->cur_chan->beacon.beacon_interval * 1000 * in ath_tx_cabq()
2356 sc->cur_chan->beacon.dtim_period / ATH_BCBUF; in ath_tx_cabq()
Ddebug.c743 iter_data.nadhocs, iter_data.nocbs, sc->cur_chan->nvifs, in read_file_misc()
969 struct ath9k_nfcal_hist *h = sc->cur_chan->caldata.nfCalHist; in read_file_dump_nfcal()
Dath9k.h1031 struct ath_chanctx *cur_chan; member
/drivers/i2c/muxes/
Di2c-demux-pinctrl.c29 int cur_chan; member
41 struct i2c_adapter *parent = priv->chan[priv->cur_chan].parent_adap; in i2c_demux_master_xfer()
49 struct i2c_adapter *parent = priv->chan[priv->cur_chan].parent_adap; in i2c_demux_functionality()
95 priv->cur_chan = new_chan; in i2c_demux_activate_master()
126 priv->cur_chan = -EINVAL; in i2c_demux_activate_master()
132 int ret, cur = priv->cur_chan; in i2c_demux_deactivate_master()
143 priv->cur_chan = -EINVAL; in i2c_demux_deactivate_master()
152 if (new_chan == priv->cur_chan) in i2c_demux_change_master()
184 return sprintf(buf, "%d\n", priv->cur_chan); in current_master_show()
/drivers/power/supply/
Dsbs-manager.c44 u8 cur_chan; /* currently selected channel */ member
179 if (data->cur_chan == chan) in sbsm_select()
188 data->cur_chan = chan; in sbsm_select()
/drivers/comedi/drivers/
Dadv_pci1710.c302 unsigned int cur_chan, in pci1710_ai_read_sample() argument
318 if (chan != devpriv->act_chanlist[cur_chan]) { in pci1710_ai_read_sample()
321 chan, devpriv->act_chanlist[cur_chan]); in pci1710_ai_read_sample()
417 ret = pci1710_ai_read_sample(dev, s, s->async->cur_chan, &val); in pci1710_handle_every_sample()
461 ret = pci1710_ai_read_sample(dev, s, s->async->cur_chan, &val); in pci1710_handle_fifo()
Dpcl812.c777 unsigned int chan = s->async->cur_chan; in pcl812_handle_eoc()
791 next_chan = s->async->cur_chan; in pcl812_handle_eoc()
Dcomedi_test.c211 unsigned int chanspec = cmd->chanlist[async->cur_chan]; in waveform_ai_timer()
Drtd520.c584 unsigned int range = CR_RANGE(cmd->chanlist[async->cur_chan]); in ai_read_n()
Damplc_pci230.c1722 wake = cmd->scan_end_arg - s->async->cur_chan; in pci230_ai_update_fifo_trigger_level()
/drivers/net/wireless/marvell/mwifiex/
Dsta_event.c290 tdls_evt->u.switch_result.cur_chan); in mwifiex_parse_tdls_event()
294 switch (tdls_evt->u.switch_result.cur_chan) { in mwifiex_parse_tdls_event()
308 switch (tdls_evt->u.switch_result.cur_chan) { in mwifiex_parse_tdls_event()
Dfw.h2220 u8 cur_chan; member
/drivers/comedi/
Ddrivers.c555 async->cur_chan += comedi_bytes_to_samples(s, num_bytes); in comedi_inc_scan_progress()
556 async->cur_chan %= cmd->chanlist_len; in comedi_inc_scan_progress()
Dcomedidev.h358 unsigned int cur_chan; member
Dcomedi_buf.c303 async->cur_chan = 0; in comedi_buf_reset()
/drivers/scsi/
Dmyrb.h247 unsigned char cur_chan; /* Byte 13 */ member

12