Home
last modified time | relevance | path

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

12

/linux/drivers/net/wireless/ath/ath9k/
H A 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 …]
H A Dmain.c78 acq = &sc->cur_chan->acq[txq->mac80211_qnum]; in ath9k_has_pending_frames()
240 ath9k_calculate_summary_state(sc, sc->cur_chan); in ath_complete_reset()
242 ath9k_cmn_update_txpow(ah, sc->cur_chan->cur_txpower, in ath_complete_reset()
243 sc->cur_chan->txpower, in ath_complete_reset()
244 &sc->cur_chan->cur_txpower); in ath_complete_reset()
247 if (!sc->cur_chan->offchannel && start) { in ath_complete_reset()
249 if (sc->cur_chan->tsf_val) { in ath_complete_reset()
252 offset = ath9k_hw_get_tsf_offset(&sc->cur_chan->tsf_ts, in ath_complete_reset()
254 ath9k_hw_settsf64(ah, sc->cur_chan->tsf_val + offset); in ath_complete_reset()
299 if (!sc->cur_chan->offchannel) { in ath_reset_internal()
[all …]
H A 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 …]
H A Dinit.c269 sc->cur_chan->txpower = 2 * ah->curchan->chan->max_power; in ath9k_reg_notifier()
271 ath9k_hw_set_txpowerlimit(ah, sc->cur_chan->txpower, false); in ath9k_reg_notifier()
272 ath9k_cmn_update_txpow(ah, sc->cur_chan->cur_txpower, in ath9k_reg_notifier()
273 sc->cur_chan->txpower, in ath9k_reg_notifier()
274 &sc->cur_chan->cur_txpower); in ath9k_reg_notifier()
732 sc->cur_chan = &sc->chanctx[0]; in ath9k_init_softc()
734 sc->cur_chan->hw_queue_base = 0; in ath9k_init_softc()
H A Dtx99.c83 tx_info->band = sc->cur_chan->chandef.chan->band; in ath9k_build_tx99_skb()
182 if (sc->cur_chan->nvifs > 1) in write_file_tx99()
H A 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()
701 struct ath_beacon_config *cur_conf = &sc->cur_chan->beacon; in ath9k_set_beacon()
H A 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()
H A Dwow.c192 if (sc->cur_chan->nvifs > 1) { in ath9k_suspend()
H A Dmci.c710 struct ath9k_hw_cal_data *caldata = &sc->cur_chan->caldata; in ath9k_mci_set_txpower()
724 ath9k_hw_set_txpowerlimit(ah, sc->cur_chan->txpower, false); in ath9k_mci_set_txpower()
H A Dxmit.c1864 struct ath_beacon_config *cur_conf = &sc->cur_chan->beacon; in ath_cabq_update()
2002 if (sc->cur_chan->stopped) in ath_txq_schedule()
2175 txpower = sc->cur_chan->cur_txpower; in setup_frame_info()
2419 sc->cur_chan->beacon.beacon_interval * 1000 * in ath_tx_cabq()
2420 sc->cur_chan->beacon.dtim_period / ATH_BCBUF; in ath_tx_cabq()
H A Ddebug.c728 iter_data.nadhocs, iter_data.nocbs, sc->cur_chan->nvifs, in read_file_misc()
988 struct ath9k_nfcal_hist *h = sc->cur_chan->caldata.nfCalHist; in read_file_dump_nfcal()
H A Dath9k.h1033 struct ath_chanctx *cur_chan; member
/linux/drivers/i2c/muxes/
H A 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()
/linux/drivers/power/supply/
H A 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()
/linux/drivers/comedi/drivers/
H A Dadv_pci1710.c301 unsigned int cur_chan, in pci1710_ai_read_sample() argument
317 if (chan != devpriv->act_chanlist[cur_chan]) { in pci1710_ai_read_sample()
320 chan, devpriv->act_chanlist[cur_chan]); in pci1710_ai_read_sample()
416 ret = pci1710_ai_read_sample(dev, s, s->async->cur_chan, &val); in pci1710_handle_every_sample()
460 ret = pci1710_ai_read_sample(dev, s, s->async->cur_chan, &val); in pci1710_handle_fifo()
H A Dpcl812.c775 unsigned int chan = s->async->cur_chan; in pcl812_handle_eoc()
789 next_chan = s->async->cur_chan; in pcl812_handle_eoc()
H A Dcomedi_test.c213 unsigned int chanspec = cmd->chanlist[async->cur_chan]; in waveform_ai_timer()
H A Drtd520.c583 unsigned int range = CR_RANGE(cmd->chanlist[async->cur_chan]); in ai_read_n()
H A Damplc_pci230.c1720 wake = cmd->scan_end_arg - s->async->cur_chan; in pci230_ai_update_fifo_trigger_level()
/linux/drivers/net/wireless/marvell/mwifiex/
H A Dsta_event.c285 tdls_evt->u.switch_result.cur_chan); in mwifiex_parse_tdls_event()
289 switch (tdls_evt->u.switch_result.cur_chan) { in mwifiex_parse_tdls_event()
303 switch (tdls_evt->u.switch_result.cur_chan) { in mwifiex_parse_tdls_event()
H A Dfw.h2251 u8 cur_chan; member
/linux/drivers/comedi/
H A 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()
H A Dcomedi_buf.c302 async->cur_chan = 0; in comedi_buf_reset()
/linux/include/linux/comedi/
H A Dcomedidev.h357 unsigned int cur_chan; member
/linux/drivers/scsi/
H A Dmyrb.h247 unsigned char cur_chan; /* Byte 13 */ member

12