Home
last modified time | relevance | path

Searched refs:clock_frequency (Results 1 – 25 of 37) sorted by relevance

12

/linux-6.1.9/drivers/gpu/drm/i915/gt/
Dintel_gt_clock_utils.c148 gt->clock_frequency = read_clock_frequency(gt->uncore); in intel_gt_init_clock_frequency()
153 else if (gt->clock_frequency) in intel_gt_init_clock_frequency()
158 gt->clock_frequency / 1000, in intel_gt_init_clock_frequency()
167 if (gt->clock_frequency != read_clock_frequency(gt->uncore)) { in intel_gt_check_clock_frequency()
170 gt->clock_frequency, in intel_gt_check_clock_frequency()
183 return div_u64_roundup(count * NSEC_PER_SEC, gt->clock_frequency); in intel_gt_clock_interval_to_ns()
193 return div_u64_roundup(gt->clock_frequency * ns, NSEC_PER_SEC); in intel_gt_ns_to_clock_interval()
Dselftest_gt_pm.c73 if (!gt->clock_frequency) { /* unknown */ in live_gt_clocks()
119 engine->gt->clock_frequency / 1000); in live_gt_clocks()
Dintel_gt_types.h159 u32 clock_frequency; member
Dselftest_engine_pm.c176 d_ctx *= engine->gt->clock_frequency; in __live_engine_timestamps()
180 d_ring *= engine->gt->clock_frequency; in __live_engine_timestamps()
/linux-6.1.9/tools/testing/selftests/powerpc/benchmarks/
Dnull_syscall.c21 unsigned long long clock_frequency; variable
100 if ((d * 1000000ULL) > clock_frequency) in get_proc_frequency()
101 clock_frequency = d * 1000000ULL; in get_proc_frequency()
111 clock_frequency = strtoull(override, NULL, 10); in get_proc_frequency()
114 timebase_multiplier = (double)clock_frequency in get_proc_frequency()
/linux-6.1.9/drivers/watchdog/
Dmoxart_wdt.c30 unsigned int clock_frequency; member
60 writel(moxart_wdt->clock_frequency * wdt_dev->timeout, in moxart_wdt_start()
115 moxart_wdt->clock_frequency = clk_get_rate(clk); in moxart_wdt_probe()
116 if (moxart_wdt->clock_frequency == 0) { in moxart_wdt_probe()
121 max_timeout = UINT_MAX / moxart_wdt->clock_frequency; in moxart_wdt_probe()
/linux-6.1.9/drivers/iio/adc/
Dhx711.c99 u32 clock_frequency; member
535 hx711_data->clock_frequency = 400000; in hx711_probe()
537 &hx711_data->clock_frequency); in hx711_probe()
543 if (hx711_data->clock_frequency < 20000) { in hx711_probe()
545 hx711_data->clock_frequency = 400000; in hx711_probe()
549 1000000000 / hx711_data->clock_frequency; in hx711_probe()
/linux-6.1.9/drivers/media/i2c/
Ds5k6a3.c66 u32 clock_frequency; member
197 ret = clk_set_rate(sensor->clock, sensor->clock_frequency); in __s5k6a3_power_on()
315 &sensor->clock_frequency)) { in s5k6a3_probe()
316 sensor->clock_frequency = S5K6A3_DEFAULT_CLK_FREQ; in s5k6a3_probe()
318 sensor->clock_frequency); in s5k6a3_probe()
/linux-6.1.9/arch/openrisc/kernel/
Dtime.c87 clockevents_config_and_register(evt, cpuinfo->clock_frequency, in openrisc_clockevent_init()
155 if (clocksource_register_hz(&openrisc_timer, cpuinfo->clock_frequency)) in openrisc_timer_init()
Dsetup.c108 version, revision, cpuinfo->clock_frequency / 1000000); in print_cpuinfo()
197 &cpuinfo->clock_frequency)) { in setup_cpuinfo()
/linux-6.1.9/include/linux/platform_data/
Dsc18is602.h15 u32 clock_frequency; member
/linux-6.1.9/arch/openrisc/include/asm/
Dserial.h28 #define BASE_BAUD (cpuinfo_or1k[smp_processor_id()].clock_frequency/16)
Dcpuinfo.h19 u32 clock_frequency; member
/linux-6.1.9/include/linux/can/platform/
Dflexcan.h19 u32 clock_frequency; member
/linux-6.1.9/include/media/drv-intf/
Ds3c_camif.h25 unsigned long clock_frequency; member
/linux-6.1.9/drivers/i2c/busses/
Di2c-ocores.c531 u32 clock_frequency; in ocores_i2c_of_probe() local
549 &clock_frequency); in ocores_i2c_of_probe()
564 i2c->bus_clock_khz = clock_frequency / 1000; in ocores_i2c_of_probe()
576 i2c->ip_clock_khz = clock_frequency / 1000; in ocores_i2c_of_probe()
582 i2c->bus_clock_khz = clock_frequency / 1000; in ocores_i2c_of_probe()
/linux-6.1.9/drivers/media/pci/intel/ipu3/
Dcio2-bridge.h94 char clock_frequency[16]; member
Dcio2-bridge.c35 .clock_frequency = "clock-frequency",
144 sensor->prop_names.clock_frequency, in cio2_bridge_create_fwnode_properties()
/linux-6.1.9/drivers/crypto/qat/qat_common/
Dadf_pfvf_vf_msg.c119 hw_data->clock_frequency = cap_msg.frequency; in adf_vf2pf_get_capabilities()
Dadf_accel_devices.h211 u32 clock_frequency; member
/linux-6.1.9/drivers/net/ethernet/arc/
Demac_main.c860 unsigned int id, clock_frequency, irq; in arc_emac_probe() local
908 clock_frequency = clk_get_rate(priv->clk); in arc_emac_probe()
912 &clock_frequency)) { in arc_emac_probe()
930 arc_reg_set(priv, R_POLLRATE, clock_frequency / 1000000); in arc_emac_probe()
/linux-6.1.9/drivers/gpu/drm/i915/
Di915_getparam.c170 value = to_gt(i915)->clock_frequency; in i915_getparam_ioctl()
Di915_gpu_error.h162 u32 clock_frequency; member
/linux-6.1.9/drivers/spi/
Dspi-sc18is602.c283 hw->freq = pdata->clock_frequency; in sc18is602_probe()
/linux-6.1.9/arch/m68k/coldfire/
Ddevice.c590 .clock_frequency = 120000000,

12