/linux-3.4.99/drivers/rtc/ |
D | rtc-rs5c372.c | 246 static int rs5c372_get_trim(struct i2c_client *client, int *osc, int *trim) in rs5c372_get_trim() argument 251 if (osc) in rs5c372_get_trim() 252 *osc = (tmp & RS5C372_TRIM_XSL) ? 32000 : 32768; in rs5c372_get_trim() 415 int err, osc, trim; in rs5c372_rtc_proc() local 417 err = rs5c372_get_trim(to_i2c_client(dev), &osc, &trim); in rs5c372_rtc_proc() 420 osc / 1000, osc % 1000); in rs5c372_rtc_proc() 458 int err, osc; in rs5c372_sysfs_show_osc() local 460 err = rs5c372_get_trim(to_i2c_client(dev), &osc, NULL); in rs5c372_sysfs_show_osc() 464 return sprintf(buf, "%d.%03d KHz\n", osc / 1000, osc % 1000); in rs5c372_sysfs_show_osc() 466 static DEVICE_ATTR(osc, S_IRUGO, rs5c372_sysfs_show_osc, NULL);
|
/linux-3.4.99/arch/avr32/boards/hammerhead/ |
D | flash.c | 177 struct clk *osc; in hammerhead_usbh_init() local 196 osc = clk_get(NULL, "osc1"); in hammerhead_usbh_init() 197 if (IS_ERR(osc)) in hammerhead_usbh_init() 200 if (clk_set_parent(gclk, osc)) { in hammerhead_usbh_init() 230 clk_put(osc); in hammerhead_usbh_init()
|
/linux-3.4.99/drivers/char/hw_random/ |
D | mxc-rnga.c | 100 u32 ctrl, osc; in mxc_rnga_init() local 108 osc = __raw_readl(rng_base + RNGA_STATUS); in mxc_rnga_init() 109 if (osc & RNGA_STATUS_OSC_DEAD) { in mxc_rnga_init()
|
/linux-3.4.99/arch/arm/plat-mxc/include/mach/ |
D | common.h | 64 extern int mx51_clocks_init(unsigned long ckil, unsigned long osc, 66 extern int mx53_clocks_init(unsigned long ckil, unsigned long osc,
|
/linux-3.4.99/arch/arm/mach-imx/ |
D | clock-mx51-mx53.c | 1558 int __init mx51_clocks_init(unsigned long ckil, unsigned long osc, in mx51_clocks_init() argument 1566 oscillator_reference = osc; in mx51_clocks_init() 1600 int __init mx53_clocks_init(unsigned long ckil, unsigned long osc, in mx53_clocks_init() argument 1608 oscillator_reference = osc; in mx53_clocks_init() 1638 static void __init clk_get_freq_dt(unsigned long *ckil, unsigned long *osc, in clk_get_freq_dt() argument 1652 *osc = rate; in clk_get_freq_dt() 1662 unsigned long ckil, osc, ckih1, ckih2; in mx51_clocks_init_dt() local 1664 clk_get_freq_dt(&ckil, &osc, &ckih1, &ckih2); in mx51_clocks_init_dt() 1665 return mx51_clocks_init(ckil, osc, ckih1, ckih2); in mx51_clocks_init_dt() 1670 unsigned long ckil, osc, ckih1, ckih2; in mx53_clocks_init_dt() local [all …]
|
/linux-3.4.99/drivers/mfd/ |
D | twl-core.c | 1136 struct clk *osc; in clocks_init() local 1142 osc = clk_get(dev, "osc_ck"); in clocks_init() 1144 osc = clk_get(dev, "osc_sys_ck"); in clocks_init() 1146 if (IS_ERR(osc)) { in clocks_init() 1152 rate = clk_get_rate(osc); in clocks_init() 1153 clk_put(osc); in clocks_init() 1159 osc = ERR_PTR(-EIO); in clocks_init()
|
/linux-3.4.99/arch/arm/boot/dts/ |
D | at91sam9x5cm.dtsi | 21 compatible = "atmel,osc", "fixed-clock";
|
D | imx51.dtsi | 48 osc { 49 compatible = "fsl,imx-osc", "fixed-clock";
|
D | usb_a9g20.dts | 29 compatible = "atmel,osc", "fixed-clock";
|
D | imx53.dtsi | 50 osc { 51 compatible = "fsl,imx-osc", "fixed-clock";
|
D | at91sam9m10g45ek.dts | 30 compatible = "atmel,osc", "fixed-clock";
|
D | imx6q.dtsi | 77 osc { 78 compatible = "fsl,imx-osc", "fixed-clock";
|
/linux-3.4.99/drivers/media/common/tuners/ |
D | max2165.c | 135 static int max2165_set_osc(struct max2165_priv *priv, u8 osc /*MHz*/) in max2165_set_osc() argument 139 v = (osc / 2); in max2165_set_osc()
|
/linux-3.4.99/Documentation/sound/alsa/soc/ |
D | codec.txt | 163 /* vref/mid, clk and osc on, active */
|
/linux-3.4.99/drivers/usb/gadget/ |
D | s3c-hsotg.c | 2858 u32 pwr, osc; in s3c_hsotg_otgreset() local 2865 osc = hsotg->plat->is_osc ? S3C_PHYCLK_EXT_OSC : 0; in s3c_hsotg_otgreset() 2871 osc |= S3C_PHYCLK_CLKSEL_12M; in s3c_hsotg_otgreset() 2874 osc |= S3C_PHYCLK_CLKSEL_24M; in s3c_hsotg_otgreset() 2884 writel(osc | 0x10, S3C_PHYCLK); in s3c_hsotg_otgreset()
|
/linux-3.4.99/drivers/tty/ |
D | synclink_gt.c | 3953 unsigned int osc = info->base_clock; in set_rate() local 3962 div = osc/rate; in set_rate() 3963 if (!(osc % rate) && div) in set_rate()
|
/linux-3.4.99/drivers/pinctrl/ |
D | pinctrl-tegra20.c | 2552 FUNCTION(osc),
|