Searched refs:t2 (Results 1 - 25 of 51) sorted by relevance

123

/drivers/block/paride/
H A Dbpck.c35 #define t2(pat) {PC ^= pat; out_p(2,PC);} macro
56 case 0: w0(r & 0xf); w0(r); t2(2); t2(4);
58 t2(4);
62 case 1: w0(r & 0xf); w0(r); t2(2);
63 e2(); t2(0x20);
64 t2(4); h = r0();
65 t2(1); t2(0x20);
89 t2(
[all...]
/drivers/staging/lustre/include/linux/libcfs/
H A Dlibcfs_time.h51 static inline unsigned long cfs_time_sub(unsigned long t1, unsigned long t2) argument
53 return (unsigned long)(t1 - t2);
56 static inline int cfs_time_after(unsigned long t1, unsigned long t2) argument
58 return time_before(t2, t1);
61 static inline int cfs_time_aftereq(unsigned long t1, unsigned long t2) argument
63 return time_before_eq(t2, t1);
/drivers/staging/lustre/include/linux/libcfs/linux/
H A Dlinux-time.h126 static inline int cfs_time_before_64(__u64 t1, __u64 t2) argument
128 return (__s64)t2 - (__s64)t1 > 0;
131 static inline int cfs_time_beforeq_64(__u64 t1, __u64 t2) argument
133 return (__s64)t2 - (__s64)t1 >= 0;
/drivers/pci/
H A Dpci-acpi.c108 hpx->t2 = &hpx->type2_data;
109 hpx->t2->revision = revision;
110 hpx->t2->unc_err_mask_and = fields[2].integer.value;
111 hpx->t2->unc_err_mask_or = fields[3].integer.value;
112 hpx->t2->unc_err_sever_and = fields[4].integer.value;
113 hpx->t2->unc_err_sever_or = fields[5].integer.value;
114 hpx->t2->cor_err_mask_and = fields[6].integer.value;
115 hpx->t2->cor_err_mask_or = fields[7].integer.value;
116 hpx->t2->adv_err_cap_and = fields[8].integer.value;
117 hpx->t2
[all...]
/drivers/ide/
H A Dpalm_bk3710.c147 u8 t2, t2i, t0; local
155 t2 = DIV_ROUND_UP(t->active, ideclk_period);
157 t2i = t0 - t2 - 1;
158 t2 -= 1;
161 val32 |= (t2 << (dev ? 8 : 0));
177 t2 = DIV_ROUND_UP(t->act8b, ideclk_period);
179 t2i = t0 - t2 - 1;
180 t2 -= 1;
183 val32 |= (t2 << (dev ? 8 : 0));
H A Dqd65xx.c301 u16 t1, t2; local
307 t2 = QD6580_DEF_DATA2;
309 t2 = t1 = hwif->channel ? QD6580_DEF_DATA2 : QD6580_DEF_DATA;
311 ide_set_drivedata(drive, (void *)((drive->dn & 1) ? t2 : t1));
H A Dsis5513.c230 u8 t2 = 0; local
232 pci_read_config_byte(dev, drive_pci, &t2);
233 t2 &= ~0x80; /* disable UDMA */
234 pci_write_config_byte(dev, drive_pci, t2);
/drivers/media/v4l2-core/
H A Dv4l2-dv-timings.c223 * @t2 - with this struct.
226 * Compare t1 with t2 with a given margin of error for the pixelclock.
229 const struct v4l2_dv_timings *t2,
232 if (t1->type != t2->type || t1->type != V4L2_DV_BT_656_1120)
234 if (t1->bt.width == t2->bt.width &&
235 t1->bt.height == t2->bt.height &&
236 t1->bt.interlaced == t2->bt.interlaced &&
237 t1->bt.polarities == t2->bt.polarities &&
238 t1->bt.pixelclock >= t2->bt.pixelclock - pclock_delta &&
239 t1->bt.pixelclock <= t2
228 v4l2_match_dv_timings(const struct v4l2_dv_timings *t1, const struct v4l2_dv_timings *t2, unsigned pclock_delta) argument
[all...]
/drivers/input/gameport/
H A Dgameport.c85 u64 t1, t2, t3; local
98 t2 = ktime_get_ns();
102 t = (t2 - t1) - (t3 - t2);
118 unsigned int i, t, t1, t2, t3, tx; local
130 GET_TIME(t2);
134 if ((t = DELTA(t2,t1) - DELTA(t3,t2)) < tx) tx = t;
143 unsigned long tx, t1, t2, flags;
154 rdtscl(t2);
[all...]
/drivers/ata/
H A Dpata_ep93xx.c218 unsigned long t2)
225 * We are already t2 delay loop iterations after activation of
226 * DIOR-/DIOW-, so we set timeout to (1250 + 35) / 25 - t2 additional
229 unsigned long start = (1250 + 35) / 25 - t2;
247 bool iordy, unsigned long t0, unsigned long t2,
250 ep93xx_pata_delay(t2);
251 /* lengthen t2 if needed */
253 t2 += ep93xx_pata_wait_for_iordy(base, t2);
255 if (t0 > t2
217 ep93xx_pata_wait_for_iordy(void __iomem *base, unsigned long t2) argument
246 ep93xx_pata_rw_end(void __iomem *base, unsigned long addr, bool iordy, unsigned long t0, unsigned long t2, unsigned long t2i) argument
268 unsigned long t2 = reg ? t->act8b : t->active; local
302 unsigned long t2 = reg ? t->act8b : t->active; local
[all...]
H A Dpata_sis.c230 u8 t1, t2; local
239 pci_read_config_byte(pdev, port + 1, &t2);
242 t2 &= ~0x07;
245 t2 |= recovery[speed];
248 pci_write_config_byte(pdev, port + 1, t2);
H A Dpata_octeon_cf.c142 int t2; local
161 t2 = timing.active;
162 if (t2)
163 t2--;
207 reg_tim.s.we = t2;
209 reg_tim.s.oe = t2;
/drivers/media/pci/cx88/
H A Dcx88-dsp.c79 u32 t2, t4, t6, t8; local
89 t2 = x*x/32768/2;
90 t4 = t2*x/32768*x/32768/3/4;
93 ret = 32768-t2+t4-t6+t8;
/drivers/usb/host/
H A Dehci-hub.c194 u32 t2 = t1 & ~PORT_WAKE_BITS; local
201 t2 |= PORT_WKOC_E | PORT_WKDISC_E;
203 t2 |= PORT_WKOC_E | PORT_WKCONN_E;
205 ehci_writel(ehci, t2, reg);
272 u32 t2 = t1 & ~PORT_WAKE_BITS; local
278 t2 |= PORT_SUSPEND;
290 t2 |= PORT_WKOC_E | PORT_WKDISC_E;
292 t2 |= PORT_WKOC_E | PORT_WKCONN_E;
295 if (t1 != t2) {
302 if ((t2
[all...]
H A Dxhci-hub.c1128 u32 t1, t2; local
1132 t2 = xhci_port_state_to_neutral(t1);
1143 t2 &= ~PORT_PLS_MASK;
1144 t2 |= PORT_LINK_STROBE | XDEV_U3;
1153 t2 |= PORT_WKOC_E | PORT_WKDISC_E;
1154 t2 &= ~PORT_WKCONN_E;
1156 t2 |= PORT_WKOC_E | PORT_WKCONN_E;
1157 t2 &= ~PORT_WKDISC_E;
1160 t2 &= ~PORT_WAKE_BITS;
1163 if (t1 != t2)
[all...]
/drivers/gpio/
H A Dgpio-viperboard.c53 u8 t2; member in struct:vprbrd_gpioa_msg
106 gamsg->t2 = 0x00;
159 gamsg->t2 = 0x00;
197 gamsg->t2 = 0x00;
239 gamsg->t2 = 0x00;
/drivers/media/platform/vivid/
H A Dvivid-sdr-cap.c432 u32 t2, t4, t6, t8; local
442 t2 = x*x/FIXP_FRAC/2;
443 t4 = t2*x/FIXP_FRAC*x/FIXP_FRAC/3/4;
446 return FIXP_FRAC-t2+t4-t6+t8;
/drivers/staging/skein/
H A Dthreefish_block.c12 t2 = key_ctx->tweak[2]; local
45 b2 += b3 + k3 + t2;
67 b1 += k3 + t2;
125 b2 += b3 + k1 + t2;
146 b1 += k1 + t2;
204 b2 += b3 + k4 + t2;
226 b1 += k4 + t2;
284 b2 += b3 + k2 + t2;
305 b1 += k2 + t2;
363 b2 += b3 + k0 + t2;
505 t2 = key_ctx->tweak[2]; local
1152 t2 = key_ctx->tweak[2]; local
2113 t2 = key_ctx->tweak[2]; local
3382 t2 = key_ctx->tweak[2]; local
5503 t2 = key_ctx->tweak[2]; local
[all...]
/drivers/media/dvb-frontends/
H A Dlgs8gxx.c270 u8 t2; local
276 lgs8gxx_read_reg(priv, 0x19, &t2);
278 if (((t&0x03) == 0x01) && (t2&0x01)) {
377 u8 t1, t2; local
387 lgs8gxx_read_reg(priv, 0x18, &t2);
390 t2 &= 0xFE;
391 t2 |= cpn ? 0x01 : 0x00;
393 lgs8gxx_write_reg(priv, 0x18, t2);
/drivers/input/joystick/
H A Danalog.c394 u64 t1, t2, t3; local
406 t2 = get_time();
410 port->speed = delta(t1, t2) - delta(t2, t3);
420 t2 = get_time();
425 t = delta(t1, t2) - delta(t2, t3);
/drivers/media/usb/gspca/
H A Dt613.c755 u8 t2[] = { 0x07, 0x00, 0x0d, 0x60, 0x0e, 0x80 }; local
764 t2[1] = 0x40;
767 t2[1] = 0x10;
770 t2[1] = 0x50;
774 t2[1] = 0x20;
801 reg_w_buf(gspca_dev, t2, sizeof t2);
/drivers/usb/gadget/udc/
H A Dnet2272.c1193 u8 t1, t2; local
1259 t2 = net2272_ep_read(ep, EP_RSPSET);
1263 ep->ep.name, t1, t2,
1264 (t2 & (1 << ALT_NAK_OUT_PACKETS)) ? "NAK " : "",
1265 (t2 & (1 << HIDE_STATUS_PHASE)) ? "hide " : "",
1266 (t2 & (1 << AUTOVALIDATE)) ? "auto " : "",
1267 (t2 & (1 << INTERRUPT_MODE)) ? "interrupt " : "",
1268 (t2 & (1 << CONTROL_STATUS_PHASE_HANDSHAKE)) ? "status " : "",
1269 (t2 & (1 << NAK_OUT_PACKETS_MODE)) ? "NAKmode " : "",
1270 (t2
[all...]
/drivers/tty/
H A Dn_gsm.c259 int t1, t2; /* Timers in 1/100th of a sec */ member in struct:gsm_mux
1347 mod_timer(&gsm->t2_timer, jiffies + gsm->t2 * HZ / 100);
1384 mod_timer(&gsm->t2_timer, jiffies + gsm->t2 * HZ / 100);
2184 gsm->t2 = T2;
2520 if (c->t2 != 0 && c->t2 != gsm->t2)
2564 if (c->t2)
2565 gsm->t2 = c->t2;
[all...]
/drivers/firmware/efi/libstub/
H A Defi-stub-helper.c639 goto t2;
643 t2:
/drivers/hwmon/
H A Dsht15.c662 int t2; local
668 t2 = 1280;
672 t2 = 80;
678 return (temp - 25000) * (10000 + t2 * data->val_humid)

Completed in 568 milliseconds

123