/linux-5.19.10/drivers/clk/mxs/ |
D | clk-ssp.c | 24 u32 clock_divide, clock_rate; in mxs_ssp_set_clk_rate() local 30 clock_rate = DIV_ROUND_UP(ssp_clk, rate * clock_divide); in mxs_ssp_set_clk_rate() 31 clock_rate = (clock_rate > 0) ? clock_rate - 1 : 0; in mxs_ssp_set_clk_rate() 32 if (clock_rate <= 255) in mxs_ssp_set_clk_rate() 42 ssp_sck = ssp_clk / clock_divide / (1 + clock_rate); in mxs_ssp_set_clk_rate() 47 val |= BF_SSP(clock_rate, TIMING_CLOCK_RATE); in mxs_ssp_set_clk_rate() 54 __func__, clock_divide, clock_rate, ssp_clk, ssp_sck, rate); in mxs_ssp_set_clk_rate()
|
/linux-5.19.10/drivers/media/platform/qcom/camss/ |
D | camss.c | 39 .clock_rate = { { 0 }, 51 .clock_rate = { { 0 }, 66 .clock_rate = { { 0 }, 83 .clock_rate = { { 0 }, 113 .clock_rate = { { 0 }, 134 .clock_rate = { { 0 }, 146 .clock_rate = { { 0 }, 158 .clock_rate = { { 0 }, 173 .clock_rate = { { 0 }, 190 .clock_rate = { { 0 }, [all …]
|
D | camss.h | 47 u32 clock_rate[CAMSS_RES_MAX][CAMSS_RES_MAX]; member
|
/linux-5.19.10/drivers/net/ethernet/marvell/octeontx2/af/ |
D | ptp.c | 208 freq_adj = (ptp->clock_rate * ppb) / 1000000000ULL; in ptp_adjfine() 209 freq = neg_adj ? ptp->clock_rate + freq_adj : ptp->clock_rate - freq_adj; in ptp_adjfine() 212 comp = ((u64)1000000000ull << 32) / ptp->clock_rate; in ptp_adjfine() 247 ptp->clock_rate = sclk * 1000000; in ptp_start() 253 ptp->clock_rate = ext_clk_freq; in ptp_start() 275 clock_comp = ptp_calc_adjusted_comp(ptp->clock_rate); in ptp_start() 277 clock_comp = ((u64)1000000000ull << 32) / ptp->clock_rate; in ptp_start()
|
D | ptp.h | 20 u32 clock_rate; member
|
/linux-5.19.10/drivers/clocksource/ |
D | samsung_pwm_timer.c | 263 unsigned long clock_rate; in samsung_clockevent_init() local 271 clock_rate = pclk / (pwm.tscaler_div * pwm.tdiv); in samsung_clockevent_init() 272 pwm.clock_count_per_tick = clock_rate / HZ; in samsung_clockevent_init() 276 clock_rate, 1, pwm.tcnt_max); in samsung_clockevent_init() 334 unsigned long clock_rate; in samsung_clocksource_init() local 341 clock_rate = pclk / (pwm.tscaler_div * pwm.tdiv); in samsung_clocksource_init() 352 pwm.variant.bits, clock_rate); in samsung_clocksource_init() 355 return clocksource_register_hz(&samsung_clocksource, clock_rate); in samsung_clocksource_init()
|
/linux-5.19.10/arch/sparc/kernel/ |
D | time_32.c | 133 ce->mult = div_sc(sparc_config.clock_rate, NSEC_PER_SEC, in setup_timer_ce() 182 return clocksource_register_hz(&timer_cs, sparc_config.clock_rate); in setup_timer_cs() 229 ce->mult = div_sc(sparc_config.clock_rate, NSEC_PER_SEC, in register_percpu_ce() 231 ce->max_delta_ns = clockevent_delta2ns(sparc_config.clock_rate, ce); in register_percpu_ce() 232 ce->max_delta_ticks = (unsigned long)sparc_config.clock_rate; in register_percpu_ce()
|
D | irq.h | 66 int clock_rate; member
|
/linux-5.19.10/include/uapi/linux/hdlc/ |
D | ioctl.h | 41 unsigned int clock_rate; /* bits per second */ member 47 unsigned int clock_rate; /* bits per second */ member
|
/linux-5.19.10/arch/mips/cavium-octeon/ |
D | octeon-usb.c | 291 u32 clock_rate; in dwc3_octeon_clocks_start() local 302 "refclk-frequency", &clock_rate); in dwc3_octeon_clocks_start() 342 (clock_rate != 100000000)) in dwc3_octeon_clocks_start() 344 clock_rate); in dwc3_octeon_clocks_start() 397 switch (clock_rate) { in dwc3_octeon_clocks_start() 400 clock_rate); in dwc3_octeon_clocks_start()
|
/linux-5.19.10/drivers/mfd/ |
D | htc-pasic3.c | 162 if (pdata && pdata->clock_rate) { in pasic3_probe() 163 ds1wm_pdata.clock_rate = pdata->clock_rate; in pasic3_probe()
|
D | db8500-prcmu.c | 1433 static unsigned long clock_rate(u8 clock) in clock_rate() function 1522 return pll_rate(PRCM_PLLDSI_FREQ, clock_rate(PRCMU_HDMICLK), in dsiclk_rate() 1535 return clock_rate(PRCMU_TVCLK) / max((u32)1, div); in dsiescclk_rate() 1541 return clock_rate(clock); in prcmu_clock_rate() 1556 return pll_rate(PRCM_PLLDSI_FREQ, clock_rate(PRCMU_HDMICLK), in prcmu_clock_rate() 1674 src_rate = clock_rate(PRCMU_HDMICLK); in round_plldsi_rate() 1710 src_rate = pll_rate(PRCM_PLLDSI_FREQ, clock_rate(PRCMU_HDMICLK), in round_dsiclk_rate() 1724 src_rate = clock_rate(PRCMU_TVCLK); in round_dsiescclk_rate() 1834 src_rate = clock_rate(PRCMU_HDMICLK); in set_plldsi_rate() 1879 clock_rate(PRCMU_HDMICLK), PLL_RAW), rate); in set_dsiclk_rate() [all …]
|
/linux-5.19.10/drivers/char/hw_random/ |
D | cavium-rng-vf.c | 34 u64 clock_rate; member 110 cur_err = (cycles * 1000000000) / rng->clock_rate; /* In nanosec */ in check_rng_health() 197 rng->clock_rate = rng_get_coprocessor_clkrate(); in cavium_map_pf_regs()
|
/linux-5.19.10/arch/arm/mach-omap1/ |
D | timer32k.c | 84 #define JIFFIES_TO_HW_TICKS(nr_jiffies, clock_rate) \ argument 85 (((nr_jiffies) * (clock_rate)) / HZ)
|
/linux-5.19.10/drivers/net/ethernet/cavium/common/ |
D | cavium_ptp.c | 122 comp = ((u64)1000000000ull << 32) / clock->clock_rate; in cavium_ptp_adjfine() 259 clock->clock_rate = ptp_cavium_clock_get(); in cavium_ptp_probe() 279 clock_comp = ((u64)1000000000ull << 32) / clock->clock_rate; in cavium_ptp_probe()
|
D | cavium_ptp.h | 21 u32 clock_rate; member
|
/linux-5.19.10/include/linux/mfd/ |
D | ds1wm.h | 10 int clock_rate; member
|
D | htc-pasic3.h | 51 unsigned int clock_rate; member
|
/linux-5.19.10/drivers/w1/masters/ |
D | ds1wm.c | 317 divisor = ds1wm_find_divisor(plat->clock_rate); in ds1wm_up() 319 divisor, plat->clock_rate); in ds1wm_up() 322 plat->clock_rate); in ds1wm_up() 603 plat->clock_rate, in ds1wm_probe()
|
/linux-5.19.10/sound/soc/tegra/ |
D | tegra210_i2s.c | 48 unsigned int clock_rate) in tegra210_i2s_set_clock_rate() argument 60 err = clk_set_rate(i2s->clk_i2s, clock_rate); in tegra210_i2s_set_clock_rate() 63 clock_rate, err); in tegra210_i2s_set_clock_rate() 73 err = clk_set_rate(i2s->clk_sync_input, clock_rate); in tegra210_i2s_set_clock_rate() 77 clock_rate, err); in tegra210_i2s_set_clock_rate()
|
/linux-5.19.10/drivers/iio/adc/ |
D | meson_saradc.c | 253 unsigned long clock_rate; member 897 ret = clk_set_rate(priv->adc_clk, priv->param->clock_rate); in meson_sar_adc_init() 1071 .clock_rate = 1150000, 1082 .clock_rate = 1150000, 1093 .clock_rate = 1200000, 1101 .clock_rate = 1200000, 1109 .clock_rate = 1200000,
|
/linux-5.19.10/drivers/firmware/ |
D | pcdp.h | 49 u32 clock_rate; member
|
/linux-5.19.10/drivers/video/fbdev/ |
D | gbefb.c | 444 int clock_rate; member 476 pixclock = (1000000 / gbe_pll->clock_rate) * in compute_gbe_timing() 486 gbe_pll->fvco_min / gbe_pll->clock_rate && in compute_gbe_timing() 488 gbe_pll->fvco_max / gbe_pll->clock_rate) { in compute_gbe_timing() 499 pixclock = (1000000 / gbe_pll->clock_rate) * in compute_gbe_timing() 509 timing->cfreq = gbe_pll->clock_rate * 1000 * timing->pll_m / in compute_gbe_timing()
|
/linux-5.19.10/drivers/net/wan/ |
D | ixp4xx_hss.c | 278 unsigned int clock_type, clock_rate, loopback; member 1325 new_line.clock_rate = port->clock_rate; in hss_hdlc_ioctl() 1350 new_line.clock_rate, in hss_hdlc_ioctl() 1351 &port->clock_rate, &port->clock_reg); in hss_hdlc_ioctl() 1353 port->clock_rate = 0; in hss_hdlc_ioctl() 1503 port->clock_rate = 0; in ixp4xx_hss_probe()
|
D | hd64572.c | 364 if (port->settings.clock_rate > 0) { in sca_set_port() 371 tmc = CLOCK_BASE / brv / port->settings.clock_rate; in sca_set_port() 382 port->settings.clock_rate = CLOCK_BASE / brv / tmc; in sca_set_port() 386 port->settings.clock_rate = CLOCK_BASE / (256 * 512); in sca_set_port()
|