dfs_pd 17 drivers/net/wireless/mediatek/mt76/mt76x0/main.c tasklet_disable(&dev->dfs_pd.dfs_tasklet); dfs_pd 30 drivers/net/wireless/mediatek/mt76/mt76x0/main.c tasklet_enable(&dev->dfs_pd.dfs_tasklet); dfs_pd 117 drivers/net/wireless/mediatek/mt76/mt76x02.h struct mt76x02_dfs_pattern_detector dfs_pd; dfs_pd 61 drivers/net/wireless/mediatek/mt76/mt76x02_debugfs.c struct mt76x02_dfs_pattern_detector *dfs_pd = &dev->dfs_pd; dfs_pd 65 drivers/net/wireless/mediatek/mt76/mt76x02_debugfs.c dfs_pd->seq_stats.seq_pool_len); dfs_pd 67 drivers/net/wireless/mediatek/mt76/mt76x02_debugfs.c dfs_pd->seq_stats.seq_len); dfs_pd 73 drivers/net/wireless/mediatek/mt76/mt76x02_debugfs.c dfs_pd->stats[i].hw_pattern); dfs_pd 75 drivers/net/wireless/mediatek/mt76/mt76x02_debugfs.c dfs_pd->stats[i].hw_pulse_discarded); dfs_pd 77 drivers/net/wireless/mediatek/mt76/mt76x02_debugfs.c dfs_pd->stats[i].sw_pattern); dfs_pd 154 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c struct mt76x02_dfs_pattern_detector *dfs_pd = &dev->dfs_pd; dfs_pd 156 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c list_add(&seq->head, &dfs_pd->seq_pool); dfs_pd 158 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c dfs_pd->seq_stats.seq_pool_len++; dfs_pd 159 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c dfs_pd->seq_stats.seq_len--; dfs_pd 165 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c struct mt76x02_dfs_pattern_detector *dfs_pd = &dev->dfs_pd; dfs_pd 168 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c if (list_empty(&dfs_pd->seq_pool)) { dfs_pd 171 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c seq = list_first_entry(&dfs_pd->seq_pool, dfs_pd 175 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c dfs_pd->seq_stats.seq_pool_len--; dfs_pd 178 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c dfs_pd->seq_stats.seq_len++; dfs_pd 207 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c struct mt76x02_dfs_pattern_detector *dfs_pd = &dev->dfs_pd; dfs_pd 215 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c for (i = 0; i < ARRAY_SIZE(dfs_pd->event_rb); i++) { dfs_pd 216 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c dfs_pd->event_rb[i].h_rb = 0; dfs_pd 217 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c dfs_pd->event_rb[i].t_rb = 0; dfs_pd 220 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c list_for_each_entry_safe(seq, tmp_seq, &dfs_pd->sequences, head) { dfs_pd 230 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c struct mt76x02_dfs_pattern_detector *dfs_pd = &dev->dfs_pd; dfs_pd 233 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c delta_ts = current_ts - dfs_pd->chirp_pulse_ts; dfs_pd 234 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c dfs_pd->chirp_pulse_ts = current_ts; dfs_pd 238 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c if (++dfs_pd->chirp_pulse_cnt > 8) dfs_pd 241 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c dfs_pd->chirp_pulse_cnt = 1; dfs_pd 393 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c struct mt76x02_dfs_pattern_detector *dfs_pd = &dev->dfs_pd; dfs_pd 394 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c struct mt76x02_dfs_event_rb *event_buff = &dfs_pd->event_rb[1]; dfs_pd 411 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c struct mt76x02_dfs_pattern_detector *dfs_pd = &dev->dfs_pd; dfs_pd 415 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c event_buff = event->engine == 2 ? &dfs_pd->event_rb[1] dfs_pd 416 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c : &dfs_pd->event_rb[0]; dfs_pd 430 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c struct mt76x02_dfs_pattern_detector *dfs_pd = &dev->dfs_pd; dfs_pd 438 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c event_rb = event->engine == 2 ? &dfs_pd->event_rb[1] dfs_pd 439 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c : &dfs_pd->event_rb[0]; dfs_pd 448 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c sw_params = &dfs_pd->sw_dpd_params; dfs_pd 506 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c list_add(&seq_p->head, &dfs_pd->sequences); dfs_pd 516 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c struct mt76x02_dfs_pattern_detector *dfs_pd = &dev->dfs_pd; dfs_pd 522 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c sw_params = &dfs_pd->sw_dpd_params; dfs_pd 523 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c list_for_each_entry_safe(seq, tmp_seq, &dfs_pd->sequences, head) { dfs_pd 547 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c struct mt76x02_dfs_pattern_detector *dfs_pd = &dev->dfs_pd; dfs_pd 550 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c if (list_empty(&dfs_pd->sequences)) dfs_pd 553 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c list_for_each_entry(seq, &dfs_pd->sequences, head) { dfs_pd 555 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c dfs_pd->stats[seq->engine].sw_pattern++; dfs_pd 564 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c struct mt76x02_dfs_pattern_detector *dfs_pd = &dev->dfs_pd; dfs_pd 574 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c if (dfs_pd->last_event_ts > event.ts) dfs_pd 576 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c dfs_pd->last_event_ts = event.ts; dfs_pd 591 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c struct mt76x02_dfs_pattern_detector *dfs_pd = &dev->dfs_pd; dfs_pd 596 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c for (i = 0; i < ARRAY_SIZE(dfs_pd->event_rb); i++) { dfs_pd 597 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c event_buff = &dfs_pd->event_rb[i]; dfs_pd 615 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c struct mt76x02_dfs_pattern_detector *dfs_pd = &dev->dfs_pd; dfs_pd 622 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c if (time_is_before_jiffies(dfs_pd->last_sw_check + dfs_pd 626 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c dfs_pd->last_sw_check = jiffies; dfs_pd 654 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c dfs_pd->stats[i].hw_pulse_discarded++; dfs_pd 659 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c dfs_pd->stats[i].hw_pattern++; dfs_pd 675 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c struct mt76x02_dfs_pattern_detector *dfs_pd = &dev->dfs_pd; dfs_pd 679 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c dfs_pd->sw_dpd_params.max_pri = MT_DFS_FCC_MAX_PRI; dfs_pd 680 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c dfs_pd->sw_dpd_params.min_pri = MT_DFS_FCC_MIN_PRI; dfs_pd 681 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c dfs_pd->sw_dpd_params.pri_margin = MT_DFS_PRI_MARGIN; dfs_pd 684 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c dfs_pd->sw_dpd_params.max_pri = MT_DFS_ETSI_MAX_PRI; dfs_pd 685 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c dfs_pd->sw_dpd_params.min_pri = MT_DFS_ETSI_MIN_PRI; dfs_pd 686 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c dfs_pd->sw_dpd_params.pri_margin = MT_DFS_PRI_MARGIN << 2; dfs_pd 689 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c dfs_pd->sw_dpd_params.max_pri = MT_DFS_JP_MAX_PRI; dfs_pd 690 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c dfs_pd->sw_dpd_params.min_pri = MT_DFS_JP_MIN_PRI; dfs_pd 691 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c dfs_pd->sw_dpd_params.pri_margin = MT_DFS_PRI_MARGIN; dfs_pd 857 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c struct mt76x02_dfs_pattern_detector *dfs_pd = &dev->dfs_pd; dfs_pd 859 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c INIT_LIST_HEAD(&dfs_pd->sequences); dfs_pd 860 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c INIT_LIST_HEAD(&dfs_pd->seq_pool); dfs_pd 862 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c dfs_pd->last_sw_check = jiffies; dfs_pd 863 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c tasklet_init(&dfs_pd->dfs_tasklet, mt76x02_dfs_tasklet, dfs_pd 871 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c struct mt76x02_dfs_pattern_detector *dfs_pd = &dev->dfs_pd; dfs_pd 875 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c tasklet_disable(&dfs_pd->dfs_tasklet); dfs_pd 883 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c tasklet_enable(&dfs_pd->dfs_tasklet); dfs_pd 302 drivers/net/wireless/mediatek/mt76/mt76x02_mmio.c tasklet_schedule(&dev->dfs_pd.dfs_tasklet); dfs_pd 291 drivers/net/wireless/mediatek/mt76/mt76x2/pci_init.c tasklet_disable(&dev->dfs_pd.dfs_tasklet); dfs_pd 47 drivers/net/wireless/mediatek/mt76/mt76x2/pci_main.c tasklet_disable(&dev->dfs_pd.dfs_tasklet); dfs_pd 68 drivers/net/wireless/mediatek/mt76/mt76x2/pci_main.c tasklet_enable(&dev->dfs_pd.dfs_tasklet);