Lines Matching refs:common
34 struct sk_buff *ath_rxbuf_alloc(struct ath_common *common, in ath_rxbuf_alloc() argument
54 skb = __dev_alloc_skb(len + common->cachelsz - 1, gfp_mask); in ath_rxbuf_alloc()
56 off = ((unsigned long) skb->data) % common->cachelsz; in ath_rxbuf_alloc()
58 skb_reserve(skb, common->cachelsz - off); in ath_rxbuf_alloc()
68 bool ath_is_mybeacon(struct ath_common *common, struct ieee80211_hdr *hdr) in ath_is_mybeacon() argument
71 !is_zero_ether_addr(common->curbssid) && in ath_is_mybeacon()
72 ether_addr_equal_64bits(hdr->addr3, common->curbssid); in ath_is_mybeacon()
76 void ath_printk(const char *level, const struct ath_common* common, in ath_printk() argument
87 if (common && common->hw && common->hw->wiphy) { in ath_printk()
89 level, wiphy_name(common->hw->wiphy), &vaf); in ath_printk()
90 trace_ath_log(common->hw->wiphy, &vaf); in ath_printk()