Lines Matching full:common

23 #define REG_READ	(common->ops->read)
24 #define REG_WRITE (common->ops->write)
29 * @common: the ath_common struct for the device.
46 * When you do this you are essentially computing the common bits of all your
80 * significant bit". This is because its the only bit common
82 * common bit is we can simply "&" the bssid_mask now with any BSSID we have
92 * common bit amongst the MAC and BSSIDs is 0, this frame has the 2nd LSB
118 void ath_hw_setbssidmask(struct ath_common *common) in ath_hw_setbssidmask() argument
120 void *ah = common->ah; in ath_hw_setbssidmask()
122 REG_WRITE(ah, get_unaligned_le32(common->bssidmask), AR_BSSMSKL); in ath_hw_setbssidmask()
123 REG_WRITE(ah, get_unaligned_le16(common->bssidmask + 4), AR_BSSMSKU); in ath_hw_setbssidmask()
129 * ath_hw_cycle_counters_update - common function to update cycle counters
131 * @common: the ath_common struct for the device.
134 * It has to be called while holding common->cc_lock!
136 void ath_hw_cycle_counters_update(struct ath_common *common) in ath_hw_cycle_counters_update() argument
139 void *ah = common->ah; in ath_hw_cycle_counters_update()
160 common->cc_ani.cycles += cycles; in ath_hw_cycle_counters_update()
161 common->cc_ani.rx_busy += busy; in ath_hw_cycle_counters_update()
162 common->cc_ani.rx_frame += rx; in ath_hw_cycle_counters_update()
163 common->cc_ani.tx_frame += tx; in ath_hw_cycle_counters_update()
165 common->cc_survey.cycles += cycles; in ath_hw_cycle_counters_update()
166 common->cc_survey.rx_busy += busy; in ath_hw_cycle_counters_update()
167 common->cc_survey.rx_frame += rx; in ath_hw_cycle_counters_update()
168 common->cc_survey.tx_frame += tx; in ath_hw_cycle_counters_update()
172 int32_t ath_hw_get_listen_time(struct ath_common *common) in ath_hw_get_listen_time() argument
174 struct ath_cycle_counters *cc = &common->cc_ani; in ath_hw_get_listen_time()
178 (common->clockrate * 1000); in ath_hw_get_listen_time()