Home
last modified time | relevance | path

Searched defs:rate (Results 26 – 50 of 1657) sorted by relevance

12345678910>>...67

/openbmc/linux/samples/bpf/
H A Dhbm_kern.h56 #define CREDIT_PER_NS(delta, rate) ((((u64)(delta)) * (rate)) >> 20) argument
57 #define BYTES_PER_NS(delta, rate) ((((u64)(delta)) * (rate)) >> 20) argument
58 #define BYTES_TO_NS(bytes, rate) div64_u64(((u64)(bytes)) << 20, (u64)(rate)) argument
135 static __always_inline void hbm_init_vqueue(struct hbm_vqueue *qdp, int rate) in hbm_init_vqueue()
144 int rate) in hbm_init_edt_vqueue()
/openbmc/linux/drivers/soundwire/
H A Dgeneric_bandwidth_allocation.c20 unsigned int rate; member
38 unsigned int rate, bps, ch = 0; in sdw_compute_slave_ports() local
93 unsigned int rate, bps, ch; in sdw_compute_master_ports() local
164 unsigned int rate, bps, ch; in sdw_compute_group_params() local
199 unsigned int rate) in sdw_add_element_group_count()
233 unsigned int rate; in sdw_get_group_count() local
/openbmc/linux/drivers/sh/clk/
H A Dcore.c78 unsigned long rate; member
139 unsigned long rate) in clk_rate_table_round()
162 unsigned int div_max, unsigned long rate) in clk_rate_div_range_round()
182 unsigned int mult_max, unsigned long rate) in clk_rate_mult_range_round()
197 unsigned long rate) in clk_rate_table_find()
480 int clk_set_rate(struct clk *clk, unsigned long rate) in clk_set_rate()
552 long clk_round_rate(struct clk *clk, unsigned long rate) in clk_round_rate()
578 unsigned long rate = clkp->rate; in clks_core_resume() local
/openbmc/linux/drivers/clk/imx/
H A Dclk-pll14xx.c92 struct clk_pll14xx *pll, unsigned long rate) in imx_get_pll_settings()
119 unsigned long rate, unsigned long prate) in pll1443x_calc_kdiv()
129 static void imx_pll14xx_calc_settings(struct clk_pll14xx *pll, unsigned long rate, in imx_pll14xx_calc_settings()
216 static long clk_pll1416x_round_rate(struct clk_hw *hw, unsigned long rate, in clk_pll1416x_round_rate()
232 static long clk_pll1443x_round_rate(struct clk_hw *hw, unsigned long rate, in clk_pll1443x_round_rate()
264 static inline bool clk_pll14xx_mp_change(const struct imx_pll14xx_rate_table *rate, in clk_pll14xx_mp_change()
287 const struct imx_pll14xx_rate_table *rate; in clk_pll1416x_set_rate() local
353 struct imx_pll14xx_rate_table rate; in clk_pll1443x_set_rate() local
H A Dclk-pllv3.c120 static long clk_pllv3_round_rate(struct clk_hw *hw, unsigned long rate, in clk_pllv3_round_rate()
129 static int clk_pllv3_set_rate(struct clk_hw *hw, unsigned long rate, in clk_pllv3_set_rate()
168 static long clk_pllv3_sys_round_rate(struct clk_hw *hw, unsigned long rate, in clk_pllv3_sys_round_rate()
185 static int clk_pllv3_sys_set_rate(struct clk_hw *hw, unsigned long rate, in clk_pllv3_sys_set_rate()
229 static long clk_pllv3_av_round_rate(struct clk_hw *hw, unsigned long rate, in clk_pllv3_av_round_rate()
261 static int clk_pllv3_av_set_rate(struct clk_hw *hw, unsigned long rate, in clk_pllv3_av_set_rate()
322 unsigned long parent_rate, unsigned long rate) in clk_pllv3_vf610_rate_to_mf()
358 static long clk_pllv3_vf610_round_rate(struct clk_hw *hw, unsigned long rate, in clk_pllv3_vf610_round_rate()
366 static int clk_pllv3_vf610_set_rate(struct clk_hw *hw, unsigned long rate, in clk_pllv3_vf610_set_rate()
/openbmc/linux/drivers/clk/
H A Dclk-cdce925.c109 static void cdce925_pll_find_rate(unsigned long rate, in cdce925_pll_find_rate()
146 static long cdce925_pll_round_rate(struct clk_hw *hw, unsigned long rate, in cdce925_pll_round_rate()
155 static int cdce925_pll_set_rate(struct clk_hw *hw, unsigned long rate, in cdce925_pll_set_rate()
203 unsigned long rate = clk_get_rate(parent); in cdce925_pll_calc_range_bits() local
378 static u16 cdce925_calc_divider(unsigned long rate, in cdce925_calc_divider()
396 struct clk_hw *hw, unsigned long rate) in cdce925_clk_best_parent_rate()
438 static long cdce925_clk_round_rate(struct clk_hw *hw, unsigned long rate, in cdce925_clk_round_rate()
455 static int cdce925_clk_set_rate(struct clk_hw *hw, unsigned long rate, in cdce925_clk_set_rate()
474 static u16 cdce925_y1_calc_divider(unsigned long rate, in cdce925_y1_calc_divider()
491 static long cdce925_clk_y1_round_rate(struct clk_hw *hw, unsigned long rate, in cdce925_clk_y1_round_rate()
[all …]
H A Dclk-scpi.c35 static long scpi_clk_round_rate(struct clk_hw *hw, unsigned long rate, in scpi_clk_round_rate()
47 static int scpi_clk_set_rate(struct clk_hw *hw, unsigned long rate, in scpi_clk_set_rate()
62 static long __scpi_dvfs_round_rate(struct scpi_clk *clk, unsigned long rate) in __scpi_dvfs_round_rate()
95 static long scpi_dvfs_round_rate(struct clk_hw *hw, unsigned long rate, in scpi_dvfs_round_rate()
103 static int __scpi_find_dvfs_index(struct scpi_clk *clk, unsigned long rate) in __scpi_find_dvfs_index()
114 static int scpi_dvfs_set_rate(struct clk_hw *hw, unsigned long rate, in scpi_dvfs_set_rate()
/openbmc/linux/drivers/clk/sprd/
H A Ddiv.c12 static long sprd_div_round_rate(struct clk_hw *hw, unsigned long rate, in sprd_div_round_rate()
47 unsigned long rate, in sprd_div_helper_set_rate()
67 static int sprd_div_set_rate(struct clk_hw *hw, unsigned long rate, in sprd_div_set_rate()
/openbmc/u-boot/drivers/clk/aspeed/
H A Dclk_ast2400.c118 u16 rate = (hpll_reg >> 8) & 3; in ast2400_get_hpll_rate() local
181 u32 rate = ast2400_get_hpll_rate(scu); in ast2400_get_hclk() local
190 u32 rate = 0; in ast2400_get_pclk() local
223 ulong rate; in ast2400_clk_get_rate() local
270 ulong rate; member
355 static ulong ast2400_configure_ddr(struct ast2400_scu *scu, ulong rate) in ast2400_configure_ddr()
379 static unsigned long ast2400_clk_set_rate(struct clk *clk, ulong rate) in ast2400_clk_set_rate()
546 unsigned long rate; in soc_clk_dump() local
/openbmc/qemu/audio/
H A Dmixeng.c405 struct rate { struct
417 struct rate *rate = g_new0(struct rate, 1); in st_rate_start() local
456 struct rate *rate = opaque; in st_rate_frames_out() local
496 struct rate *rate = opaque; in st_rate_frames_in() local
/openbmc/linux/drivers/clk/qcom/
H A Dclk-regmap-divider.c18 static long div_round_ro_rate(struct clk_hw *hw, unsigned long rate, in div_round_ro_rate()
33 static long div_round_rate(struct clk_hw *hw, unsigned long rate, in div_round_rate()
42 static int div_set_rate(struct clk_hw *hw, unsigned long rate, in div_set_rate()
/openbmc/linux/drivers/clk/sunxi-ng/
H A Dccu_nk.c18 static unsigned long ccu_nk_find_best(unsigned long parent, unsigned long rate, in ccu_nk_find_best()
71 unsigned long rate, n, k; in ccu_nk_recalc_rate() local
95 static long ccu_nk_round_rate(struct clk_hw *hw, unsigned long rate, in ccu_nk_round_rate()
117 static int ccu_nk_set_rate(struct clk_hw *hw, unsigned long rate, in ccu_nk_set_rate()
H A Dccu_nkmp.c24 u64 rate = parent; in ccu_nkmp_calc_rate() local
32 static unsigned long ccu_nkmp_find_best(unsigned long parent, unsigned long rate, in ccu_nkmp_find_best()
97 unsigned long n, m, k, p, rate; in ccu_nkmp_recalc_rate() local
130 static long ccu_nkmp_round_rate(struct clk_hw *hw, unsigned long rate, in ccu_nkmp_round_rate()
163 static int ccu_nkmp_set_rate(struct clk_hw *hw, unsigned long rate, in ccu_nkmp_set_rate()
H A Dccu_sdm.c27 unsigned long rate) in ccu_sdm_helper_enable()
95 unsigned long rate) in ccu_sdm_helper_has_rate()
143 unsigned long rate, in ccu_sdm_helper_get_factors()
/openbmc/linux/sound/firewire/fireface/
H A Dff-protocol-latter.c71 static int parse_clock_bits(u32 data, unsigned int *rate, in parse_clock_bits()
76 unsigned int rate; in parse_clock_bits() member
141 static int latter_get_clock(struct snd_ff *ff, unsigned int *rate, in latter_get_clock()
172 static int latter_allocate_resources(struct snd_ff *ff, unsigned int rate) in latter_allocate_resources()
248 static int latter_begin_session(struct snd_ff *ff, unsigned int rate) in latter_begin_session()
330 unsigned int rate; in latter_dump_status() local
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/mvm/
H A Drs.c128 struct rs_rate *rate, in rs_ant_allow()
135 struct rs_rate *rate, in rs_mimo_allow()
157 struct rs_rate *rate, in rs_siso_allow()
167 struct rs_rate *rate, in rs_sgi_allow()
1035 struct rs_rate *rate) in rs_get_lower_rate_in_column()
2074 struct rs_rate *rate; in rs_rate_scale_perform() local
2644 struct rs_rate *rate; in rs_initialize_lq() local
3283 struct rs_rate rate; in rs_build_rates_table_from_fixed() local
3375 struct rs_rate rate; in rs_build_rates_table() local
3862 struct rs_rate *rate; in rs_sta_dbgfs_stats_table_read() local
[all …]
/openbmc/linux/drivers/mmc/host/
H A Dsdhci-milbeaut.c40 #define MLB_CAL_TOCLKFREQ_MHZ(rate) (rate / MLB_SD_TOCLK_I_DIV / 1000000) argument
41 #define MLB_CAL_TOCLKFREQ_KHZ(rate) (rate / MLB_SD_TOCLK_I_DIV / 1000) argument
46 #define MLB_CAL_BCLKFREQ(rate) (rate / MLB_SD_BCLK_I_DIV / 1000000) argument
144 int rate) in sdhci_milbeaut_bridge_init()
213 int rate = clk_get_rate(priv->clk); in sdhci_milbeaut_init() local
/openbmc/linux/sound/firewire/digi00x/
H A Ddigi00x-stream.c30 int snd_dg00x_stream_get_local_rate(struct snd_dg00x *dg00x, unsigned int *rate) in snd_dg00x_stream_get_local_rate()
51 int snd_dg00x_stream_set_local_rate(struct snd_dg00x *dg00x, unsigned int rate) in snd_dg00x_stream_set_local_rate()
103 unsigned int *rate) in snd_dg00x_stream_get_external_rate()
189 unsigned int rate) in keep_resources()
288 int snd_dg00x_stream_reserve_duplex(struct snd_dg00x *dg00x, unsigned int rate, in snd_dg00x_stream_reserve_duplex()
/openbmc/linux/sound/soc/mediatek/mt8186/
H A Dmt8186-afe-control.c75 unsigned int mt8186_general_rate_transform(struct device *dev, unsigned int rate) in mt8186_general_rate_transform()
118 static unsigned int tdm_rate_transform(struct device *dev, unsigned int rate) in tdm_rate_transform()
165 static unsigned int pcm_rate_transform(struct device *dev, unsigned int rate) in pcm_rate_transform()
184 unsigned int mt8186_tdm_relatch_rate_transform(struct device *dev, unsigned int rate) in mt8186_tdm_relatch_rate_transform()
225 unsigned int mt8186_rate_transform(struct device *dev, unsigned int rate, int aud_blk) in mt8186_rate_transform()
/openbmc/u-boot/drivers/clk/
H A Dclk-hsdk-cgu.c183 u32 rate; member
372 u64 rate; in pll_get() local
401 static unsigned long hsdk_pll_round_rate(struct clk *sclk, unsigned long rate) in hsdk_pll_round_rate()
424 unsigned long rate, in hsdk_pll_comm_update_rate()
444 unsigned long rate, in hsdk_pll_core_update_rate()
477 static ulong pll_set(struct clk *sclk, ulong rate) in pll_set()
524 static ulong cpu_clk_set(struct clk *sclk, ulong rate) in cpu_clk_set()
535 static ulong axi_clk_set(struct clk *sclk, ulong rate) in axi_clk_set()
573 static ulong tun_clk_set(struct clk *sclk, ulong rate) in tun_clk_set()
611 static ulong idiv_set(struct clk *sclk, ulong rate) in idiv_set()
[all …]
/openbmc/linux/drivers/gpu/drm/msm/disp/mdp4/
H A Dmdp4_lvds_pll.c26 unsigned long rate; member
48 static const struct pll_rate *find_rate(unsigned long rate) in find_rate()
101 static long mpd4_lvds_pll_round_rate(struct clk_hw *hw, unsigned long rate, in mpd4_lvds_pll_round_rate()
108 static int mpd4_lvds_pll_set_rate(struct clk_hw *hw, unsigned long rate, in mpd4_lvds_pll_set_rate()
/openbmc/linux/drivers/clk/actions/
H A Dowl-pll.c18 static u32 owl_pll_calculate_mul(struct owl_pll_hw *pll_hw, unsigned long rate) in owl_pll_calculate_mul()
44 const struct clk_pll_table *table, unsigned long rate) in _get_pll_table()
59 static long owl_pll_round_rate(struct clk_hw *hw, unsigned long rate, in owl_pll_round_rate()
155 static int owl_pll_set_rate(struct clk_hw *hw, unsigned long rate, in owl_pll_set_rate()
/openbmc/linux/drivers/net/wireless/mediatek/mt7601u/
H A Dmac.c28 mt76_mac_process_tx_rate(struct ieee80211_tx_rate *txrate, u16 rate) in mt76_mac_process_tx_rate()
69 struct ieee80211_tx_rate *rate = info->status.rates; in mt76_mac_fill_tx_status() local
105 const struct ieee80211_tx_rate *rate, u8 *nss_val) in mt76_mac_tx_rate_val()
147 const struct ieee80211_tx_rate *rate) in mt76_mac_wcid_set_rate()
397 mt76_mac_process_rate(struct ieee80211_rx_status *status, u16 rate) in mt76_mac_process_rate()
444 u16 rate, int rssi) in mt7601u_rx_monitor_beacon()
466 u16 rate = le16_to_cpu(rxwi->rate); in mt76_mac_process_rx() local
/openbmc/linux/sound/usb/
H A Dformat.c159 static int set_fixed_rate(struct audioformat *fp, int rate, int rate_bits) in set_fixed_rate()
176 unsigned int rate; in set_rate_table_min_max() local
225 unsigned int rate = combine_triple(&fmt[idx]); in parse_audio_format_rates_v1() local
282 unsigned int rate) in s1810c_valid_sample_rate()
307 unsigned int rate) in focusrite_valid_sample_rate()
362 unsigned int rate; in parse_uac2_sample_rate_range() local
/openbmc/linux/sound/firewire/fireworks/
H A Dfireworks_stream.c66 unsigned int rate) in start_stream()
160 unsigned int rate, unsigned int mode) in keep_resources()
185 int snd_efw_stream_reserve_duplex(struct snd_efw *efw, unsigned int rate, in snd_efw_stream_reserve_duplex()
249 unsigned int rate; in snd_efw_stream_start_duplex() local

12345678910>>...67