/openbmc/linux/drivers/net/wireless/ath/ath9k/ |
H A D | channel.c | 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() 343 cur = sc->cur_chan; in ath_chanctx_adjust_tbtt_delta() 584 cur_conf = &sc->cur_chan->beacon; in ath_chanctx_event() 684 !sc->cur_chan->tsf_val) in ath_chanctx_event() 753 if (sc->cur_chan->assigned) { in ath_chanctx_event() 1259 sc->cur_chan->stopped = true; in ath_chanctx_set_next() 1284 old_ctx = sc->cur_chan; in ath_chanctx_set_next() 1285 sc->cur_chan = sc->next_chan; in ath_chanctx_set_next() [all …]
|
H A D | main.c | 243 sc->cur_chan->txpower, in ath_complete_reset() 249 if (sc->cur_chan->tsf_val) { in ath_complete_reset() 299 if (!sc->cur_chan->offchannel) { in ath_reset_internal() 301 caldata = &sc->cur_chan->caldata; in ath_reset_internal() 339 sc->cur_chan->offchannel) in ath_reset_internal() 1190 if (ctx != sc->cur_chan) in ath9k_calculate_summary_state() 1340 if (sc->cur_chan->nvifs >= 1) { in ath9k_add_interface() 1348 sc->cur_chan->nvifs++; in ath9k_add_interface() 1358 avp->chanctx = sc->cur_chan; in ath9k_add_interface() 1427 sc->cur_chan->nvifs--; in ath9k_remove_interface() [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() 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() 560 !(WARN_ON_ONCE(sc->cur_chan->beacon.beacon_interval == 0))) 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 | 1859 struct ath_beacon_config *cur_conf = &sc->cur_chan->beacon; in ath_cabq_update() 1997 if (sc->cur_chan->stopped) in ath_txq_schedule() 2170 txpower = sc->cur_chan->cur_txpower; in setup_frame_info() 2414 sc->cur_chan->beacon.beacon_interval * 1000 * in ath_tx_cabq() 2415 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 | 1032 struct ath_chanctx *cur_chan; member
|
/openbmc/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()
|
/openbmc/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()
|
/openbmc/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()
|
/openbmc/linux/drivers/net/wireless/marvell/mwifiex/ |
H A D | sta_event.c | 278 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()
|
H A D | fw.h | 2211 u8 cur_chan; member
|
/openbmc/linux/drivers/comedi/ |
H A D | drivers.c | 554 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()
|
H A D | comedi_buf.c | 302 async->cur_chan = 0; in comedi_buf_reset()
|
/openbmc/linux/include/linux/comedi/ |
H A D | comedidev.h | 357 unsigned int cur_chan; member
|
/openbmc/linux/drivers/scsi/ |
H A D | myrb.h | 247 unsigned char cur_chan; /* Byte 13 */ member
|