Searched refs:ts (Results 251 - 275 of 795) sorted by last modified time

<<11121314151617181920>>

/linux-master/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_ptp.c60 const struct timespec64 *ts)
64 u64 ns = timespec64_to_ns(ts);
112 static int bnxt_hwrm_port_ts_query(struct bnxt *bp, u32 flags, u64 *ts) argument
134 *ts = le64_to_cpu(resp->ptp_msg_ts);
140 struct timespec64 *ts,
156 *ts = ns_to_timespec64(ns);
410 struct timespec64 ts; local
415 ts.tv_sec = rq->perout.start.sec;
416 ts.tv_nsec = rq->perout.start.nsec;
417 target_ns = timespec64_to_ns(&ts);
59 bnxt_ptp_settime(struct ptp_clock_info *ptp_info, const struct timespec64 *ts) argument
139 bnxt_ptp_gettimex(struct ptp_clock_info *ptp_info, struct timespec64 *ts, struct ptp_system_timestamp *sts) argument
675 u64 ts = 0, ns = 0; local
733 bnxt_get_rx_ts_p5(struct bnxt *bp, u64 *ts, u32 pkt_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/drivers/net/ethernet/marvell/mvpp2/
H A Dmvpp2_main.c3415 u32 ts = r2 << 19 | r1 << 3 | r0 >> 13; local
3417 mvpp22_tai_tstamp(port->priv->tai, ts, &shhwtstamps);
/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/selftests/kvm/
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/cxl/test/
H A Dmem.c450 struct cxl_mbox_set_timestamp_in *ts = cmd->payload_in; local
452 if (cmd->size_in != sizeof(*ts))
458 mdata->timestamp = le64_to_cpu(ts->timestamp);
/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;
H A Dring_buffer_benchmark.c16 u64 ts; member in struct:rb_page
89 u64 ts; local
91 event = ring_buffer_consume(buffer, cpu, &ts, NULL);
/linux-master/drivers/usb/mon/
H A Dmon_bin.c492 struct timespec64 ts; local
503 ktime_get_real_ts64(&ts);
576 ep->ts_sec = ts.tv_sec;
577 ep->ts_usec = ts.tv_nsec / NSEC_PER_USEC;
638 struct timespec64 ts; local
643 ktime_get_real_ts64(&ts);
664 ep->ts_sec = ts.tv_sec;
665 ep->ts_usec = ts.tv_nsec / NSEC_PER_USEC;
/linux-master/drivers/usb/gadget/udc/
H A Dlpc32xx_udc.c1444 u32 tsend, ts = 0; local
1453 tsend = ts = req->req.length - req->req.actual;
1454 if (ts == 0) {
1459 } else if (ts > ep0->ep.maxpacket)
1460 ts = ep0->ep.maxpacket; /* Just send what we can */
1463 udc_write_hwep(udc, EP_IN, (req->req.buf + req->req.actual), ts);
1466 req->req.actual += ts;
/linux-master/drivers/tty/
H A Dmoxa.c1768 register struct ktermios *ts = &tty->termios; local
1773 if (ts->c_cflag & CRTSCTS)
1775 if (ts->c_iflag & IXON)
1777 if (ts->c_iflag & IXOFF)
1779 if (ts->c_iflag & IXANY)
1783 baud = MoxaPortSetTermio(ch, ts, tty_get_baud_rate(tty));
/linux-master/drivers/net/slip/
H A Dslhc.c95 struct cstate *ts; local
133 ts = comp->tstate;
135 ts[i].cs_this = i;
136 ts[i].next = &(ts[i - 1]);
138 ts[0].next = &(ts[comp->tslot_limit]);
139 ts[0].cs_this = 0;
/linux-master/drivers/net/can/usb/peak_usb/
H A Dpcan_usb_core.c153 * compute time according to current ts and time_ref data
155 void peak_usb_get_ts_time(struct peak_time_ref *time_ref, u32 ts, ktime_t *time) argument
162 /* General case: dev_ts_1 < dev_ts_2 < ts, with:
166 * - ts = event timestamp
172 * - sometimes, dev_ts_1 < ts < dev_ts2
175 * must take into account case when ts wraps (tsw)
181 * ts tsw
185 if (ts < time_ref->ts_dev_1)
195 * tsn ts
197 } else if (time_ref->ts_dev_1 < ts) {
[all...]
/linux-master/drivers/input/touchscreen/
H A Dzforce_ts.c137 static int zforce_command(struct zforce_ts *ts, u8 cmd) argument
139 struct i2c_client *client = ts->client;
149 mutex_lock(&ts->access_mutex);
151 mutex_unlock(&ts->access_mutex);
160 static void zforce_reset_assert(struct zforce_ts *ts) argument
162 gpiod_set_value_cansleep(ts->gpio_rst, 1);
165 static void zforce_reset_deassert(struct zforce_ts *ts) argument
167 gpiod_set_value_cansleep(ts->gpio_rst, 0);
170 static int zforce_send_wait(struct zforce_ts *ts, const char *buf, int len) argument
172 struct i2c_client *client = ts
208 zforce_command_wait(struct zforce_ts *ts, u8 cmd) argument
229 zforce_resolution(struct zforce_ts *ts, u16 x, u16 y) argument
241 zforce_scan_frequency(struct zforce_ts *ts, u16 idle, u16 finger, u16 stylus) argument
257 zforce_setconfig(struct zforce_ts *ts, char b1) argument
268 zforce_start(struct zforce_ts *ts) argument
320 zforce_stop(struct zforce_ts *ts) argument
338 zforce_touch_event(struct zforce_ts *ts, u8 *payload) argument
415 zforce_read_packet(struct zforce_ts *ts, u8 *buf) argument
457 zforce_complete(struct zforce_ts *ts, int cmd, int result) argument
472 struct zforce_ts *ts = dev_id; local
483 struct zforce_ts *ts = dev_id; local
592 struct zforce_ts *ts = input_get_drvdata(dev); local
599 struct zforce_ts *ts = input_get_drvdata(dev); local
613 struct zforce_ts *ts = i2c_get_clientdata(client); local
658 struct zforce_ts *ts = i2c_get_clientdata(client); local
697 struct zforce_ts *ts = data; local
730 struct zforce_ts *ts; local
[all...]
H A Dmelfas_mip4.c179 static int mip4_i2c_xfer(struct mip4_ts *ts, argument
185 .addr = ts->client->addr,
190 .addr = ts->client->addr,
201 res = i2c_transfer(ts->client->adapter, msg, ARRAY_SIZE(msg));
206 dev_err(&ts->client->dev,
225 static int mip4_get_fw_version(struct mip4_ts *ts) argument
228 u8 buf[sizeof(ts->fw_version)];
231 error = mip4_i2c_xfer(ts, cmd, sizeof(cmd), buf, sizeof(buf));
233 memset(&ts->fw_version, 0xff, sizeof(ts
245 mip4_query_device(struct mip4_ts *ts) argument
366 mip4_power_on(struct mip4_ts *ts) argument
378 mip4_power_off(struct mip4_ts *ts) argument
387 mip4_clear_input(struct mip4_ts *ts) argument
404 mip4_enable(struct mip4_ts *ts) argument
417 mip4_disable(struct mip4_ts *ts) argument
430 mip4_report_keys(struct mip4_ts *ts, u8 *packet) argument
465 mip4_report_touch(struct mip4_ts *ts, u8 *packet) argument
543 mip4_handle_packet(struct mip4_ts *ts, u8 *packet) argument
584 struct mip4_ts *ts = dev_id; local
640 struct mip4_ts *ts = input_get_drvdata(dev); local
647 struct mip4_ts *ts = input_get_drvdata(dev); local
706 mip4_bl_read_status(struct mip4_ts *ts) argument
768 mip4_bl_change_mode(struct mip4_ts *ts, u8 mode) argument
831 mip4_bl_enter(struct mip4_ts *ts) argument
839 mip4_bl_exit(struct mip4_ts *ts) argument
844 mip4_bl_get_address(struct mip4_ts *ts, u16 *buf_addr) argument
880 mip4_bl_program_page(struct mip4_ts *ts, int offset, const u8 *data, int length, u16 buf_addr) argument
966 mip4_bl_verify_page(struct mip4_ts *ts, int offset, const u8 *data, int length, int buf_addr) argument
1079 mip4_flash_fw(struct mip4_ts *ts, const u8 *fw_data, u32 fw_size, u32 fw_offset) argument
1155 mip4_parse_firmware(struct mip4_ts *ts, const struct firmware *fw, u32 *fw_offset_start, u32 *fw_size, const struct mip4_bin_tail **pfw_info) argument
1246 mip4_execute_fw_update(struct mip4_ts *ts, const struct firmware *fw) argument
1292 struct mip4_ts *ts = i2c_get_clientdata(client); local
1333 struct mip4_ts *ts = i2c_get_clientdata(client); local
1355 struct mip4_ts *ts = i2c_get_clientdata(client); local
1380 struct mip4_ts *ts = i2c_get_clientdata(client); local
1399 struct mip4_ts *ts = i2c_get_clientdata(client); local
1426 struct mip4_ts *ts; local
1520 struct mip4_ts *ts = i2c_get_clientdata(client); local
1538 struct mip4_ts *ts = i2c_get_clientdata(client); local
[all...]
H A Dilitek_ts_i2c.c73 int (*func)(struct ilitek_ts_data *ts, u16 cmd, u8 *inbuf, u8 *outbuf);
92 static int ilitek_i2c_write_and_read(struct ilitek_ts_data *ts, argument
97 struct i2c_client *client = ts->client;
137 static void ilitek_touch_down(struct ilitek_ts_data *ts, unsigned int id, argument
140 struct input_dev *input = ts->input_dev;
145 touchscreen_report_pos(input, &ts->prop, x, y, true);
148 static int ilitek_process_and_report_v6(struct ilitek_ts_data *ts) argument
156 struct input_dev *input = ts->input_dev;
157 struct device *dev = &ts->client->dev;
160 error = ilitek_i2c_write_and_read(ts, NUL
213 api_protocol_set_cmd(struct ilitek_ts_data *ts, u16 idx, u8 *inbuf, u8 *outbuf) argument
230 api_protocol_get_ptl_ver(struct ilitek_ts_data *ts, u16 cmd, u8 *inbuf, u8 *outbuf) argument
247 api_protocol_get_mcu_ver(struct ilitek_ts_data *ts, u16 cmd, u8 *inbuf, u8 *outbuf) argument
265 api_protocol_get_fw_ver(struct ilitek_ts_data *ts, u16 cmd, u8 *inbuf, u8 *outbuf) argument
281 api_protocol_get_scrn_res(struct ilitek_ts_data *ts, u16 cmd, u8 *inbuf, u8 *outbuf) argument
300 api_protocol_get_tp_res(struct ilitek_ts_data *ts, u16 cmd, u8 *inbuf, u8 *outbuf) argument
321 api_protocol_get_ic_mode(struct ilitek_ts_data *ts, u16 cmd, u8 *inbuf, u8 *outbuf) argument
336 api_protocol_set_ic_sleep(struct ilitek_ts_data *ts, u16 cmd, u8 *inbuf, u8 *outbuf) argument
345 api_protocol_set_ic_wake(struct ilitek_ts_data *ts, u16 cmd, u8 *inbuf, u8 *outbuf) argument
391 ilitek_reset(struct ilitek_ts_data *ts, int delay) argument
401 ilitek_protocol_init(struct ilitek_ts_data *ts) argument
422 ilitek_read_tp_info(struct ilitek_ts_data *ts, bool boot) argument
457 ilitek_input_dev_init(struct device *dev, struct ilitek_ts_data *ts) argument
497 struct ilitek_ts_data *ts = dev_id; local
513 struct ilitek_ts_data *ts = i2c_get_clientdata(client); local
528 struct ilitek_ts_data *ts = i2c_get_clientdata(client); local
544 struct ilitek_ts_data *ts; local
601 struct ilitek_ts_data *ts = i2c_get_clientdata(client); local
618 struct ilitek_ts_data *ts = i2c_get_clientdata(client); local
[all...]
H A Dhideep.c179 static int hideep_pgm_w_mem(struct hideep_ts *ts, u32 addr, argument
182 struct pgm_packet *packet = (void *)ts->xfer_buf;
185 .addr = ts->client->addr,
199 ret = i2c_transfer(ts->client->adapter, &msg, 1);
206 static int hideep_pgm_r_mem(struct hideep_ts *ts, u32 addr, argument
209 struct pgm_packet *packet = (void *)ts->xfer_buf;
213 .addr = ts->client->addr,
219 .addr = ts->client->addr,
233 ret = i2c_transfer(ts->client->adapter, msg, ARRAY_SIZE(msg));
240 static int hideep_pgm_r_reg(struct hideep_ts *ts, u3 argument
257 hideep_pgm_w_reg(struct hideep_ts *ts, u32 addr, u32 val) argument
302 hideep_pgm_set(struct hideep_ts *ts) argument
313 hideep_pgm_get_pattern(struct hideep_ts *ts, u32 *pattern) argument
341 hideep_enter_pgm(struct hideep_ts *ts) argument
370 hideep_nvm_unlock(struct hideep_ts *ts) argument
400 hideep_check_status(struct hideep_ts *ts) argument
417 hideep_program_page(struct hideep_ts *ts, u32 addr, const __be32 *ucode, size_t xfer_count) argument
466 hideep_program_nvm(struct hideep_ts *ts, const __be32 *ucode, size_t ucode_len) argument
515 hideep_verify_nvm(struct hideep_ts *ts, const __be32 *ucode, size_t ucode_len) argument
562 hideep_load_dwz(struct hideep_ts *ts) argument
611 hideep_flash_firmware(struct hideep_ts *ts, const __be32 *ucode, size_t ucode_len) argument
629 hideep_update_firmware(struct hideep_ts *ts, const __be32 *ucode, size_t ucode_len) argument
659 hideep_power_on(struct hideep_ts *ts) argument
694 struct hideep_ts *ts = data; local
723 hideep_parse_and_report(struct hideep_ts *ts) argument
756 struct hideep_ts *ts = handle; local
774 hideep_get_axis_info(struct hideep_ts *ts) argument
792 hideep_init_input(struct hideep_ts *ts) argument
871 struct hideep_ts *ts = i2c_get_clientdata(client); local
927 struct hideep_ts *ts = i2c_get_clientdata(client); local
941 struct hideep_ts *ts = i2c_get_clientdata(client); local
963 hideep_set_work_mode(struct hideep_ts *ts) argument
981 struct hideep_ts *ts = i2c_get_clientdata(client); local
992 struct hideep_ts *ts = i2c_get_clientdata(client); local
1020 struct hideep_ts *ts; local
[all...]
/linux-master/drivers/input/keyboard/
H A Dqt1050.c223 static bool qt1050_identify(struct qt1050_priv *ts) argument
229 regmap_read(ts->regmap, QT1050_CHIP_ID, &val);
231 dev_err(&ts->client->dev, "ID %d not supported\n", val);
236 err = regmap_read(ts->regmap, QT1050_FW_VERSION, &val);
238 dev_err(&ts->client->dev, "could not read the firmware version\n");
242 dev_info(&ts->client->dev, "AT42QT1050 firmware version %1d.%1d\n",
250 struct qt1050_priv *ts = dev_id; local
251 struct input_dev *input = ts->input;
257 err = regmap_read(ts->regmap, QT1050_DET_STATUS, &val);
259 dev_err(&ts
301 qt1050_apply_fw_data(struct qt1050_priv *ts) argument
341 qt1050_parse_fw(struct qt1050_priv *ts) argument
430 struct qt1050_priv *ts; local
553 struct qt1050_priv *ts = i2c_get_clientdata(client); local
569 struct qt1050_priv *ts = i2c_get_clientdata(client); local
[all...]

Completed in 347 milliseconds

<<11121314151617181920>>