/linux/drivers/net/wireless/ath/ath9k/ |
H A D | channel.c | 29 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 D | main.c | 78 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 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 || 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 D | init.c | 269 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 D | tx99.c | 83 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 D | beacon.c | 180 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 D | link.c | 429 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 D | wow.c | 192 if (sc->cur_chan->nvifs > 1) { in ath9k_suspend()
|
H A D | mci.c | 710 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 D | xmit.c | 1864 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 D | debug.c | 728 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 D | ath9k.h | 1033 struct ath_chanctx *cur_chan; member
|
/linux/drivers/i2c/muxes/ |
H A D | i2c-demux-pinctrl.c | 29 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 D | sbs-manager.c | 44 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 D | adv_pci1710.c | 301 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 D | pcl812.c | 775 unsigned int chan = s->async->cur_chan; in pcl812_handle_eoc() 789 next_chan = s->async->cur_chan; in pcl812_handle_eoc()
|
H A D | comedi_test.c | 213 unsigned int chanspec = cmd->chanlist[async->cur_chan]; in waveform_ai_timer()
|
H A D | rtd520.c | 583 unsigned int range = CR_RANGE(cmd->chanlist[async->cur_chan]); in ai_read_n()
|
H A D | amplc_pci230.c | 1720 wake = cmd->scan_end_arg - s->async->cur_chan; in pci230_ai_update_fifo_trigger_level()
|
/linux/drivers/net/wireless/marvell/mwifiex/ |
H A D | sta_event.c | 285 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 D | fw.h | 2251 u8 cur_chan; member
|
/linux/drivers/comedi/ |
H A D | drivers.c | 555 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 D | comedi_buf.c | 302 async->cur_chan = 0; in comedi_buf_reset()
|
/linux/include/linux/comedi/ |
H A D | comedidev.h | 357 unsigned int cur_chan; member
|
/linux/drivers/scsi/ |
H A D | myrb.h | 247 unsigned char cur_chan; /* Byte 13 */ member
|