Home
last modified time | relevance | path

Searched refs:rate_table (Results 1 – 20 of 20) sorted by relevance

/drivers/clk/imx/
Dclk-pll14xx.c39 const struct imx_pll14xx_rate_table *rate_table; member
69 .rate_table = imx_pll1443x_tbl,
76 .rate_table = imx_pll1443x_tbl,
84 .rate_table = imx_pll1416x_tbl,
92 const struct imx_pll14xx_rate_table *rate_table = pll->rate_table; in imx_get_pll_settings() local
96 if (rate == rate_table[i].rate) in imx_get_pll_settings()
97 return &rate_table[i]; in imx_get_pll_settings()
106 const struct imx_pll14xx_rate_table *rate_table = pll->rate_table; in clk_pll14xx_round_rate() local
111 if (rate >= rate_table[i].rate) in clk_pll14xx_round_rate()
112 return rate_table[i].rate; in clk_pll14xx_round_rate()
[all …]
Dclk.h58 const struct imx_pll14xx_rate_table *rate_table; member
/drivers/clk/samsung/
Dclk-pll.c30 const struct samsung_pll_rate_table *rate_table; member
38 const struct samsung_pll_rate_table *rate_table = pll->rate_table; in samsung_get_pll_settings() local
42 if (rate == rate_table[i].rate) in samsung_get_pll_settings()
43 return &rate_table[i]; in samsung_get_pll_settings()
53 const struct samsung_pll_rate_table *rate_table = pll->rate_table; in samsung_pll_round_rate() local
58 if (drate >= rate_table[i].rate) in samsung_pll_round_rate()
59 return rate_table[i].rate; in samsung_pll_round_rate()
63 return rate_table[i - 1].rate; in samsung_pll_round_rate()
1269 if (pll_clk->rate_table) { in _samsung_clk_register_pll()
1271 for (len = 0; pll_clk->rate_table[len].rate != 0; ) in _samsung_clk_register_pll()
[all …]
Dclk-s3c2410.c342 s3c2410_plls[mpll].rate_table = pll_s3c2410_12mhz_tbl; in s3c2410_common_clk_init()
343 s3c2410_plls[upll].rate_table = pll_s3c2410_12mhz_tbl; in s3c2410_common_clk_init()
356 s3c244x_common_plls[mpll].rate_table = in s3c2410_common_clk_init()
358 s3c244x_common_plls[upll].rate_table = in s3c2410_common_clk_init()
Dclk-exynos4.c1258 exynos4210_plls[apll].rate_table = in exynos4_clk_init()
1260 exynos4210_plls[epll].rate_table = in exynos4_clk_init()
1265 exynos4210_plls[vpll].rate_table = in exynos4_clk_init()
1272 exynos4x12_plls[apll].rate_table = in exynos4_clk_init()
1274 exynos4x12_plls[epll].rate_table = in exynos4_clk_init()
1276 exynos4x12_plls[vpll].rate_table = in exynos4_clk_init()
Dclk.h255 const struct samsung_pll_rate_table *rate_table; member
267 .rate_table = _rtable, \
Dclk-exynos5420.c1584 exynos5x_plls[apll].rate_table = exynos5420_pll2550x_24mhz_tbl; in exynos5x_clk_init()
1585 exynos5x_plls[epll].rate_table = exynos5420_epll_24mhz_tbl; in exynos5x_clk_init()
1586 exynos5x_plls[kpll].rate_table = exynos5420_pll2550x_24mhz_tbl; in exynos5x_clk_init()
1587 exynos5x_plls[vpll].rate_table = exynos5420_vpll_24mhz_tbl; in exynos5x_clk_init()
1591 exynos5x_plls[bpll].rate_table = exynos5420_pll2550x_24mhz_tbl; in exynos5x_clk_init()
1593 exynos5x_plls[bpll].rate_table = exynos5422_bpll_rate_table; in exynos5x_clk_init()
Dclk-exynos5250.c805 exynos5250_plls[epll].rate_table = epll_24mhz_tbl; in exynos5250_clk_init()
806 exynos5250_plls[apll].rate_table = apll_24mhz_tbl; in exynos5250_clk_init()
810 exynos5250_plls[vpll].rate_table = vpll_24mhz_tbl; in exynos5250_clk_init()
Dclk-exynos5410.c272 exynos5410_plls[epll].rate_table = exynos5410_pll2550x_24mhz_tbl; in exynos5410_clk_init()
/drivers/clk/rockchip/
Dclk-pll.c39 const struct rockchip_pll_rate_table *rate_table; member
53 const struct rockchip_pll_rate_table *rate_table = pll->rate_table; in rockchip_get_pll_settings() local
57 if (rate == rate_table[i].rate) in rockchip_get_pll_settings()
58 return &rate_table[i]; in rockchip_get_pll_settings()
68 const struct rockchip_pll_rate_table *rate_table = pll->rate_table; in rockchip_pll_round_rate() local
73 if (drate >= rate_table[i].rate) in rockchip_pll_round_rate()
74 return rate_table[i].rate; in rockchip_pll_round_rate()
78 return rate_table[i - 1].rate; in rockchip_pll_round_rate()
854 struct rockchip_pll_rate_table *rate_table, in rockchip_clk_register_pll() argument
923 if (rate_table) { in rockchip_clk_register_pll()
[all …]
Dclk-cpu.c62 struct rockchip_cpuclk_rate_table *rate_table; member
74 const struct rockchip_cpuclk_rate_table *rate_table = in rockchip_get_cpuclk_settings() local
75 cpuclk->rate_table; in rockchip_get_cpuclk_settings()
79 if (rate == rate_table[i].prate) in rockchip_get_cpuclk_settings()
80 return &rate_table[i]; in rockchip_get_cpuclk_settings()
318 cpuclk->rate_table = kmemdup(rates, in rockchip_clk_register_cpuclk()
321 if (!cpuclk->rate_table) { in rockchip_clk_register_cpuclk()
337 kfree(cpuclk->rate_table); in rockchip_clk_register_cpuclk()
Dclk.h290 struct rockchip_pll_rate_table *rate_table; member
309 .rate_table = _rtable, \
317 struct rockchip_pll_rate_table *rate_table,
Dclk-rk3188.c861 if (!pll->rate_table) in rk3188_clk_init()
864 rate = pll->rate_table; in rk3188_clk_init()
Dclk.c428 list->mode_shift, list->rate_table, in rockchip_clk_register_plls()
/drivers/net/wireless/mediatek/mt7601u/
Dphy.c809 struct power_per_rate *rate_table; in mt7601u_tssi_params_get() local
822 rate_table = dev->ee->power_rate_table.cck; in mt7601u_tssi_params_get()
827 rate_table = dev->ee->power_rate_table.ofdm; in mt7601u_tssi_params_get()
833 rate_table = dev->ee->power_rate_table.ht; in mt7601u_tssi_params_get()
838 p.trgt_power += rate_table[tx_rate / 2].bw20; in mt7601u_tssi_params_get()
840 p.trgt_power += rate_table[tx_rate / 2].bw40; in mt7601u_tssi_params_get()
/drivers/net/dsa/
Dbcm_sf2.c57 static const unsigned long rate_table[] = { in bcm_sf2_recalc_clock() local
71 if (ports_active > ARRAY_SIZE(rate_table)) in bcm_sf2_recalc_clock()
74 new_rate = rate_table[ports_active - 1]; in bcm_sf2_recalc_clock()
/drivers/net/wireless/ath/ath10k/
Dhtt_rx.c3607 STATS_OP_FMT(AMPDU).rate_table[0][idx] += in ath10k_accumulate_per_peer_tx_stats()
3615 STATS_OP_FMT(AMPDU).rate_table[1][idx] += in ath10k_accumulate_per_peer_tx_stats()
3647 STATS_OP_FMT(SUCC).rate_table[0][idx] += pstats->succ_bytes; in ath10k_accumulate_per_peer_tx_stats()
3648 STATS_OP_FMT(SUCC).rate_table[1][idx] += pstats->succ_pkts; in ath10k_accumulate_per_peer_tx_stats()
3649 STATS_OP_FMT(FAIL).rate_table[0][idx] += pstats->failed_bytes; in ath10k_accumulate_per_peer_tx_stats()
3650 STATS_OP_FMT(FAIL).rate_table[1][idx] += pstats->failed_pkts; in ath10k_accumulate_per_peer_tx_stats()
3651 STATS_OP_FMT(RETRY).rate_table[0][idx] += pstats->retry_bytes; in ath10k_accumulate_per_peer_tx_stats()
3652 STATS_OP_FMT(RETRY).rate_table[1][idx] += pstats->retry_pkts; in ath10k_accumulate_per_peer_tx_stats()
Dcore.h505 u64 rate_table[ATH10K_COUNTER_TYPE_MAX][ATH10K_RATE_TABLE_NUM]; member
Ddebugfs_sta.c724 stats->rate_table[j][i]); in ath10k_dbg_sta_dump_tx_stats()
/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/
Dphy_lcn.c2234 u32 rate_table[BRCMS_NUM_RATES_CCK + BRCMS_NUM_RATES_OFDM + in wlc_lcnphy_txpower_recalc_target() local
2240 for (i = 0, j = 0; i < ARRAY_SIZE(rate_table); i++, j++) { in wlc_lcnphy_txpower_recalc_target()
2245 rate_table[i] = (u32) ((s32) (-pi->tx_power_offset[j])); in wlc_lcnphy_txpower_recalc_target()
2250 tab.tbl_len = ARRAY_SIZE(rate_table); in wlc_lcnphy_txpower_recalc_target()
2251 tab.tbl_ptr = rate_table; in wlc_lcnphy_txpower_recalc_target()