Home
last modified time | relevance | path

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

12

/drivers/clk/
Dclk-divider.c46 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
Dclk-axi-clkgen.c134 static void axi_clkgen_calc_clk_params(unsigned int divider, unsigned int *low, in axi_clkgen_calc_clk_params()
/drivers/clk/tegra/
Dclk-divider.c33 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/
Dcx25840-ir.c159 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/
Dcx23888-ir.c201 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/
Dclk-div.c29 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/
D8253.h37 int divider; in i8253_cascade_ns_to_timer_2div_old() local
130 unsigned int divider; in i8253_cascade_ns_to_timer_2div() local
Ddt3000.c412 int divider, base, prescale; in dt3k_ns_to_timer() local
533 unsigned int divider; in dt3k_ai_cmd() local
Ddt282x.c748 int prescale, base, divider; in dt282x_ns_to_timer() local
/drivers/media/dvb-frontends/
Dstv6110.c231 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
Dstv6110x.c110 u32 rDiv, divider; in stv6110x_set_frequency() local
/drivers/i2c/busses/
Di2c-mpc.c73 u16 divider; member
204 u32 divider; in mpc_i2c_get_fdr_52xx() local
352 u32 divider; in mpc_i2c_get_fdr_8xxx() local
Di2c-bcm2835.c223 u32 bus_clk_rate, divider; in bcm2835_i2c_probe() local
/drivers/net/can/sja1000/
Dsja1000_of_platform.c161 u32 divider = priv->can.clock.freq * 2 / prop; in sja1000_ofp_probe() local
/drivers/media/platform/omap3isp/
Disp.c158 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
Disp.h142 unsigned int divider; member
/drivers/spi/
Dspi-xcomm.c85 unsigned int divider = DIV_ROUND_UP(SPI_XCOMM_CLOCK, speed); in spi_xcomm_setup_transfer() local
/drivers/video/aty/
Dmach64_gx.c505 short divider = 0, tempA; in aty_var_to_pll_1703() local
745 short divider = 0, tempA; in aty_var_to_pll_408() local
Dmach64_ct.c122 u32 multiplier, divider, ras_multiplier, ras_divider, tmp; in aty_dsp_gt() local
/drivers/video/matrox/
Dmatroxfb_misc.c194 unsigned int divider; in matroxfb_vgaHWinit() local
/drivers/video/
Dau1200fb.c1273 unsigned int hi1, divider; in set_global() local
1303 unsigned int hi1, divider; in get_global() local
Dw100fb.c1421 unsigned long rot=0, divider, offset=0; in w100_set_dispregs() local
/drivers/media/usb/dvb-usb/
Ddib0700_core.c398 u16 divider; in dib0700_set_i2c_speed() local
/drivers/mfd/
Dsm501.c393 int divider; member
412 int divider; in sm501_calc_clock() local
/drivers/gpu/drm/radeon/
Dradeon_legacy_crtc.c726 int divider; in radeon_set_pll() member

12