/linux/drivers/clk/ti/ |
A D | divider.c | 40 static void _setup_mask(struct clk_omap_divider *divider) in _setup_mask() 68 static unsigned int _get_div(struct clk_omap_divider *divider, unsigned int val) in _get_div() 90 static unsigned int _get_val(struct clk_omap_divider *divider, u8 div) in _get_val() 104 struct clk_omap_divider *divider = to_clk_omap_divider(hw); in ti_clk_divider_recalc_rate() local 138 static bool _is_valid_div(struct clk_omap_divider *divider, unsigned int div) in _is_valid_div() 179 struct clk_omap_divider *divider = to_clk_omap_divider(hw); in ti_clk_divider_bestdiv() local 246 struct clk_omap_divider *divider; in ti_clk_divider_set_rate() local 282 struct clk_omap_divider *divider = to_clk_omap_divider(hw); in clk_divider_save_context() local 299 struct clk_omap_divider *divider = to_clk_omap_divider(hw); in clk_divider_restore_context() local 344 u8 flags, struct clk_omap_divider *divider) in ti_clk_parse_divider_data() [all …]
|
A D | clk-dra7-atl.c | 57 u32 divider; /* Cached divider value */ member 134 unsigned divider; in atl_clk_round_rate() local 147 u32 divider; in atl_clk_set_rate() local
|
/linux/drivers/clk/qcom/ |
A D | clk-regmap-divider.c | 21 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/drivers/clk/tegra/ |
A D | clk-divider.c | 21 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/drivers/clk/mvebu/ |
A D | dove-divider.c | 53 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/drivers/media/i2c/cx25840/ |
A D | cx25840-ir.c | 145 static inline unsigned int clock_divider_to_ns(unsigned int divider) in clock_divider_to_ns() 158 static inline unsigned int clock_divider_to_carrier_freq(unsigned int divider) in clock_divider_to_carrier_freq() 170 static inline unsigned int clock_divider_to_freq(unsigned int divider, in clock_divider_to_freq() 215 static u32 clock_divider_to_resolution(u16 divider) in clock_divider_to_resolution() 226 static u64 pulse_width_count_to_ns(u16 count, u16 divider) in pulse_width_count_to_ns() 268 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() [all …]
|
/linux/drivers/clk/imx/ |
A D | clk-fixup-div.c | 24 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
|
A D | clk-composite-8m.c | 31 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/drivers/clk/zynqmp/ |
A D | divider.c | 82 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() 168 struct zynqmp_clk_divider *divider = to_zynqmp_clk_divider(hw); in zynqmp_clk_divider_round_rate() local 225 struct zynqmp_clk_divider *divider = to_zynqmp_clk_divider(hw); in zynqmp_clk_divider_set_rate() local
|
/linux/drivers/media/pci/cx23885/ |
A D | cx23888-ir.c | 184 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/drivers/clk/baikal-t1/ |
A D | ccu-div.c | 78 unsigned long divider) in ccu_div_var_update_clkdiv() 177 unsigned long divider; in ccu_div_var_recalc_rate() local 190 unsigned long divider; in ccu_div_var_calc_divider() local 201 unsigned long divider; in ccu_div_var_round_rate() local 217 unsigned long flags, divider; in ccu_div_var_set_rate_slow() local 251 unsigned long flags, divider; in ccu_div_var_set_rate_fast() local
|
A D | ccu-div.h | 66 unsigned int divider; member 92 unsigned int divider; member
|
/linux/drivers/clk/rockchip/ |
A D | clk-half-divider.c | 25 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/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
A D | qos.c | 13 #define MLX5_RATE_TO_BW_SHARE(rate, divider, limit) \ argument 138 static u32 esw_qos_calc_bw_share(u32 min_rate, u32 divider, u32 fw_max) in esw_qos_calc_bw_share() 151 u32 divider = esw_qos_calculate_min_rate_divider(esw, group, false); in esw_qos_normalize_vports_min_rate() local 175 static int esw_qos_normalize_groups_min_rate(struct mlx5_eswitch *esw, u32 divider, in esw_qos_normalize_groups_min_rate() 270 u32 previous_min_rate, divider; in esw_qos_set_group_min_rate() local 439 u32 divider; in esw_qos_create_rate_group() local 489 u32 divider; in esw_qos_destroy_rate_group() local
|
/linux/drivers/clk/mxs/ |
A D | clk-div.c | 22 struct clk_divider divider; member 30 struct clk_divider *divider = to_clk_divider(hw); in to_clk_div() local
|
/linux/drivers/i2c/busses/ |
A D | i2c-bcm2835.c | 88 u32 divider = DIV_ROUND_UP(parent_rate, rate); in clk_bcm2835_i2c_calc_divider() local 109 u32 divider = clk_bcm2835_i2c_calc_divider(rate, parent_rate); in clk_bcm2835_i2c_set_rate() local 138 u32 divider = clk_bcm2835_i2c_calc_divider(rate, *parent_rate); in clk_bcm2835_i2c_round_rate() local 147 u32 divider = bcm2835_i2c_readl(div->i2c_dev, BCM2835_I2C_DIV); in clk_bcm2835_i2c_recalc_rate() local
|
/linux/drivers/clk/ |
A D | clk-divider.c | 29 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
|
A D | clk-cdce925.c | 381 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/drivers/staging/clocking-wizard/ |
A D | clk-xlnx-clock-wizard.c | 125 struct clk_wzrd_divider *divider = to_clk_wzrd_divider(hw); in clk_wzrd_recalc_rate() local 142 struct clk_wzrd_divider *divider = to_clk_wzrd_divider(hw); in clk_wzrd_dynamic_reconfig() local 207 struct clk_wzrd_divider *divider = to_clk_wzrd_divider(hw); in clk_wzrd_recalc_ratef() local 223 struct clk_wzrd_divider *divider = to_clk_wzrd_divider(hw); in clk_wzrd_dynamic_reconfig_f() local
|
/linux/include/media/i2c/ |
A D | mt9t112.h | 24 struct mt9t112_pll_divider divider; member
|
/linux/drivers/media/dvb-frontends/ |
A D | stv6110.c | 226 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/drivers/clk/x86/ |
A D | clk-cgu.c | 138 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/drivers/iio/imu/inv_mpu6050/ |
A D | inv_mpu_ring.c | 36 const s32 divider = INV_MPU6050_FREQ_DIVIDER(st); in inv_mpu6050_update_period() local
|
/linux/drivers/clk/meson/ |
A D | vid-pll-div.c | 29 unsigned int divider; member
|
/linux/drivers/media/rc/ |
A D | ir-xmp-decoder.c | 75 int divider, i; in ir_xmp_decode() local
|