/linux-2.6.39/drivers/rtc/ |
D | rtc-rs5c372.c | 245 static int rs5c372_get_trim(struct i2c_client *client, int *osc, int *trim) in rs5c372_get_trim() argument 250 if (osc) in rs5c372_get_trim() 251 *osc = (tmp & RS5C372_TRIM_XSL) ? 32000 : 32768; in rs5c372_get_trim() 414 int err, osc, trim; in rs5c372_rtc_proc() local 416 err = rs5c372_get_trim(to_i2c_client(dev), &osc, &trim); in rs5c372_rtc_proc() 419 osc / 1000, osc % 1000); in rs5c372_rtc_proc() 457 int err, osc; in rs5c372_sysfs_show_osc() local 459 err = rs5c372_get_trim(to_i2c_client(dev), &osc, NULL); in rs5c372_sysfs_show_osc() 463 return sprintf(buf, "%d.%03d KHz\n", osc / 1000, osc % 1000); in rs5c372_sysfs_show_osc() 465 static DEVICE_ATTR(osc, S_IRUGO, rs5c372_sysfs_show_osc, NULL);
|
/linux-2.6.39/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-2.6.39/arch/arm/plat-mxc/include/mach/ |
D | common.h | 57 extern int mx51_clocks_init(unsigned long ckil, unsigned long osc, 59 extern int mx53_clocks_init(unsigned long ckil, unsigned long osc,
|
/linux-2.6.39/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-2.6.39/drivers/mfd/ |
D | twl-core.c | 921 struct clk *osc; in clocks_init() local 927 osc = clk_get(dev, "osc_ck"); in clocks_init() 929 osc = clk_get(dev, "osc_sys_ck"); in clocks_init() 931 if (IS_ERR(osc)) { in clocks_init() 937 rate = clk_get_rate(osc); in clocks_init() 938 clk_put(osc); in clocks_init() 944 osc = ERR_PTR(-EIO); in clocks_init()
|
/linux-2.6.39/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-2.6.39/arch/arm/mach-mx5/ |
D | clock-mx51-mx53.c | 1501 int __init mx51_clocks_init(unsigned long ckil, unsigned long osc, in mx51_clocks_init() argument 1509 oscillator_reference = osc; in mx51_clocks_init() 1544 int __init mx53_clocks_init(unsigned long ckil, unsigned long osc, in mx53_clocks_init() argument 1552 oscillator_reference = osc; in mx53_clocks_init()
|
/linux-2.6.39/drivers/usb/gadget/ |
D | s3c-hsotg.c | 2804 u32 pwr, osc; in s3c_hsotg_otgreset() local 2811 osc = hsotg->plat->is_osc ? S3C_PHYCLK_EXT_OSC : 0; in s3c_hsotg_otgreset() 2817 osc |= S3C_PHYCLK_CLKSEL_12M; in s3c_hsotg_otgreset() 2820 osc |= S3C_PHYCLK_CLKSEL_24M; in s3c_hsotg_otgreset() 2830 writel(osc | 0x10, S3C_PHYCLK); in s3c_hsotg_otgreset()
|
/linux-2.6.39/Documentation/sound/alsa/soc/ |
D | codec.txt | 163 /* vref/mid, clk and osc on, active */
|
/linux-2.6.39/drivers/tty/ |
D | synclink_gt.c | 3955 unsigned int osc = info->base_clock; in set_rate() local 3964 div = osc/rate; in set_rate() 3965 if (!(osc % rate) && div) in set_rate()
|