Home
last modified time | relevance | path

Searched refs:t1 (Results 1 – 25 of 60) sorted by relevance

123

/drivers/crypto/vmx/
Dghashp8-ppc.pl48 my ($zero,$t0,$t1,$t2,$xC2,$H,$Hh,$Hl,$lemask)=map("v$_",(4..12));
77 vsldoi $t1,$zero,$t0,1 # ...1
80 vor $xC2,$xC2,$t1 # 0xc2....01
81 vspltb $t1,$H,0 # most significant byte
83 vsrab $t1,$t1,$t2 # broadcast carry bit
84 vand $t1,$t1,$xC2
85 vxor $H,$H,$t1 # twisted H
130 vsldoi $t1,$zero,$Xm,8
132 vxor $Xh,$Xh,$t1
137 vsldoi $t1,$Xl,$Xl,8 # 2nd phase
[all …]
/drivers/ata/
Dpata_sis.c230 u8 t1, t2; in sis_old_set_piomode() local
238 pci_read_config_byte(pdev, port, &t1); in sis_old_set_piomode()
241 t1 &= ~0x0F; /* Clear active/recovery timings */ in sis_old_set_piomode()
244 t1 |= active[speed]; in sis_old_set_piomode()
247 pci_write_config_byte(pdev, port, t1); in sis_old_set_piomode()
292 u32 t1; in sis_133_set_piomode() local
313 pci_read_config_dword(pdev, port, &t1); in sis_133_set_piomode()
314 t1 &= 0xC0C00FFF; /* Mask out timing */ in sis_133_set_piomode()
316 if (t1 & 0x08) /* 100 or 133 ? */ in sis_133_set_piomode()
317 t1 |= timing133[speed]; in sis_133_set_piomode()
[all …]
/drivers/staging/lustre/include/linux/libcfs/
Dlibcfs_time.h47 static inline unsigned long cfs_time_sub(unsigned long t1, unsigned long t2) in cfs_time_sub() argument
49 return (unsigned long)(t1 - t2); in cfs_time_sub()
52 static inline int cfs_time_after(unsigned long t1, unsigned long t2) in cfs_time_after() argument
54 return time_before(t2, t1); in cfs_time_after()
57 static inline int cfs_time_aftereq(unsigned long t1, unsigned long t2) in cfs_time_aftereq() argument
59 return time_before_eq(t2, t1); in cfs_time_aftereq()
/drivers/ide/
Dsis5513.c200 u16 t1 = 0; in sis_ata16_program_timings() local
206 pci_read_config_word(dev, drive_pci, &t1); in sis_ata16_program_timings()
209 t1 &= ~0x070f; in sis_ata16_program_timings()
212 t1 &= ~0x8000; /* disable UDMA */ in sis_ata16_program_timings()
213 t1 |= mwdma_timings[mode - XFER_MW_DMA_0]; in sis_ata16_program_timings()
215 t1 |= pio_timings[mode - XFER_PIO_0]; in sis_ata16_program_timings()
217 pci_write_config_word(dev, drive_pci, t1); in sis_ata16_program_timings()
223 u8 t1, drive_pci = 0x40 + drive->dn * 2; in sis_ata100_program_timings() local
236 t1 = mwdma_timings[mode - XFER_MW_DMA_0]; in sis_ata100_program_timings()
238 t1 = pio_timings[mode - XFER_PIO_0]; in sis_ata100_program_timings()
[all …]
Dqd65xx.c301 u16 t1, t2; in qd6580_init_dev() local
306 t1 = QD6580_DEF_DATA; in qd6580_init_dev()
309 t2 = t1 = hwif->channel ? QD6580_DEF_DATA2 : QD6580_DEF_DATA; in qd6580_init_dev()
311 ide_set_drivedata(drive, (void *)((drive->dn & 1) ? t2 : t1)); in qd6580_init_dev()
/drivers/media/v4l2-core/
Dv4l2-dv-timings.c256 bool v4l2_match_dv_timings(const struct v4l2_dv_timings *t1, in v4l2_match_dv_timings() argument
260 if (t1->type != t2->type || t1->type != V4L2_DV_BT_656_1120) in v4l2_match_dv_timings()
262 if (t1->bt.width == t2->bt.width && in v4l2_match_dv_timings()
263 t1->bt.height == t2->bt.height && in v4l2_match_dv_timings()
264 t1->bt.interlaced == t2->bt.interlaced && in v4l2_match_dv_timings()
265 t1->bt.polarities == t2->bt.polarities && in v4l2_match_dv_timings()
266 t1->bt.pixelclock >= t2->bt.pixelclock - pclock_delta && in v4l2_match_dv_timings()
267 t1->bt.pixelclock <= t2->bt.pixelclock + pclock_delta && in v4l2_match_dv_timings()
268 t1->bt.hfrontporch == t2->bt.hfrontporch && in v4l2_match_dv_timings()
269 t1->bt.hsync == t2->bt.hsync && in v4l2_match_dv_timings()
[all …]
/drivers/staging/lustre/include/linux/libcfs/linux/
Dlinux-time.h90 static inline int cfs_time_before_64(u64 t1, u64 t2) in cfs_time_before_64() argument
92 return (__s64)t2 - (__s64)t1 > 0; in cfs_time_before_64()
95 static inline int cfs_time_beforeq_64(u64 t1, u64 t2) in cfs_time_beforeq_64() argument
97 return (__s64)t2 - (__s64)t1 >= 0; in cfs_time_beforeq_64()
/drivers/net/ethernet/mellanox/mlx4/
Dport.c844 struct mlx4_mac_table *t1 = &mlx4_priv(dev)->port[1].mac_table; in mlx4_bond_mac_table() local
851 mutex_lock(&t1->mutex); in mlx4_bond_mac_table()
854 if ((t1->entries[i] != t2->entries[i]) && in mlx4_bond_mac_table()
855 t1->entries[i] && t2->entries[i]) { in mlx4_bond_mac_table()
863 if (t1->entries[i] && !t2->entries[i]) { in mlx4_bond_mac_table()
864 t2->entries[i] = t1->entries[i]; in mlx4_bond_mac_table()
867 } else if (!t1->entries[i] && t2->entries[i]) { in mlx4_bond_mac_table()
868 t1->entries[i] = t2->entries[i]; in mlx4_bond_mac_table()
869 t1->is_dup[i] = true; in mlx4_bond_mac_table()
871 } else if (t1->entries[i] && t2->entries[i]) { in mlx4_bond_mac_table()
[all …]
/drivers/input/gameport/
Dgameport.c85 u64 t1, t2, t3; in gameport_measure_speed() local
95 t1 = ktime_get_ns(); in gameport_measure_speed()
102 t = (t2 - t1) - (t3 - t2); in gameport_measure_speed()
118 unsigned int i, t, t1, t2, t3, tx; in old_gameport_measure_speed() local
128 GET_TIME(t1); in old_gameport_measure_speed()
134 if ((t = DELTA(t2,t1) - DELTA(t3,t2)) < tx) tx = t; in old_gameport_measure_speed()
143 unsigned long tx, t1, t2, flags; in old_gameport_measure_speed()
152 t1 = rdtsc(); in old_gameport_measure_speed()
157 if (t2 - t1 < tx) tx = t2 - t1; in old_gameport_measure_speed()
/drivers/tty/
Dn_gsm.c140 struct timer_list t1; /* Retransmit timer for SABM and UA */ member
258 int t1, t2; /* Timers in 1/100th of a sec */ member
1433 del_timer(&dlci->t1); in gsm_dlci_close()
1458 del_timer(&dlci->t1); in gsm_dlci_open()
1491 mod_timer(&dlci->t1, jiffies + gsm->t1 * HZ / 100); in gsm_dlci_t1()
1507 mod_timer(&dlci->t1, jiffies + gsm->t1 * HZ / 100); in gsm_dlci_t1()
1532 mod_timer(&dlci->t1, jiffies + gsm->t1 * HZ / 100); in gsm_dlci_begin_open()
1554 mod_timer(&dlci->t1, jiffies + gsm->t1 * HZ / 100); in gsm_dlci_begin_close()
1670 init_timer(&dlci->t1); in gsm_dlci_alloc()
1671 dlci->t1.function = gsm_dlci_t1; in gsm_dlci_alloc()
[all …]
/drivers/staging/skein/
Dthreefish_block.c13 u64 t0 = key_ctx->tweak[0], t1 = key_ctx->tweak[1], in threefish_encrypt_256() local
21 b2 += b3 + k2 + t1; in threefish_encrypt_256()
42 b1 += k2 + t1; in threefish_encrypt_256()
99 b2 += b3 + k0 + t1; in threefish_encrypt_256()
120 b1 += k0 + t1; in threefish_encrypt_256()
177 b2 += b3 + k3 + t1; in threefish_encrypt_256()
198 b1 += k3 + t1; in threefish_encrypt_256()
255 b2 += b3 + k1 + t1; in threefish_encrypt_256()
276 b1 += k1 + t1; in threefish_encrypt_256()
333 b2 += b3 + k4 + t1; in threefish_encrypt_256()
[all …]
/drivers/gpio/
Dgpio-viperboard.c52 u8 t1; member
104 gamsg->t1 = 0x00; in vprbrd_gpioa_get()
156 gamsg->t1 = 0x00; in vprbrd_gpioa_set()
193 gamsg->t1 = 0x00; in vprbrd_gpioa_direction_input()
234 gamsg->t1 = 0x00; in vprbrd_gpioa_direction_output()
/drivers/usb/host/
Dehci-hub.c193 u32 t1 = ehci_readl(ehci, reg) & ~PORT_RWC_BITS; in ehci_adjust_port_wakeup_flags() local
194 u32 t2 = t1 & ~PORT_WAKE_BITS; in ehci_adjust_port_wakeup_flags()
200 if (t1 & PORT_CONNECT) in ehci_adjust_port_wakeup_flags()
272 u32 t1 = ehci_readl(ehci, reg) & ~PORT_RWC_BITS; in ehci_bus_suspend() local
273 u32 t2 = t1 & ~PORT_WAKE_BITS; in ehci_bus_suspend()
276 if (t1 & PORT_OWNER) in ehci_bus_suspend()
278 else if ((t1 & PORT_PE) && !(t1 & PORT_SUSPEND)) { in ehci_bus_suspend()
290 if (t1 & PORT_CONNECT) in ehci_bus_suspend()
296 if (t1 != t2) { in ehci_bus_suspend()
Dxhci-hub.c1516 u32 t1, t2; in xhci_bus_suspend() local
1518 t1 = readl(port_array[port_index]); in xhci_bus_suspend()
1519 t2 = xhci_port_state_to_neutral(t1); in xhci_bus_suspend()
1524 (t1 & PORT_PLS_MASK) == XDEV_POLLING) { in xhci_bus_suspend()
1532 if ((t1 & PORT_PE) && (t1 & PORT_PLS_MASK) == XDEV_U0) { in xhci_bus_suspend()
1533 if ((t1 & PORT_CSC) && wake_enabled) { in xhci_bus_suspend()
1549 if (t1 & PORT_CONNECT) { in xhci_bus_suspend()
1566 t1 = xhci_port_state_to_neutral(t1); in xhci_bus_suspend()
1567 if (t1 != t2) in xhci_bus_suspend()
/drivers/net/fddi/skfp/
Dhwmtm.c1944 struct s_smt_fp_txd volatile *t1 ; in mac_drv_clear_txd() local
1955 t1 = queue->tx_curr_get ; in mac_drv_clear_txd()
1962 DRV_BUF_FLUSH(t1,DDI_DMA_SYNC_FORCPU) ; in mac_drv_clear_txd()
1963 DB_TX(5, "check OWN/EOF bit of TxD 0x%p", t1); in mac_drv_clear_txd()
1964 tbctrl = le32_to_cpu(CR_READ(t1->txd_tbctrl)); in mac_drv_clear_txd()
1970 t1 = t1->txd_next ; in mac_drv_clear_txd()
1974 t1 = queue->tx_curr_get ; in mac_drv_clear_txd()
1976 tbctrl = le32_to_cpu(t1->txd_tbctrl) ; in mac_drv_clear_txd()
1978 (union s_fp_descr volatile *) t1, in mac_drv_clear_txd()
1981 t2 = t1 ; in mac_drv_clear_txd()
[all …]
/drivers/usb/gadget/udc/
Dnet2272.c1186 u8 t1, t2; in registers_show() local
1215 t1 = net2272_read(dev, DMAREQ); in registers_show()
1217 t1, ep_name[(t1 & 0x01) + 1], in registers_show()
1218 t1 & (1 << DMA_CONTROL_DACK) ? "dack " : "", in registers_show()
1219 t1 & (1 << DMA_REQUEST_ENABLE) ? "reqenb " : "", in registers_show()
1220 t1 & (1 << DMA_REQUEST) ? "req " : "", in registers_show()
1221 t1 & (1 << DMA_BUFFER_VALID) ? "valid " : ""); in registers_show()
1226 t1 = net2272_read(dev, USBCTL1); in registers_show()
1227 if (t1 & (1 << VBUS_PIN)) { in registers_show()
1228 if (t1 & (1 << USB_HIGH_SPEED)) in registers_show()
[all …]
/drivers/pci/
Dpci-acpi.c165 hpx->t1 = &hpx->type1_data; in decode_type1_hpx_record()
166 hpx->t1->revision = revision; in decode_type1_hpx_record()
167 hpx->t1->max_mem_read = fields[2].integer.value; in decode_type1_hpx_record()
168 hpx->t1->avg_max_split = fields[3].integer.value; in decode_type1_hpx_record()
169 hpx->t1->tot_max_split = fields[4].integer.value; in decode_type1_hpx_record()
/drivers/scsi/bfa/
Dbfa_port.c32 __be32 t0, t1; in bfa_port_stats_swap() local
38 t1 = dip[i + 1]; in bfa_port_stats_swap()
41 dip[i + 1] = be32_to_cpu(t1); in bfa_port_stats_swap()
43 dip[i] = be32_to_cpu(t1); in bfa_port_stats_swap()
/drivers/staging/greybus/
Dloopback.c372 static u64 __gb_loopback_calc_latency(u64 t1, u64 t2) in __gb_loopback_calc_latency() argument
374 if (t2 > t1) in __gb_loopback_calc_latency()
375 return t2 - t1; in __gb_loopback_calc_latency()
377 return NSEC_PER_DAY - t2 + t1; in __gb_loopback_calc_latency()
382 u64 t1, t2; in gb_loopback_calc_latency() local
384 t1 = timeval_to_ns(ts); in gb_loopback_calc_latency()
387 return __gb_loopback_calc_latency(t1, t2); in gb_loopback_calc_latency()
/drivers/input/joystick/
Danalog.c394 u64 t1, t2, t3; in analog_calibrate_timer() local
401 t1 = get_time(); in analog_calibrate_timer()
410 port->speed = delta(t1, t2) - delta(t2, t3); in analog_calibrate_timer()
417 t1 = get_time(); in analog_calibrate_timer()
425 t = delta(t1, t2) - delta(t2, t3); in analog_calibrate_timer()
/drivers/media/dvb-frontends/
Dlgs8gxx.c373 u8 t1, t2; in lgs8gxx_autolock_gi() local
382 lgs8gxx_read_reg(priv, 0x0C, &t1); in lgs8gxx_autolock_gi()
384 t1 &= ~(GI_MASK); in lgs8gxx_autolock_gi()
385 t1 |= gi; in lgs8gxx_autolock_gi()
388 lgs8gxx_write_reg(priv, 0x0C, t1); in lgs8gxx_autolock_gi()
/drivers/thermal/
Dimx_thermal.c353 int t1, n1; in imx_get_sensor_data() local
384 t1 = 25; /* t1 always 25C */ in imx_get_sensor_data()
406 data->c2 = n1 * data->c1 + 1000 * t1; in imx_get_sensor_data()
/drivers/watchdog/
Df71808e_wdt.c257 unsigned int t1 = 25, t2 = 125, t3 = 5000; in watchdog_set_pulse_width() local
260 t1 = 30; in watchdog_set_pulse_width()
269 } else if (pw <= t1) { in watchdog_set_pulse_width()
/drivers/net/hamradio/
Ddmascc.c312 t1[MAX_NUM_DEVS]; in dmascc_init() local
362 t1[i] = in dmascc_init()
379 outb((TMR_0_HZ / HZ * 10) & 0xFF, t1[i]); in dmascc_init()
380 outb((TMR_0_HZ / HZ * 10) >> 8, t1[i]); in dmascc_init()
398 inb(t1[i]) + (inb(t1[i]) << 8); in dmascc_init()
/drivers/hwmon/
Dnct7802.c198 unsigned int t1, t2 = 0; in nct7802_read_temp() local
204 err = regmap_read(data->regmap, reg_temp, &t1); in nct7802_read_temp()
207 t1 <<= 8; in nct7802_read_temp()
213 t1 |= t2 & 0xe0; in nct7802_read_temp()
214 *temp = (s16)t1 / 32 * 125; in nct7802_read_temp()

123