/linux-6.6.21/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-6.6.21/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-6.6.21/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-6.6.21/arch/sparc/kernel/ |
D | time_32.c | 132 ce->mult = div_sc(sparc_config.clock_rate, NSEC_PER_SEC, in setup_timer_ce() 181 return clocksource_register_hz(&timer_cs, sparc_config.clock_rate); in setup_timer_cs() 228 ce->mult = div_sc(sparc_config.clock_rate, NSEC_PER_SEC, in register_percpu_ce() 230 ce->max_delta_ns = clockevent_delta2ns(sparc_config.clock_rate, ce); in register_percpu_ce() 231 ce->max_delta_ticks = (unsigned long)sparc_config.clock_rate; in register_percpu_ce()
|
D | irq.h | 66 int clock_rate; member
|
/linux-6.6.21/drivers/net/ethernet/marvell/octeontx2/af/ |
D | ptp.c | 344 freq_adj = (ptp->clock_rate * ppb) / 1000000000ULL; in ptp_adjfine() 345 freq = neg_adj ? ptp->clock_rate + freq_adj : ptp->clock_rate - freq_adj; in ptp_adjfine() 348 comp = ((u64)1000000000ull << 32) / ptp->clock_rate; in ptp_adjfine() 384 ptp->clock_rate = sclk * 1000000; in ptp_start() 400 ptp->clock_rate = ext_clk_freq; in ptp_start() 432 ptp->clock_period = NSEC_PER_SEC / ptp->clock_rate; in ptp_start() 438 clock_comp = ptp_calc_adjusted_comp(ptp->clock_rate); in ptp_start() 440 clock_comp = ((u64)1000000000ull << 32) / ptp->clock_rate; in ptp_start()
|
D | ptp.h | 22 u32 clock_rate; member
|
/linux-6.6.21/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-6.6.21/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-6.6.21/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-6.6.21/drivers/usb/dwc3/ |
D | dwc3-octeon.c | 422 u32 clock_rate; in dwc3_octeon_probe() local 424 if (of_property_read_u32(node, "refclk-frequency", &clock_rate)) { in dwc3_octeon_probe() 459 switch (clock_rate) { in dwc3_octeon_probe() 462 clock_rate); in dwc3_octeon_probe()
|
/linux-6.6.21/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-6.6.21/include/linux/mfd/ |
D | ds1wm.h | 10 int clock_rate; member
|
/linux-6.6.21/drivers/media/i2c/ |
D | ov4689.c | 100 u32 clock_rate; member 519 DIV_ROUND_UP(ov4689->clock_rate, 1000)); in ov4689_cal_delay() 903 &ov4689->clock_rate); in ov4689_probe() 905 ov4689->clock_rate = clk_get_rate(ov4689->xvclk); in ov4689_probe() 908 if (ov4689->clock_rate != OV4689_XVCLK_FREQ) { in ov4689_probe() 911 ov4689->clock_rate, OV4689_XVCLK_FREQ); in ov4689_probe()
|
/linux-6.6.21/drivers/iio/adc/ |
D | meson_saradc.c | 317 unsigned long clock_rate; member 1018 ret = clk_set_rate(priv->adc_clk, priv->param->clock_rate); in meson_sar_adc_init() 1199 .clock_rate = 1150000, 1210 .clock_rate = 1150000, 1221 .clock_rate = 1200000, 1232 .clock_rate = 1200000, 1244 .clock_rate = 1200000, 1258 .clock_rate = 1200000,
|
/linux-6.6.21/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-6.6.21/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-6.6.21/drivers/firmware/ |
D | pcdp.h | 49 u32 clock_rate; member
|
/linux-6.6.21/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()
|
D | hd64570.c | 408 if (port->settings.clock_rate > 0) { in sca_set_port() 415 tmc = CLOCK_BASE / brv / port->settings.clock_rate; in sca_set_port() 426 port->settings.clock_rate = CLOCK_BASE / brv / tmc; in sca_set_port() 430 port->settings.clock_rate = CLOCK_BASE / (256 * 512); in sca_set_port()
|
/linux-6.6.21/drivers/mfd/ |
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-6.6.21/drivers/input/rmi4/ |
D | rmi_f54.c | 102 u16 clock_rate; member 642 f54->clock_rate = buf[3] | (buf[4] << 8); in rmi_f54_detect() 652 f54->clock_rate); in rmi_f54_detect()
|