Lines Matching refs:freq_item
356 const struct mt76x0_freq_item *freq_item; in mt76x0_phy_set_chan_rf_params() local
370 freq_item = &(mt76x0_sdm_frequency_plan[i]); in mt76x0_phy_set_chan_rf_params()
372 freq_item = &(mt76x0_frequency_plan[i]); in mt76x0_phy_set_chan_rf_params()
374 rf_wr(dev, MT_RF(0, 37), freq_item->pllR37); in mt76x0_phy_set_chan_rf_params()
375 rf_wr(dev, MT_RF(0, 36), freq_item->pllR36); in mt76x0_phy_set_chan_rf_params()
376 rf_wr(dev, MT_RF(0, 35), freq_item->pllR35); in mt76x0_phy_set_chan_rf_params()
377 rf_wr(dev, MT_RF(0, 34), freq_item->pllR34); in mt76x0_phy_set_chan_rf_params()
378 rf_wr(dev, MT_RF(0, 33), freq_item->pllR33); in mt76x0_phy_set_chan_rf_params()
382 rf_val |= freq_item->pllR32_b7b5; in mt76x0_phy_set_chan_rf_params()
388 rf_val |= freq_item->pllR32_b4b0; in mt76x0_phy_set_chan_rf_params()
394 rf_val |= freq_item->pllR31_b7b5; in mt76x0_phy_set_chan_rf_params()
400 rf_val |= freq_item->pllR31_b4b0; in mt76x0_phy_set_chan_rf_params()
411 rf_val |= freq_item->pllR30_b7; in mt76x0_phy_set_chan_rf_params()
418 rf_val |= freq_item->pllR30_b6b2; in mt76x0_phy_set_chan_rf_params()
424 rf_val |= (freq_item->pllR30_b1 << 1); in mt76x0_phy_set_chan_rf_params()
428 rf_val = freq_item->pll_n & 0x00FF; in mt76x0_phy_set_chan_rf_params()
433 rf_val |= ((freq_item->pll_n >> 8) & 0x0001); in mt76x0_phy_set_chan_rf_params()
439 rf_val |= freq_item->pllR28_b7b6; in mt76x0_phy_set_chan_rf_params()
445 rf_val |= freq_item->pllR28_b5b4; in mt76x0_phy_set_chan_rf_params()
451 rf_val |= freq_item->pllR28_b3b2; in mt76x0_phy_set_chan_rf_params()
455 rf_val = freq_item->pll_sdm_k & 0x000000FF; in mt76x0_phy_set_chan_rf_params()
458 rf_val = ((freq_item->pll_sdm_k >> 8) & 0x000000FF); in mt76x0_phy_set_chan_rf_params()
463 rf_val |= ((freq_item->pll_sdm_k >> 16) & 0x0003); in mt76x0_phy_set_chan_rf_params()
469 rf_val |= freq_item->pllR24_b1b0; in mt76x0_phy_set_chan_rf_params()