Home
last modified time | relevance | path

Searched refs:tk (Results 1 – 25 of 54) sorted by relevance

123

/openbmc/linux/kernel/time/
H A Dtimekeeping.c117 static inline void tk_normalize_xtime(struct timekeeper *tk) in tk_normalize_xtime() argument
119 while (tk->tkr_mono.xtime_nsec >= ((u64)NSEC_PER_SEC << tk->tkr_mono.shift)) { in tk_normalize_xtime()
120 tk->tkr_mono.xtime_nsec -= (u64)NSEC_PER_SEC << tk->tkr_mono.shift; in tk_normalize_xtime()
121 tk->xtime_sec++; in tk_normalize_xtime()
123 while (tk->tkr_raw.xtime_nsec >= ((u64)NSEC_PER_SEC << tk->tkr_raw.shift)) { in tk_normalize_xtime()
124 tk->tkr_raw.xtime_nsec -= (u64)NSEC_PER_SEC << tk->tkr_raw.shift; in tk_normalize_xtime()
125 tk->raw_sec++; in tk_normalize_xtime()
129 static inline struct timespec64 tk_xtime(const struct timekeeper *tk) in tk_xtime() argument
133 ts.tv_sec = tk->xtime_sec; in tk_xtime()
134 ts.tv_nsec = (long)(tk->tkr_mono.xtime_nsec >> tk->tkr_mono.shift); in tk_xtime()
[all …]
H A Dvsyscall.c19 struct timekeeper *tk) in update_vdso_data() argument
24 vdata[CS_HRES_COARSE].cycle_last = tk->tkr_mono.cycle_last; in update_vdso_data()
25 vdata[CS_HRES_COARSE].mask = tk->tkr_mono.mask; in update_vdso_data()
26 vdata[CS_HRES_COARSE].mult = tk->tkr_mono.mult; in update_vdso_data()
27 vdata[CS_HRES_COARSE].shift = tk->tkr_mono.shift; in update_vdso_data()
28 vdata[CS_RAW].cycle_last = tk->tkr_raw.cycle_last; in update_vdso_data()
29 vdata[CS_RAW].mask = tk->tkr_raw.mask; in update_vdso_data()
30 vdata[CS_RAW].mult = tk->tkr_raw.mult; in update_vdso_data()
31 vdata[CS_RAW].shift = tk->tkr_raw.shift; in update_vdso_data()
35 vdso_ts->sec = tk->xtime_sec + tk->wall_to_monotonic.tv_sec; in update_vdso_data()
[all …]
/openbmc/linux/kernel/trace/
H A Dtrace_kprobe.c85 static nokprobe_inline bool trace_kprobe_is_return(struct trace_kprobe *tk) in trace_kprobe_is_return() argument
87 return tk->rp.handler != NULL; in trace_kprobe_is_return()
90 static nokprobe_inline const char *trace_kprobe_symbol(struct trace_kprobe *tk) in trace_kprobe_symbol() argument
92 return tk->symbol ? tk->symbol : "unknown"; in trace_kprobe_symbol()
95 static nokprobe_inline unsigned long trace_kprobe_offset(struct trace_kprobe *tk) in trace_kprobe_offset() argument
97 return tk->rp.kp.offset; in trace_kprobe_offset()
100 static nokprobe_inline bool trace_kprobe_has_gone(struct trace_kprobe *tk) in trace_kprobe_has_gone() argument
102 return kprobe_gone(&tk->rp.kp); in trace_kprobe_has_gone()
105 static nokprobe_inline bool trace_kprobe_within_module(struct trace_kprobe *tk, in trace_kprobe_within_module() argument
109 const char *name = trace_kprobe_symbol(tk); in trace_kprobe_within_module()
[all …]
/openbmc/linux/drivers/input/keyboard/
H A Ddlink-dir685-touchkeys.c29 struct dir685_touchkeys *tk = data; in dir685_tk_irq_thread() local
30 const int num_bits = min_t(int, ARRAY_SIZE(tk->codes), 16); in dir685_tk_irq_thread()
38 err = i2c_master_recv(tk->client, buf, sizeof(buf)); in dir685_tk_irq_thread()
40 dev_err(tk->dev, "short read %d\n", err); in dir685_tk_irq_thread()
44 dev_dbg(tk->dev, "IN: %*ph\n", (int)sizeof(buf), buf); in dir685_tk_irq_thread()
48 changed = tk->cur_key ^ key; in dir685_tk_irq_thread()
50 dev_dbg(tk->dev, "key %d is %s\n", i, in dir685_tk_irq_thread()
52 input_report_key(tk->input, tk->codes[i], test_bit(i, &key)); in dir685_tk_irq_thread()
56 tk->cur_key = key; in dir685_tk_irq_thread()
57 input_sync(tk->input); in dir685_tk_irq_thread()
[all …]
/openbmc/linux/arch/sparc/kernel/
H A Dvdso.c24 void update_vsyscall(struct timekeeper *tk) in update_vsyscall() argument
32 vdata->vclock_mode = tk->tkr_mono.clock->archdata.vclock_mode; in update_vsyscall()
33 vdata->clock.cycle_last = tk->tkr_mono.cycle_last; in update_vsyscall()
34 vdata->clock.mask = tk->tkr_mono.mask; in update_vsyscall()
35 vdata->clock.mult = tk->tkr_mono.mult; in update_vsyscall()
36 vdata->clock.shift = tk->tkr_mono.shift; in update_vsyscall()
38 vdata->wall_time_sec = tk->xtime_sec; in update_vsyscall()
39 vdata->wall_time_snsec = tk->tkr_mono.xtime_nsec; in update_vsyscall()
41 vdata->monotonic_time_sec = tk->xtime_sec + in update_vsyscall()
42 tk->wall_to_monotonic.tv_sec; in update_vsyscall()
[all …]
/openbmc/linux/net/mac80211/
H A Dtkip.c82 static void tkip_mixing_phase1(const u8 *tk, struct tkip_ctx *ctx, in tkip_mixing_phase1() argument
96 p1k[0] += tkipS(p1k[4] ^ get_unaligned_le16(tk + 0 + j)); in tkip_mixing_phase1()
97 p1k[1] += tkipS(p1k[0] ^ get_unaligned_le16(tk + 4 + j)); in tkip_mixing_phase1()
98 p1k[2] += tkipS(p1k[1] ^ get_unaligned_le16(tk + 8 + j)); in tkip_mixing_phase1()
99 p1k[3] += tkipS(p1k[2] ^ get_unaligned_le16(tk + 12 + j)); in tkip_mixing_phase1()
100 p1k[4] += tkipS(p1k[3] ^ get_unaligned_le16(tk + 0 + j)) + i; in tkip_mixing_phase1()
106 static void tkip_mixing_phase2(const u8 *tk, struct tkip_ctx *ctx, in tkip_mixing_phase2() argument
120 ppk[0] += tkipS(ppk[5] ^ get_unaligned_le16(tk + 0)); in tkip_mixing_phase2()
121 ppk[1] += tkipS(ppk[0] ^ get_unaligned_le16(tk + 2)); in tkip_mixing_phase2()
122 ppk[2] += tkipS(ppk[1] ^ get_unaligned_le16(tk + 4)); in tkip_mixing_phase2()
[all …]
/openbmc/linux/arch/ia64/kernel/
H A Dtime.c433 void update_vsyscall(struct timekeeper *tk) in update_vsyscall() argument
438 fsyscall_gtod_data.clk_mask = tk->tkr_mono.mask; in update_vsyscall()
439 fsyscall_gtod_data.clk_mult = tk->tkr_mono.mult; in update_vsyscall()
440 fsyscall_gtod_data.clk_shift = tk->tkr_mono.shift; in update_vsyscall()
441 fsyscall_gtod_data.clk_fsys_mmio = tk->tkr_mono.clock->archdata.fsys_mmio; in update_vsyscall()
442 fsyscall_gtod_data.clk_cycle_last = tk->tkr_mono.cycle_last; in update_vsyscall()
444 fsyscall_gtod_data.wall_time.sec = tk->xtime_sec; in update_vsyscall()
445 fsyscall_gtod_data.wall_time.snsec = tk->tkr_mono.xtime_nsec; in update_vsyscall()
447 fsyscall_gtod_data.monotonic_time.sec = tk->xtime_sec in update_vsyscall()
448 + tk->wall_to_monotonic.tv_sec; in update_vsyscall()
[all …]
/openbmc/linux/mm/
H A Dmemory-failure.c340 static int kill_proc(struct to_kill *tk, unsigned long pfn, int flags) in kill_proc() argument
342 struct task_struct *t = tk->tsk; in kill_proc()
343 short addr_lsb = tk->size_shift; in kill_proc()
351 (void __user *)tk->addr, addr_lsb); in kill_proc()
361 ret = send_sig_mceerr(BUS_MCEERR_AO, (void __user *)tk->addr, in kill_proc()
447 struct to_kill *tk; in __add_to_kill() local
449 tk = kmalloc(sizeof(struct to_kill), GFP_ATOMIC); in __add_to_kill()
450 if (!tk) { in __add_to_kill()
455 tk->addr = ksm_addr ? ksm_addr : page_address_in_vma(p, vma); in __add_to_kill()
458 tk->addr = vma_pgoff_address(fsdax_pgoff, 1, vma); in __add_to_kill()
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-graphics/gtkwave/
H A Dgtkwave_3.3.121.bb17 tk \
31 # and it needs x11 as well for tk dependency (so it happends to be both GTK3DISTROFEATURES instead …
43 PACKAGECONFIG[tk] = "--with-tk=${STAGING_BINDIR_CROSS},--disable-tcl,tk"
47 RDEPENDS:${PN} += "tk-lib"
/openbmc/qemu/tests/qemu-iotests/
H A D093156 for tk in params:
158 limits[tk] = params[tk] * ndrives
174 for tk in params:
176 limits[tk] = params[tk] * self.max_drives
190 for tk in params:
191 rate = params[tk] * ndrives
197 settings[tk] = rate
198 settings['%s_max' % tk] = burst_rate
199 settings['%s_max_length' % tk] = burst_length
208 limits[tk] = burst_rate
[all …]
/openbmc/openbmc/poky/scripts/lib/resulttool/
H A Dreport.py71 for tk in self.result_types:
72 if status in self.result_types[tk]:
73 self.ptests[machine][suite][tk] += 1
105 for tk in self.result_types:
106 if status in self.result_types[tk]:
107 self.ltptests[machine][suite][tk] += 1
135 for tk in self.result_types:
136 if status in self.result_types[tk]:
137 self.ltpposixtests[machine][suite][tk] += 1
153 for tk in self.result_types:
[all …]
/openbmc/u-boot/arch/arm/cpu/arm926ejs/mxs/
H A Dclock.c315 uint32_t fp, x, k_rest, k_best, x_best, tk; in mxs_set_lcdclk() local
342 tk = fp / x; in mxs_set_lcdclk()
343 if ((tk / 1000 == 0) || (tk / 1000 > 255)) in mxs_set_lcdclk()
346 k_rest = tk % 1000; in mxs_set_lcdclk()
349 k_best_l = tk; in mxs_set_lcdclk()
354 k_best_t = tk; in mxs_set_lcdclk()
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/tcltk/
H A Dtk8_8.6.15.bb5 # http://www.tcl.tk/software/tcltk/license.html
21 ${SOURCEFORGE_MIRROR}/tcl/tk${PV}-src.tar.gz \
32 S = "${WORKDIR}/tk${PV}"
53 export TK_LIBRARY='${libdir}/tk${VER}'
73 FILES:${PN} += "${libdir}/tk*"
H A Dtk_9.0.1.bb5 # http://www.tcl.tk/software/tcltk/license.html
48 export TK_LIBRARY='${libdir}/tk${VER}'
69 FILES:${PN} += "${libdir}/tk*"
72 RDEPENDS:${PN} += "tk-lib"
/openbmc/linux/include/linux/
H A Dtimekeeper_internal.h143 extern void update_vsyscall(struct timekeeper *tk);
148 static inline void update_vsyscall(struct timekeeper *tk) in update_vsyscall() argument
H A Dkprobes.h430 #define kprobe_flush_task(tk) do {} while (0) argument
432 void kprobe_flush_task(struct task_struct *tk);
497 static inline void kprobe_flush_task(struct task_struct *tk) in kprobe_flush_task() argument
/openbmc/openbmc/poky/meta/recipes-devtools/git/
H A Dgit_2.47.1.bb147 # git-tk package with gitk and git-gui
148 PACKAGES =+ "${PN}-tk"
149 #RDEPENDS:${PN}-tk = "${PN} tk tcl"
151 FILES:${PN}-tk = " \
/openbmc/linux/arch/arm/xen/
H A Denlighten.c107 struct timekeeper *tk = priv; in xen_pvclock_gtod_notify() local
109 now.tv_sec = tk->xtime_sec; in xen_pvclock_gtod_notify()
110 now.tv_nsec = (long)(tk->tkr_mono.xtime_nsec >> tk->tkr_mono.shift); in xen_pvclock_gtod_notify()
111 system_time = timespec64_add(now, tk->wall_to_monotonic); in xen_pvclock_gtod_notify()
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/tcltk/tk8/
H A Dtkprivate.diff23 +TK_SRC_DIR='@includedir@/tk-private'
26 # containing tk objects or link a different wish.
/openbmc/linux/arch/x86/xen/
H A Dtime.c105 struct timekeeper *tk = priv; in xen_pvclock_gtod_notify() local
109 now.tv_sec = tk->xtime_sec; in xen_pvclock_gtod_notify()
110 now.tv_nsec = (long)(tk->tkr_mono.xtime_nsec >> tk->tkr_mono.shift); in xen_pvclock_gtod_notify()
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dftm-initiator.c36 u8 tk[TK_11AZ_LEN]; member
44 u8 *addr, u32 cipher, u8 *tk, u32 tk_len, in iwl_mvm_ftm_add_pasn_sta() argument
117 if (tk && tk_len) in iwl_mvm_ftm_add_pasn_sta()
118 memcpy(pasn->tk, tk, sizeof(pasn->tk)); in iwl_mvm_ftm_add_pasn_sta()
704 if (WARN_ON(key->keylen > sizeof(target->tk))) in iter()
707 memcpy(target->tk, key->key, key->keylen); in iter()
741 memcpy(target->tk, entry->tk, sizeof(target->tk)); in iwl_mvm_ftm_set_secured_ranging()
H A Dftm-responder.c317 u8 *addr, u32 cipher, u8 *tk, u32 tk_len, in iwl_mvm_ftm_respoder_add_pasn_sta() argument
339 if ((!hltk || !hltk_len) && (!tk || !tk_len)) { in iwl_mvm_ftm_respoder_add_pasn_sta()
354 if (tk && tk_len) { in iwl_mvm_ftm_respoder_add_pasn_sta()
360 cipher, tk, tk_len); in iwl_mvm_ftm_respoder_add_pasn_sta()
/openbmc/linux/net/bluetooth/
H A Dsmp.c107 u8 tk[16]; /* SMP Temporary Key */ member
861 memset(smp->tk, 0, sizeof(smp->tk)); in tk_request()
926 memset(smp->tk, 0, sizeof(smp->tk)); in tk_request()
929 put_unaligned_le32(passkey, smp->tk); in tk_request()
957 ret = smp_c1(smp->tk, smp->prnd, smp->preq, smp->prsp, in smp_confirm()
987 ret = smp_c1(smp->tk, smp->rrnd, smp->preq, smp->prsp, in smp_random()
1004 smp_s1(smp->tk, smp->rrnd, smp->prnd, stk); in smp_random()
1020 smp_s1(smp->tk, smp->prnd, smp->rrnd, stk); in smp_random()
1150 key_type, auth, smp->tk, smp->enc_key_size, in sc_add_ltk()
1167 if (smp_h7(smp->tfm_cmac, smp->tk, salt, smp->link_key)) { in sc_generate_link_key()
[all …]
/openbmc/linux/include/asm-generic/vdso/
H A Dvsyscall.h16 struct timekeeper *tk) in __arch_update_vsyscall() argument
/openbmc/linux/arch/arm64/include/asm/vdso/
H A Dvsyscall.h25 void __arm64_update_vsyscall(struct vdso_data *vdata, struct timekeeper *tk) in __arm64_update_vsyscall() argument

123