Lines Matching full:common
292 struct ath_common *common = ath9k_hw_common(ah); in ath9k_regread() local
293 struct ath9k_htc_priv *priv = (struct ath9k_htc_priv *) common->priv; in ath9k_regread()
302 ath_dbg(common, WMI, "REGISTER READ FAILED: (0x%04x, %d)\n", in ath9k_regread()
314 struct ath_common *common = ath9k_hw_common(ah); in ath9k_multi_regread() local
315 struct ath9k_htc_priv *priv = (struct ath9k_htc_priv *) common->priv; in ath9k_multi_regread()
329 ath_dbg(common, WMI, in ath9k_multi_regread()
341 struct ath_common *common = ath9k_hw_common(ah); in ath9k_regwrite_single() local
342 struct ath9k_htc_priv *priv = (struct ath9k_htc_priv *) common->priv; in ath9k_regwrite_single()
354 ath_dbg(common, WMI, "REGISTER WRITE FAILED:(0x%04x, %d)\n", in ath9k_regwrite_single()
362 struct ath_common *common = ath9k_hw_common(ah); in ath9k_regwrite_buffer() local
363 struct ath9k_htc_priv *priv = (struct ath9k_htc_priv *) common->priv; in ath9k_regwrite_buffer()
385 ath_dbg(common, WMI, in ath9k_regwrite_buffer()
398 struct ath_common *common = ath9k_hw_common(ah); in ath9k_regwrite() local
399 struct ath9k_htc_priv *priv = (struct ath9k_htc_priv *) common->priv; in ath9k_regwrite()
410 struct ath_common *common = ath9k_hw_common(ah); in ath9k_enable_regwrite_buffer() local
411 struct ath9k_htc_priv *priv = (struct ath9k_htc_priv *) common->priv; in ath9k_enable_regwrite_buffer()
419 struct ath_common *common = ath9k_hw_common(ah); in ath9k_regwrite_flush() local
420 struct ath9k_htc_priv *priv = (struct ath9k_htc_priv *) common->priv; in ath9k_regwrite_flush()
435 ath_dbg(common, WMI, in ath9k_regwrite_flush()
456 static void ath_usb_read_cachesize(struct ath_common *common, int *csz) in ath_usb_read_cachesize() argument
461 static bool ath_usb_eeprom_read(struct ath_common *common, u32 off, u16 *data) in ath_usb_eeprom_read() argument
463 struct ath_hw *ah = (struct ath_hw *) common->ah; in ath_usb_eeprom_read()
489 struct ath_common *common = ath9k_hw_common(priv->ah); in setup_ht_cap() local
513 ath_dbg(common, CONFIG, "TX streams %d, RX streams: %d\n", in setup_ht_cap()
530 struct ath_common *common = ath9k_hw_common(priv->ah); in ath9k_init_queues() local
538 ath_err(common, "Unable to setup BEACON xmit queue\n"); in ath9k_init_queues()
544 ath_err(common, "Unable to setup CAB xmit queue\n"); in ath9k_init_queues()
549 ath_err(common, "Unable to setup xmit queue for BE traffic\n"); in ath9k_init_queues()
554 ath_err(common, "Unable to setup xmit queue for BK traffic\n"); in ath9k_init_queues()
558 ath_err(common, "Unable to setup xmit queue for VI traffic\n"); in ath9k_init_queues()
562 ath_err(common, "Unable to setup xmit queue for VO traffic\n"); in ath9k_init_queues()
599 struct ath_common *common = ath9k_hw_common(priv->ah); in ath9k_init_misc() local
601 memcpy(common->bssidmask, ath_bcast_mac, ETH_ALEN); in ath9k_init_misc()
634 struct ath_common *common; in ath9k_init_priv() local
654 common = ath9k_hw_common(ah); in ath9k_init_priv()
655 common->ops = &ah->reg_ops; in ath9k_init_priv()
656 common->bus_ops = &ath9k_usb_bus_ops; in ath9k_init_priv()
657 common->ah = ah; in ath9k_init_priv()
658 common->hw = priv->hw; in ath9k_init_priv()
659 common->priv = priv; in ath9k_init_priv()
660 common->debug_mask = ath9k_debug; in ath9k_init_priv()
680 ath_read_cachesize(common, &csz); in ath9k_init_priv()
681 common->cachelsz = csz << 2; /* convert to bytes */ in ath9k_init_priv()
685 ath_err(common, in ath9k_init_priv()
723 struct ath_common *common = ath9k_hw_common(priv->ah); in ath9k_set_hw_capab() local
771 SET_IEEE80211_PERM_ADDR(hw, common->macaddr); in ath9k_set_hw_capab()
815 struct ath_common *common; in ath9k_init_device() local
827 common = ath9k_hw_common(ah); in ath9k_init_device()
835 error = ath_regd_init(&common->regulatory, priv->hw->wiphy, in ath9k_init_device()
840 reg = &common->regulatory; in ath9k_init_device()
873 ath_err(common, "Unable to create debugfs files\n"); in ath9k_init_device()
877 ath_dbg(common, CONFIG, in ath9k_init_device()