Home
last modified time | relevance | path

Searched refs:div (Results 1 – 11 of 11) sorted by relevance

/include/linux/
Dktime.h146 extern s64 __ktime_divns(const ktime_t kt, s64 div);
147 static inline s64 ktime_divns(const ktime_t kt, s64 div) in ktime_divns() argument
153 BUG_ON(div < 0); in ktime_divns()
154 if (__builtin_constant_p(div) && !(div >> 32)) { in ktime_divns()
158 do_div(tmp, div); in ktime_divns()
161 return __ktime_divns(kt, div); in ktime_divns()
165 static inline s64 ktime_divns(const ktime_t kt, s64 div) in ktime_divns() argument
171 WARN_ON(div < 0); in ktime_divns()
172 return kt / div; in ktime_divns()
Djz4740-adc.h31 #define JZ_ADC_CONFIG_CLKDIV(div) ((div) << 5) argument
Dclk-provider.h417 unsigned int div; member
618 unsigned int div; member
626 unsigned int mult, unsigned int div);
630 unsigned int mult, unsigned int div);
998 .div = _div, \
1009 .div = _div, \
1024 .div = _div, \
1035 .div = _div, \
Dsh_clk.h34 #define SH_CLK_DIV_MSK(div) ((1 << (div)) - 1) argument
Dcpufreq.h497 static inline unsigned long cpufreq_scale(unsigned long old, u_int div, in cpufreq_scale() argument
502 do_div(result, div); in cpufreq_scale()
507 result /= div; in cpufreq_scale()
/include/linux/mfd/
Ducb1x00.h231 static inline void ucb1x00_set_audio_divisor(struct ucb1x00 *ucb, unsigned int div) in ucb1x00_set_audio_divisor() argument
233 mcp_set_audio_divisor(ucb->mcp, div); in ucb1x00_set_audio_divisor()
241 static inline void ucb1x00_set_telecom_divisor(struct ucb1x00 *ucb, unsigned int div) in ucb1x00_set_telecom_divisor() argument
243 mcp_set_telecom_divisor(ucb->mcp, div); in ucb1x00_set_telecom_divisor()
Datmel-hlcdc.h44 #define ATMEL_HLCDC_CLKDIV(div) ((div - 2) << ATMEL_HLCDC_CLKDIV_SHFT) argument
Ddb8500-prcmu.h503 int prcmu_config_clkout(u8 clkout, u8 source, u8 div);
611 static inline int prcmu_config_clkout(u8 clkout, u8 source, u8 div) in prcmu_config_clkout() argument
Ddbx500-prcmu.h260 int prcmu_config_clkout(u8 clkout, u8 source, u8 div);
437 static inline int prcmu_config_clkout(u8 clkout, u8 source, u8 div) in prcmu_config_clkout() argument
/include/linux/platform_data/
Dhwmon-s3c.h25 unsigned int div; member
/include/sound/
Dsoc-dai.h118 int div_id, int div);
182 int (*set_clkdiv)(struct snd_soc_dai *dai, int div_id, int div);