/arch/arm/plat-orion/include/plat/ |
H A D | mvsdio.h | 15 unsigned int clock; member in struct:mvsdio_platform_data
|
/arch/mips/include/asm/ |
H A D | time.h | 88 unsigned int clock) 90 clockevents_calc_mult_shift(cd, clock, 4); 87 clockevent_set_clock(struct clock_event_device *cd, unsigned int clock) argument
|
/arch/arm/mach-msm/ |
H A D | clock-debug.c | 21 #include "clock.h" 25 struct clk *clock = data; local 30 if (clock->flags & CLK_MAX) 31 clk_set_max_rate(clock, val); 32 if (clock->flags & CLK_MIN) 33 ret = clk_set_min_rate(clock, val); 35 ret = clk_set_rate(clock, val); 38 (clock->flags & CLK_MIN) ? "_min" : "", ret); 44 struct clk *clock = data; local 45 *val = clk_get_rate(clock); 54 struct clk *clock = data; local 67 struct clk *clock = data; local 79 struct clk *clock = data; local 99 clock_debug_add(struct clk *clock) argument [all...] |
H A D | clock.h | 1 /* arch/arm/mach-msm/clock.h 66 int __init clock_debug_add(struct clk *clock); 69 static inline int __init clock_debug_add(struct clk *clock) { return 0; } argument
|
/arch/x86/include/asm/ |
H A D | vgtod.h | 16 } clock; member in struct:vsyscall_gtod_data
|
/arch/x86/um/vdso/ |
H A D | um_vdso.c | 19 int __vdso_clock_gettime(clockid_t clock, struct timespec *ts) argument 24 "0" (__NR_clock_gettime), "D" (clock), "S" (ts) : "memory");
|
/arch/mips/kernel/ |
H A D | cevt-gt641xx.c | 32 void gt641xx_set_base_clock(unsigned int clock) argument 34 gt641xx_base_clock = clock;
|
/arch/mn10300/unit-asb2305/ |
H A D | leds.c | 100 unsigned int clock; local 106 clock = ((mins & 0xf0) >> 4); 107 clock *= 10; 108 clock += (mins & 0x0f); 109 clock *= 6; 111 clock += ((secs & 0xf0) >> 4); 112 clock *= 10; 113 clock += (secs & 0x0f); 115 peripheral_leds7x4_display_minssecs(clock, 0);
|
/arch/powerpc/sysdev/qe_lib/ |
H A D | ucc.c | 118 int ucc_set_qe_mux_rxtx(unsigned int ucc_num, enum qe_clock clock, argument 138 switch (clock) { 153 switch (clock) { 168 switch (clock) { 184 switch (clock) { 202 /* Check for invalid combination of clock and UCC number */
|
/arch/mips/include/asm/mach-lantiq/ |
H A D | lantiq_platform.h | 42 int clock; member in struct:ltq_pci_data
|
/arch/x86/vdso/ |
H A D | vclock_gettime.c | 43 last = VVAR(vsyscall_gtod_data).clock.cycle_last; 65 notrace static long vdso_fallback_gettime(long clock, struct timespec *ts) argument 69 "0" (__NR_clock_gettime),"D" (clock), "S" (ts) : "memory"); 87 if (gtod->clock.vclock_mode == VCLOCK_TSC) 89 else if (gtod->clock.vclock_mode == VCLOCK_HPET) 93 v = (cycles - gtod->clock.cycle_last) & gtod->clock.mask; 94 return (v * gtod->clock.mult) >> gtod->clock.shift; 105 mode = gtod->clock 155 __vdso_clock_gettime(clockid_t clock, struct timespec *ts) argument [all...] |
/arch/arm/mach-bcmring/csp/chipc/ |
H A D | chipcHw.c | 19 * @brief Low level Various CHIP clock controlling routines 23 * These routines provide basic clock controlling functionality only. 45 /* Local definition of clock type */ 47 #define NON_PLL_CLOCK 2 /* Divider clock */ 54 * @brief Set clock fequency for miscellaneous configurable clocks 56 * This function sets clock frequency 58 * @return Configured clock frequency in hertz 62 chipcHw_freq chipcHw_getClockFrequency(chipcHw_CLOCK_e clock /* [ IN ] Configurable clock */ 98 switch (clock) { 261 chipcHw_setClockFrequency(chipcHw_CLOCK_e clock, uint32_t freq ) argument [all...] |
/arch/arm/mach-omap2/ |
H A D | Makefile | 12 clock-common = clock.o clock_common_data.o \ 135 obj-$(CONFIG_ARCH_OMAP2) += $(clock-common) clock2xxx.o \ 143 obj-$(CONFIG_ARCH_OMAP3) += $(clock-common) clock3xxx.o \ 148 obj-$(CONFIG_ARCH_OMAP4) += $(clock-common) clock44xx_data.o \ 151 # OMAP2 clock rate set data (old "OPP" data)
|
/arch/arm/plat-s3c24xx/ |
H A D | s3c2412-iotiming.c | 35 #include <plat/clock.h> 68 * @clk_tns: The clock period in 10ths of nanoseconds. 78 * @clk_tns: The clock period in 10ths of nanoseconds. 202 static inline unsigned int s3c2412_decode_timing(unsigned int clock, u32 reg) argument 204 return (reg & 0xf) * clock; 211 unsigned long clk = cfg->freq.hclk_tns; /* ssmc clock??? */
|
/arch/mips/vr41xx/common/ |
H A D | cmu.c | 77 void vr41xx_supply_clock(vr41xx_clock_t clock) argument 81 switch (clock) { 129 if (clock == CEU_CLOCK || clock == ETHER0_CLOCK || 130 clock == ETHER1_CLOCK) 140 void vr41xx_mask_clock(vr41xx_clock_t clock) argument 144 switch (clock) { 204 if (clock == CEU_CLOCK || clock == ETHER0_CLOCK || 205 clock [all...] |
/arch/avr32/include/asm/ |
H A D | setup.h | 73 u32 clock_id; /* Which clock are we talking about? */ 78 /* The clock types we know about */ 110 struct tag_clock clock; member in union:tag::__anon398
|
/arch/mips/lantiq/xway/ |
H A D | clk-xway.c | 105 u64 res, clock = get_input_clock(pll); local 107 res = num * clock;
|
/arch/powerpc/kernel/ |
H A D | legacy_serial.c | 33 unsigned int clock; member in struct:legacy_serial_info 75 u32 clock = BASE_BAUD * 16; local 78 /* get clock freq. if present */ 79 clk = of_get_property(np, "clock-frequency", NULL); 81 clock = be32_to_cpup(clk); 126 legacy_serial_ports[index].uartclk = clock; 131 legacy_serial_infos[index].clock = clock; 160 /* We only support ports that have a clock frequency properly 163 if (of_get_property(np, "clock [all...] |
H A D | udbg_16550.c | 92 unsigned int clock) 96 if (clock == 0) 97 clock = 1843200; 101 base_bauds = clock / 16; 125 unsigned int udbg_probe_uart_speed(void __iomem *comport, unsigned int clock) argument 151 speed = (clock / prescaler) / (divisor * 16); 154 if (speed > (clock / 16)) 91 udbg_init_uart(void __iomem *comport, unsigned int speed, unsigned int clock) argument
|
/arch/powerpc/sysdev/ |
H A D | cpm2.c | 113 * The baud rate clock is the system clock divided by something. 133 /* Round the clock divider to the nearest integer. */ 143 int cpm2_clk_setup(enum cpm_clk_target target, int clock, int mode) argument 243 printk(KERN_ERR "cpm2_clock_setup: invalid clock target\n"); 248 if (clk_map[i][0] == target && clk_map[i][1] == clock) { 273 int cpm2_smc_clk_setup(enum cpm_clk_target target, int clock) argument 307 printk(KERN_ERR "cpm2_smc_clock_setup: invalid clock target\n"); 312 if (clk_map[i][0] == target && clk_map[i][1] == clock) {
|
H A D | fsl_gtm.c | 72 unsigned int clock; member in struct:gtm 183 prescaler = gtm->clock / frequency; 384 const u32 *clock; local 396 clock = of_get_property(np, "clock-frequency", &size); 397 if (!clock || size != sizeof(*clock)) { 398 pr_err("%s: no clock-frequency\n", np->full_name); 401 gtm->clock = *clock; [all...] |
/arch/s390/include/asm/ |
H A D | cputime.h | 145 * Convert cputime to clock and back. 149 unsigned long long clock = (__force unsigned long long) cputime; local 150 do_div(clock, 4096000000ULL / USER_HZ); 151 return clock; 160 * Convert cputime64 to clock. 164 unsigned long long clock = (__force unsigned long long) cputime; local 165 do_div(clock, 4096000000ULL / USER_HZ); 166 return clock;
|
H A D | debug.h | 22 unsigned long long clock:52; member in struct:__debug_entry::__anon2526::__anon2527
|
/arch/s390/kernel/ |
H A D | vtime.c | 61 __u64 timer, clock, user, system, steal; local 64 clock = S390_lowcore.last_update_clock; 66 " STCK %1" /* Store current tod clock value */ 70 S390_lowcore.steal_timer += S390_lowcore.last_update_clock - clock;
|
/arch/x86/kernel/ |
H A D | vsyscall_64.c | 84 struct clocksource *clock, u32 mult) 91 vsyscall_gtod_data.clock.vclock_mode = clock->archdata.vclock_mode; 92 vsyscall_gtod_data.clock.cycle_last = clock->cycle_last; 93 vsyscall_gtod_data.clock.mask = clock->mask; 94 vsyscall_gtod_data.clock.mult = mult; 95 vsyscall_gtod_data.clock.shift = clock 83 update_vsyscall(struct timespec *wall_time, struct timespec *wtm, struct clocksource *clock, u32 mult) argument [all...] |