/kernel/linux/linux-5.10/drivers/clk/ti/ |
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 …]
|
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
|
/kernel/linux/linux-5.10/drivers/clk/qcom/ |
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
|
/kernel/linux/linux-5.10/drivers/clk/tegra/ |
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
|
/kernel/linux/linux-5.10/drivers/clk/mvebu/ |
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
|
/kernel/linux/linux-5.10/drivers/clk/imx/ |
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
|
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
|
/kernel/linux/linux-5.10/drivers/media/i2c/cx25840/ |
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 …]
|
/kernel/linux/linux-5.10/drivers/clk/zynqmp/ |
D | divider.c | 81 struct zynqmp_clk_divider *divider = to_zynqmp_clk_divider(hw); in zynqmp_clk_divider_recalc_rate() local 114 struct zynqmp_clk_divider *divider, in zynqmp_get_divider2_val() 167 struct zynqmp_clk_divider *divider = to_zynqmp_clk_divider(hw); in zynqmp_clk_divider_round_rate() local 224 struct zynqmp_clk_divider *divider = to_zynqmp_clk_divider(hw); in zynqmp_clk_divider_set_rate() local
|
/kernel/linux/linux-5.10/drivers/clk/rockchip/ |
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
|
/kernel/linux/linux-5.10/drivers/media/pci/cx23885/ |
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
|
/kernel/linux/linux-5.10/drivers/clk/mxs/ |
D | clk-div.c | 22 struct clk_divider divider; member 30 struct clk_divider *divider = to_clk_divider(hw); in to_clk_div() local
|
/kernel/linux/linux-5.10/drivers/clk/baikal-t1/ |
D | ccu-div.c | 79 unsigned long divider) in ccu_div_var_update_clkdiv() 212 unsigned long divider; in ccu_div_var_recalc_rate() local 225 unsigned long divider; in ccu_div_var_calc_divider() local 236 unsigned long divider; in ccu_div_var_round_rate() local 252 unsigned long flags, divider; in ccu_div_var_set_rate_slow() local 286 unsigned long flags, divider; in ccu_div_var_set_rate_fast() local
|
D | ccu-div.h | 76 unsigned int divider; member 102 unsigned int divider; member
|
/kernel/linux/linux-5.10/drivers/i2c/busses/ |
D | i2c-bcm2835.c | 93 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
|
/kernel/linux/linux-5.10/drivers/clk/ |
D | clk-divider.c | 28 static inline u32 clk_div_readl(struct clk_divider *divider) in clk_div_readl() 36 static inline void clk_div_writel(struct clk_divider *divider, u32 val) in clk_div_writel() 151 struct clk_divider *divider = to_clk_divider(hw); in clk_divider_recalc_rate() local 383 struct clk_divider *divider = to_clk_divider(hw); in clk_divider_round_rate() local 421 struct clk_divider *divider = to_clk_divider(hw); in clk_divider_set_rate() local
|
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
|
/kernel/linux/linux-5.10/include/media/i2c/ |
D | mt9t112.h | 24 struct mt9t112_pll_divider divider; member
|
/kernel/linux/linux-5.10/drivers/clk/x86/ |
D | clk-cgu.c | 125 struct lgm_clk_divider *divider = to_lgm_clk_divider(hw); in lgm_clk_divider_recalc_rate() local 139 struct lgm_clk_divider *divider = to_lgm_clk_divider(hw); in lgm_clk_divider_round_rate() local 149 struct lgm_clk_divider *divider = to_lgm_clk_divider(hw); in lgm_clk_divider_set_rate() local
|
/kernel/linux/linux-5.10/drivers/iio/imu/inv_mpu6050/ |
D | inv_mpu_ring.c | 36 const s32 divider = INV_MPU6050_FREQ_DIVIDER(st); in inv_mpu6050_update_period() local
|
/kernel/linux/linux-5.10/drivers/clk/meson/ |
D | vid-pll-div.c | 29 unsigned int divider; member
|
/kernel/linux/linux-5.10/drivers/media/rc/ |
D | ir-xmp-decoder.c | 75 int divider, i; in ir_xmp_decode() local
|
/kernel/linux/linux-5.10/drivers/media/dvb-frontends/ |
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
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/ |
D | intel_cdclk.h | 22 u8 divider; /* CD2X divider * 2 */ member
|
/kernel/linux/linux-5.10/arch/x86/kernel/ |
D | tsc_msr.c | 40 u32 divider; member
|