Searched refs:ts (Results 301 - 325 of 796) sorted by last modified time

<<11121314151617181920>>

/linux-master/drivers/bus/
H A Dimx-weim.c148 struct cs_timing_state *ts; local
158 ts = &priv->timing_state;
185 cst = &ts->cs[cs_idx];
/linux-master/tools/testing/selftests/kvm/x86_64/
H A Dnx_huge_pages_test.c97 struct timespec ts;
100 ts.tv_sec = reclaim_wait_ms / 1000; local
101 ts.tv_nsec = (reclaim_wait_ms - (ts.tv_sec * 1000)) * 1000000;
102 nanosleep(&ts, NULL);
H A Dkvm_clock_test.c85 struct timespec ts; local
90 r = clock_gettime(CLOCK_REALTIME, &ts);
97 data.realtime = ts.tv_sec * NSEC_PER_SEC;
98 data.realtime += ts.tv_nsec;
/linux-master/tools/testing/selftests/kvm/
H A Dmemslot_perf_test.c175 struct timespec ts; local
177 TEST_ASSERT(!clock_gettime(CLOCK_REALTIME, &ts),
180 ts.tv_sec += 2;
181 TEST_ASSERT(!sem_timedwait(&vcpu_ready, &ts),
H A Dsteal_time.c309 struct timespec ts, stop; local
311 clock_gettime(CLOCK_MONOTONIC, &ts);
312 stop = timespec_add_ns(ts, MIN_RUN_DELAY_NS);
315 clock_gettime(CLOCK_MONOTONIC, &ts);
316 if (timespec_to_ns(timespec_sub(ts, stop)) >= 0)
/linux-master/tools/testing/selftests/kvm/lib/
H A Dtest_util.c79 int64_t timespec_to_ns(struct timespec ts)
81 return (int64_t)ts.tv_nsec + 1000000000LL * (int64_t)ts.tv_sec; argument
84 struct timespec timespec_add_ns(struct timespec ts, int64_t ns)
88 res.tv_nsec = ts.tv_nsec + ns;
89 res.tv_sec = ts.tv_sec + res.tv_nsec / 1000000000LL;
117 struct timespec timespec_div(struct timespec ts, int divisor)
119 int64_t ns = timespec_to_ns(ts) / divisor; argument
86 timespec_add_ns(struct timespec ts, int64_t ns) argument
/linux-master/drivers/net/ethernet/ti/
H A Dcpts.c242 struct timespec64 *ts,
255 *ts = ns_to_timespec64(ns);
261 const struct timespec64 *ts)
266 ns = timespec64_to_ns(ts);
241 cpts_ptp_gettimeex(struct ptp_clock_info *ptp, struct timespec64 *ts, struct ptp_system_timestamp *sts) argument
260 cpts_ptp_settime(struct ptp_clock_info *ptp, const struct timespec64 *ts) argument
/linux-master/drivers/gpu/drm/amd/display/dc/link/protocols/
H A Dlink_dp_training_dpia.c202 static enum dc_status convert_trng_ptn_to_trng_stg(enum dc_dp_training_pattern tps, enum dpia_set_config_ts *ts) argument
208 *ts = DPIA_TS_TPS1;
211 *ts = DPIA_TS_TPS2;
214 *ts = DPIA_TS_TPS3;
217 *ts = DPIA_TS_TPS4;
220 *ts = DPIA_TS_DPRX_DONE;
224 *ts = DPIA_TS_DPRX_DONE;
303 enum dpia_set_config_ts ts; local
344 status = convert_trng_ptn_to_trng_stg(lt_settings->pattern_for_cr, &ts);
352 ts);
628 enum dpia_set_config_ts ts; local
[all...]
/linux-master/fs/smb/server/
H A Dmisc.c344 struct timespec64 ts; local
357 ts.tv_nsec = do_div(abs_t, 10000000) * 100;
358 ts.tv_nsec = -ts.tv_nsec;
359 ts.tv_sec = -abs_t;
362 ts.tv_nsec = do_div(abs_t, 10000000) * 100;
363 ts.tv_sec = abs_t;
366 return ts;
378 struct timespec64 ts; local
380 ktime_get_real_ts64(&ts);
[all...]
/linux-master/fs/ntfs3/
H A Dfslog.c716 u32 ts; local
723 ts = rsize * ne + sizeof(struct RESTART_TABLE);
726 rsize + sizeof(struct RESTART_TABLE) > bytes || bytes < ts ||
727 le16_to_cpu(rt->total) > ne || ff > ts || lf > ts ||
/linux-master/drivers/net/ethernet/aquantia/atlantic/
H A Daq_ptp.c312 * @ts: timespec structure to hold the current time value
317 static int aq_ptp_gettime(struct ptp_clock_info *ptp, struct timespec64 *ts) argument
328 *ts = ns_to_timespec64(ns);
335 * @ts: the timespec containing the new time for the cycle counter
341 const struct timespec64 *ts)
346 u64 ns = timespec64_to_ns(ts);
1146 struct timespec64 ts; local
1148 ktime_get_real_ts64(&ts);
1149 aq_ptp_settime(&aq_ptp->ptp_info, &ts);
1283 u64 ts local
340 aq_ptp_settime(struct ptp_clock_info *ptp, const struct timespec64 *ts) argument
[all...]
/linux-master/drivers/input/touchscreen/
H A Dgoodix.c61 static int goodix_check_cfg_8(struct goodix_ts_data *ts,
63 static int goodix_check_cfg_16(struct goodix_ts_data *ts,
65 static void goodix_calc_cfg_checksum_8(struct goodix_ts_data *ts);
66 static void goodix_calc_cfg_checksum_16(struct goodix_ts_data *ts);
251 static int goodix_ts_read_input_report(struct goodix_ts_data *ts, u8 *data) argument
259 * ts->contact_size * max(1, touch_num) bytes of coordinates
262 const int header_contact_keycode_size = 1 + ts->contact_size + 1;
271 error = goodix_i2c_read(ts->client, addr, data,
278 if (touch_num > ts->max_touch_num)
284 error = goodix_i2c_read(ts
310 goodix_create_pen_input(struct goodix_ts_data *ts) argument
348 goodix_ts_report_pen_down(struct goodix_ts_data *ts, u8 *data) argument
389 goodix_ts_report_pen_up(struct goodix_ts_data *ts) argument
402 goodix_ts_report_touch_8b(struct goodix_ts_data *ts, u8 *coor_data) argument
417 goodix_ts_report_touch_9b(struct goodix_ts_data *ts, u8 *coor_data) argument
432 goodix_ts_release_keys(struct goodix_ts_data *ts) argument
440 goodix_ts_report_key(struct goodix_ts_data *ts, u8 *data) argument
466 goodix_process_events(struct goodix_ts_data *ts) argument
508 struct goodix_ts_data *ts = dev_id; local
516 goodix_free_irq(struct goodix_ts_data *ts) argument
521 goodix_request_irq(struct goodix_ts_data *ts) argument
528 goodix_check_cfg_8(struct goodix_ts_data *ts, const u8 *cfg, int len) argument
551 goodix_calc_cfg_checksum_8(struct goodix_ts_data *ts) argument
564 goodix_check_cfg_16(struct goodix_ts_data *ts, const u8 *cfg, int len) argument
588 goodix_calc_cfg_checksum_16(struct goodix_ts_data *ts) argument
608 goodix_check_cfg(struct goodix_ts_data *ts, const u8 *cfg, int len) argument
627 goodix_send_cfg(struct goodix_ts_data *ts, const u8 *cfg, int len) argument
648 goodix_pin_acpi_direction_input(struct goodix_ts_data *ts) argument
657 goodix_pin_acpi_output_method(struct goodix_ts_data *ts, int value) argument
666 goodix_pin_acpi_direction_input(struct goodix_ts_data *ts) argument
673 goodix_pin_acpi_output_method(struct goodix_ts_data *ts, int value) argument
681 goodix_irq_direction_output(struct goodix_ts_data *ts, int value) argument
704 goodix_irq_direction_input(struct goodix_ts_data *ts) argument
723 goodix_int_sync(struct goodix_ts_data *ts) argument
749 goodix_reset_no_int_sync(struct goodix_ts_data *ts) argument
796 goodix_reset(struct goodix_ts_data *ts) argument
830 struct goodix_ts_data *ts = data; local
855 goodix_add_acpi_gpio_mappings(struct goodix_ts_data *ts) argument
945 goodix_add_acpi_gpio_mappings(struct goodix_ts_data *ts) argument
956 goodix_get_gpio_config(struct goodix_ts_data *ts) argument
1038 goodix_read_config(struct goodix_ts_data *ts) argument
1076 goodix_read_version(struct goodix_ts_data *ts) argument
1130 goodix_configure_dev(struct goodix_ts_data *ts) argument
1261 struct goodix_ts_data *ts = ctx; local
1289 struct goodix_ts_data *ts = arg; local
1297 struct goodix_ts_data *ts; local
1408 struct goodix_ts_data *ts = i2c_get_clientdata(client); local
1417 struct goodix_ts_data *ts = i2c_get_clientdata(client); local
1464 struct goodix_ts_data *ts = i2c_get_clientdata(client); local
[all...]
/linux-master/drivers/scsi/isci/
H A Drequest.c2709 struct task_status_struct *ts = &task->task_status; local
2710 struct ata_task_resp *resp = (void *)&ts->buf[0];
2714 ts->buf_valid_size = sizeof(*resp);
2718 ts->stat = SAS_PROTO_RESPONSE;
2720 ts->stat = SAS_SAM_STAT_GOOD;
2722 ts->resp = SAS_TASK_COMPLETE;
/linux-master/drivers/net/ethernet/intel/e1000e/
H A Dptp.c155 * @ts: timespec structure to hold the current PHC time
162 struct timespec64 *ts,
178 *ts = ns_to_timespec64(ns);
186 * @ts: timespec containing the new time for the cycle counter
192 const struct timespec64 *ts)
199 ns = timespec64_to_ns(ts);
230 struct timespec64 ts; local
236 ts = ns_to_timespec64(ns);
238 (long long) ts.tv_sec, ts
161 e1000e_phc_gettimex(struct ptp_clock_info *ptp, struct timespec64 *ts, struct ptp_system_timestamp *sts) argument
191 e1000e_phc_settime(struct ptp_clock_info *ptp, const struct timespec64 *ts) argument
[all...]
/linux-master/drivers/hid/
H A Dhid-nvidia-shield.c299 static inline void thunderstrike_send_hostcmd_request(struct thunderstrike *ts) argument
301 struct thunderstrike_hostcmd_req_report *report = ts->req_report_dmabuf;
302 struct shield_device *shield_dev = &ts->base;
306 ts->req_report_dmabuf,
319 struct thunderstrike *ts = local
324 report = ts->req_report_dmabuf;
326 if (test_and_clear_bit(THUNDERSTRIKE_FW_VERSION_UPDATE, &ts->update_flags)) {
329 thunderstrike_send_hostcmd_request(ts);
332 if (test_and_clear_bit(THUNDERSTRIKE_LED_UPDATE, &ts->update_flags)) {
335 report->led.state = ts
368 thunderstrike_request_firmware_version(struct thunderstrike *ts) argument
374 thunderstrike_request_board_info(struct thunderstrike *ts) argument
381 thunderstrike_update_haptics(struct thunderstrike *ts, struct thunderstrike_hostcmd_haptics *motors) argument
402 struct thunderstrike *ts; local
425 struct thunderstrike *ts; local
437 struct thunderstrike *ts; local
460 struct thunderstrike *ts; local
525 thunderstrike_request_psy_stats(struct thunderstrike *ts) argument
533 struct thunderstrike *ts = local
591 struct thunderstrike *ts = container_of(shield_dev, struct thunderstrike, base); local
609 struct thunderstrike *ts = container_of(shield_dev, struct thunderstrike, base); local
657 struct thunderstrike *ts = container_of(shield_dev, struct thunderstrike, base); local
718 struct thunderstrike *ts = local
797 thunderstrike_led_create(struct thunderstrike *ts) argument
815 struct thunderstrike *ts = container_of(shield_dev, struct thunderstrike, base); local
862 struct thunderstrike *ts; local
922 thunderstrike_destroy(struct thunderstrike *ts) argument
1045 struct thunderstrike *ts; local
1097 struct thunderstrike *ts; local
[all...]
/linux-master/fs/smb/client/
H A Dcifsencrypt.c503 struct timespec64 ts; local
528 ktime_get_real_ts64(&ts);
529 return cpu_to_le64(cifs_UnixTimeToNT(ts));
/linux-master/tools/perf/tests/
H A Dswitch-tracking.c28 struct timespec ts; local
52 ts.tv_nsec = 50 * 1000 * 1000;
53 ts.tv_sec = 0;
56 err = nanosleep(&ts, NULL);
/linux-master/tools/perf/
H A Dbuiltin-lock.c593 static struct lock_seq_stat *get_seq(struct thread_stat *ts, u64 addr) argument
597 list_for_each_entry(seq, &ts->seq_list, list) {
610 list_add(&seq->list, &ts->seq_list);
663 struct thread_stat *ts; local
679 ts = thread_stat_findnew(sample->tid);
680 if (!ts)
683 seq = get_seq(ts, addr);
738 struct thread_stat *ts; local
754 ts = thread_stat_findnew(sample->tid);
755 if (!ts)
804 struct thread_stat *ts; local
862 struct thread_stat *ts; local
1063 struct thread_stat *ts; local
1227 struct thread_stat *ts; local
[all...]
/linux-master/tools/perf/bench/
H A Depoll-wait.c386 struct timespec ts = { .tv_sec = 0, local
411 nanosleep(&ts, NULL);
H A Depoll-ctl.c175 struct timespec ts = { .tv_sec = 0, local
198 nanosleep(&ts, NULL);
/linux-master/tools/perf/arch/arm64/util/
H A Darm-spe.c467 struct timespec ts; local
469 clock_gettime(CLOCK_MONOTONIC_RAW, &ts);
471 return ts.tv_sec ^ ts.tv_nsec;
/linux-master/drivers/target/
H A Dtarget_core_transport.c3107 static char *target_ts_to_str(u32 ts) argument
3111 if (ts & CMD_T_ABORTED)
3113 if (ts & CMD_T_ACTIVE)
3115 if (ts & CMD_T_COMPLETE)
3117 if (ts & CMD_T_SENT)
3119 if (ts & CMD_T_STOP)
3121 if (ts & CMD_T_FABRIC_STOP)
/linux-master/tools/testing/cxl/test/
H A Dmem.c461 struct cxl_mbox_set_timestamp_in *ts = cmd->payload_in;
463 if (cmd->size_in != sizeof(*ts))
469 mdata->timestamp = le64_to_cpu(ts->timestamp);
450 struct cxl_mbox_set_timestamp_in *ts = cmd->payload_in; local
/linux-master/net/netfilter/
H A Dnfnetlink_log.c603 struct nfulnl_msg_packet_timestamp ts; local
604 ts.sec = cpu_to_be64(kts.tv_sec);
605 ts.usec = cpu_to_be64(kts.tv_nsec / NSEC_PER_USEC);
607 if (nla_put(inst->skb, NFULA_TIMESTAMP, sizeof(ts), &ts))
/linux-master/kernel/trace/
H A Dtrace_events_hist.c869 u64 ts = ring_buffer_event_time_stamp(buffer, rbe); local
872 ts = ns2usecs(ts);
874 return ts;

Completed in 618 milliseconds

<<11121314151617181920>>