Home
last modified time | relevance | path

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

12

/linux-6.1.9/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.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()
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()
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()
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.c1841 struct ath_beacon_config *cur_conf = &sc->cur_chan->beacon; in ath_cabq_update()
1979 if (sc->cur_chan->stopped) in ath_txq_schedule()
2152 txpower = sc->cur_chan->cur_txpower; in setup_frame_info()
2396 sc->cur_chan->beacon.beacon_interval * 1000 * in ath_tx_cabq()
2397 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()
1018 struct ath9k_nfcal_hist *h = sc->cur_chan->caldata.nfCalHist; in read_file_dump_nfcal()
Dath9k.h1031 struct ath_chanctx *cur_chan; member
/linux-6.1.9/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()
/linux-6.1.9/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()
/linux-6.1.9/drivers/comedi/drivers/
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()
Dpcl812.c775 unsigned int chan = s->async->cur_chan; in pcl812_handle_eoc()
789 next_chan = s->async->cur_chan; in pcl812_handle_eoc()
Dcomedi_test.c209 unsigned int chanspec = cmd->chanlist[async->cur_chan]; in waveform_ai_timer()
Drtd520.c583 unsigned int range = CR_RANGE(cmd->chanlist[async->cur_chan]); in ai_read_n()
Damplc_pci230.c1720 wake = cmd->scan_end_arg - s->async->cur_chan; in pci230_ai_update_fifo_trigger_level()
/linux-6.1.9/drivers/net/wireless/marvell/mwifiex/
Dsta_event.c278 tdls_evt->u.switch_result.cur_chan); in mwifiex_parse_tdls_event()
282 switch (tdls_evt->u.switch_result.cur_chan) { in mwifiex_parse_tdls_event()
296 switch (tdls_evt->u.switch_result.cur_chan) { in mwifiex_parse_tdls_event()
Dfw.h2209 u8 cur_chan; member
/linux-6.1.9/drivers/comedi/
Ddrivers.c554 async->cur_chan += comedi_bytes_to_samples(s, num_bytes); in comedi_inc_scan_progress()
555 async->cur_chan %= cmd->chanlist_len; in comedi_inc_scan_progress()
Dcomedi_buf.c302 async->cur_chan = 0; in comedi_buf_reset()
/linux-6.1.9/include/linux/comedi/
Dcomedidev.h357 unsigned int cur_chan; member
/linux-6.1.9/drivers/scsi/
Dmyrb.h247 unsigned char cur_chan; /* Byte 13 */ member

12