Home
last modified time | relevance | path

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

/drivers/mmc/host/
Dmxs-mmc.c415 static unsigned short mxs_ns_to_ssp_ticks(unsigned clock_rate, unsigned ns) in mxs_ns_to_ssp_ticks() argument
422 const unsigned int clock_per_ms = clock_rate / 1000; in mxs_ns_to_ssp_ticks()
580 u32 clock_divide, clock_rate; in mxs_mmc_set_clk_rate() local
586 clock_rate = DIV_ROUND_UP(ssp_clk, rate * clock_divide); in mxs_mmc_set_clk_rate()
587 clock_rate = (clock_rate > 0) ? clock_rate - 1 : 0; in mxs_mmc_set_clk_rate()
588 if (clock_rate <= 255) in mxs_mmc_set_clk_rate()
598 ssp_sck = ssp_clk / clock_divide / (1 + clock_rate); in mxs_mmc_set_clk_rate()
603 val |= BF_SSP(clock_rate, TIMING_CLOCK_RATE); in mxs_mmc_set_clk_rate()
610 __func__, clock_divide, clock_rate, ssp_clk, ssp_sck, rate); in mxs_mmc_set_clk_rate()
Dmmc_spi.c893 u32 clock_rate; in mmc_spi_data_do() local
904 clock_rate = t->speed_hz; in mmc_spi_data_do()
906 clock_rate = spi->max_speed_hz; in mmc_spi_data_do()
909 data->timeout_clks * 1000000 / clock_rate; in mmc_spi_data_do()
/drivers/mfd/
Dhtc-pasic3.c166 if (pdata && pdata->clock_rate) { in pasic3_probe()
167 ds1wm_pdata.clock_rate = pdata->clock_rate; in pasic3_probe()
Ddb8500-prcmu.c1624 static unsigned long clock_rate(u8 clock) in clock_rate() function
1681 return pll_rate(PRCM_PLLDSI_FREQ, clock_rate(PRCMU_HDMICLK), in dsiclk_rate()
1694 return clock_rate(PRCMU_TVCLK) / max((u32)1, div); in dsiescclk_rate()
1700 return clock_rate(clock); in prcmu_clock_rate()
1712 return pll_rate(PRCM_PLLDSI_FREQ, clock_rate(PRCMU_HDMICLK), in prcmu_clock_rate()
1789 src_rate = clock_rate(PRCMU_HDMICLK); in round_plldsi_rate()
1825 src_rate = pll_rate(PRCM_PLLDSI_FREQ, clock_rate(PRCMU_HDMICLK), in round_dsiclk_rate()
1839 src_rate = clock_rate(PRCMU_TVCLK); in round_dsiescclk_rate()
1916 src_rate = clock_rate(PRCMU_HDMICLK); in set_plldsi_rate()
1961 clock_rate(PRCMU_HDMICLK), PLL_RAW), rate); in set_dsiclk_rate()
[all …]
/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
/drivers/net/wan/
Dixp4xx_hss.c266 unsigned int clock_type, clock_rate, loopback; member
1264 new_line.clock_rate = port->clock_rate; in hss_hdlc_ioctl()
1289 find_best_clock(new_line.clock_rate, &port->clock_rate, in hss_hdlc_ioctl()
1292 port->clock_rate = 0; in hss_hdlc_ioctl()
1354 port->clock_rate = 0; in hss_init_one()
Dhd64572.c379 if (port->settings.clock_rate > 0) { in sca_set_port()
386 tmc = CLOCK_BASE / brv / port->settings.clock_rate; in sca_set_port()
396 port->settings.clock_rate = CLOCK_BASE / brv / tmc; in sca_set_port()
400 port->settings.clock_rate = CLOCK_BASE / (256 * 512); in sca_set_port()
Dhd64570.c416 if (port->settings.clock_rate > 0) { in sca_set_port()
423 tmc = CLOCK_BASE / brv / port->settings.clock_rate; in sca_set_port()
433 port->settings.clock_rate = CLOCK_BASE / brv / tmc; in sca_set_port()
437 port->settings.clock_rate = CLOCK_BASE / (256 * 512); in sca_set_port()
Ddscc4.c1377 bps = settings->clock_rate; in dscc4_clock_setting()
1383 if (settings->clock_rate != bps) { in dscc4_clock_setting()
1385 dev->name, settings->clock_rate, bps); in dscc4_clock_setting()
1386 settings->clock_rate = bps; in dscc4_clock_setting()
Dwanxl.c359 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()
Dpc300_drv.c2852 u32 clkrate = chan->conf.phys_settings.clock_rate; in ch_config()
3324 chan->conf.phys_settings.clock_rate = 0; in cpc_init_card()
/drivers/w1/masters/
Dds1wm.c262 divisor = ds1wm_find_divisor(plat->clock_rate); in ds1wm_up()
264 "found divisor 0x%x for clock %d\n", divisor, plat->clock_rate); in ds1wm_up()
268 plat->clock_rate); in ds1wm_up()
/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()
/drivers/firmware/
Dpcdp.h52 u32 clock_rate; member
/drivers/staging/tidspbridge/include/dspbridge/
Ddbdefs.h360 u32 clock_rate; member
/drivers/staging/tidspbridge/rmgr/
Ddbdcd.c1190 gen_obj->obj_data.proc_info.clock_rate = atoi(token); in get_attrs_from_buf()
/drivers/char/pcmcia/
Dsynclink_cs.c4116 new_line.clock_rate = info->params.clock_speed; in hdlcdev_ioctl()
4156 info->params.clock_speed = new_line.clock_rate; in hdlcdev_ioctl()
/drivers/tty/
Dsynclink_gt.c1663 new_line.clock_rate = info->params.clock_speed; in hdlcdev_ioctl()
1703 info->params.clock_speed = new_line.clock_rate; in hdlcdev_ioctl()
Dsynclinkmp.c1769 new_line.clock_rate = info->params.clock_speed; in hdlcdev_ioctl()
1809 info->params.clock_speed = new_line.clock_rate; in hdlcdev_ioctl()
Dsynclink.c7865 new_line.clock_rate = info->params.clock_speed; in hdlcdev_ioctl()
7905 info->params.clock_speed = new_line.clock_rate; in hdlcdev_ioctl()