OXIESEC PANEL
- Current Dir:
/
/
usr
/
src
/
linux-headers-4.15.0-213
/
arch
/
c6x
/
include
/
asm
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
05/09/2024 07:14:12 AM
rwxr-xr-x
📄
Kbuild
865 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
asm-offsets.h
35 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
bitops.h
2.17 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
bug.h
705 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
cache.h
3.1 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
cacheflush.h
2.05 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
checksum.h
947 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
clock.h
3.51 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
cmpxchg.h
1.57 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
delay.h
1.67 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
dma-mapping.h
911 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
dscr.h
909 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
elf.h
3.18 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
flat.h
677 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
ftrace.h
97 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
hardirq.h
572 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
irq.h
1.59 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
irqflags.h
1.67 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
linkage.h
497 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
megamod-pic.h
213 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
module.h
639 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
page.h
312 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
pgtable.h
2.29 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
processor.h
3.31 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
procinfo.h
673 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
ptrace.h
998 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
sections.h
287 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
setup.h
914 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
soc.h
929 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
special_insns.h
1.82 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
string.h
616 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
switch_to.h
992 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
syscall.h
2.2 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
syscalls.h
1.73 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
thread_info.h
2.63 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
timer64.h
154 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
timex.h
867 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
tlb.h
192 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
traps.h
1.29 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
uaccess.h
2.14 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
unaligned.h
4.63 KB
01/28/2018 09:20:33 PM
rw-r--r--
Editing: clock.h
Close
/* * TI C64X clock definitions * * Copyright (C) 2010, 2011 Texas Instruments. * Contributed by: Mark Salter <msalter@redhat.com> * * Copied heavily from arm/mach-davinci/clock.h, so: * * Copyright (C) 2006-2007 Texas Instruments. * Copyright (C) 2008-2009 Deep Root Systems, LLC * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */ #ifndef _ASM_C6X_CLOCK_H #define _ASM_C6X_CLOCK_H #ifndef __ASSEMBLER__ #include <linux/list.h> /* PLL/Reset register offsets */ #define PLLCTL 0x100 #define PLLM 0x110 #define PLLPRE 0x114 #define PLLDIV1 0x118 #define PLLDIV2 0x11c #define PLLDIV3 0x120 #define PLLPOST 0x128 #define PLLCMD 0x138 #define PLLSTAT 0x13c #define PLLALNCTL 0x140 #define PLLDCHANGE 0x144 #define PLLCKEN 0x148 #define PLLCKSTAT 0x14c #define PLLSYSTAT 0x150 #define PLLDIV4 0x160 #define PLLDIV5 0x164 #define PLLDIV6 0x168 #define PLLDIV7 0x16c #define PLLDIV8 0x170 #define PLLDIV9 0x174 #define PLLDIV10 0x178 #define PLLDIV11 0x17c #define PLLDIV12 0x180 #define PLLDIV13 0x184 #define PLLDIV14 0x188 #define PLLDIV15 0x18c #define PLLDIV16 0x190 /* PLLM register bits */ #define PLLM_PLLM_MASK 0xff #define PLLM_VAL(x) ((x) - 1) /* PREDIV register bits */ #define PLLPREDIV_EN BIT(15) #define PLLPREDIV_VAL(x) ((x) - 1) /* PLLCTL register bits */ #define PLLCTL_PLLEN BIT(0) #define PLLCTL_PLLPWRDN BIT(1) #define PLLCTL_PLLRST BIT(3) #define PLLCTL_PLLDIS BIT(4) #define PLLCTL_PLLENSRC BIT(5) #define PLLCTL_CLKMODE BIT(8) /* PLLCMD register bits */ #define PLLCMD_GOSTAT BIT(0) /* PLLSTAT register bits */ #define PLLSTAT_GOSTAT BIT(0) /* PLLDIV register bits */ #define PLLDIV_EN BIT(15) #define PLLDIV_RATIO_MASK 0x1f #define PLLDIV_RATIO(x) ((x) - 1) struct pll_data; struct clk { struct list_head node; struct module *owner; const char *name; unsigned long rate; int usecount; u32 flags; struct clk *parent; struct list_head children; /* list of children */ struct list_head childnode; /* parent's child list node */ struct pll_data *pll_data; u32 div; unsigned long (*recalc) (struct clk *); int (*set_rate) (struct clk *clk, unsigned long rate); int (*round_rate) (struct clk *clk, unsigned long rate); }; /* Clock flags: SoC-specific flags start at BIT(16) */ #define ALWAYS_ENABLED BIT(1) #define CLK_PLL BIT(2) /* PLL-derived clock */ #define PRE_PLL BIT(3) /* source is before PLL mult/div */ #define FIXED_DIV_PLL BIT(4) /* fixed divisor from PLL */ #define FIXED_RATE_PLL BIT(5) /* fixed output rate PLL */ #define MAX_PLL_SYSCLKS 16 struct pll_data { void __iomem *base; u32 num; u32 flags; u32 input_rate; u32 bypass_delay; /* in loops */ u32 reset_delay; /* in loops */ u32 lock_delay; /* in loops */ struct clk sysclks[MAX_PLL_SYSCLKS + 1]; }; /* pll_data flag bit */ #define PLL_HAS_PRE BIT(0) #define PLL_HAS_MUL BIT(1) #define PLL_HAS_POST BIT(2) #define CLK(dev, con, ck) \ { \ .dev_id = dev, \ .con_id = con, \ .clk = ck, \ } \ extern void c6x_clks_init(struct clk_lookup *clocks); extern int clk_register(struct clk *clk); extern void clk_unregister(struct clk *clk); extern void c64x_setup_clocks(void); extern struct pll_data c6x_soc_pll1; extern struct clk clkin1; extern struct clk c6x_core_clk; extern struct clk c6x_i2c_clk; extern struct clk c6x_watchdog_clk; extern struct clk c6x_mcbsp1_clk; extern struct clk c6x_mcbsp2_clk; extern struct clk c6x_mdio_clk; #endif #endif /* _ASM_C6X_CLOCK_H */