/drivers/crypto/vmx/ |
D | ghashp8-ppc.pl | 48 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/ |
D | pata_sis.c | 230 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/ide/ |
D | sis5513.c | 200 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 …]
|
D | qd65xx.c | 301 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/staging/lustre/include/linux/libcfs/ |
D | libcfs_time.h | 47 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/media/v4l2-core/ |
D | v4l2-dv-timings.c | 237 bool v4l2_match_dv_timings(const struct v4l2_dv_timings *t1, in v4l2_match_dv_timings() argument 241 if (t1->type != t2->type || t1->type != V4L2_DV_BT_656_1120) in v4l2_match_dv_timings() 243 if (t1->bt.width == t2->bt.width && in v4l2_match_dv_timings() 244 t1->bt.height == t2->bt.height && in v4l2_match_dv_timings() 245 t1->bt.interlaced == t2->bt.interlaced && in v4l2_match_dv_timings() 246 t1->bt.polarities == t2->bt.polarities && in v4l2_match_dv_timings() 247 t1->bt.pixelclock >= t2->bt.pixelclock - pclock_delta && in v4l2_match_dv_timings() 248 t1->bt.pixelclock <= t2->bt.pixelclock + pclock_delta && in v4l2_match_dv_timings() 249 t1->bt.hfrontporch == t2->bt.hfrontporch && in v4l2_match_dv_timings() 250 t1->bt.hsync == t2->bt.hsync && in v4l2_match_dv_timings() [all …]
|
/drivers/staging/lustre/include/linux/libcfs/linux/ |
D | linux-time.h | 90 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/ |
D | port.c | 839 struct mlx4_mac_table *t1 = &mlx4_priv(dev)->port[1].mac_table; in mlx4_bond_mac_table() local 846 mutex_lock(&t1->mutex); in mlx4_bond_mac_table() 849 if ((t1->entries[i] != t2->entries[i]) && in mlx4_bond_mac_table() 850 t1->entries[i] && t2->entries[i]) { in mlx4_bond_mac_table() 858 if (t1->entries[i] && !t2->entries[i]) { in mlx4_bond_mac_table() 859 t2->entries[i] = t1->entries[i]; in mlx4_bond_mac_table() 862 } else if (!t1->entries[i] && t2->entries[i]) { in mlx4_bond_mac_table() 863 t1->entries[i] = t2->entries[i]; in mlx4_bond_mac_table() 864 t1->is_dup[i] = true; in mlx4_bond_mac_table() 866 } else if (t1->entries[i] && t2->entries[i]) { in mlx4_bond_mac_table() [all …]
|
/drivers/input/gameport/ |
D | gameport.c | 85 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/ |
D | n_gsm.c | 141 struct timer_list t1; /* Retransmit timer for SABM and UA */ member 259 int t1, t2; /* Timers in 1/100th of a sec */ member 1428 del_timer(&dlci->t1); in gsm_dlci_close() 1453 del_timer(&dlci->t1); in gsm_dlci_open() 1486 mod_timer(&dlci->t1, jiffies + gsm->t1 * HZ / 100); in gsm_dlci_t1() 1501 mod_timer(&dlci->t1, jiffies + gsm->t1 * HZ / 100); in gsm_dlci_t1() 1526 mod_timer(&dlci->t1, jiffies + gsm->t1 * HZ / 100); in gsm_dlci_begin_open() 1548 mod_timer(&dlci->t1, jiffies + gsm->t1 * HZ / 100); in gsm_dlci_begin_close() 1664 init_timer(&dlci->t1); in gsm_dlci_alloc() 1665 dlci->t1.function = gsm_dlci_t1; in gsm_dlci_alloc() [all …]
|
/drivers/staging/skein/ |
D | threefish_block.c | 12 u64 t0 = key_ctx->tweak[0], t1 = key_ctx->tweak[1], in threefish_encrypt_256() local 20 b2 += b3 + k2 + t1; in threefish_encrypt_256() 41 b1 += k2 + t1; in threefish_encrypt_256() 99 b2 += b3 + k0 + t1; in threefish_encrypt_256() 121 b1 += k0 + t1; in threefish_encrypt_256() 179 b2 += b3 + k3 + t1; in threefish_encrypt_256() 200 b1 += k3 + t1; in threefish_encrypt_256() 258 b2 += b3 + k1 + t1; in threefish_encrypt_256() 280 b1 += k1 + t1; in threefish_encrypt_256() 338 b2 += b3 + k4 + t1; in threefish_encrypt_256() [all …]
|
/drivers/gpio/ |
D | gpio-viperboard.c | 52 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/ |
D | ehci-hub.c | 193 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()
|
D | xhci-hub.c | 1344 u32 t1, t2; in xhci_bus_suspend() local 1347 t1 = readl(port_array[port_index]); in xhci_bus_suspend() 1348 t2 = xhci_port_state_to_neutral(t1); in xhci_bus_suspend() 1350 if ((t1 & PORT_PE) && !(t1 & PORT_PLS_MASK)) { in xhci_bus_suspend() 1368 if (t1 & PORT_CONNECT) { in xhci_bus_suspend() 1378 t1 = xhci_port_state_to_neutral(t1); in xhci_bus_suspend() 1379 if (t1 != t2) in xhci_bus_suspend()
|
/drivers/net/fddi/skfp/ |
D | hwmtm.c | 1944 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("check OWN/EOF bit of TxD 0x%x",t1,0,5) ; 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/ |
D | net2272.c | 1185 u8 t1, t2; in registers_show() local 1214 t1 = net2272_read(dev, DMAREQ); in registers_show() 1216 t1, ep_name[(t1 & 0x01) + 1], in registers_show() 1217 t1 & (1 << DMA_CONTROL_DACK) ? "dack " : "", in registers_show() 1218 t1 & (1 << DMA_REQUEST_ENABLE) ? "reqenb " : "", in registers_show() 1219 t1 & (1 << DMA_REQUEST) ? "req " : "", in registers_show() 1220 t1 & (1 << DMA_BUFFER_VALID) ? "valid " : ""); in registers_show() 1225 t1 = net2272_read(dev, USBCTL1); in registers_show() 1226 if (t1 & (1 << VBUS_PIN)) { in registers_show() 1227 if (t1 & (1 << USB_HIGH_SPEED)) in registers_show() [all …]
|
/drivers/pci/ |
D | pci-acpi.c | 90 hpx->t1 = &hpx->type1_data; in decode_type1_hpx_record() 91 hpx->t1->revision = revision; in decode_type1_hpx_record() 92 hpx->t1->max_mem_read = fields[2].integer.value; in decode_type1_hpx_record() 93 hpx->t1->avg_max_split = fields[3].integer.value; in decode_type1_hpx_record() 94 hpx->t1->tot_max_split = fields[4].integer.value; in decode_type1_hpx_record()
|
/drivers/scsi/bfa/ |
D | bfa_port.c | 32 __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/ |
D | loopback.c | 375 static u64 __gb_loopback_calc_latency(u64 t1, u64 t2) in __gb_loopback_calc_latency() argument 377 if (t2 > t1) in __gb_loopback_calc_latency() 378 return t2 - t1; in __gb_loopback_calc_latency() 380 return NSEC_PER_DAY - t2 + t1; in __gb_loopback_calc_latency() 385 u64 t1, t2; in gb_loopback_calc_latency() local 387 t1 = timeval_to_ns(ts); in gb_loopback_calc_latency() 390 return __gb_loopback_calc_latency(t1, t2); in gb_loopback_calc_latency()
|
/drivers/input/joystick/ |
D | analog.c | 394 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/ |
D | lgs8gxx.c | 377 u8 t1, t2; in lgs8gxx_autolock_gi() local 386 lgs8gxx_read_reg(priv, 0x0C, &t1); in lgs8gxx_autolock_gi() 388 t1 &= ~(GI_MASK); in lgs8gxx_autolock_gi() 389 t1 |= gi; in lgs8gxx_autolock_gi() 392 lgs8gxx_write_reg(priv, 0x0C, t1); in lgs8gxx_autolock_gi()
|
/drivers/thermal/ |
D | imx_thermal.c | 351 int t1, n1; in imx_get_sensor_data() local 382 t1 = 25; /* t1 always 25C */ in imx_get_sensor_data() 404 data->c2 = n1 * data->c1 + 1000 * t1; in imx_get_sensor_data()
|
/drivers/watchdog/ |
D | f71808e_wdt.c | 257 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/ |
D | dmascc.c | 312 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/ |
D | nct7802.c | 198 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()
|