/linux-master/drivers/phy/samsung/ |
H A D | phy-exynos4210-usb2.c | 153 u32 clk; local 182 clk = readl(drv->reg_phy + EXYNOS_4210_UPHYCLK); 183 clk &= ~EXYNOS_4210_UPHYCLK_PHYFSEL_MASK; 184 clk |= drv->ref_reg_val << EXYNOS_4210_UPHYCLK_PHYFSEL_OFFSET; 185 writel(clk, drv->reg_phy + EXYNOS_4210_UPHYCLK);
|
H A D | phy-exynos4x12-usb2.c | 195 u32 clk; local 197 clk = readl(drv->reg_phy + EXYNOS_4x12_UPHYCLK); 198 clk &= ~EXYNOS_4x12_UPHYCLK_PHYFSEL_MASK; 201 clk = EXYNOS_3250_UPHYCLK_REFCLKSEL; 203 clk |= drv->ref_reg_val << EXYNOS_4x12_UPHYCLK_PHYFSEL_OFFSET; 204 clk |= EXYNOS_4x12_UPHYCLK_PHY1_COMMON_ON; 205 writel(clk, drv->reg_phy + EXYNOS_4x12_UPHYCLK);
|
/linux-master/drivers/phy/st/ |
H A D | phy-stih407-usb.c | 15 #include <linux/clk.h>
|
/linux-master/drivers/rtc/ |
H A D | rtc-sa1100.h | 7 struct clk; 19 struct clk *clk; member in struct:sa1100_rtc
|
/linux-master/drivers/sh/ |
H A D | pm_runtime.c | 18 #include <linux/clk.h>
|
/linux-master/drivers/staging/media/omap4iss/ |
H A D | iss_csiphy.c | 44 reg |= phy->lanes.clk.pol ? CSI2_COMPLEXIO_CFG_CLOCK_POL : 0; 45 reg |= phy->lanes.clk.pos << CSI2_COMPLEXIO_CFG_CLOCK_POSITION_SHIFT; 189 if (lanes->clk.pol > 1 || 190 lanes->clk.pos > (csi2->phy->max_data_lanes + 1)) 193 if (lanes->clk.pos == 0 || used_lanes & (1 << lanes->clk.pos))
|
/linux-master/drivers/staging/nvec/ |
H A D | nvec.h | 17 #include <linux/clk.h> 139 struct clk *i2c_clk;
|
/linux-master/drivers/staging/rts5208/ |
H A D | rtsx_card.h | 997 int switch_ssc_clock(struct rtsx_chip *chip, int clk); 998 int switch_normal_clock(struct rtsx_chip *chip, int clk); 1033 static inline int switch_clock(struct rtsx_chip *chip, int clk) argument 1038 retval = switch_ssc_clock(chip, clk); 1040 retval = switch_normal_clock(chip, clk);
|
/linux-master/drivers/usb/gadget/udc/ |
H A D | m66592-udc.h | 13 #include <linux/clk.h> 465 struct clk *clk; member in struct:m66592
|
H A D | mv_udc.h | 221 struct clk *clk; member in struct:mv_udc
|
H A D | omap_udc.h | 177 struct clk *dc_clk; 178 struct clk *hhc_clk;
|
H A D | r8a66597-udc.h | 13 #include <linux/clk.h> 89 struct clk *clk; member in struct:r8a66597
|
/linux-master/drivers/video/fbdev/matrox/ |
H A D | matroxfb_DAC1064.c | 126 int clk; local 146 for (clk = 65536; clk; --clk) { 150 if (!clk) 615 int clk; local 639 for (clk = 500000; clk; clk--) { 644 if (!clk) [all...] |
H A D | matroxfb_Ti3026.c | 299 static int Ti3026_setpclk(struct matrox_fb_info *minfo, int clk) argument 307 f_pll = Ti3026_calcclock(minfo, clk, minfo->max_pixel_clock, &pixin, &pixfeed, &pixpost);
|
/linux-master/drivers/video/fbdev/omap2/omapfb/dss/ |
H A D | pll.c | 8 #include <linux/clk.h>
|
/linux-master/drivers/video/fbdev/ |
H A D | pxa168fb.h | 181 #define CFG_CLKINV(clk) ((clk) << 7)
|
/linux-master/drivers/video/fbdev/via/ |
H A D | hw.c | 1374 int clk) 1383 cur.multiplier = clk / ((f0 / cur.divisor)>>cur.rshift); 1384 f = abs(get_pll_output_frequency(f0, cur) - clk); 1388 if (abs(get_pll_output_frequency(f0, up) - clk) < f) 1390 else if (abs(get_pll_output_frequency(f0, down) - clk) < f) 1398 f = abs(get_pll_output_frequency(f0, cur) - clk); 1399 if (f < abs(get_pll_output_frequency(f0, best) - clk)) 1406 static struct via_pll_config get_best_pll_config(int clk) argument 1414 ARRAY_SIZE(cle266_pll_limits), clk); 1420 ARRAY_SIZE(k800_pll_limits), clk); 1373 get_pll_config(struct pll_limit *limits, int size, int clk) argument 1442 viafb_set_vclock(u32 clk, int set_iga) argument [all...] |
/linux-master/drivers/watchdog/ |
H A D | asm9260_wdt.c | 9 #include <linux/clk.h> 57 struct clk *clk; member in struct:asm9260_wdt_priv 58 struct clk *clk_ahb; 206 unsigned long clk; local 208 priv->clk = devm_clk_get(priv->dev, "mod"); 209 if (IS_ERR(priv->clk)) { 210 dev_err(priv->dev, "Failed to get \"mod\" clk\n"); 211 return PTR_ERR(priv->clk); 217 dev_err(priv->dev, "Failed to get \"ahb\" clk\ [all...] |
H A D | digicolor_wdt.c | 13 #include <linux/clk.h> 26 struct clk *clk; member in struct:dc_wdt 64 dc_wdt_set(wdt, wdog->timeout * clk_get_rate(wdt->clk)); 82 dc_wdt_set(wdt, t * clk_get_rate(wdt->clk)); 93 return count / clk_get_rate(wdt->clk); 130 wdt->clk = devm_clk_get(dev, NULL); 131 if (IS_ERR(wdt->clk)) 132 return PTR_ERR(wdt->clk); 133 dc_wdt_wdd.max_timeout = U32_MAX / clk_get_rate(wdt->clk); [all...] |
/linux-master/include/clocksource/ |
H A D | timer-davinci.h | 12 #include <linux/clk.h> 41 int __init davinci_timer_register(struct clk *clk,
|
/linux-master/include/linux/ |
H A D | atmel-ssc.h | 20 struct clk *clk; member in struct:ssc_device
|
H A D | fsl_devices.h | 71 struct clk; 85 struct clk *clk; member in struct:fsl_usb2_platform_data
|
H A D | lantiq.h | 18 static inline struct clk *clk_get_fpi(void)
|
/linux-master/include/linux/clk/ |
H A D | zynq.h | 14 struct clk *clk_register_zynq_pll(const char *name, const char *parent,
|
/linux-master/include/linux/dma/ |
H A D | dw.h | 12 #include <linux/clk.h> 26 * @clk: hclk clock 35 struct clk *clk; member in struct:dw_dma_chip
|