Lines Matching refs:common

522 	struct ath_common *common = ath5k_hw_common(ah);  in ath5k_update_bssid_mask_and_opmode()  local
530 iter_data.hw_macaddr = common->macaddr; in ath5k_update_bssid_mask_and_opmode()
599 struct ath_common *common = ath5k_hw_common(ah); in ath5k_rx_skb_alloc() local
606 skb = ath_rxbuf_alloc(common, in ath5k_rx_skb_alloc()
607 common->rx_bufsize, in ath5k_rx_skb_alloc()
612 common->rx_bufsize); in ath5k_rx_skb_alloc()
617 skb->data, common->rx_bufsize, in ath5k_rx_skb_alloc()
660 ret = ath5k_hw_setup_rx_desc(ah, ds, ah->common.rx_bufsize, 0); in ath5k_rxbuf_setup()
935 struct ath_common *common = ath5k_hw_common(ah); in ath5k_rxbuf_free_skb() local
940 dma_unmap_single(ah->dev, bf->skbaddr, common->rx_bufsize, in ath5k_rxbuf_free_skb()
1163 struct ath_common *common = ath5k_hw_common(ah); in ath5k_rx_start() local
1167 common->rx_bufsize = roundup(IEEE80211_MAX_FRAME_LEN, common->cachelsz); in ath5k_rx_start()
1170 common->cachelsz, common->rx_bufsize); in ath5k_rx_start()
1215 struct ath_common *common = ath5k_hw_common(ah); in ath5k_rx_decrypted() local
1232 if (test_bit(keyix, common->keymap)) in ath5k_rx_decrypted()
1376 struct ath_common *common = ath5k_hw_common(ah); in ath5k_receive_frame() local
1432 if (ath_is_mybeacon(common, (struct ieee80211_hdr *)skb->data)) { in ath5k_receive_frame()
1546 struct ath_common *common = ath5k_hw_common(ah); in ath5k_tasklet_rx() local
1586 common->rx_bufsize, in ath5k_tasklet_rx()
2534 struct ath_common *common; in ath5k_init_ah() local
2588 common = ath5k_hw_common(ah); in ath5k_init_ah()
2589 common->ops = &ath5k_common_ops; in ath5k_init_ah()
2590 common->bus_ops = bus_ops; in ath5k_init_ah()
2591 common->ah = ah; in ath5k_init_ah()
2592 common->hw = hw; in ath5k_init_ah()
2593 common->priv = ah; in ath5k_init_ah()
2594 common->clockrate = 40; in ath5k_init_ah()
2600 ath5k_read_cachesize(common, &csz); in ath5k_init_ah()
2601 common->cachelsz = csz << 2; /* convert to bytes */ in ath5k_init_ah()
2603 spin_lock_init(&common->cc_lock); in ath5k_init_ah()
2726 struct ath_common *common = ath5k_hw_common(ah); in ath5k_start() local
2768 for (i = 0; i < common->keymax; i++) in ath5k_start()
2769 ath_hw_keyreset(common, (u16) i); in ath5k_start()
2862 struct ath_common *common = ath5k_hw_common(ah); in ath5k_reset() local
2943 spin_lock_bh(&common->cc_lock); in ath5k_reset()
2944 ath_hw_cycle_counters_update(common); in ath5k_reset()
2945 memset(&common->cc_survey, 0, sizeof(common->cc_survey)); in ath5k_reset()
2946 memset(&common->cc_ani, 0, sizeof(common->cc_ani)); in ath5k_reset()
2947 spin_unlock_bh(&common->cc_lock); in ath5k_reset()