Home
last modified time | relevance | path

Searched refs:clock_rate (Results 1 – 25 of 29) sorted by relevance

12

/linux-2.6.39/arch/arm/mach-exynos4/
Dtime.c174 unsigned long clock_rate; in exynos4_clockevent_init() local
187 clock_rate = clk_get_rate(tin2); in exynos4_clockevent_init()
189 clock_count_per_tick = clock_rate / HZ; in exynos4_clockevent_init()
192 div_sc(clock_rate, NSEC_PER_SEC, pwm_event_device.shift); in exynos4_clockevent_init()
236 unsigned long clock_rate; in exynos4_clocksource_init() local
243 clock_rate = clk_get_rate(tin4); in exynos4_clocksource_init()
248 if (clocksource_register_hz(&pwm_clocksource, clock_rate)) in exynos4_clocksource_init()
/linux-2.6.39/arch/arm/plat-s5p/
Ds5p-time.c264 unsigned long clock_rate; in s5p_clockevent_init() local
276 clock_rate = clk_get_rate(tin_event); in s5p_clockevent_init()
277 clock_count_per_tick = clock_rate / HZ; in s5p_clockevent_init()
280 clock_rate, S5PTIMER_MIN_RANGE); in s5p_clockevent_init()
388 unsigned long clock_rate; in s5p_clocksource_init() local
395 clock_rate = clk_get_rate(tin_source); in s5p_clocksource_init()
397 init_sched_clock(&cd, s5p_update_sched_clock, 32, clock_rate); in s5p_clocksource_init()
402 if (clocksource_register_hz(&time_clocksource, clock_rate)) in s5p_clocksource_init()
/linux-2.6.39/include/linux/hdlc/
Dioctl.h38 unsigned int clock_rate; /* bits per second */ member
44 unsigned int clock_rate; /* bits per second */ member
/linux-2.6.39/arch/arm/mach-omap1/
Dtimer32k.c84 #define JIFFIES_TO_HW_TICKS(nr_jiffies, clock_rate) \ argument
85 (((nr_jiffies) * (clock_rate)) / HZ)
/linux-2.6.39/drivers/mfd/
Dhtc-pasic3.c164 if (pdata && pdata->clock_rate) { in pasic3_probe()
165 ds1wm_pdata.clock_rate = pdata->clock_rate; in pasic3_probe()
/linux-2.6.39/include/linux/mfd/
Dds1wm.h5 int clock_rate; member
Dhtc-pasic3.h51 unsigned int clock_rate; member
/linux-2.6.39/drivers/net/wan/lmc/
Dlmc_media.c602 if (ctl->clock_rate != sc->ictl.clock_rate) in lmc_ssi_set_status()
649 ictl->clock_rate = 1500000; in lmc_ssi_set_speed()
650 av->f = ictl->clock_rate; in lmc_ssi_set_speed()
666 ictl->clock_rate = av->f; /* really, this is the rate we are */ in lmc_ssi_set_speed()
842 LMC_PRINTF_ARGS, sc->ictl.clock_rate, n, m, v, x, r); in write_av9110()
Dlmc_var.h168 u32 clock_rate; /* T1 */ member
/linux-2.6.39/drivers/net/wan/
Dixp4xx_hss.c263 unsigned int clock_type, clock_rate, loopback; member
1265 new_line.clock_rate = port->clock_rate; in hss_hdlc_ioctl()
1290 find_best_clock(new_line.clock_rate, &port->clock_rate, in hss_hdlc_ioctl()
1293 port->clock_rate = 0; in hss_hdlc_ioctl()
1355 port->clock_rate = 0; in hss_init_one()
Dhd64572.c380 if (port->settings.clock_rate > 0) { in sca_set_port()
387 tmc = CLOCK_BASE / brv / port->settings.clock_rate; in sca_set_port()
397 port->settings.clock_rate = CLOCK_BASE / brv / tmc; in sca_set_port()
401 port->settings.clock_rate = CLOCK_BASE / (256 * 512); in sca_set_port()
Dhd64570.c417 if (port->settings.clock_rate > 0) { in sca_set_port()
424 tmc = CLOCK_BASE / brv / port->settings.clock_rate; in sca_set_port()
434 port->settings.clock_rate = CLOCK_BASE / brv / tmc; in sca_set_port()
438 port->settings.clock_rate = CLOCK_BASE / (256 * 512); in sca_set_port()
Ddscc4.c1382 bps = settings->clock_rate; in dscc4_clock_setting()
1388 if (settings->clock_rate != bps) { in dscc4_clock_setting()
1390 dev->name, settings->clock_rate, bps); in dscc4_clock_setting()
1391 settings->clock_rate = bps; in dscc4_clock_setting()
Dwanxl.c357 line.clock_rate = 0; in wanxl_ioctl()
Dfarsync.c1931 FST_WRL(card, portConfig[i].lineSpeed, sync.clock_rate); in fst_set_iface()
1975 sync.clock_rate = FST_RDL(card, portConfig[i].lineSpeed); in fst_get_iface()
/linux-2.6.39/drivers/firmware/
Dpcdp.h52 u32 clock_rate; member
/linux-2.6.39/drivers/staging/octeon/
Dcvmx-pko.c484 uint64_t clock_rate = cvmx_sysinfo_get()->cpu_clock_hz; in cvmx_pko_rate_limit_bits() local
485 uint64_t tokens_per_bit = clock_rate * 16 / bits_s; in cvmx_pko_rate_limit_bits()
/linux-2.6.39/drivers/video/
Dgbefb.c457 int clock_rate; member
489 pixclock = (1000000 / gbe_pll->clock_rate) * in compute_gbe_timing()
499 gbe_pll->fvco_min / gbe_pll->clock_rate && in compute_gbe_timing()
501 gbe_pll->fvco_max / gbe_pll->clock_rate) { in compute_gbe_timing()
512 pixclock = (1000000 / gbe_pll->clock_rate) * in compute_gbe_timing()
522 timing->cfreq = gbe_pll->clock_rate * 1000 * timing->pll_m / in compute_gbe_timing()
/linux-2.6.39/drivers/w1/masters/
Dds1wm.c224 divisor = ds1wm_find_divisor(plat->clock_rate); in ds1wm_up()
228 plat->clock_rate); in ds1wm_up()
/linux-2.6.39/drivers/mmc/host/
Dmmc_spi.c892 u32 clock_rate; in mmc_spi_data_do() local
903 clock_rate = t->speed_hz; in mmc_spi_data_do()
905 clock_rate = spi->max_speed_hz; in mmc_spi_data_do()
908 data->timeout_clks * 1000000 / clock_rate; in mmc_spi_data_do()
Dmxs-mmc.c409 static unsigned short mxs_ns_to_ssp_ticks(unsigned clock_rate, unsigned ns) in mxs_ns_to_ssp_ticks() argument
416 const unsigned int clock_per_ms = clock_rate / 1000; in mxs_ns_to_ssp_ticks()
/linux-2.6.39/drivers/staging/tidspbridge/include/dspbridge/
Ddbdefs.h360 u32 clock_rate; member
/linux-2.6.39/arch/arm/mach-pxa/
Dmagician.c488 .clock_rate = 4000000,
/linux-2.6.39/drivers/staging/tidspbridge/rmgr/
Ddbdcd.c1285 gen_obj->obj_data.proc_info.clock_rate = atoi(token); in get_attrs_from_buf()
/linux-2.6.39/drivers/char/pcmcia/
Dsynclink_cs.c4118 new_line.clock_rate = info->params.clock_speed; in hdlcdev_ioctl()
4158 info->params.clock_speed = new_line.clock_rate; in hdlcdev_ioctl()

12