Searched refs:tms (Results 1 - 15 of 15) sorted by relevance

/linux-4.4.14/include/uapi/linux/
H A Dtimes.h6 struct tms { struct
/linux-4.4.14/drivers/misc/altera-stapl/
H A Daltera-lpt.c44 int netup_jtag_io_lpt(void *device, int tms, int tdi, int read_tdo) netup_jtag_io_lpt() argument
56 data = ((tdi ? 0x40 : 0) | (tms ? 0x02 : 0)); netup_jtag_io_lpt()
H A Daltera-exprt.h31 int netup_jtag_io_lpt(void *device, int tms, int tdi, int read_tdo);
H A Daltera-jtag.c303 int tms; altera_goto_jstate() local
327 tms = (altera_jtag_path_map[js->jtag_state] & altera_goto_jstate()
332 alt_jtag_io(tms, TDI_LOW, IGNORE_TDO); altera_goto_jstate()
334 if (tms) altera_goto_jstate()
356 int tms; altera_wait_cycles() local
368 tms = (wait_state == RESET) ? TMS_HIGH : TMS_LOW; altera_wait_cycles()
371 alt_jtag_io(tms, TDI_LOW, IGNORE_TDO); altera_wait_cycles()
/linux-4.4.14/drivers/staging/lustre/lnet/lnet/
H A Dlib-eq.c325 int tms = *timeout_ms; variable
330 if (tms == 0)
339 if (tms < 0) {
344 schedule_timeout(msecs_to_jiffies(tms));
345 tms -= jiffies_to_msecs(jiffies - now);
346 if (tms < 0) /* no more wait but may have new event */
347 tms = 0;
350 wait = tms != 0; /* might need to call here again */
351 *timeout_ms = tms;
/linux-4.4.14/include/misc/
H A Daltera.h32 int (*jtag_io) (void *dev, int tms, int tdi, int tdo);
/linux-4.4.14/kernel/
H A Dcompat.c351 struct tms tms; COMPAT_SYSCALL_DEFINE1() local
354 do_sys_times(&tms); COMPAT_SYSCALL_DEFINE1()
355 /* Convert our struct tms to the compat version. */ COMPAT_SYSCALL_DEFINE1()
356 tmp.tms_utime = clock_t_to_compat_clock_t(tms.tms_utime); COMPAT_SYSCALL_DEFINE1()
357 tmp.tms_stime = clock_t_to_compat_clock_t(tms.tms_stime); COMPAT_SYSCALL_DEFINE1()
358 tmp.tms_cutime = clock_t_to_compat_clock_t(tms.tms_cutime); COMPAT_SYSCALL_DEFINE1()
359 tmp.tms_cstime = clock_t_to_compat_clock_t(tms.tms_cstime); COMPAT_SYSCALL_DEFINE1()
H A Dsys.c882 void do_sys_times(struct tms *tms) do_sys_times() argument
889 tms->tms_utime = cputime_to_clock_t(tgutime); do_sys_times()
890 tms->tms_stime = cputime_to_clock_t(tgstime); do_sys_times()
891 tms->tms_cutime = cputime_to_clock_t(cutime); do_sys_times()
892 tms->tms_cstime = cputime_to_clock_t(cstime); do_sys_times()
895 SYSCALL_DEFINE1(times, struct tms __user *, tbuf) SYSCALL_DEFINE1()
898 struct tms tmp; SYSCALL_DEFINE1()
901 if (copy_to_user(tbuf, &tmp, sizeof(struct tms))) SYSCALL_DEFINE1()
/linux-4.4.14/include/linux/
H A Dtime.h153 struct tms;
154 extern void do_sys_times(struct tms *);
H A Dsyscalls.h57 struct tms;
218 asmlinkage long sys_times(struct tms __user *tbuf);
/linux-4.4.14/drivers/video/fbdev/
H A Dcg14.c103 u8 tms[2]; /* Test Mode Status Regs */ member in struct:cg14_regs
/linux-4.4.14/drivers/pinctrl/
H A Dpinctrl-pistachio.c227 PINCTRL_PIN(PISTACHIO_PIN_TMS, "tms"),
827 PIN_GROUP(TMS, "tms"),
H A Dpinctrl-tz1090.c334 PINCTRL_PIN(TZ1090_PIN_TMS, "tms"),
/linux-4.4.14/drivers/media/pci/cx23885/
H A Dcx23885-cards.c1821 static int netup_jtag_io(void *device, int tms, int tdi, int read_tdo) netup_jtag_io() argument
1828 data |= (tms ? 0x00020002 : 0x00020000); netup_jtag_io()
/linux-4.4.14/tools/testing/selftests/seccomp/
H A Dseccomp_bpf.c454 struct tms timebuf; TEST_SIGNAL()

Completed in 383 milliseconds