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.c165 tk->offs_tai = ktime_add(tk->offs_real, ktime_set(tk->tai_offset, 0)); in tk_set_wall_to_mono()
170 tk->offs_boot = ktime_add(tk->offs_boot, delta); in tk_update_sleep_time()
323 tk->tkr_raw.cycle_last = tk->tkr_mono.cycle_last; in tk_setup_internals()
720 tk->next_leap_ktime = ktime_sub(tk->next_leap_ktime, tk->offs_real); in tk_update_leap_state()
770 tk->tkr_mono.base_real = tk->tkr_mono.base + tk->offs_real; in timekeeping_update()
2011 mult = tk->tkr_mono.mult - tk->ntp_err_mult; in timekeeping_adjust()
2015 tk->xtime_remainder, tk->cycle_interval); in timekeeping_adjust()
2024 tk->ntp_err_mult = tk->ntp_error > 0 ? 1 : 0; in timekeeping_adjust()
2139 tk->ntp_error += tk->ntp_tick << shift; in logarithmic_accumulation()
2140 tk->ntp_error -= (tk->xtime_interval + tk->xtime_remainder) << in logarithmic_accumulation()
[all …]
H A Dvsyscall.c19 struct timekeeper *tk) in update_vdso_data() argument
35 vdso_ts->sec = tk->xtime_sec + tk->wall_to_monotonic.tv_sec; in update_vdso_data()
37 nsec = tk->tkr_mono.xtime_nsec; in update_vdso_data()
38 nsec += ((u64)tk->wall_to_monotonic.tv_nsec << tk->tkr_mono.shift); in update_vdso_data()
49 nsec += (u64)tk->monotonic_to_boot.tv_nsec << tk->tkr_mono.shift; in update_vdso_data()
63 vdso_ts->sec = tk->raw_sec; in update_vdso_data()
68 vdso_ts->sec = tk->xtime_sec + (s64)tk->tai_offset; in update_vdso_data()
88 vdso_ts->sec = tk->xtime_sec; in update_vsyscall()
94 vdso_ts->nsec = tk->tkr_mono.xtime_nsec >> tk->tkr_mono.shift; in update_vsyscall()
98 vdso_ts->sec = tk->xtime_sec + tk->wall_to_monotonic.tv_sec; in update_vsyscall()
[all …]
/openbmc/linux/kernel/trace/
H A Dtrace_kprobe.c92 return tk->symbol ? tk->symbol : "unknown"; in trace_kprobe_symbol()
152 trace_kprobe_symbol(tk), tk->rp.kp.offset); in trace_kprobe_match_command_head()
223 return tk ? (kprobe_on_func_entry(tk->rp.kp.addr, in trace_kprobe_on_func_entry()
224 tk->rp.kp.addr ? NULL : tk->rp.kp.symbol_name, in trace_kprobe_on_func_entry()
245 if (tk) { in free_trace_kprobe()
249 kfree(tk); in free_trace_kprobe()
268 if (!tk) in alloc_trace_kprobe()
279 tk->rp.kp.symbol_name = tk->symbol; in alloc_trace_kprobe()
298 return tk; in alloc_trace_kprobe()
1264 tk->rp.kp.nmissed + tk->rp.nmissed : tk->rp.kp.nmissed; in probes_profile_seq_show()
[all …]
/openbmc/linux/drivers/input/keyboard/
H A Ddlink-dir685-touchkeys.c52 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()
70 tk = devm_kzalloc(&client->dev, sizeof(*tk), GFP_KERNEL); in dir685_tk_probe()
71 if (!tk) in dir685_tk_probe()
75 if (!tk->input) in dir685_tk_probe()
78 tk->client = client; in dir685_tk_probe()
79 tk->dev = dev; in dir685_tk_probe()
82 tk->input->keycodemax = ARRAY_SIZE(tk->codes); in dir685_tk_probe()
83 tk->input->keycode = tk->codes; in dir685_tk_probe()
[all …]
/openbmc/linux/arch/sparc/kernel/
H A Dvdso.c24 void update_vsyscall(struct timekeeper *tk) in update_vsyscall() argument
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()
41 vdata->monotonic_time_sec = tk->xtime_sec + in update_vsyscall()
42 tk->wall_to_monotonic.tv_sec; in update_vsyscall()
44 (tk->wall_to_monotonic.tv_nsec << in update_vsyscall()
45 tk->tkr_mono.shift); in update_vsyscall()
54 vdata->wall_time_coarse_sec = tk->xtime_sec; in update_vsyscall()
[all …]
/openbmc/linux/net/mac80211/
H A Dtkip.c120 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()
123 ppk[3] += tkipS(ppk[2] ^ get_unaligned_le16(tk + 6)); in tkip_mixing_phase2()
124 ppk[4] += tkipS(ppk[3] ^ get_unaligned_le16(tk + 8)); in tkip_mixing_phase2()
125 ppk[5] += tkipS(ppk[4] ^ get_unaligned_le16(tk + 10)); in tkip_mixing_phase2()
168 tkip_mixing_phase1(tk, ctx, sdata->vif.addr, iv32); in ieee80211_compute_tkip_p1k()
191 tkip_mixing_phase1(tk, &ctx, ta, iv32); in ieee80211_get_tkip_rx_p1k()
210 tkip_mixing_phase2(tk, ctx, iv16, p2k); in ieee80211_get_tkip_p2k()
292 tkip_mixing_phase1(tk, &rx_ctx->ctx, ta, iv32); in ieee80211_tkip_decrypt_data()
[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()
444 fsyscall_gtod_data.wall_time.sec = tk->xtime_sec; 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()
450 + ((u64)tk->wall_to_monotonic.tv_nsec in update_vsyscall()
451 << tk->tkr_mono.shift); in update_vsyscall()
455 (((u64)NSEC_PER_SEC) << tk->tkr_mono.shift)) { in update_vsyscall()
[all …]
/openbmc/linux/mm/
H A Dmemory-failure.c447 struct to_kill *tk; in __add_to_kill() local
450 if (!tk) { in __add_to_kill()
459 tk->size_shift = dev_pagemap_mapping_shift(vma, tk->addr); in __add_to_kill()
477 kfree(tk); in __add_to_kill()
482 tk->tsk = tsk; in __add_to_kill()
536 pfn, tk->tsk->comm, tk->tsk->pid); in kill_procs()
549 pfn, tk->tsk->comm, tk->tsk->pid); in kill_procs()
553 kfree(tk); in kill_procs()
732 struct to_kill tk; member
739 tk->addr = addr; in set_to_kill()
[all …]
/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]:
153 for tk in self.result_types:
154 if test_status in self.result_types[tk]:
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-graphics/gtkwave/
H A Dgtkwave_3.3.117.bb17 tk \
31 # and it needs x11 as well for tk dependency (so it happends to be both GTK3DISTROFEATURES instead …
37 --with-tk=${STAGING_BINDIR_CROSS} \
44 RDEPENDS:${PN} += "tk-lib"
/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 Dtk_8.6.10.bb5 # http://www.tcl.tk/software/tcltk/license.html
49 export TK_LIBRARY='${libdir}/tk${VER}'
68 FILES:${PN} += "${libdir}/tk*"
71 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/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/poky/meta/recipes-devtools/git/
H A Dgit_2.44.0.bb146 # git-tk package with gitk and git-gui
147 PACKAGES =+ "${PN}-tk"
148 #RDEPENDS:${PN}-tk = "${PN} tk tcl"
150 FILES:${PN}-tk = " \
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/tcltk/tk/
H A Dtkprivate.diff23 +TK_SRC_DIR='@includedir@/tk-private'
26 # containing tk objects or link a different wish.
/openbmc/linux/include/asm-generic/vdso/
H A Dvsyscall.h16 struct timekeeper *tk) in __arch_update_vsyscall() argument
/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/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
/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()
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()
1235 if (smp_h6(smp->tfm_cmac, smp->tk, brle, smp->tk)) in sc_generate_ltk()
1666 memset(smp->tk, 0, sizeof(smp->tk)); in smp_user_confirm_reply()
1668 put_unaligned_le32(value, smp->tk); in smp_user_confirm_reply()
2529 memcpy(smp->tk, rp->ltk, sizeof(smp->tk)); in smp_cmd_encrypt_info()
[all …]
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/fw/api/
H A Dlocation.h677 u8 tk[TK_11AZ_LEN]; member
738 u8 tk[TK_11AZ_LEN]; member
791 u8 tk[TK_11AZ_LEN]; member
860 u8 tk[TK_11AZ_LEN]; member
941 u8 tk[TK_11AZ_LEN]; member

123