Searched refs:cc_freq_hz (Results 1 – 7 of 7) sorted by relevance
/openbmc/linux/drivers/net/wireless/ath/ath12k/ |
H A D | wmi.c | 6083 u32 cc_freq_hz = ab->cc_freq_hz; in ath12k_chan_info_event() local 6133 cc_freq_hz = (le32_to_cpu(ch_info_ev.mac_clk_mhz) * 1000); in ath12k_chan_info_event() 6141 survey->time = div_u64(le32_to_cpu(ch_info_ev.cycle_count), cc_freq_hz); in ath12k_chan_info_event() 6143 cc_freq_hz); in ath12k_chan_info_event() 6156 u32 cc_freq_hz = ab->cc_freq_hz; in ath12k_pdev_bss_chan_info_event() local 6207 survey->time = div_u64(total, cc_freq_hz); in ath12k_pdev_bss_chan_info_event() 6208 survey->time_busy = div_u64(busy, cc_freq_hz); in ath12k_pdev_bss_chan_info_event() 6209 survey->time_rx = div_u64(rx_bss, cc_freq_hz); in ath12k_pdev_bss_chan_info_event() 6210 survey->time_tx = div_u64(tx, cc_freq_hz); in ath12k_pdev_bss_chan_info_event()
|
H A D | core.h | 668 u32 cc_freq_hz; member
|
H A D | mac.c | 7411 ab->cc_freq_hz = 320000; in ath12k_mac_register()
|
/openbmc/linux/drivers/net/wireless/ath/ath11k/ |
H A D | core.h | 854 u32 cc_freq_hz; member
|
H A D | wmi.c | 7886 u32 cc_freq_hz = ab->cc_freq_hz; in ath11k_chan_info_event() local 7936 cc_freq_hz = (ch_info_ev.mac_clk_mhz * 1000); in ath11k_chan_info_event() 7944 survey->time = div_u64(ch_info_ev.cycle_count, cc_freq_hz); in ath11k_chan_info_event() 7945 survey->time_busy = div_u64(ch_info_ev.rx_clear_count, cc_freq_hz); in ath11k_chan_info_event() 7958 u32 cc_freq_hz = ab->cc_freq_hz; in ath11k_pdev_bss_chan_info_event() local 8009 survey->time = div_u64(total, cc_freq_hz); in ath11k_pdev_bss_chan_info_event() 8010 survey->time_busy = div_u64(busy, cc_freq_hz); in ath11k_pdev_bss_chan_info_event() 8011 survey->time_rx = div_u64(rx_bss, cc_freq_hz); in ath11k_pdev_bss_chan_info_event() 8012 survey->time_tx = div_u64(tx, cc_freq_hz); in ath11k_pdev_bss_chan_info_event()
|
H A D | mac.c | 9678 ab->cc_freq_hz = IPQ8074_CC_FREQ_HERTZ; in ath11k_mac_register()
|
/openbmc/linux/drivers/net/wireless/ath/ath10k/ |
H A D | wmi.c | 5807 u32 cc_freq_hz = ar->hw_params.channel_counters_freq_hz; in ath10k_wmi_event_pdev_bss_chan_info() local 5837 survey->time = div_u64(total, cc_freq_hz); in ath10k_wmi_event_pdev_bss_chan_info() 5838 survey->time_busy = div_u64(busy, cc_freq_hz); in ath10k_wmi_event_pdev_bss_chan_info() 5839 survey->time_rx = div_u64(rx_bss, cc_freq_hz); in ath10k_wmi_event_pdev_bss_chan_info() 5840 survey->time_tx = div_u64(tx, cc_freq_hz); in ath10k_wmi_event_pdev_bss_chan_info()
|