Home
last modified time | relevance | path

Searched refs:rate_table (Results 1 – 21 of 21) 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.h56 const struct imx_pll14xx_rate_table *rate_table; member
/drivers/clk/samsung/
Dclk-pll.c33 const struct samsung_pll_rate_table *rate_table; member
41 const struct samsung_pll_rate_table *rate_table = pll->rate_table; in samsung_get_pll_settings() local
45 if (rate == rate_table[i].rate) in samsung_get_pll_settings()
46 return &rate_table[i]; in samsung_get_pll_settings()
56 const struct samsung_pll_rate_table *rate_table = pll->rate_table; in samsung_pll_round_rate() local
61 if (drate >= rate_table[i].rate) in samsung_pll_round_rate()
62 return rate_table[i].rate; in samsung_pll_round_rate()
66 return rate_table[i - 1].rate; in samsung_pll_round_rate()
1264 if (pll_clk->rate_table) { in _samsung_clk_register_pll()
1266 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.c58 struct rockchip_cpuclk_rate_table *rate_table; member
70 const struct rockchip_cpuclk_rate_table *rate_table = in rockchip_get_cpuclk_settings() local
71 cpuclk->rate_table; in rockchip_get_cpuclk_settings()
75 if (rate == rate_table[i].prate) in rockchip_get_cpuclk_settings()
76 return &rate_table[i]; in rockchip_get_cpuclk_settings()
319 cpuclk->rate_table = kmemdup(rates, in rockchip_clk_register_cpuclk()
322 if (!cpuclk->rate_table) { in rockchip_clk_register_cpuclk()
338 kfree(cpuclk->rate_table); in rockchip_clk_register_cpuclk()
Dclk.h325 struct rockchip_pll_rate_table *rate_table; member
344 .rate_table = _rtable, \
352 struct rockchip_pll_rate_table *rate_table,
Dclk-rk3188.c864 if (!pll->rate_table) in rk3188_clk_init()
867 rate = pll->rate_table; in rk3188_clk_init()
Dclk.c420 list->mode_shift, list->rate_table, in rockchip_clk_register_plls()
/drivers/tty/serial/8250/
D8250_bcm7271.c212 const u32 *rate_table; member
661 if (priv->rate_table[x] == 0) { in init_real_clk_rates()
665 rc = clk_set_rate(priv->baud_mux_clk, priv->rate_table[x]); in init_real_clk_rates()
668 priv->rate_table[x]); in init_real_clk_rates()
669 priv->real_rates[x] = priv->rate_table[x]; in init_real_clk_rates()
967 priv->rate_table = brcmstb_rate_table; in brcmuart_probe()
969 priv->rate_table = of_id->data; in brcmuart_probe()
/drivers/net/wireless/mediatek/mt7601u/
Dphy.c812 struct power_per_rate *rate_table; in mt7601u_tssi_params_get() local
825 rate_table = dev->ee->power_rate_table.cck; in mt7601u_tssi_params_get()
830 rate_table = dev->ee->power_rate_table.ofdm; in mt7601u_tssi_params_get()
836 rate_table = dev->ee->power_rate_table.ht; in mt7601u_tssi_params_get()
841 p.trgt_power += rate_table[tx_rate / 2].bw20; in mt7601u_tssi_params_get()
843 p.trgt_power += rate_table[tx_rate / 2].bw40; in mt7601u_tssi_params_get()
/drivers/net/dsa/
Dbcm_sf2.c87 static const unsigned long rate_table[] = { in bcm_sf2_recalc_clock() local
101 if (ports_active > ARRAY_SIZE(rate_table)) in bcm_sf2_recalc_clock()
104 new_rate = rate_table[ports_active - 1]; in bcm_sf2_recalc_clock()
/drivers/net/wireless/ath/ath10k/
Dhtt_rx.c3605 STATS_OP_FMT(AMPDU).rate_table[0][idx] += in ath10k_accumulate_per_peer_tx_stats()
3613 STATS_OP_FMT(AMPDU).rate_table[1][idx] += in ath10k_accumulate_per_peer_tx_stats()
3645 STATS_OP_FMT(SUCC).rate_table[0][idx] += pstats->succ_bytes; in ath10k_accumulate_per_peer_tx_stats()
3646 STATS_OP_FMT(SUCC).rate_table[1][idx] += pstats->succ_pkts; in ath10k_accumulate_per_peer_tx_stats()
3647 STATS_OP_FMT(FAIL).rate_table[0][idx] += pstats->failed_bytes; in ath10k_accumulate_per_peer_tx_stats()
3648 STATS_OP_FMT(FAIL).rate_table[1][idx] += pstats->failed_pkts; in ath10k_accumulate_per_peer_tx_stats()
3649 STATS_OP_FMT(RETRY).rate_table[0][idx] += pstats->retry_bytes; in ath10k_accumulate_per_peer_tx_stats()
3650 STATS_OP_FMT(RETRY).rate_table[1][idx] += pstats->retry_pkts; in ath10k_accumulate_per_peer_tx_stats()
Ddebugfs_sta.c724 stats->rate_table[j][i]); in ath10k_dbg_sta_dump_tx_stats()
Dcore.h510 u64 rate_table[ATH10K_COUNTER_TYPE_MAX][ATH10K_RATE_TABLE_NUM]; member
/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()