• Home
  • Raw
  • Download

Lines Matching refs:common

64 static void ath9k_htc_op_ps_wakeup(struct ath_common *common)  in ath9k_htc_op_ps_wakeup()  argument
66 ath9k_htc_ps_wakeup((struct ath9k_htc_priv *) common->priv); in ath9k_htc_op_ps_wakeup()
69 static void ath9k_htc_op_ps_restore(struct ath_common *common) in ath9k_htc_op_ps_restore() argument
71 ath9k_htc_ps_restore((struct ath9k_htc_priv *) common->priv); in ath9k_htc_op_ps_restore()
237 struct ath_common *common = ath9k_hw_common(ah); in ath9k_regread() local
238 struct ath9k_htc_priv *priv = (struct ath9k_htc_priv *) common->priv; in ath9k_regread()
247 ath_dbg(common, WMI, "REGISTER READ FAILED: (0x%04x, %d)\n", in ath9k_regread()
259 struct ath_common *common = ath9k_hw_common(ah); in ath9k_multi_regread() local
260 struct ath9k_htc_priv *priv = (struct ath9k_htc_priv *) common->priv; in ath9k_multi_regread()
274 ath_dbg(common, WMI, in ath9k_multi_regread()
283 static void ath9k_regwrite_multi(struct ath_common *common) in ath9k_regwrite_multi() argument
285 struct ath9k_htc_priv *priv = (struct ath9k_htc_priv *) common->priv; in ath9k_regwrite_multi()
295 ath_dbg(common, WMI, in ath9k_regwrite_multi()
305 struct ath_common *common = ath9k_hw_common(ah); in ath9k_regwrite_single() local
306 struct ath9k_htc_priv *priv = (struct ath9k_htc_priv *) common->priv; in ath9k_regwrite_single()
318 ath_dbg(common, WMI, "REGISTER WRITE FAILED:(0x%04x, %d)\n", in ath9k_regwrite_single()
326 struct ath_common *common = ath9k_hw_common(ah); in ath9k_regwrite_buffer() local
327 struct ath9k_htc_priv *priv = (struct ath9k_htc_priv *) common->priv; in ath9k_regwrite_buffer()
341 ath9k_regwrite_multi(common); in ath9k_regwrite_buffer()
349 struct ath_common *common = ath9k_hw_common(ah); in ath9k_regwrite() local
350 struct ath9k_htc_priv *priv = (struct ath9k_htc_priv *) common->priv; in ath9k_regwrite()
361 struct ath_common *common = ath9k_hw_common(ah); in ath9k_enable_regwrite_buffer() local
362 struct ath9k_htc_priv *priv = (struct ath9k_htc_priv *) common->priv; in ath9k_enable_regwrite_buffer()
370 struct ath_common *common = ath9k_hw_common(ah); in ath9k_regwrite_flush() local
371 struct ath9k_htc_priv *priv = (struct ath9k_htc_priv *) common->priv; in ath9k_regwrite_flush()
378 ath9k_regwrite_multi(common); in ath9k_regwrite_flush()
387 struct ath_common *common = ath9k_hw_common(ah); in ath9k_reg_rmw_buffer() local
388 struct ath9k_htc_priv *priv = (struct ath9k_htc_priv *) common->priv; in ath9k_reg_rmw_buffer()
412 ath_dbg(common, WMI, in ath9k_reg_rmw_buffer()
425 struct ath_common *common = ath9k_hw_common(ah); in ath9k_reg_rmw_flush() local
426 struct ath9k_htc_priv *priv = (struct ath9k_htc_priv *) common->priv; in ath9k_reg_rmw_flush()
444 ath_dbg(common, WMI, in ath9k_reg_rmw_flush()
457 struct ath_common *common = ath9k_hw_common(ah); in ath9k_enable_rmw_buffer() local
458 struct ath9k_htc_priv *priv = (struct ath9k_htc_priv *) common->priv; in ath9k_enable_rmw_buffer()
470 struct ath_common *common = ath9k_hw_common(ah); in ath9k_reg_rmw_single() local
471 struct ath9k_htc_priv *priv = (struct ath9k_htc_priv *) common->priv; in ath9k_reg_rmw_single()
485 ath_dbg(common, WMI, "REGISTER RMW FAILED:(0x%04x, %d)\n", in ath9k_reg_rmw_single()
494 struct ath_common *common = ath9k_hw_common(ah); in ath9k_reg_rmw() local
495 struct ath9k_htc_priv *priv = (struct ath9k_htc_priv *) common->priv; in ath9k_reg_rmw()
516 static void ath_usb_read_cachesize(struct ath_common *common, int *csz) in ath_usb_read_cachesize() argument
521 static bool ath_usb_eeprom_read(struct ath_common *common, u32 off, u16 *data) in ath_usb_eeprom_read() argument
523 struct ath_hw *ah = (struct ath_hw *) common->ah; in ath_usb_eeprom_read()
548 struct ath_common *common = ath9k_hw_common(priv->ah); in ath9k_init_queues() local
556 ath_err(common, "Unable to setup BEACON xmit queue\n"); in ath9k_init_queues()
562 ath_err(common, "Unable to setup CAB xmit queue\n"); in ath9k_init_queues()
567 ath_err(common, "Unable to setup xmit queue for BE traffic\n"); in ath9k_init_queues()
572 ath_err(common, "Unable to setup xmit queue for BK traffic\n"); in ath9k_init_queues()
576 ath_err(common, "Unable to setup xmit queue for VI traffic\n"); in ath9k_init_queues()
580 ath_err(common, "Unable to setup xmit queue for VO traffic\n"); in ath9k_init_queues()
592 struct ath_common *common = ath9k_hw_common(priv->ah); in ath9k_init_misc() local
594 memcpy(common->bssidmask, ath_bcast_mac, ETH_ALEN); in ath9k_init_misc()
596 common->last_rssi = ATH_RSSI_DUMMY_MARKER; in ath9k_init_misc()
613 struct ath_common *common; in ath9k_init_priv() local
635 common = ath9k_hw_common(ah); in ath9k_init_priv()
636 common->ops = &ah->reg_ops; in ath9k_init_priv()
637 common->ps_ops = &ath9k_htc_ps_ops; in ath9k_init_priv()
638 common->bus_ops = &ath9k_usb_bus_ops; in ath9k_init_priv()
639 common->ah = ah; in ath9k_init_priv()
640 common->hw = priv->hw; in ath9k_init_priv()
641 common->priv = priv; in ath9k_init_priv()
642 common->debug_mask = ath9k_debug; in ath9k_init_priv()
643 common->btcoex_enabled = ath9k_htc_btcoex_enable == 1; in ath9k_init_priv()
644 set_bit(ATH_OP_INVALID, &common->op_flags); in ath9k_init_priv()
664 ath_read_cachesize(common, &csz); in ath9k_init_priv()
665 common->cachelsz = csz << 2; /* convert to bytes */ in ath9k_init_priv()
669 ath_err(common, in ath9k_init_priv()
683 ath9k_cmn_init_channels_rates(common); in ath9k_init_priv()
721 struct ath_common *common = ath9k_hw_common(priv->ah); in ath9k_set_hw_capab() local
769 &common->sbands[IEEE80211_BAND_2GHZ]; in ath9k_set_hw_capab()
772 &common->sbands[IEEE80211_BAND_5GHZ]; in ath9k_set_hw_capab()
782 SET_IEEE80211_PERM_ADDR(hw, common->macaddr); in ath9k_set_hw_capab()
832 struct ath_common *common; in ath9k_init_device() local
844 common = ath9k_hw_common(ah); in ath9k_init_device()
852 error = ath_regd_init(&common->regulatory, priv->hw->wiphy, in ath9k_init_device()
857 reg = &common->regulatory; in ath9k_init_device()
891 ath_err(common, "Unable to create debugfs files\n"); in ath9k_init_device()
895 ath_dbg(common, CONFIG, in ath9k_init_device()