Home
last modified time | relevance | path

Searched refs:clk_freq (Results 1 – 14 of 14) sorted by relevance

/drivers/net/wireless/ti/wl18xx/
Dmain.c688 u16 clk_freq; in wl18xx_set_clk() local
697 ret = wl18xx_top_reg_read(wl, PRIMARY_CLK_DETECT, &clk_freq); in wl18xx_set_clk()
701 wl1271_debug(DEBUG_BOOT, "clock freq %d (%d, %d, %d, %d, %s)", clk_freq, in wl18xx_set_clk()
702 wl18xx_clk_table[clk_freq].n, wl18xx_clk_table[clk_freq].m, in wl18xx_set_clk()
703 wl18xx_clk_table[clk_freq].p, wl18xx_clk_table[clk_freq].q, in wl18xx_set_clk()
704 wl18xx_clk_table[clk_freq].swallow ? "swallow" : "spit"); in wl18xx_set_clk()
707 wl18xx_clk_table[clk_freq].n); in wl18xx_set_clk()
712 wl18xx_clk_table[clk_freq].m); in wl18xx_set_clk()
716 if (wl18xx_clk_table[clk_freq].swallow) { in wl18xx_set_clk()
719 wl18xx_clk_table[clk_freq].q & in wl18xx_set_clk()
[all …]
/drivers/spi/
Dspi-pl022.c1715 ssp_clock_params * clk_freq) in calculate_effective_freq() argument
1779 clk_freq->cpsdvsr = (u8) (best_cpsdvsr & 0xFF); in calculate_effective_freq()
1780 clk_freq->scr = (u8) (best_scr & 0xFF); in calculate_effective_freq()
1785 clk_freq->cpsdvsr, clk_freq->scr); in calculate_effective_freq()
1824 struct ssp_clock_params clk_freq = { .cpsdvsr = 0, .scr = 0}; in pl022_setup() local
1886 if ((0 == chip_info->clk_freq.cpsdvsr) in pl022_setup()
1887 && (0 == chip_info->clk_freq.scr)) { in pl022_setup()
1890 &clk_freq); in pl022_setup()
1894 memcpy(&clk_freq, &chip_info->clk_freq, sizeof(clk_freq)); in pl022_setup()
1895 if ((clk_freq.cpsdvsr % 2) != 0) in pl022_setup()
[all …]
Dspi-mxs.c512 int devid, clk_freq; in mxs_spi_probe() local
541 &clk_freq); in mxs_spi_probe()
543 clk_freq = clk_freq_default; in mxs_spi_probe()
578 clk_set_rate(ssp->clk, clk_freq); in mxs_spi_probe()
/drivers/i2c/busses/
Di2c-nomadik.c367 div = (dev->cfg.clk_freq > 100000) ? 3 : 2; in setup_i2c_controller()
377 brcr2 = (i2c_clk/(dev->cfg.clk_freq * div)) & 0xffff; in setup_i2c_controller()
955 .clk_freq = 400000, /* fast mode operation */
963 of_property_read_u32(np, "clock-frequency", &pdata->clk_freq); in nmk_i2c_of_probe()
966 if (pdata->clk_freq <= 100000) in nmk_i2c_of_probe()
1077 dev->cfg.clk_freq = pdata->clk_freq; in nmk_i2c_probe()
/drivers/media/pci/cx25821/
Dcx25821-cards.c38 .clk_freq = 0,
Dcx25821.h138 u32 clk_freq; member
248 u32 clk_freq; member
Dcx25821-core.c883 dev->clk_freq = 28000000; in cx25821_dev_setup()
/drivers/scsi/
Dmac53c94.c48 int clk_freq; member
133 writeb(CLKF_VAL(state->clk_freq), &regs->clk_factor); in mac53c94_init()
461 state->clk_freq = 25000000; in mac53c94_probe()
463 state->clk_freq = *(int *)clkprop; in mac53c94_probe()
Dmesh.c171 int clk_freq; member
657 v = (ms->clk_freq / 5000) * period; in set_sdtr()
662 tr = (ms->clk_freq + 250000) / 500000; in set_sdtr()
668 tr = ((ms->clk_freq / (v + 2)) + 199999) / 200000; in set_sdtr()
1939 ms->clk_freq = *cfp; in mesh_probe()
1942 ms->clk_freq = 50000000; in mesh_probe()
1948 minper = 1000000000 / (ms->clk_freq / 5); /* ns */ in mesh_probe()
/drivers/mmc/host/
Dtifm_sd.c98 unsigned int clk_freq; member
603 ((1000000000UL / host->clk_freq) * host->clk_div); in tifm_sd_set_data_timeout()
834 host->clk_freq = 20000000; in tifm_sd_ios()
840 host->clk_freq = 24000000; in tifm_sd_ios()
893 host->clk_freq = 20000000; in tifm_sd_initialize_host()
/drivers/media/pci/cx23885/
Dcx23885.h232 u32 clk_freq; member
377 u32 clk_freq; member
Dcx23885-core.c874 dev->clk_freq = 25000000; in cx23885_dev_setup()
880 dev->clk_freq = 28000000; in cx23885_dev_setup()
902 if (cx23885_boards[dev->board].clk_freq > 0) in cx23885_dev_setup()
903 dev->clk_freq = cx23885_boards[dev->board].clk_freq; in cx23885_dev_setup()
Dcx23885-cards.c61 .clk_freq = 0,
/drivers/media/platform/exynos4-is/
Dfimc-core.c887 static int fimc_parse_dt(struct fimc_dev *fimc, u32 *clk_freq) in fimc_parse_dt() argument
938 of_property_read_u32(node, "clock-frequency", clk_freq); in fimc_parse_dt()