/openbmc/linux/arch/mips/lantiq/ |
H A D | clk.c | 81 int clk_set_rate(struct clk *clk, unsigned long rate) in clk_set_rate() 101 long clk_round_rate(struct clk *clk, unsigned long rate) in clk_round_rate()
|
/openbmc/u-boot/drivers/clk/aspeed/ |
H A D | clk_ast2600.c | 343 u32 rate = 0; in ast2600_get_hclk() local 376 u32 rate; in ast2600_get_bclk_rate() local 396 u32 rate = ast2600_get_pll_rate(scu, ASPEED_CLK_HPLL); in ast2600_get_pclk1() local 405 u32 rate = ast2600_get_hclk(scu); in ast2600_get_pclk2() local 647 ulong rate = 0; in ast2600_clk_get_rate() local 783 static u32 ast2600_configure_ddr(struct ast2600_scu *scu, ulong rate) in ast2600_configure_ddr() 798 static ulong ast2600_clk_set_rate(struct clk *clk, ulong rate) in ast2600_clk_set_rate() 1312 u32 rate = 0; in ast2600_enable_extsdclk() local 1366 u32 rate = 0; in ast2600_enable_extemmcclk() local 1622 unsigned long rate; in soc_clk_dump() local
|
/openbmc/linux/drivers/thunderbolt/ |
H A D | tunnel.c | 427 u32 rate = (val & DP_COMMON_CAP_RATE_MASK) >> DP_COMMON_CAP_RATE_SHIFT; in tb_dp_cap_get_rate() local 460 static inline bool tb_dp_is_uhbr_rate(unsigned int rate) in tb_dp_is_uhbr_rate() 465 static inline u32 tb_dp_cap_set_rate(u32 val, u32 rate) in tb_dp_cap_set_rate() 525 static unsigned int tb_dp_bandwidth(unsigned int rate, unsigned int lanes) in tb_dp_bandwidth() 679 u32 rate, lanes; in tb_dp_bandwidth_alloc_mode_enable() local 854 int ret, rate, lanes, nrd_bw; in tb_dp_bandwidth_mode_maximum_bandwidth() local 1015 static int tb_dp_read_dprx(struct tb_tunnel *tunnel, u32 *rate, u32 *lanes, in tb_dp_read_dprx() 1049 static int tb_dp_read_cap(struct tb_tunnel *tunnel, unsigned int cap, u32 *rate, in tb_dp_read_cap() 1111 u32 rate = 0, lanes = 0; in tb_dp_consumed_bandwidth() local 1244 u32 dp_cap, rate, lanes; in tb_dp_dump() local
|
/openbmc/linux/net/wireless/ |
H A D | util.c | 1219 static u32 cfg80211_calculate_bitrate_ht(struct rate_info *rate) in cfg80211_calculate_bitrate_ht() 1248 static u32 cfg80211_calculate_bitrate_dmg(struct rate_info *rate) in cfg80211_calculate_bitrate_dmg() 1295 static u32 cfg80211_calculate_bitrate_extended_sc_dmg(struct rate_info *rate) in cfg80211_calculate_bitrate_extended_sc_dmg() 1314 static u32 cfg80211_calculate_bitrate_edmg(struct rate_info *rate) in cfg80211_calculate_bitrate_edmg() 1348 static u32 cfg80211_calculate_bitrate_vht(struct rate_info *rate) in cfg80211_calculate_bitrate_vht() 1443 static u32 cfg80211_calculate_bitrate_he(struct rate_info *rate) in cfg80211_calculate_bitrate_he() 1528 static u32 cfg80211_calculate_bitrate_eht(struct rate_info *rate) in cfg80211_calculate_bitrate_eht() 1659 static u32 cfg80211_calculate_bitrate_s1g(struct rate_info *rate) in cfg80211_calculate_bitrate_s1g() 1767 u32 cfg80211_calculate_bitrate(struct rate_info *rate) in cfg80211_calculate_bitrate() 2363 int rate = (rates[i] & 0x7f) * 5; in ieee80211_get_ratemask() local
|
/openbmc/linux/sound/pci/ice1712/ |
H A D | delta.c | 302 static void delta_1010_set_rate_val(struct snd_ice1712 *ice, unsigned int rate) in delta_1010_set_rate_val() 322 static void delta_ak4524_set_rate_val(struct snd_akm4xxx *ak, unsigned int rate) in delta_ak4524_set_rate_val() 354 static void vx442_ak4524_set_rate_val(struct snd_akm4xxx *ak, unsigned int rate) in vx442_ak4524_set_rate_val() 380 static void delta_setup_spdif(struct snd_ice1712 *ice, int rate) in delta_setup_spdif()
|
/openbmc/linux/drivers/misc/ |
H A D | dw-xdata-pcie.c | 153 u64 rate = (*m1 - *m2); in dw_xdata_perf_diff() local 162 static void dw_xdata_perf(struct dw_xdata *dw, u64 *rate, bool write) in dw_xdata_perf() 211 u64 rate; in write_show() local 248 u64 rate; in read_show() local
|
/openbmc/linux/sound/soc/codecs/ |
H A D | tlv320aic32x4-clk.c | 143 u64 rate; in clk_aic32x4_pll_calc_rate() local 155 unsigned long rate, unsigned long parent_rate) in clk_aic32x4_pll_calc_muldiv() 223 unsigned long rate, in clk_aic32x4_pll_set_rate() 317 static int clk_aic32x4_div_set_rate(struct clk_hw *hw, unsigned long rate, in clk_aic32x4_div_set_rate()
|
/openbmc/linux/drivers/clk/ |
H A D | clk-si544.c | 299 unsigned long rate = si544_calc_center_rate(settings); in si544_calc_rate() local 330 static long si544_round_rate(struct clk_hw *hw, unsigned long rate, in si544_round_rate() 343 static unsigned long si544_max_delta(unsigned long rate) in si544_max_delta() 360 static int si544_set_rate(struct clk_hw *hw, unsigned long rate, in si544_set_rate()
|
H A D | clk-sp7021.c | 339 u32 rate; member 388 static long plla_round_rate(struct sp_pll *clk, unsigned long rate) in plla_round_rate() 403 static long sp_pll_calc_div(struct sp_pll *clk, unsigned long rate) in sp_pll_calc_div() 415 static long sp_pll_round_rate(struct clk_hw *hw, unsigned long rate, in sp_pll_round_rate() 481 static int sp_pll_set_rate(struct clk_hw *hw, unsigned long rate, in sp_pll_set_rate()
|
/openbmc/linux/samples/bpf/ |
H A D | hbm.h | 16 unsigned int rate; /* In bytes per NS << 20 */ member 20 unsigned long rate; /* in Mbps*/ member
|
/openbmc/linux/drivers/clk/mxs/ |
H A D | clk-ref.c | 60 static long clk_ref_round_rate(struct clk_hw *hw, unsigned long rate, in clk_ref_round_rate() 83 static int clk_ref_set_rate(struct clk_hw *hw, unsigned long rate, in clk_ref_set_rate()
|
H A D | clk-frac.c | 47 static long clk_frac_round_rate(struct clk_hw *hw, unsigned long rate, in clk_frac_round_rate() 73 static int clk_frac_set_rate(struct clk_hw *hw, unsigned long rate, in clk_frac_set_rate()
|
/openbmc/u-boot/drivers/sound/ |
H A D | max98090.c | 28 int max98090_hw_params(struct maxim_priv *priv, unsigned int rate, in max98090_hw_params() 330 static int max98090_set_params(struct udevice *dev, int interface, int rate, in max98090_set_params()
|
/openbmc/linux/sound/firewire/fireface/ |
H A D | ff-stream.c | 109 int snd_ff_stream_reserve_duplex(struct snd_ff *ff, unsigned int rate, in snd_ff_stream_reserve_duplex() 168 int snd_ff_stream_start_duplex(struct snd_ff *ff, unsigned int rate) in snd_ff_stream_start_duplex()
|
/openbmc/linux/drivers/mmc/host/ |
H A D | sdhci-s3c.c | 159 unsigned long rate, max = 0; in sdhci_s3c_get_max_clk() local 181 unsigned long rate; in sdhci_s3c_consider_clock() local 308 unsigned long rate, min = ULONG_MAX; in sdhci_s3c_get_min_clock() local 326 unsigned long rate, max = 0; in sdhci_cmu_get_max_clock() local 348 unsigned long rate, min = ULONG_MAX; in sdhci_cmu_get_min_clock() local
|
/openbmc/linux/include/linux/ |
H A D | clk.h | 1007 static inline int clk_set_rate(struct clk *clk, unsigned long rate) in clk_set_rate() 1012 static inline int clk_set_rate_exclusive(struct clk *clk, unsigned long rate) in clk_set_rate_exclusive() 1017 static inline long clk_round_rate(struct clk *clk, unsigned long rate) in clk_round_rate() 1033 static inline int clk_set_min_rate(struct clk *clk, unsigned long rate) in clk_set_min_rate() 1038 static inline int clk_set_max_rate(struct clk *clk, unsigned long rate) in clk_set_max_rate()
|
/openbmc/linux/sound/soc/mediatek/mt8195/ |
H A D | mt8195-dai-adda.c | 67 unsigned int rate) in afe_adda_dl_rate_transform() 100 unsigned int rate) in afe_adda_ul_rate_transform() 640 unsigned int rate, int id) in mtk_dai_da_configure() 678 unsigned int rate, int id) in mtk_dai_ad_configure() 708 unsigned int rate = params_rate(params); in mtk_dai_adda_hw_params() local
|
/openbmc/linux/net/mac80211/ |
H A D | airtime.c | 474 const struct ieee80211_rate *rate; in ieee80211_calc_rx_airtime() local 551 struct ieee80211_tx_rate *rate, in ieee80211_fill_rx_status() 593 struct ieee80211_tx_rate *rate, in ieee80211_calc_tx_airtime_rate() 613 struct ieee80211_tx_rate *rate = &info->status.rates[i]; in ieee80211_calc_tx_airtime() local 639 u16 rate; in ieee80211_calc_expected_tx_airtime() local
|
/openbmc/linux/drivers/clk/qcom/ |
H A D | clk-smd-rpm.c | 170 unsigned long rate; member 213 unsigned long rate) in clk_smd_rpm_set_rate_active() 227 unsigned long rate) in clk_smd_rpm_set_rate_sleep() 240 static void to_active_sleep(struct clk_smd_rpm *r, unsigned long rate, in to_active_sleep() 338 static int clk_smd_rpm_set_rate(struct clk_hw *hw, unsigned long rate, in clk_smd_rpm_set_rate() 378 static long clk_smd_rpm_round_rate(struct clk_hw *hw, unsigned long rate, in clk_smd_rpm_round_rate()
|
/openbmc/linux/drivers/gpu/drm/sun4i/ |
H A D | sun8i_hdmi_phy_clk.c | 23 unsigned long rate = req->rate; in sun8i_phy_clk_determine_rate() local 81 static int sun8i_phy_clk_set_rate(struct clk_hw *hw, unsigned long rate, in sun8i_phy_clk_set_rate()
|
/openbmc/linux/drivers/clocksource/ |
H A D | timer-vf-pit.c | 56 static int __init pit_clocksource_init(unsigned long rate) in pit_clocksource_init() 126 static int __init pit_clockevent_init(unsigned long rate, int irq) in pit_clockevent_init()
|
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/fw/ |
H A D | rs.c | 96 int rate = rate_n_flags & RATE_LEGACY_RATE_MSK_V1; in iwl_legacy_rate_to_fw_idx() local 192 int rs_pretty_print_rate(char *buf, int bufsz, const u32 rate) in rs_pretty_print_rate()
|
/openbmc/linux/drivers/clk/tegra/ |
H A D | clk-tegra-super-cclk.c | 43 static int cclk_super_set_rate(struct clk_hw *hw, unsigned long rate, in cclk_super_set_rate() 75 long rate = req->rate; in cclk_super_determine_rate() local
|
/openbmc/linux/sound/firewire/fireworks/ |
H A D | fireworks_command.c | 294 unsigned int source, unsigned int rate) in command_set_clock() 355 int snd_efw_command_get_sampling_rate(struct snd_efw *efw, unsigned int *rate) in snd_efw_command_get_sampling_rate() 367 int snd_efw_command_set_sampling_rate(struct snd_efw *efw, unsigned int rate) in snd_efw_command_set_sampling_rate()
|
/openbmc/linux/drivers/net/wireless/ti/wlcore/ |
H A D | init.c | 149 u32 rate; in wl1271_ap_init_deauth_template() local 176 u32 rate; in wl1271_ap_init_null_template() local 209 u32 rate; in wl1271_ap_init_qos_null_template() local
|