Searched defs:div (Results 1 - 200 of 385) sorted by relevance

12

/linux-4.1.27/include/linux/platform_data/
H A Dhwmon-s3c.h28 unsigned int div; member in struct:s3c_hwmon_chcfg
/linux-4.1.27/drivers/clk/sunxi/
H A Dclk-sun8i-mbus.c32 u8 div; sun8i_a23_get_mbus_factors() local
H A Dclk-sun9i-core.c117 u32 div; sun9i_a80_get_gt_factors() local
268 u32 div; sun9i_a80_get_apb1_factors() local
H A Dclk-mod0.c33 u8 div, calcm, calcp; sun4i_a10_get_mod0_factors() local
H A Dclk-sun6i-ar100.c42 int div = (val >> SUN6I_AR100_DIV_SHIFT) & SUN6I_AR100_DIV_MASK; ar100_recalc_rate() local
63 unsigned long div; ar100_determine_rate() local
139 unsigned long div = parent_rate / rate; ar100_set_rate() local
/linux-4.1.27/drivers/clk/ti/
H A Dfixed-factor.c39 u32 div, mult; of_ti_fixed_factor_clk_setup() local
H A Dcomposite.c127 struct clk_hw *div; ti_clk_register_composite() local
H A Ddivider.c88 static unsigned int _get_val(struct clk_divider *divider, u8 div) _get_val() argument
103 unsigned int div, val; ti_clk_divider_recalc_rate() local
136 static bool _is_valid_div(struct clk_divider *divider, unsigned int div) _is_valid_div() argument
206 int div; ti_clk_divider_round_rate() local
216 unsigned int div, value; ti_clk_divider_set_rate() local
262 struct clk_divider *div; _register_divider() local
310 int div; _get_div_table_from_setup() local
364 struct clk_divider *div; ti_clk_build_component_div() local
393 struct ti_clk_divider *div; ti_clk_register_divider() local
489 u32 div; _get_divider_width() local
603 struct clk_divider *div; of_ti_composite_divider_clk_setup() local
77 _get_table_val(const struct clk_div_table *table, unsigned int div) _get_table_val() argument
125 _is_valid_table_div(const struct clk_div_table *table, unsigned int div) _is_valid_table_div() argument
H A Dclock.h106 u16 div; member in struct:ti_clk_fixed_factor
/linux-4.1.27/drivers/media/dvb-frontends/
H A Dtdhd1.h49 u32 div; alps_tdhd1_204a_tuner_set_params() local
H A Dbsbe1.h77 u32 div; alps_bsbe1_tuner_set_params() local
H A Dbsru6.h108 u32 div; alps_bsru6_tuner_set_params() local
H A Dtda826x.c79 u32 div; tda826x_set_params() local
H A Dtua6100.c74 u32 div; tua6100_set_params() local
H A Dmt352.c319 u16 div; mt352_get_parameters() local
H A Dzl10036.c187 u32 div, foffset; zl10036_set_frequency() local
H A Dzl10039.c196 u32 div; zl10039_set_params() local
H A Ddvb-pll.c568 u32 div; dvb_pll_configure() local
H A Dtda10071.c670 u8 mode, rolloff, pilot, inversion, div; tda10071_set_frontend() local
/linux-4.1.27/arch/mn10300/include/asm/
H A Ddiv64.h79 unsigned __muldiv64u(unsigned val, unsigned mult, unsigned div) __muldiv64u() argument
100 signed __muldiv64s(signed val, signed mult, signed div) __muldiv64s() argument
/linux-4.1.27/arch/arm/mach-shmobile/
H A Dclock.h13 int div; member in struct:clk_ratio
H A Dtimer.c21 shmobile_setup_delay_hz(unsigned int max_cpu_core_hz, unsigned int mult, unsigned int div) shmobile_setup_delay_hz() argument
/linux-4.1.27/drivers/mmc/host/
H A Dsdhci-cns3xxx.c29 int div = 1; sdhci_cns3xxx_set_clock() local
H A Dsdhci-of-arasan.c41 u32 div; sdhci_arasan_get_timeout_clock() local
H A Dsdhci-of-esdhc.c203 int div = 1; esdhc_of_set_clock() local
H A Dtoshsd.c87 int div = 1; __toshsd_set_ios() local
H A Ddw_mmc-exynos.c255 u8 div; dw_mci_exynos_adjust_clock() local
321 u32 div = 0; dw_mci_exynos_parse_dt() local
/linux-4.1.27/drivers/media/i2c/
H A Daptina-pll.c38 unsigned int div; aptina_pll_calculate() local
H A Dsmiapp-pll.c403 uint32_t mul, div; smiapp_pll_calculate() local
159 __smiapp_pll_calculate( struct device *dev, const struct smiapp_pll_limits *limits, const struct smiapp_pll_branch_limits *op_limits, struct smiapp_pll *pll, struct smiapp_pll_branch *op_pll, uint32_t mul, uint32_t div, uint32_t lane_op_clock_ratio) __smiapp_pll_calculate() argument
/linux-4.1.27/drivers/gpu/drm/armada/
H A Darmada_510.c64 uint32_t rate, ref, div; armada510_crtc_compute_clock() local
/linux-4.1.27/arch/x86/realmode/rm/
H A Dwakemain.c17 u16 div = 1193181/hz; beep() local
/linux-4.1.27/drivers/clk/
H A Dclk-moxart.c60 unsigned int div, val; moxart_of_apb_clk_init() local
H A Dclk-fixed-factor.c111 u32 div, mult; of_fixed_factor_clk_setup() local
68 clk_register_fixed_factor(struct device *dev, const char *name, const char *parent_name, unsigned long flags, unsigned int mult, unsigned int div) clk_register_fixed_factor() argument
H A Dclk-fractional-divider.c53 unsigned div; clk_fd_round_rate() local
73 unsigned long div; clk_fd_set_rate() local
H A Dclk-divider.c120 unsigned int div; divider_recalc_rate() local
158 static bool _is_valid_div(const struct clk_div_table *table, unsigned int div, _is_valid_div() argument
168 static int _round_up_table(const struct clk_div_table *table, int div) _round_up_table() argument
186 static int _round_down_table(const struct clk_div_table *table, int div) _round_down_table() argument
208 int div = DIV_ROUND_UP(parent_rate, rate); _div_round_up() local
261 static int _next_div(const struct clk_div_table *table, int div, _next_div() argument
336 int div; divider_round_rate() local
366 unsigned int div, value; divider_get_val() local
421 struct clk_divider *div; _register_divider() local
512 struct clk_divider *div; clk_unregister_divider() local
92 _get_table_val(const struct clk_div_table *table, unsigned int div) _get_table_val() argument
103 _get_val(const struct clk_div_table *table, unsigned int div, unsigned long flags) _get_val() argument
147 _is_valid_table_div(const struct clk_div_table *table, unsigned int div) _is_valid_table_div() argument
H A Dclk-axm5516.c94 u32 ctrl, div; axxia_divclk_recalc_rate() local
H A Dclk-highbank.c208 u32 div = (readl(hbclk->reg) & HB_A9_PCLK_DIV) ? 8 : 4; clk_cpu_periphclk_recalc_rate() local
220 u32 div = (readl(hbclk->reg) & HB_A9_BCLK_DIV_MASK) >> HB_A9_BCLK_DIV_SHIFT; clk_cpu_a9bclk_recalc_rate() local
233 u32 div; clk_periclk_recalc_rate() local
245 u32 div; clk_periclk_round_rate() local
258 u32 div; clk_periclk_set_rate() local
/linux-4.1.27/drivers/clk/qcom/
H A Dclk-regmap-divider.c40 u32 div; div_set_rate() local
55 u32 div; div_recalc_rate() local
H A Dclk-rcg2.c438 unsigned long parent_rate, div; clk_byte_determine_rate() local
460 unsigned long div; clk_byte_set_rate() local
/linux-4.1.27/arch/powerpc/boot/
H A Dcuboot-52xx.c27 int div; platform_fixups() local
H A Dmpc8xx.c27 int mfi, mfn, mfd, pdf, div; mpc885_get_clock() local
H A Dcuboot-acadia.c49 unsigned long div; /* total divisor udiv * bdiv */ get_clocks() local
/linux-4.1.27/arch/arm/mach-rpc/include/mach/
H A Dacornfb.h85 u_int div; acornfb_vidc20_find_rates() local
/linux-4.1.27/drivers/media/pci/mantis/
H A Dmantis_vp1033.c93 u32 div; lgtdqcs001f_tuner_set() local
H A Dmantis_vp2033.c81 u32 div = (p->frequency + CU1216_IF + TUNER_MUL / 2) / TUNER_MUL; tda1002x_cu1216_tuner_set() local
H A Dmantis_vp2040.c63 u32 div = (p->frequency + CU1216_IF + TUNER_MUL / 2) / TUNER_MUL; tda1002x_cu1216_tuner_set() local
/linux-4.1.27/drivers/clk/shmobile/
H A Dclk-r8a7778.c39 unsigned int div[4]; member in struct:__anon3755
H A Dclk-div6.c34 unsigned int div; member in struct:div6_clock
83 unsigned int div = (clk_readl(clock->reg) & CPG_DIV6_DIV_MASK) + 1; cpg_div6_clock_recalc_rate() local
91 unsigned int div; cpg_div6_clock_calc_div() local
103 unsigned int div = cpg_div6_clock_calc_div(rate, *parent_rate); cpg_div6_clock_round_rate() local
112 unsigned int div = cpg_div6_clock_calc_div(rate, parent_rate); cpg_div6_clock_set_rate() local
H A Dclk-r8a73a4.c70 unsigned int div = 1; r8a73a4_cpg_register_clock() local
H A Dclk-r8a7740.c72 unsigned int div = 1; r8a7740_cpg_register_clock() local
H A Dclk-r8a7779.c100 unsigned int div = 1; r8a7779_cpg_register_clock() local
H A Dclk-rcar-gen2.c213 struct clk_divider *div; cpg_adsp_clk_register() local
309 unsigned int div = 1; rcar_gen2_cpg_register_clock() local
H A Dclk-sh73a0.c84 unsigned int div = 1; sh73a0_cpg_register_clock() local
/linux-4.1.27/drivers/clk/at91/
H A Dclk-h32mx.c55 unsigned long div; clk_sama5d4_h32mx_round_rate() local
H A Dclk-plldiv.c42 unsigned long div; clk_plldiv_round_rate() local
H A Dclk-smd.c49 unsigned long div; at91sam9x5_clk_smd_round_rate() local
97 unsigned long div = parent_rate / rate; at91sam9x5_clk_smd_set_rate() local
H A Dclk-master.c88 u8 div; clk_master_recalc_rate() local
H A Dclk-peripheral.c47 u32 div; member in struct:clk_sam9x5_peripheral
H A Dclk-programmable.c144 unsigned long div = parent_rate / rate; clk_programmable_set_rate() local
H A Dclk-usb.c74 int div; at91sam9x5_clk_usb_determine_rate() local
139 unsigned long div; at91sam9x5_clk_usb_set_rate() local
317 unsigned long div; at91rm9200_clk_usb_set_rate() local
/linux-4.1.27/drivers/clk/mxs/
H A Dclk.h59 mxs_clk_fixed_factor(const char *name, const char *parent_name, unsigned int mult, unsigned int div) mxs_clk_fixed_factor() argument
H A Dclk-div.c45 struct clk_div *div = to_clk_div(hw); clk_div_recalc_rate() local
53 struct clk_div *div = to_clk_div(hw); clk_div_round_rate() local
61 struct clk_div *div = to_clk_div(hw); clk_div_set_rate() local
80 struct clk_div *div; mxs_clk_div() local
H A Dclk-frac.c44 u32 div; clk_frac_recalc_rate() local
57 u32 div; clk_frac_round_rate() local
79 u32 div, val; clk_frac_set_rate() local
/linux-4.1.27/drivers/clk/pistachio/
H A Dclk.c93 pistachio_clk_register_div(struct pistachio_clk_provider *p, struct pistachio_div *div, unsigned int num) pistachio_clk_register_div() argument
H A Dclk.h84 unsigned int div; member in struct:pistachio_fixed_factor
/linux-4.1.27/sound/soc/samsung/
H A Djive_wm8750.c43 struct s3c_i2sv2_rate_calc div; jive_hw_params() local
H A Dh1940_uda1380.c79 int div; h1940_hw_params() local
H A Drx1950_uda1380.c159 int div; rx1950_hw_params() local
H A Ds3c24xx_uda134x.c136 unsigned int div; s3c24xx_uda134x_hw_params() local
H A Ds3c24xx-i2s.c322 s3c24xx_i2s_set_clkdiv(struct snd_soc_dai *cpu_dai, int div_id, int div) s3c24xx_i2s_set_clkdiv() argument
H A Ds3c-i2s-v2.c567 unsigned int div; s3c_i2sv2_iis_calc_rate() local
449 s3c2412_i2s_set_clkdiv(struct snd_soc_dai *cpu_dai, int div_id, int div) s3c2412_i2s_set_clkdiv() argument
/linux-4.1.27/drivers/clk/socfpga/
H A Dclk-periph.c32 u32 div, val; clk_periclk_recalc_rate() local
H A Dclk-gate.c107 u32 div = 1, val; socfpga_clk_recalc_rate() local
/linux-4.1.27/drivers/clk/spear/
H A Dclk-frac-synth.c73 unsigned int div = 1, val; clk_frac_recalc_rate() local
H A Dclk-gpt-synth.c60 unsigned int div = 1, val; clk_gpt_recalc_rate() local
H A Dclk.h60 u32 div; member in struct:frac_rate_tbl
/linux-4.1.27/drivers/gpu/drm/nouveau/
H A Dnouveau_backlight.c102 u32 div = 1025; nv50_get_intensity() local
117 u32 div = 1025; nv50_set_intensity() local
138 u32 div, val; nva3_get_intensity() local
156 u32 div, val; nva3_set_intensity() local
/linux-4.1.27/drivers/clk/hisilicon/
H A Dclk.h51 unsigned long div; member in struct:hisi_fixed_factor_clock
H A Dclk-hi3620.c346 u32 sam, drv, div, val; mmc_clk_set_timing() local
/linux-4.1.27/drivers/clk/mvebu/
H A Darmada-370.c115 a370_get_clk_ratio( void __iomem *sar, int id, int *mult, int *div) a370_get_clk_ratio() argument
H A Darmada-375.c116 armada_375_get_clk_ratio( void __iomem *sar, int id, int *mult, int *div) armada_375_get_clk_ratio() argument
H A Darmada-38x.c99 armada_38x_get_clk_ratio( void __iomem *sar, int id, int *mult, int *div) armada_38x_get_clk_ratio() argument
H A Darmada-39x.c93 armada_39x_get_clk_ratio( void __iomem *sar, int id, int *mult, int *div) armada_39x_get_clk_ratio() argument
H A Ddove.c126 dove_get_clk_ratio( void __iomem *sar, int id, int *mult, int *div) dove_get_clk_ratio() argument
H A Darmada-xp.c125 axp_get_clk_ratio( void __iomem *sar, int id, int *mult, int *div) axp_get_clk_ratio() argument
H A Dorion.c59 mv88f5182_get_clk_ratio(void __iomem *sar, int id, int *mult, int *div) mv88f5182_get_clk_ratio() argument
116 mv88f5281_get_clk_ratio(void __iomem *sar, int id, int *mult, int *div) mv88f5281_get_clk_ratio() argument
182 mv88f6183_get_clk_ratio(void __iomem *sar, int id, int *mult, int *div) mv88f6183_get_clk_ratio() argument
H A Dclk-corediv.c128 u32 reg, div; clk_corediv_recalc_rate() local
139 u32 div; clk_corediv_round_rate() local
157 u32 reg, div; clk_corediv_set_rate() local
H A Dclk-cpu.c53 u32 reg, div; clk_cpu_recalc_rate() local
64 u32 div; clk_cpu_round_rate() local
80 u32 reg, div; clk_cpu_off_set_rate() local
H A Dcommon.c160 int mult, div; mvebu_coreclk_setup() local
H A Dkirkwood.c128 kirkwood_get_clk_ratio( void __iomem *sar, int id, int *mult, int *div) kirkwood_get_clk_ratio() argument
168 mv88f6180_get_clk_ratio( void __iomem *sar, int id, int *mult, int *div) mv88f6180_get_clk_ratio() argument
/linux-4.1.27/arch/arm/mach-imx/
H A Dclk-cpu.c18 struct clk *div; member in struct:clk_cpu
77 imx_clk_cpu(const char *name, const char *parent_name, struct clk *div, struct clk *mux, struct clk *pll, struct clk *step) imx_clk_cpu() argument
H A Dclk-fixup-div.c63 struct clk_divider *div = to_clk_div(hw); clk_fixup_div_set_rate() local
H A Dclk-busy.c33 struct clk_divider div; member in struct:clk_busy_divider
41 struct clk_divider *div = container_of(hw, struct clk_divider, hw); to_clk_busy_divider() local
H A Dclk.h128 imx_clk_fixed_factor(const char *name, const char *parent, unsigned int mult, unsigned int div) imx_clk_fixed_factor() argument
H A Dclk-pllv3.c102 u32 div = (readl_relaxed(pll->base) >> pll->div_shift) & pll->div_mask; clk_pllv3_recalc_rate() local
120 u32 val, div; clk_pllv3_set_rate() local
149 u32 div = readl_relaxed(pll->base) & pll->div_mask; clk_pllv3_sys_recalc_rate() local
160 u32 div; clk_pllv3_sys_round_rate() local
177 u32 val, div; clk_pllv3_sys_set_rate() local
205 u32 div = readl_relaxed(pll->base) & pll->div_mask; clk_pllv3_av_recalc_rate() local
216 u32 div; clk_pllv3_av_round_rate() local
240 u32 val, div; clk_pllv3_av_set_rate() local
/linux-4.1.27/arch/arm/mach-omap2/
H A Dclkt2xxx_dpllcore.c115 u32 cur_rate, low, mult, div, valid_rate, done_rate; omap2_reprogram_dpllcore() local
H A Dclkt_clksel.c160 static u32 _divisor_to_clksel(struct clk_hw_omap *clk, u32 div) _divisor_to_clksel() argument
359 u32 div = 0; omap2_clksel_recalc() local
H A Dgpmc-onenand.c170 int div, gpmc_clk_ns; omap2_onenand_calc_sync_timings() local
H A Dclock.h145 u8 div; member in struct:clksel_rate
/linux-4.1.27/sound/drivers/pcsp/
H A Dpcsp.c47 int div, min_div, order; snd_pcsp_create() local
/linux-4.1.27/sound/soc/blackfin/
H A Dbf6xx-sport.h56 u32 div; member in struct:sport_params
/linux-4.1.27/sound/soc/codecs/
H A Drl6231.c27 int div[] = {2, 3, 4, 6, 8, 12}, idx = -EINVAL; rl6231_calc_dmic_clk() local
H A Dadau17x1.c309 unsigned int val, div, dsp_div; adau17x1_hw_params() local
394 unsigned int div; adau17x1_set_dai_pll() local
H A Dwm8510.c352 wm8510_set_dai_clkdiv(struct snd_soc_dai *codec_dai, int div_id, int div) wm8510_set_dai_clkdiv() argument
H A Dwm8804.c332 unsigned int div; member in struct:__anon14639
486 wm8804_set_clkdiv(struct snd_soc_dai *dai, int div_id, int div) wm8804_set_clkdiv() argument
H A Dwm8940.c637 wm8940_set_dai_clkdiv(struct snd_soc_dai *codec_dai, int div_id, int div) wm8940_set_dai_clkdiv() argument
H A Dwm8961.c719 static int wm8961_set_clkdiv(struct snd_soc_dai *dai, int div_id, int div) wm8961_set_clkdiv() argument
H A Dwm8974.c356 wm8974_set_dai_clkdiv(struct snd_soc_dai *codec_dai, int div_id, int div) wm8974_set_dai_clkdiv() argument
/linux-4.1.27/drivers/media/tuners/
H A De4000_priv.h52 u8 div; member in struct:e4000_pll
H A Dqt1010.c62 u32 freq, div, mod1, mod2; qt1010_set_params() local
H A Dfc2580_priv.h53 u8 div; member in struct:fc2580_pll
H A Dmxl301rf.c183 u32 tmp, div; mxl301rf_set_params() local
H A Dtda18271-common.c568 u32 div; tda18271_calc_main_pll() local
591 u32 div; tda18271_calc_cal_pll() local
H A Dtda18271-maps.c1067 tda18271_lookup_pll_map(struct dvb_frontend *fe, enum tda18271_map_type map_type, u32 *freq, u8 *post_div, u8 *div) tda18271_lookup_pll_map() argument
H A Dtea5767.c136 unsigned int div, frq; tea5767_status_dump() local
194 unsigned div; set_radio_freq() local
353 unsigned div, rc; tea5767_standby() local
H A Dtea5761.c128 unsigned int div, frq; tea5761_status_dump() local
146 unsigned div; __set_radio_freq() local
/linux-4.1.27/drivers/mfd/
H A Dmcp-core.c63 void mcp_set_telecom_divisor(struct mcp *mcp, unsigned int div) mcp_set_telecom_divisor() argument
80 void mcp_set_audio_divisor(struct mcp *mcp, unsigned int div) mcp_set_audio_divisor() argument
H A Drtsx_usb.c388 static u8 revise_ssc_depth(u8 ssc_depth, u8 div) revise_ssc_depth() argument
404 u8 n, clk_divider, mcu_cnt, div; rtsx_usb_switch_clock() local
/linux-4.1.27/drivers/pwm/
H A Dpwm-mxs.c54 int ret, div = 0; mxs_pwm_config() local
H A Dpwm-atmel-tcb.c35 unsigned div; /* PWM clock divider */ member in struct:atmel_tcb_pwm_device
H A Dpwm-atmel.c106 unsigned long long div; atmel_pwm_config() local
H A Dpwm-bcm-kona.c98 u64 val, div, rate; kona_pwmc_config() local
H A Dpwm-img.c91 u32 val, div, duty, timebase; img_pwm_config() local
H A Dpwm-rockchip.c106 u64 clk_rate, div; rockchip_pwm_config() local
H A Dpwm-spear.c81 u64 val, div, clk_rate; spear_pwm_config() local
H A Dpwm-sun4i.c103 u64 clk_rate, div = 0; sun4i_pwm_config() local
/linux-4.1.27/drivers/net/wireless/iwlegacy/
H A D3945-debug.c418 struct iwl39_stats_div *div, *accum_div, *delta_div, *max_div; il3945_ucode_general_stats_read() local
H A D4965-debug.c648 struct stats_div *div, *accum_div, *delta_div, *max_div; il4965_ucode_general_stats_read() local
/linux-4.1.27/drivers/gpu/drm/atmel-hlcdc/
H A Datmel_hlcdc_crtc.c66 int div; atmel_hlcdc_crtc_mode_set_nofb() local
/linux-4.1.27/drivers/clk/tegra/
H A Dclk-divider.c72 int div, mul; clk_frac_div_recalc_rate() local
92 int div, mul; clk_frac_div_round_rate() local
111 int div; clk_frac_div_set_rate() local
H A Dclk-periph.c150 bool div = !(periph->gate.flags & TEGRA_PERIPH_NO_DIV); _tegra_clk_register_periph() local
/linux-4.1.27/drivers/cpufreq/
H A Ds3c2440-cpufreq.c204 int div; run_freq_for() local
H A Dcpufreq-nforce2.c69 unsigned char mul, div; nforce2_calc_fsb() local
89 unsigned char mul = 0, div = 0; nforce2_calc_pll() local
/linux-4.1.27/arch/unicore32/kernel/
H A Dclock.c102 unsigned long div; member in struct:__anon2956
/linux-4.1.27/drivers/gpu/drm/radeon/
H A Ddce6_afmt.c285 unsigned int div = (RREG32(DENTIST_DISPCLK_CNTL) & dce6_dp_audio_set_dto() local
H A Devergreen_hdmi.c293 unsigned int div = (RREG32(DCE41_DENTIST_DISPCLK_CNTL) & dce4_dp_audio_set_dto() local
H A Dradeon_audio.c556 unsigned long div, mul; radeon_audio_calc_cts() local
779 unsigned int radeon_audio_decode_dfs_div(unsigned int div) radeon_audio_decode_dfs_div() argument
/linux-4.1.27/drivers/clk/berlin/
H A Dberlin2-div.c77 struct berlin2_div *div = to_berlin2_div(hw); berlin2_div_is_enabled() local
95 struct berlin2_div *div = to_berlin2_div(hw); berlin2_div_enable() local
114 struct berlin2_div *div = to_berlin2_div(hw); berlin2_div_disable() local
131 struct berlin2_div *div = to_berlin2_div(hw); berlin2_div_set_parent() local
162 struct berlin2_div *div = to_berlin2_div(hw); berlin2_div_get_parent() local
189 struct berlin2_div *div = to_berlin2_div(hw); berlin2_div_recalc_rate() local
246 struct berlin2_div *div; berlin2_div_register() local
/linux-4.1.27/arch/m68k/atari/
H A Ddebug.c219 int clksrc, clkmode, div, reg3, reg5; atari_init_scc_port() local
269 int div; atari_init_midi_port() local
/linux-4.1.27/arch/m68k/fpsp040/
H A Ddecbin.S484 div: label
/linux-4.1.27/arch/m68k/math-emu/
H A Dmulti_arith.h181 fp_dividemant(union fp_mant128 *dest, struct fp_ext *src, struct fp_ext *div) fp_dividemant() argument
/linux-4.1.27/sound/oss/
H A Dpas2_mixer.c77 mixer_output(int right_vol, int left_vol, int div, int bits, mixer_output() argument
/linux-4.1.27/include/linux/
H A Dktime.h170 static inline s64 ktime_divns(const ktime_t kt, s64 div) ktime_divns() argument
/linux-4.1.27/drivers/hwmon/
H A Dg760a.c65 static inline unsigned int rpm_from_cnt(u8 val, u32 clk, u16 div) rpm_from_cnt() argument
H A Dgl518sm.c94 static inline u8 FAN_TO_REG(long rpm, int div) FAN_TO_REG() argument
H A Dlm80.c78 static inline unsigned char FAN_TO_REG(unsigned rpm, unsigned div) FAN_TO_REG() argument
H A Dmax6650.c425 unsigned long div; set_div() local
H A Dsis5595.c140 static inline u8 FAN_TO_REG(long rpm, int div) FAN_TO_REG() argument
149 static inline int FAN_FROM_REG(u8 val, int div) FAN_FROM_REG() argument
/linux-4.1.27/drivers/media/pci/ttpci/
H A Dbudget-patch.c271 u32 div = (p->frequency + 479500) / 125; alps_bsrv2_tuner_set_params() local
310 u32 div; grundig_29504_451_tuner_set_params() local
H A Dav7110_v4l.c163 u32 div; ves1820_set_tv_freq() local
193 u32 div; stv0297_set_tv_freq() local
H A Dbudget.c212 u32 div = (c->frequency + 479500) / 125; alps_bsrv2_tuner_set_params() local
251 u32 div; alps_tdbe2_tuner_set_params() local
280 u32 div; grundig_29504_401_tuner_set_params() local
337 u32 div; grundig_29504_451_tuner_set_params() local
361 u32 div; s5h1420_tuner_set_params() local
/linux-4.1.27/drivers/net/wireless/ath/ath9k/
H A Dlink.c509 unsigned int div = common->clockrate * 1000; ath_update_survey_stats() local
/linux-4.1.27/drivers/staging/comedi/drivers/
H A Dcomedi_8254.c368 unsigned int div = d1 * d2; comedi_8254_cascade_ns_to_timer() local
/linux-4.1.27/drivers/gpu/drm/ast/
H A Dast_main.c217 uint32_t denum, num, div, ref_pll; ast_get_dram_info() local
/linux-4.1.27/drivers/clk/st/
H A Dclk-flexgen.c106 unsigned long div; flexgen_round_rate() local
141 unsigned long div = 0; flexgen_set_rate() local
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/clk/
H A Dgf100.c201 u32 div = min((ref * 2) / freq, (u32)65); calc_div() local
H A Dmcp77.c182 calc_P(u32 src, u32 target, int *div) calc_P() argument
H A Dnv50.c340 calc_div(u32 src, u32 target, int *div) calc_div() argument
H A Dgk104.c219 u32 div = min((ref * 2) / freq, (u32)65); calc_div() local
/linux-4.1.27/drivers/bcma/
H A Ddriver_chipcommon_pmu.c341 u32 tmp, div, ndiv, p1, p2, fc; bcma_pmu_pll_clock() local
/linux-4.1.27/drivers/clk/rockchip/
H A Dclk.c52 struct clk_divider *div = NULL; rockchip_clk_register_branch() local
113 struct clk_fractional_divider *div = NULL; rockchip_clk_register_frac_branch() local
/linux-4.1.27/arch/mips/ath79/
H A Dclock.c59 u32 div; ar71xx_clocks_init() local
94 u32 div; ar724x_clocks_init() local
130 u32 div; ar913x_clocks_init() local
/linux-4.1.27/drivers/gpu/drm/tegra/
H A Drgb.c201 unsigned int div; tegra_rgb_encoder_atomic_check() local
/linux-4.1.27/drivers/gpu/drm/tilcdc/
H A Dtilcdc_crtc.c542 unsigned int lcd_clk, div; tilcdc_crtc_update_clk() local
/linux-4.1.27/drivers/thermal/
H A Darmada_thermal.c162 unsigned long m, b, div; armada_get_temp() local
/linux-4.1.27/arch/s390/kernel/
H A Dvtime.c90 u64 delta, mult, div; do_account_vtime() local
123 u64 div = __this_cpu_read(mt_scaling_div); do_account_vtime() local
184 u64 div = __this_cpu_read(mt_scaling_div); vtime_account_irq_enter() local
/linux-4.1.27/arch/sh/kernel/cpu/sh4a/
H A Dclock-sh7722.c80 unsigned long div = 1; pll_recalc() local
H A Dclock-sh7723.c81 unsigned long div = 1; pll_recalc() local
H A Dclock-sh7724.c62 unsigned long div = 1; fll_recalc() local
/linux-4.1.27/arch/cris/arch-v32/kernel/
H A Dtime.c333 reg_timer_rw_tmr0_div div = (freqs->new * 500) / HZ; cris_time_freq_notifier() local
/linux-4.1.27/arch/m68k/coldfire/
H A Dm53xx.c539 int clock_limp(int div) clock_limp() argument
/linux-4.1.27/arch/arm/mach-s3c24xx/
H A Diotiming-s3c2410.c108 unsigned int div = to_div(cyc, hclk_tns); calc_0124() local
156 unsigned int div = to_div(cyc, hclk_tns); calc_tacc() local
/linux-4.1.27/sound/soc/atmel/
H A Datmel_ssc_dai.c404 atmel_ssc_set_dai_clkdiv(struct snd_soc_dai *cpu_dai, int div_id, int div) atmel_ssc_set_dai_clkdiv() argument
/linux-4.1.27/sound/soc/sh/
H A Dssi.c225 static int ssi_set_clkdiv(struct snd_soc_dai *dai, int did, int div) ssi_set_clkdiv() argument
/linux-4.1.27/sound/soc/fsl/
H A Dimx-ssi.c192 imx_ssi_set_dai_clkdiv(struct snd_soc_dai *cpu_dai, int div_id, int div) imx_ssi_set_dai_clkdiv() argument
/linux-4.1.27/sound/soc/sh/rcar/
H A Dadg.c130 int idx, sel, div, step, ret; rsnd_adg_set_convert_clk_gen2() local
206 int idx, sel, div, shift; rsnd_adg_set_convert_clk_gen1() local
/linux-4.1.27/drivers/net/wireless/ath/ath5k/
H A Dmac80211-ops.c667 unsigned int div = common->clockrate * 1000; ath5k_get_survey() local
/linux-4.1.27/drivers/media/platform/s3c-camif/
H A Dcamif-regs.c235 unsigned int div, rem; camif_get_dma_burst() local
/linux-4.1.27/drivers/net/ethernet/ti/
H A Ddavinci_mdio.c107 u32 mdio_in, div, mdio_out_khz, access_time; __davinci_mdio_reset() local
/linux-4.1.27/drivers/spi/
H A Dspi-au1550.c114 u32 div, brg; au1550_spi_baudcfg() local
H A Dspi-s3c24xx.c125 unsigned int div; s3c24xx_spi_update_state() local
H A Dspi-sun4i.c172 unsigned int mclk_rate, div, timeout; sun4i_spi_transfer_one() local
/linux-4.1.27/drivers/ssb/
H A Ddriver_chipcommon.c608 u32 baud_base, div; ssb_chipco_serial_init() local
/linux-4.1.27/drivers/staging/rts5208/
H A Drtsx_card.c640 u8 mcu_cnt, div, max_div, ssc_depth, ssc_depth_mask; switch_ssc_clock() local
667 dev_dbg(rtsx_dev(chip), "N = %d, div = %d\n", N, div); switch_ssc_clock() local
715 u8 sel, div, mcu_cnt; switch_normal_clock() local
/linux-4.1.27/drivers/gpu/drm/i915/
H A Di915_sysfs.c42 u64 units = 128ULL, div = 100000ULL, bias = 100ULL; calc_residency() local
/linux-4.1.27/drivers/clk/samsung/
H A Dclk.h92 unsigned long div; member in struct:samsung_fixed_factor_clock
/linux-4.1.27/drivers/crypto/qat/qat_common/
H A Dadf_transport.c56 uint32_t div = data >> shift; adf_modulo() local
/linux-4.1.27/drivers/clk/bcm/
H A Dclk-kona-setup.c57 struct bcm_clk_div *div; clk_requires_trigger() local
85 struct bcm_clk_div *div; peri_clk_data_offsets_valid() local
337 static bool div_valid(struct bcm_clk_div *div, const char *field_name, div_valid() argument
373 struct bcm_clk_div *div; kona_dividers_valid() local
409 struct bcm_clk_div *div; peri_clk_data_valid() local
/linux-4.1.27/drivers/clk/mmp/
H A Dclk-mix.c83 static unsigned int _get_div_val(struct mmp_clk_mix *mix, unsigned int div) _get_div_val() argument
216 unsigned int div; mmp_clk_mix_determine_rate() local
280 unsigned int div; mmp_clk_mix_set_rate_and_parent() local
327 unsigned int div; mmp_clk_mix_recalc_rate() local
H A Dclk.h158 unsigned long div; member in struct:mmp_param_fixed_factor_clk
/linux-4.1.27/drivers/gpu/drm/rcar-du/
H A Drcar_du_crtc.c115 u32 div; rcar_du_crtc_set_display_timing() local
/linux-4.1.27/drivers/video/fbdev/
H A Dnuc900fb.c74 unsigned long long div; nuc900fb_calc_pixclk() local
H A Dsh_mipi_dsi.c135 u32 tmp, top, bottom, delay, div; sh_mipi_setup() local
/linux-4.1.27/fs/jffs2/
H A Dcompr_rubin.c88 static void init_rubin(struct rubin_state *rs, int div, int *bits) init_rubin() argument
151 static void init_decode(struct rubin_state *rs, int div, int *bits) init_decode() argument
/linux-4.1.27/arch/powerpc/sysdev/
H A Dmpic_timer.c429 u32 div; timer_group_get_freq() local
/linux-4.1.27/arch/blackfin/include/asm/
H A Dbfin_sport3.h86 u32 div; member in struct:sport_register
/linux-4.1.27/arch/c6x/include/asm/
H A Dclock.h93 u32 div; member in struct:clk
/linux-4.1.27/arch/arm/mach-ep93xx/
H A Dclock.c412 int err, psel = 0, esel = 0, pdiv = 0, div = 0; set_div_rate() local
354 calc_clk_div(struct clk *clk, unsigned long rate, int *psel, int *esel, int *pdiv, int *div) calc_clk_div() argument
/linux-4.1.27/sound/soc/cirrus/
H A Dep93xx-i2s.c250 unsigned word_len, div, sdiv, lrdiv; ep93xx_i2s_hw_params() local
/linux-4.1.27/sound/soc/pxa/
H A Dpxa-ssp.c182 static void pxa_ssp_set_scr(struct ssp_device *ssp, u32 div) pxa_ssp_set_scr() argument
202 u32 div; pxa_ssp_get_scr() local
271 pxa_ssp_set_dai_clkdiv(struct snd_soc_dai *cpu_dai, int div_id, int div) pxa_ssp_set_dai_clkdiv() argument

Completed in 3357 milliseconds

12