/drivers/clk/ |
D | clk-divider.c | 46 static unsigned int _get_maxdiv(struct clk_divider *divider) in _get_maxdiv() 68 static unsigned int _get_div(struct clk_divider *divider, unsigned int val) in _get_div() 90 static unsigned int _get_val(struct clk_divider *divider, u8 div) in _get_val() 104 struct clk_divider *divider = to_clk_divider(hw); in clk_divider_recalc_rate() local 138 static bool _is_valid_div(struct clk_divider *divider, unsigned int div) in _is_valid_div() 150 struct clk_divider *divider = to_clk_divider(hw); in clk_divider_bestdiv() local 206 struct clk_divider *divider = to_clk_divider(hw); in clk_divider_set_rate() local
|
D | clk-axi-clkgen.c | 134 static void axi_clkgen_calc_clk_params(unsigned int divider, unsigned int *low, in axi_clkgen_calc_clk_params()
|
/drivers/clk/tegra/ |
D | clk-divider.c | 33 static int get_div(struct tegra_clk_frac_div *divider, unsigned long rate, in get_div() 70 struct tegra_clk_frac_div *divider = to_clk_frac_div(hw); in clk_frac_div_recalc_rate() local 91 struct tegra_clk_frac_div *divider = to_clk_frac_div(hw); in clk_frac_div_round_rate() local 110 struct tegra_clk_frac_div *divider = to_clk_frac_div(hw); in clk_frac_div_set_rate() local 155 struct tegra_clk_frac_div *divider; in tegra_clk_register_divider() local
|
/drivers/media/i2c/cx25840/ |
D | cx25840-ir.c | 159 static inline unsigned int clock_divider_to_ns(unsigned int divider) in clock_divider_to_ns() 172 static inline unsigned int clock_divider_to_carrier_freq(unsigned int divider) in clock_divider_to_carrier_freq() 184 static inline unsigned int clock_divider_to_freq(unsigned int divider, in clock_divider_to_freq() 229 static u32 clock_divider_to_resolution(u16 divider) in clock_divider_to_resolution() 240 static u64 pulse_width_count_to_ns(u16 count, u16 divider) in pulse_width_count_to_ns() 282 static unsigned int pulse_width_count_to_us(u16 count, u16 divider) in pulse_width_count_to_us() 427 u16 *divider) in txclk_tx_s_carrier() 436 u16 *divider) in rxclk_rx_s_carrier() 444 u16 *divider) in txclk_tx_s_max_pulse_width() 457 u16 *divider) in rxclk_rx_s_max_pulse_width() [all …]
|
/drivers/media/pci/cx23885/ |
D | cx23888-ir.c | 201 static inline unsigned int clock_divider_to_ns(unsigned int divider) in clock_divider_to_ns() 214 static inline unsigned int clock_divider_to_carrier_freq(unsigned int divider) in clock_divider_to_carrier_freq() 226 static inline unsigned int clock_divider_to_freq(unsigned int divider, in clock_divider_to_freq() 271 static u32 clock_divider_to_resolution(u16 divider) in clock_divider_to_resolution() 282 static u64 pulse_width_count_to_ns(u16 count, u16 divider) in pulse_width_count_to_ns() 298 static unsigned int pulse_width_count_to_us(u16 count, u16 divider) in pulse_width_count_to_us() 450 u16 *divider) in txclk_tx_s_carrier() 459 u16 *divider) in rxclk_rx_s_carrier() 467 u16 *divider) in txclk_tx_s_max_pulse_width() 480 u16 *divider) in rxclk_rx_s_max_pulse_width() [all …]
|
/drivers/clk/mxs/ |
D | clk-div.c | 29 struct clk_divider divider; member 37 struct clk_divider *divider = container_of(hw, struct clk_divider, hw); in to_clk_div() local
|
/drivers/staging/comedi/drivers/ |
D | 8253.h | 37 int divider; in i8253_cascade_ns_to_timer_2div_old() local 130 unsigned int divider; in i8253_cascade_ns_to_timer_2div() local
|
D | dt3000.c | 412 int divider, base, prescale; in dt3k_ns_to_timer() local 533 unsigned int divider; in dt3k_ai_cmd() local
|
D | dt282x.c | 748 int prescale, base, divider; in dt282x_ns_to_timer() local
|
/drivers/media/dvb-frontends/ |
D | stv6110.c | 231 u32 nbsteps, divider, psd2, freq; in stv6110_get_frequency() local 258 u32 divider, ref, p, presc, i, result_freq, vco_freq; in stv6110_set_frequency() local
|
D | stv6110x.c | 110 u32 rDiv, divider; in stv6110x_set_frequency() local
|
/drivers/i2c/busses/ |
D | i2c-mpc.c | 73 u16 divider; member 204 u32 divider; in mpc_i2c_get_fdr_52xx() local 352 u32 divider; in mpc_i2c_get_fdr_8xxx() local
|
D | i2c-bcm2835.c | 223 u32 bus_clk_rate, divider; in bcm2835_i2c_probe() local
|
/drivers/net/can/sja1000/ |
D | sja1000_of_platform.c | 161 u32 divider = priv->can.clock.freq * 2 / prop; in sja1000_ofp_probe() local
|
/drivers/media/platform/omap3isp/ |
D | isp.c | 158 static void isp_xclk_update(struct isp_xclk *xclk, u32 divider) in isp_xclk_update() 224 u32 divider; in isp_xclk_calc_divider() local 251 u32 divider; in isp_xclk_set_rate() local
|
D | isp.h | 142 unsigned int divider; member
|
/drivers/spi/ |
D | spi-xcomm.c | 85 unsigned int divider = DIV_ROUND_UP(SPI_XCOMM_CLOCK, speed); in spi_xcomm_setup_transfer() local
|
/drivers/video/aty/ |
D | mach64_gx.c | 505 short divider = 0, tempA; in aty_var_to_pll_1703() local 745 short divider = 0, tempA; in aty_var_to_pll_408() local
|
D | mach64_ct.c | 122 u32 multiplier, divider, ras_multiplier, ras_divider, tmp; in aty_dsp_gt() local
|
/drivers/video/matrox/ |
D | matroxfb_misc.c | 194 unsigned int divider; in matroxfb_vgaHWinit() local
|
/drivers/video/ |
D | au1200fb.c | 1273 unsigned int hi1, divider; in set_global() local 1303 unsigned int hi1, divider; in get_global() local
|
D | w100fb.c | 1421 unsigned long rot=0, divider, offset=0; in w100_set_dispregs() local
|
/drivers/media/usb/dvb-usb/ |
D | dib0700_core.c | 398 u16 divider; in dib0700_set_i2c_speed() local
|
/drivers/mfd/ |
D | sm501.c | 393 int divider; member 412 int divider; in sm501_calc_clock() local
|
/drivers/gpu/drm/radeon/ |
D | radeon_legacy_crtc.c | 726 int divider; in radeon_set_pll() member
|