Home
last modified time | relevance | path

Searched refs:clkid (Results 1 – 12 of 12) sorted by relevance

/external/u-boot/arch/arm/mach-tegra/
Dclock.c71 static struct clk_pll *get_pll(enum clock_id clkid) in get_pll() argument
76 assert(clock_id_is_pll(clkid)); in get_pll()
77 if (clkid >= (enum clock_id)TEGRA_CLK_PLLS) { in get_pll()
78 debug("%s: Invalid PLL %d\n", __func__, clkid); in get_pll()
81 return &clkrst->crc_pll[clkid]; in get_pll()
84 __weak struct clk_pll_simple *clock_get_simple_pll(enum clock_id clkid) in clock_get_simple_pll() argument
89 int clock_ll_read_pll(enum clock_id clkid, u32 *divm, u32 *divn, in clock_ll_read_pll() argument
92 struct clk_pll *pll = get_pll(clkid); in clock_ll_read_pll()
93 struct clk_pll_info *pllinfo = &tegra_pll_info_table[clkid]; in clock_ll_read_pll()
96 assert(clkid != CLOCK_ID_USB); in clock_ll_read_pll()
[all …]
/external/u-boot/drivers/clk/renesas/
Drenesas-cpg-mssr.c72 const unsigned long clkid = clk->id & 0xffff; in renesas_clk_get_mod() local
77 (info->mod_clk_base + MOD_CLK_PACK(clkid))) in renesas_clk_get_mod()
90 const unsigned long clkid = clk->id & 0xffff; in renesas_clk_get_core() local
94 if (info->core_clk[i].id != clkid) in renesas_clk_get_core()
135 const unsigned long clkid = clk->id & 0xffff; in renesas_clk_endisable() local
136 const unsigned int reg = clkid / 100; in renesas_clk_endisable()
137 const unsigned int bit = clkid % 100; in renesas_clk_endisable()
144 clkid, reg, bit, enable ? "ON" : "OFF"); in renesas_clk_endisable()
/external/u-boot/arch/arm/include/asm/arch-tegra/
Dclock.h73 int clock_set_pllout(enum clock_id clkid, enum pll_out_id pllout,
88 int clock_ll_read_pll(enum clock_id clkid, u32 *divm, u32 *divn,
96 void clock_enable(enum periph_id clkid);
103 void clock_disable(enum periph_id clkid);
111 void clock_set_enable(enum periph_id clkid, int enable);
245 unsigned clock_get_rate(enum clock_id clkid);
297 struct clk_pll_simple *clock_get_simple_pll(enum clock_id clkid);
371 int clock_set_rate(enum clock_id clkid, u32 n, u32 m, u32 p, u32 cpcon);
/external/linux-kselftest/tools/testing/selftests/ptp/
Dtestptp.c165 clockid_t clkid; in main() local
263 clkid = get_clockid(fd); in main()
264 if (CLOCK_INVALID == clkid) { in main()
295 if (clock_adjtime(clkid, &tx)) { in main()
307 if (clock_adjtime(clkid, &tx) < 0) { in main()
315 if (clock_gettime(clkid, &ts)) { in main()
325 if (clock_settime(clkid, &ts)) { in main()
333 clock_gettime(clkid, &ts); in main()
344 if (clock_settime(clkid, &ts)) { in main()
401 if (timer_create(clkid, &sigevent, &timerid)) { in main()
[all …]
/external/eigen/bench/btl/generic_bench/timers/
Dportable_timer.hh148 Portable_Timer(int clkid) : m_clkid(clkid) in Portable_Timer() argument
/external/libusb/libusb/os/
Dhaiku_usb_raw.cpp189 haiku_clock_gettime(int clkid, struct timespec *tp) in haiku_clock_gettime() argument
191 if (clkid == USBI_CLOCK_REALTIME) in haiku_clock_gettime()
193 if (clkid == USBI_CLOCK_MONOTONIC) in haiku_clock_gettime()
Dnetbsd_usb.c494 netbsd_clock_gettime(int clkid, struct timespec *tp) in netbsd_clock_gettime() argument
496 usbi_dbg("clock %d", clkid); in netbsd_clock_gettime()
498 if (clkid == USBI_CLOCK_REALTIME) in netbsd_clock_gettime()
501 if (clkid == USBI_CLOCK_MONOTONIC) in netbsd_clock_gettime()
Dopenbsd_usb.c540 obsd_clock_gettime(int clkid, struct timespec *tp) in obsd_clock_gettime() argument
542 usbi_dbg("clock %d", clkid); in obsd_clock_gettime()
544 if (clkid == USBI_CLOCK_REALTIME) in obsd_clock_gettime()
547 if (clkid == USBI_CLOCK_MONOTONIC) in obsd_clock_gettime()
Dsunos_usb.c1121 sunos_clock_gettime(int clkid, struct timespec *tp) in sunos_clock_gettime() argument
1123 usbi_dbg("clock %d", clkid); in sunos_clock_gettime()
1125 if (clkid == USBI_CLOCK_REALTIME) in sunos_clock_gettime()
1128 if (clkid == USBI_CLOCK_MONOTONIC) in sunos_clock_gettime()
/external/u-boot/arch/arm/mach-tegra/tegra124/
Dclock.c1149 struct clk_pll_simple *clock_get_simple_pll(enum clock_id clkid) in clock_get_simple_pll() argument
1154 if (clkid == CLOCK_ID_DP) in clock_get_simple_pll()
/external/libusb/include/libusb/
Dlibusbi.h1111 int (*clock_gettime)(int clkid, struct timespec *tp);
/external/libusb/libusb/
Dlibusbi.h1111 int (*clock_gettime)(int clkid, struct timespec *tp);