Lines Matching defs:common
522 struct ath_common *common = ath5k_hw_common(ah);
530 iter_data.hw_macaddr = common->macaddr;
599 struct ath_common *common = ath5k_hw_common(ah);
606 skb = ath_rxbuf_alloc(common,
607 common->rx_bufsize,
612 common->rx_bufsize);
617 skb->data, common->rx_bufsize,
660 ret = ath5k_hw_setup_rx_desc(ah, ds, ah->common.rx_bufsize, 0);
934 struct ath_common *common = ath5k_hw_common(ah);
939 dma_unmap_single(ah->dev, bf->skbaddr, common->rx_bufsize,
1162 struct ath_common *common = ath5k_hw_common(ah);
1166 common->rx_bufsize = roundup(IEEE80211_MAX_FRAME_LEN, common->cachelsz);
1169 common->cachelsz, common->rx_bufsize);
1214 struct ath_common *common = ath5k_hw_common(ah);
1231 if (test_bit(keyix, common->keymap))
1375 struct ath_common *common = ath5k_hw_common(ah);
1431 if (ath_is_mybeacon(common, (struct ieee80211_hdr *)skb->data)) {
1545 struct ath_common *common = ath5k_hw_common(ah);
1585 common->rx_bufsize,
2532 struct ath_common *common;
2588 common = ath5k_hw_common(ah);
2589 common->ops = &ath5k_common_ops;
2590 common->bus_ops = bus_ops;
2591 common->ah = ah;
2592 common->hw = hw;
2593 common->priv = ah;
2594 common->clockrate = 40;
2600 ath5k_read_cachesize(common, &csz);
2601 common->cachelsz = csz << 2; /* convert to bytes */
2603 spin_lock_init(&common->cc_lock);
2726 struct ath_common *common = ath5k_hw_common(ah);
2768 for (i = 0; i < common->keymax; i++)
2769 ath_hw_keyreset(common, (u16) i);
2860 struct ath_common *common = ath5k_hw_common(ah);
2941 spin_lock_bh(&common->cc_lock);
2942 ath_hw_cycle_counters_update(common);
2943 memset(&common->cc_survey, 0, sizeof(common->cc_survey));
2944 memset(&common->cc_ani, 0, sizeof(common->cc_ani));
2945 spin_unlock_bh(&common->cc_lock);