Home
last modified time | relevance | path

Searched refs:ts (Results 1 – 25 of 38) sorted by relevance

12

/linux-2.4.37.9/drivers/sound/
Dac97_plugin_wm97xx.c267 static int wm97xx_poll_read_adc (wm97xx_ts_t* ts, u16 adcsel, u16* sample);
268 static int wm97xx_coord_read_adc (wm97xx_ts_t* ts, u16* x, u16* y,
270 static inline int pendown (wm97xx_ts_t *ts);
281 static int adc_get (wm97xx_ts_t *ts, unsigned short *value, int id);
288 static void wm9712_pga_save(wm97xx_ts_t* ts);
289 static void wm9712_pga_restore(wm97xx_ts_t* ts);
350 static int adc_get(wm97xx_ts_t* ts, unsigned short * value, int id) in adc_get() argument
355 if (ts->is_wm9712) { in adc_get()
395 if (!wm97xx_poll_read_adc(ts, adcsel, value)) in adc_get()
406 static int wm97xx_poll_read_adc (wm97xx_ts_t* ts, u16 adcsel, u16* sample) in wm97xx_poll_read_adc() argument
[all …]
/linux-2.4.37.9/drivers/char/
Dau1000_ts.c291 au1000_ts_t* ts = (au1000_ts_t*)private; in chug_raw_data() local
300 if (ts->pressure_eqn == PRESSURE_EQN_2) { in chug_raw_data()
301 Rt = (ts->x_plate_ohms * ts->x_raw * in chug_raw_data()
302 (4096 - ts->z1_raw)) / ts->z1_raw; in chug_raw_data()
303 Rt -= (ts->y_plate_ohms * ts->y_raw); in chug_raw_data()
306 Rt = (ts->x_plate_ohms * ts->x_raw * in chug_raw_data()
307 (ts->z2_raw - ts->z1_raw)) / ts->z1_raw; in chug_raw_data()
312 if (!ts->pendown && Rt > ts->pendown_thresh_ohms) in chug_raw_data()
313 ts->pendown = 1; in chug_raw_data()
314 else if (ts->pendown && Rt < ts->penup_thresh_ohms) in chug_raw_data()
[all …]
Depca.c2665 struct termios *ts; in epcaparam() local
2674 ts = tty->termios; in epcaparam()
2676 if ((ts->c_cflag & CBAUD) == 0) in epcaparam()
2701 cflag = termios2digi_c(ch, ts->c_cflag); in epcaparam()
2717 if ((ts->c_cflag & CLOCAL) || (tty->driver.subtype == SERIAL_TYPE_CALLOUT)) in epcaparam()
2730 iflag = termios2digi_i(ch, ts->c_iflag); in epcaparam()
2755 if ((ts->c_cflag & CLOCAL) || (ch->digiext.digi_flags & DIGI_FORCEDCD)) in epcaparam()
2761 hflow = termios2digi_h(ch, ts->c_cflag); in epcaparam()
2830 struct termios *ts = 0; in receive_data() local
2851 ts = tty->termios; in receive_data()
[all …]
Dpcxx.c1922 struct termios *ts; in pcxxparam() local
1926 ts = tty->termios; in pcxxparam()
1928 if((ts->c_cflag & CBAUD) == 0) { in pcxxparam()
1936 cflag = termios2digi_c(ch, ts->c_cflag); in pcxxparam()
1952 iflag = termios2digi_i(ch, ts->c_iflag); in pcxxparam()
1960 if((ts->c_cflag & CLOCAL) || (ch->digiext.digi_flags & DIGI_FORCEDCD)) in pcxxparam()
1966 hflow = termios2digi_h(ch, ts->c_cflag); in pcxxparam()
2001 struct termios *ts=0; in receive_data() local
2013 ts = tty->termios; in receive_data()
2036 if(!tty || !ts || !(ts->c_cflag & CREAD)) { in receive_data()
Dmoxa.c1048 register struct termios *ts; in set_tty_param() local
1053 ts = tty->termios; in set_tty_param()
1054 if (ts->c_cflag & CLOCAL) in set_tty_param()
1059 if (ts->c_cflag & CRTSCTS) in set_tty_param()
1061 if (ts->c_iflag & IXON) in set_tty_param()
1063 if (ts->c_iflag & IXOFF) in set_tty_param()
1065 if (ts->c_iflag & IXANY) in set_tty_param()
1068 MoxaPortSetTermio(ch->port, ts); in set_tty_param()
1237 struct termios *ts; in receive_data() local
1242 ts = 0; in receive_data()
[all …]
/linux-2.4.37.9/arch/mips/au1000/db1x00/
Dmirage_ts.c128 void *ts; /* handle */ in ts_thread() local
147 ts = wm97xx_ts_get_handle(0); in ts_thread()
150 while ( ! wm97xx_ts_ready(ts) ) { in ts_thread()
156 wm97xx_ts_set_cal(ts, in ts_thread()
164 wm97xx_ts_set_ac97(ts, 0x4c, wm97xx_ts_get_ac97(ts, 0x4c) & ~0x0008); in ts_thread()
166 wm97xx_ts_set_ac97(ts, 0x56, wm97xx_ts_get_ac97(ts, 0x56) & ~0x0008); in ts_thread()
168 wm97xx_ts_set_ac97(ts, 0x52, wm97xx_ts_get_ac97(ts, 0x52) | 0x2008); in ts_thread()
179 if (!wm97xx_ts_read_data(ts, &x, &y, &z)) in ts_thread()
197 wm97xx_ts_send_data(ts, x, y, z); in ts_thread()
207 wm97xx_ts_send_data(ts, pen_xy.x, pen_xy.y, z); in ts_thread()
/linux-2.4.37.9/net/ipv4/
Dip_options.c53 ip_rt_get_source(iph+opt->ts+iph[opt->ts+2]-9, rt); in ip_options_build()
59 memcpy(iph+opt->ts+iph[opt->ts+2]-5, &midtime, 4); in ip_options_build()
68 if (opt->ts) { in ip_options_build()
69 memset(iph+opt->ts, IPOPT_NOP, iph[opt->ts+1]); in ip_options_build()
70 opt->ts = 0; in ip_options_build()
125 if (sopt->ts) { in ip_options_echo()
126 optlen = sptr[sopt->ts+1]; in ip_options_echo()
127 soffset = sptr[sopt->ts+2]; in ip_options_echo()
128 dopt->ts = dopt->optlen + sizeof(struct iphdr); in ip_options_echo()
129 memcpy(dptr, sptr+sopt->ts, optlen); in ip_options_echo()
[all …]
/linux-2.4.37.9/fs/xfs/linux-2.4/
Dsv.h80 #define sv_timedwait(sv, pri, lock, s, svf, ts, rts) \ argument
81 _sv_wait(sv, lock, TASK_UNINTERRUPTIBLE, timespec_to_jiffies(ts))
82 #define sv_timedwait_sig(sv, pri, lock, s, svf, ts, rts) \ argument
83 _sv_wait(sv, lock, TASK_INTERRUPTIBLE, timespec_to_jiffies(ts))
/linux-2.4.37.9/drivers/char/ip2/
Dip2trace.c48 unsigned long ts, td; in main() local
133 td = tbuf.buf[i] - ts; in main()
134 ts = tbuf.buf[i++]; in main()
137 printf ( "\n(%d) Port %3d ", ts, bc.hdr.port ); in main()
/linux-2.4.37.9/drivers/net/
Dslhc.c96 register struct cstate *ts; in slhc_init() local
136 ts = comp->tstate; in slhc_init()
138 ts[i].cs_this = i; in slhc_init()
139 ts[i].next = &(ts[i - 1]); in slhc_init()
141 ts[0].next = &(ts[comp->tslot_limit]); in slhc_init()
142 ts[0].cs_this = 0; in slhc_init()
Dstrip.c1527 StringDescriptor ts = CommandString[strip_info->next_command]; in strip_send() local
1542 memcpy(ptr, ts.string, ts.length); in strip_send()
1545 if (strip_info->firmware_level < ChecksummedMessages) ptr += ts.length; in strip_send()
1546 else ptr = add_checksum(ptr, ptr + ts.length); in strip_send()
1555 strip_info->tx_ebytes += ts.length; in strip_send()
/linux-2.4.37.9/fs/udf/
Dsuper.c749 timestamp ts; in udf_load_pvoldesc() local
750 ts = lets_to_cpu(pvoldesc->recordingDateAndTime); in udf_load_pvoldesc()
753 ts.year, ts.month, ts.day, ts.hour, ts.minute, ts.typeAndTimezone); in udf_load_pvoldesc()
1489 timestamp ts; in udf_read_super() local
1490 udf_time_to_stamp(&ts, UDF_SB_RECORDTIME(sb), 0); in udf_read_super()
1493 UDF_SB_VOLIDENT(sb), ts.year, ts.month, ts.day, ts.hour, ts.minute, in udf_read_super()
1494 ts.typeAndTimezone); in udf_read_super()
/linux-2.4.37.9/kernel/
Dsignal.c955 struct timespec ts; in sys_rt_sigtimedwait() local
974 if (copy_from_user(&ts, uts, sizeof(ts))) in sys_rt_sigtimedwait()
976 if (ts.tv_nsec >= 1000000000L || ts.tv_nsec < 0 in sys_rt_sigtimedwait()
977 || ts.tv_sec < 0) in sys_rt_sigtimedwait()
986 timeout = (timespec_to_jiffies(&ts) in sys_rt_sigtimedwait()
987 + (ts.tv_sec || ts.tv_nsec)); in sys_rt_sigtimedwait()
/linux-2.4.37.9/arch/mips64/kernel/
Dsignal32.c1010 struct timespec ts; in sys32_rt_sigtimedwait() local
1046 if (get_user (ts.tv_sec, &uts->tv_sec) || in sys32_rt_sigtimedwait()
1047 get_user (ts.tv_nsec, &uts->tv_nsec)) in sys32_rt_sigtimedwait()
1049 if (ts.tv_nsec >= 1000000000L || ts.tv_nsec < 0 in sys32_rt_sigtimedwait()
1050 || ts.tv_sec < 0) in sys32_rt_sigtimedwait()
1066 timeout = (timespec_to_jiffies(&ts) in sys32_rt_sigtimedwait()
1067 + (ts.tv_sec || ts.tv_nsec)); in sys32_rt_sigtimedwait()
/linux-2.4.37.9/Documentation/filesystems/
Dcoda.txt557 AArrgguummeennttss
584 AArrgguummeennttss
630 AArrgguummeennttss
672 AArrgguummeennttss
704 AArrgguummeennttss
735 AArrgguummeennttss
794 AArrgguummeennttss
836 AArrgguummeennttss
864 AArrgguummeennttss
897 AArrgguummeennttss
[all …]
/linux-2.4.37.9/include/linux/
Dip.h98 unsigned char ts; member
Dsdla_x25.h510 TX25TimeStamp ts PACKED; /* 06h: time stamp */
/linux-2.4.37.9/Documentation/
DREADME.nsp_cs.eng6 (http://www.workbit.co.jp/ts/z_nj3r.html) and NinjaSCSI-32Bi
7 (http://www.workbit.co.jp/ts/z_njsc32bi.html) PCMCIA card driver module
DREADME.nsp32_cb.eng7 (http://www.workbit.co.jp/ts/z_njsc32bi.html) PCMCIA card and NinjaSCSI-32UDE
/linux-2.4.37.9/drivers/video/
Dpm3fb.c3771 char ts[128]; in pm3fb_build_options() local
3778 sprintf(ts, ",mode:%d:%s", i, mode[i]); in pm3fb_build_options()
3779 strncat(g_options, ts, PM3_OPTIONS_SIZE - strlen(g_options)); in pm3fb_build_options()
3783 sprintf(ts, ",disable:%d:", i); in pm3fb_build_options()
3784 strncat(g_options, ts, PM3_OPTIONS_SIZE - strlen(g_options)); in pm3fb_build_options()
3788 sprintf(ts, ",pciid:%d:%s", i, pciid[i]); in pm3fb_build_options()
3789 strncat(g_options, ts, PM3_OPTIONS_SIZE - strlen(g_options)); in pm3fb_build_options()
3793 sprintf(ts, ",noaccel:%d:", i); in pm3fb_build_options()
3794 strncat(g_options, ts, PM3_OPTIONS_SIZE - strlen(g_options)); in pm3fb_build_options()
3798 sprintf(ts, ",font:%d:%s", i, font[i]); in pm3fb_build_options()
[all …]
/linux-2.4.37.9/arch/x86_64/ia32/
Dipc32.c649 struct timespec ts; in sys32_ipc() local
653 if (get_user(ts.tv_sec, &ts32->tv_sec) || in sys32_ipc()
654 __get_user(ts.tv_nsec, &ts32->tv_nsec) || in sys32_ipc()
661 ts32 ? &ts : NULL); in sys32_ipc()
/linux-2.4.37.9/include/asm-ppc64/
Dmmu.h131 unsigned long ts: 1; /* Tag set bit */ member
/linux-2.4.37.9/drivers/net/skfp/h/
Dsmt.h743 struct smt_p_timestamp ts ; /* time stamp */ member
761 struct smt_p_timestamp ts ; /* time stamp */ member
/linux-2.4.37.9/drivers/net/skfp/
Dsmt.c1062 smt_fill_timestamp(smc,&sif->ts) ; /* set time stamp */
1103 smt_fill_timestamp(smc,&sif->ts) ; /* set time stamp */
1258 static void smt_fill_timestamp(smc,ts) in smt_fill_timestamp() argument
1260 struct smt_p_timestamp *ts ;
1263 SMTSETPARA(ts,SMT_P_TIMESTAMP) ;
1264 smt_set_timestamp(smc,ts->ts_time) ;
/linux-2.4.37.9/drivers/net/wan/
Dcomx-hw-munich.c2400 unsigned long ts, tmp_boardnum; in munich_write_proc() local
2448 ts = simple_strtoul(p, &p, 10); /* base = 10: Don't read 09 as an octal number */ in munich_write_proc()
2450 if (0 <= ts && ts < 32) in munich_write_proc()
2452 tmp_timeslots |= (1 << ts); in munich_write_proc()

12