Searched refs:clk_freq (Results 1 – 14 of 14) sorted by relevance
/drivers/net/wireless/ti/wl18xx/ |
D | main.c | 688 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/ |
D | spi-pl022.c | 1715 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 …]
|
D | spi-mxs.c | 512 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/ |
D | i2c-nomadik.c | 367 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/ |
D | cx25821-cards.c | 38 .clk_freq = 0,
|
D | cx25821.h | 138 u32 clk_freq; member 248 u32 clk_freq; member
|
D | cx25821-core.c | 883 dev->clk_freq = 28000000; in cx25821_dev_setup()
|
/drivers/scsi/ |
D | mac53c94.c | 48 int clk_freq; member 133 writeb(CLKF_VAL(state->clk_freq), ®s->clk_factor); in mac53c94_init() 461 state->clk_freq = 25000000; in mac53c94_probe() 463 state->clk_freq = *(int *)clkprop; in mac53c94_probe()
|
D | mesh.c | 171 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/ |
D | tifm_sd.c | 98 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/ |
D | cx23885.h | 232 u32 clk_freq; member 377 u32 clk_freq; member
|
D | cx23885-core.c | 874 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()
|
D | cx23885-cards.c | 61 .clk_freq = 0,
|
/drivers/media/platform/exynos4-is/ |
D | fimc-core.c | 887 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()
|