Home
last modified time | relevance | path

Searched defs:divider (Results 1 – 25 of 124) sorted by relevance

12345

/linux-6.1.9/drivers/clk/ti/ !
Ddivider.c32 static void _setup_mask(struct clk_omap_divider *divider) in _setup_mask()
60 static unsigned int _get_div(struct clk_omap_divider *divider, unsigned int val) in _get_div()
82 static unsigned int _get_val(struct clk_omap_divider *divider, u8 div) in _get_val()
96 struct clk_omap_divider *divider = to_clk_omap_divider(hw); in ti_clk_divider_recalc_rate() local
130 static bool _is_valid_div(struct clk_omap_divider *divider, unsigned int div) in _is_valid_div()
171 struct clk_omap_divider *divider = to_clk_omap_divider(hw); in ti_clk_divider_bestdiv() local
238 struct clk_omap_divider *divider; in ti_clk_divider_set_rate() local
274 struct clk_omap_divider *divider = to_clk_omap_divider(hw); in clk_divider_save_context() local
291 struct clk_omap_divider *divider = to_clk_omap_divider(hw); in clk_divider_restore_context() local
338 u8 flags, struct clk_omap_divider *divider) in ti_clk_parse_divider_data()
[all …]
Dclk-dra7-atl.c49 u32 divider; /* Cached divider value */ member
126 unsigned divider; in atl_clk_round_rate() local
139 u32 divider; in atl_clk_set_rate() local
/linux-6.1.9/drivers/clk/qcom/ !
Dclk-regmap-divider.c21 struct clk_regmap_div *divider = to_clk_regmap_div(hw); in div_round_ro_rate() local
36 struct clk_regmap_div *divider = to_clk_regmap_div(hw); in div_round_rate() local
45 struct clk_regmap_div *divider = to_clk_regmap_div(hw); in div_set_rate() local
60 struct clk_regmap_div *divider = to_clk_regmap_div(hw); in div_recalc_rate() local
/linux-6.1.9/drivers/clk/tegra/ !
Dclk-divider.c21 static int get_div(struct tegra_clk_frac_div *divider, unsigned long rate, in get_div()
38 struct tegra_clk_frac_div *divider = to_clk_frac_div(hw); in clk_frac_div_recalc_rate() local
64 struct tegra_clk_frac_div *divider = to_clk_frac_div(hw); in clk_frac_div_round_rate() local
83 struct tegra_clk_frac_div *divider = to_clk_frac_div(hw); in clk_frac_div_set_rate() local
139 struct tegra_clk_frac_div *divider; in tegra_clk_register_divider() local
/linux-6.1.9/drivers/clk/mvebu/ !
Ddove-divider.c53 unsigned int divider; in dove_get_divider() local
70 unsigned int divider, max; in dove_calc_divider() local
102 unsigned int divider = dove_get_divider(dc); in dove_recalc_rate() local
116 int divider; in dove_round_rate() local
135 int divider; in dove_set_clock() local
/linux-6.1.9/drivers/clk/imx/ !
Dclk-fixup-div.c24 struct clk_divider divider; member
31 struct clk_divider *divider = to_clk_divider(hw); in to_clk_fixup_div() local
57 unsigned int divider, value; in clk_fixup_div_set_rate() local
Dclk-composite-8m.c31 struct clk_divider *divider = to_clk_divider(hw); in imx8m_clk_composite_divider_recalc_rate() local
95 struct clk_divider *divider = to_clk_divider(hw); in imx8m_clk_composite_divider_set_rate() local
/linux-6.1.9/drivers/media/i2c/cx25840/ !
Dcx25840-ir.c145 static inline unsigned int clock_divider_to_carrier_freq(unsigned int divider) in clock_divider_to_carrier_freq()
150 static inline unsigned int clock_divider_to_freq(unsigned int divider, in clock_divider_to_freq()
195 static u32 clock_divider_to_resolution(u16 divider) in clock_divider_to_resolution()
206 static u64 pulse_width_count_to_ns(u16 count, u16 divider) in pulse_width_count_to_ns()
248 static unsigned int pulse_width_count_to_us(u16 count, u16 divider) in pulse_width_count_to_us()
393 u16 *divider) in txclk_tx_s_carrier()
402 u16 *divider) in rxclk_rx_s_carrier()
410 u16 *divider) in txclk_tx_s_max_pulse_width()
423 u16 *divider) in rxclk_rx_s_max_pulse_width()
633 u16 divider; in cx25840_ir_rx_read() local
/linux-6.1.9/drivers/clk/zynqmp/ !
Ddivider.c82 struct zynqmp_clk_divider *divider = to_zynqmp_clk_divider(hw); in zynqmp_clk_divider_recalc_rate() local
115 struct zynqmp_clk_divider *divider, in zynqmp_get_divider2_val()
171 struct zynqmp_clk_divider *divider = to_zynqmp_clk_divider(hw); in zynqmp_clk_divider_round_rate() local
228 struct zynqmp_clk_divider *divider = to_zynqmp_clk_divider(hw); in zynqmp_clk_divider_set_rate() local
/linux-6.1.9/drivers/media/pci/cx23885/ !
Dcx23888-ir.c184 static inline unsigned int clock_divider_to_carrier_freq(unsigned int divider) in clock_divider_to_carrier_freq()
189 static inline unsigned int clock_divider_to_freq(unsigned int divider, in clock_divider_to_freq()
234 static u32 clock_divider_to_resolution(u16 divider) in clock_divider_to_resolution()
245 static u64 pulse_width_count_to_ns(u16 count, u16 divider) in pulse_width_count_to_ns()
261 static unsigned int pulse_width_count_to_us(u16 count, u16 divider) in pulse_width_count_to_us()
413 u16 *divider) in txclk_tx_s_carrier()
422 u16 *divider) in rxclk_rx_s_carrier()
430 u16 *divider) in txclk_tx_s_max_pulse_width()
443 u16 *divider) in rxclk_rx_s_max_pulse_width()
634 u16 divider = (u16) atomic_read(&state->rxclk_divider); in cx23888_ir_rx_read() local
/linux-6.1.9/drivers/clk/rockchip/ !
Dclk-half-divider.c25 struct clk_divider *divider = to_clk_divider(hw); in clk_half_divider_recalc_rate() local
98 struct clk_divider *divider = to_clk_divider(hw); in clk_half_divider_round_rate() local
111 struct clk_divider *divider = to_clk_divider(hw); in clk_half_divider_set_rate() local
/linux-6.1.9/drivers/clk/baikal-t1/ !
Dccu-div.c78 unsigned long divider) in ccu_div_var_update_clkdiv()
211 unsigned long divider; in ccu_div_var_recalc_rate() local
224 unsigned long divider; in ccu_div_var_calc_divider() local
235 unsigned long divider; in ccu_div_var_round_rate() local
251 unsigned long flags, divider; in ccu_div_var_set_rate_slow() local
285 unsigned long flags, divider; in ccu_div_var_set_rate_fast() local
Dccu-div.h79 unsigned int divider; member
105 unsigned int divider; member
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/esw/ !
Dqos.c13 #define MLX5_RATE_TO_BW_SHARE(rate, divider, limit) \ argument
126 static u32 esw_qos_calc_bw_share(u32 min_rate, u32 divider, u32 fw_max) in esw_qos_calc_bw_share()
139 u32 divider = esw_qos_calculate_min_rate_divider(esw, group, false); in esw_qos_normalize_vports_min_rate() local
163 static int esw_qos_normalize_groups_min_rate(struct mlx5_eswitch *esw, u32 divider, in esw_qos_normalize_groups_min_rate()
254 u32 previous_min_rate, divider; in esw_qos_set_group_min_rate() local
423 u32 divider; in __esw_qos_create_rate_group() local
493 u32 divider; in __esw_qos_destroy_rate_group() local
/linux-6.1.9/drivers/clk/mxs/ !
Dclk-div.c22 struct clk_divider divider; member
30 struct clk_divider *divider = to_clk_divider(hw); in to_clk_div() local
/linux-6.1.9/drivers/i2c/busses/ !
Di2c-bcm2835.c93 u32 divider = DIV_ROUND_UP(parent_rate, rate); in clk_bcm2835_i2c_calc_divider() local
114 u32 divider = clk_bcm2835_i2c_calc_divider(rate, parent_rate); in clk_bcm2835_i2c_set_rate() local
143 u32 divider = clk_bcm2835_i2c_calc_divider(rate, *parent_rate); in clk_bcm2835_i2c_round_rate() local
152 u32 divider = bcm2835_i2c_readl(div->i2c_dev, BCM2835_I2C_DIV); in clk_bcm2835_i2c_recalc_rate() local
/linux-6.1.9/drivers/clk/ !
Dclk-divider.c29 static inline u32 clk_div_readl(struct clk_divider *divider) in clk_div_readl()
37 static inline void clk_div_writel(struct clk_divider *divider, u32 val) in clk_div_writel()
152 struct clk_divider *divider = to_clk_divider(hw); in clk_divider_recalc_rate() local
431 struct clk_divider *divider = to_clk_divider(hw); in clk_divider_round_rate() local
452 struct clk_divider *divider = to_clk_divider(hw); in clk_divider_determine_rate() local
490 struct clk_divider *divider = to_clk_divider(hw); in clk_divider_set_rate() local
Dclk-cdce925.c381 unsigned long divider; in cdce925_calc_divider() local
442 u16 divider = cdce925_calc_divider(rate, l_parent_rate); in cdce925_clk_round_rate() local
477 unsigned long divider; in cdce925_y1_calc_divider() local
495 u16 divider = cdce925_y1_calc_divider(rate, l_parent_rate); in cdce925_clk_y1_round_rate() local
/linux-6.1.9/drivers/clk/xilinx/ !
Dclk-xlnx-clock-wizard.c128 struct clk_wzrd_divider *divider = to_clk_wzrd_divider(hw); in clk_wzrd_recalc_rate() local
145 struct clk_wzrd_divider *divider = to_clk_wzrd_divider(hw); in clk_wzrd_dynamic_reconfig() local
212 struct clk_wzrd_divider *divider = to_clk_wzrd_divider(hw); in clk_wzrd_recalc_ratef() local
228 struct clk_wzrd_divider *divider = to_clk_wzrd_divider(hw); in clk_wzrd_dynamic_reconfig_f() local
/linux-6.1.9/drivers/clk/stm32/ !
Dclk-stm32-core.c210 const struct stm32_div_cfg *divider = &data->dividers[div_id]; in stm32_divider_get_rate() local
233 const struct stm32_div_cfg *divider = &data->dividers[div_id]; in stm32_divider_set_rate() local
355 const struct stm32_div_cfg *divider; in clk_stm32_divider_round_rate() local
433 const struct stm32_div_cfg *divider; in clk_stm32_composite_round_rate() local
/linux-6.1.9/include/linux/ !
Dpolynomial.h19 long divider; member
/linux-6.1.9/drivers/media/dvb-frontends/ !
Dstv6110.c226 u32 nbsteps, divider, psd2, freq; in stv6110_get_frequency() local
252 u32 divider, ref, p, presc, i, result_freq, vco_freq; in stv6110_set_frequency() local
/linux-6.1.9/drivers/clk/x86/ !
Dclk-cgu.c138 struct lgm_clk_divider *divider = to_lgm_clk_divider(hw); in lgm_clk_divider_recalc_rate() local
155 struct lgm_clk_divider *divider = to_lgm_clk_divider(hw); in lgm_clk_divider_round_rate() local
165 struct lgm_clk_divider *divider = to_lgm_clk_divider(hw); in lgm_clk_divider_set_rate() local
/linux-6.1.9/include/media/i2c/ !
Dmt9t112.h24 struct mt9t112_pll_divider divider; member
/linux-6.1.9/drivers/iio/imu/inv_mpu6050/ !
Dinv_mpu_ring.c36 const s32 divider = INV_MPU6050_FREQ_DIVIDER(st); in inv_mpu6050_update_period() local

12345