/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 …]
|
D | pata_octeon_cf.c | 141 int t1; in octeon_cf_set_piomode() local 158 t1 = timing.setup; in octeon_cf_set_piomode() 159 if (t1) in octeon_cf_set_piomode() 160 t1--; in octeon_cf_set_piomode()
|
/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 | 51 static inline unsigned long cfs_time_sub(unsigned long t1, unsigned long t2) in cfs_time_sub() argument 53 return (unsigned long)(t1 - t2); in cfs_time_sub() 56 static inline int cfs_time_after(unsigned long t1, unsigned long t2) in cfs_time_after() argument 58 return time_before(t2, t1); in cfs_time_after() 61 static inline int cfs_time_aftereq(unsigned long t1, unsigned long t2) in cfs_time_aftereq() argument 63 return time_before_eq(t2, t1); in cfs_time_aftereq()
|
/drivers/media/v4l2-core/ |
D | v4l2-dv-timings.c | 228 bool v4l2_match_dv_timings(const struct v4l2_dv_timings *t1, in v4l2_match_dv_timings() argument 232 if (t1->type != t2->type || t1->type != V4L2_DV_BT_656_1120) in v4l2_match_dv_timings() 234 if (t1->bt.width == t2->bt.width && in v4l2_match_dv_timings() 235 t1->bt.height == t2->bt.height && in v4l2_match_dv_timings() 236 t1->bt.interlaced == t2->bt.interlaced && in v4l2_match_dv_timings() 237 t1->bt.polarities == t2->bt.polarities && in v4l2_match_dv_timings() 238 t1->bt.pixelclock >= t2->bt.pixelclock - pclock_delta && in v4l2_match_dv_timings() 239 t1->bt.pixelclock <= t2->bt.pixelclock + pclock_delta && in v4l2_match_dv_timings() 240 t1->bt.hfrontporch == t2->bt.hfrontporch && in v4l2_match_dv_timings() 241 t1->bt.vfrontporch == t2->bt.vfrontporch && in v4l2_match_dv_timings() [all …]
|
/drivers/staging/lustre/include/linux/libcfs/linux/ |
D | linux-time.h | 126 static inline int cfs_time_before_64(__u64 t1, __u64 t2) in cfs_time_before_64() argument 128 return (__s64)t2 - (__s64)t1 > 0; in cfs_time_before_64() 131 static inline int cfs_time_beforeq_64(__u64 t1, __u64 t2) in cfs_time_beforeq_64() argument 133 return (__s64)t2 - (__s64)t1 >= 0; in cfs_time_beforeq_64()
|
/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 rdtscl(t1); 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() 1482 mod_timer(&dlci->t1, jiffies + gsm->t1 * HZ / 100); in gsm_dlci_t1() 1490 mod_timer(&dlci->t1, jiffies + gsm->t1 * HZ / 100); in gsm_dlci_t1() 1515 mod_timer(&dlci->t1, jiffies + gsm->t1 * HZ / 100); in gsm_dlci_begin_open() 1537 mod_timer(&dlci->t1, jiffies + gsm->t1 * HZ / 100); in gsm_dlci_begin_close() 1653 init_timer(&dlci->t1); in gsm_dlci_alloc() 1654 dlci->t1.function = gsm_dlci_t1; in gsm_dlci_alloc() [all …]
|
/drivers/staging/skein/ |
D | threefish_block.c | 11 u64 t0 = key_ctx->tweak[0], t1 = key_ctx->tweak[1], in threefish_encrypt_256() local 19 b2 += b3 + k2 + t1; in threefish_encrypt_256() 40 b1 += k2 + t1; in threefish_encrypt_256() 98 b2 += b3 + k0 + t1; in threefish_encrypt_256() 120 b1 += k0 + t1; in threefish_encrypt_256() 178 b2 += b3 + k3 + t1; in threefish_encrypt_256() 199 b1 += k3 + t1; in threefish_encrypt_256() 257 b2 += b3 + k1 + t1; in threefish_encrypt_256() 279 b1 += k1 + t1; in threefish_encrypt_256() 337 b2 += b3 + k4 + t1; in threefish_encrypt_256() [all …]
|
/drivers/gpio/ |
D | gpio-viperboard.c | 52 u8 t1; member 105 gamsg->t1 = 0x00; in vprbrd_gpioa_get() 158 gamsg->t1 = 0x00; in vprbrd_gpioa_set() 196 gamsg->t1 = 0x00; in vprbrd_gpioa_direction_input() 238 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() 271 u32 t1 = ehci_readl(ehci, reg) & ~PORT_RWC_BITS; in ehci_bus_suspend() local 272 u32 t2 = t1 & ~PORT_WAKE_BITS; in ehci_bus_suspend() 275 if (t1 & PORT_OWNER) in ehci_bus_suspend() 277 else if ((t1 & PORT_PE) && !(t1 & PORT_SUSPEND)) { in ehci_bus_suspend() 289 if (t1 & PORT_CONNECT) in ehci_bus_suspend() 295 if (t1 != t2) { in ehci_bus_suspend()
|
D | xhci-hub.c | 1198 u32 t1, t2; in xhci_bus_suspend() local 1201 t1 = readl(port_array[port_index]); in xhci_bus_suspend() 1202 t2 = xhci_port_state_to_neutral(t1); in xhci_bus_suspend() 1204 if ((t1 & PORT_PE) && !(t1 & PORT_PLS_MASK)) { in xhci_bus_suspend() 1222 if (t1 & PORT_CONNECT) { in xhci_bus_suspend() 1232 t1 = xhci_port_state_to_neutral(t1); in xhci_bus_suspend() 1233 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/pci/ |
D | pci-acpi.c | 79 hpx->t1 = &hpx->type1_data; in decode_type1_hpx_record() 80 hpx->t1->revision = revision; in decode_type1_hpx_record() 81 hpx->t1->max_mem_read = fields[2].integer.value; in decode_type1_hpx_record() 82 hpx->t1->avg_max_split = fields[3].integer.value; in decode_type1_hpx_record() 83 hpx->t1->tot_max_split = fields[4].integer.value; in decode_type1_hpx_record()
|
/drivers/usb/gadget/udc/ |
D | net2272.c | 1193 u8 t1, t2; in registers_show() local 1222 t1 = net2272_read(dev, DMAREQ); in registers_show() 1224 t1, ep_name[(t1 & 0x01) + 1], in registers_show() 1225 t1 & (1 << DMA_CONTROL_DACK) ? "dack " : "", in registers_show() 1226 t1 & (1 << DMA_REQUEST_ENABLE) ? "reqenb " : "", in registers_show() 1227 t1 & (1 << DMA_REQUEST) ? "req " : "", in registers_show() 1228 t1 & (1 << DMA_BUFFER_VALID) ? "valid " : ""); in registers_show() 1233 t1 = net2272_read(dev, USBCTL1); in registers_show() 1234 if (t1 & (1 << VBUS_PIN)) { in registers_show() 1235 if (t1 & (1 << USB_HIGH_SPEED)) in registers_show() [all …]
|
/drivers/infiniband/hw/ipath/ |
D | ipath_stats.c | 56 unsigned long t0, t1; in ipath_snap_cntr() local 79 t1 = jiffies; in ipath_snap_cntr() 80 if (time_before(t0 + HZ, t1) && val == -1) { in ipath_snap_cntr()
|
/drivers/scsi/bfa/ |
D | bfa_port.c | 31 __be32 t0, t1; in bfa_port_stats_swap() local 37 t1 = dip[i + 1]; in bfa_port_stats_swap() 40 dip[i + 1] = be32_to_cpu(t1); in bfa_port_stats_swap() 42 dip[i] = be32_to_cpu(t1); in bfa_port_stats_swap()
|
/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 | 353 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/rapidio/devices/ |
D | tsi721_dma.c | 354 bd_ptr->t1.bufptr_lo = cpu_to_le32( in tsi721_desc_fill_init() 356 bd_ptr->t1.bufptr_hi = cpu_to_le32((u64)sg_dma_address(sg) >> 32); in tsi721_desc_fill_init() 357 bd_ptr->t1.s_dist = 0; in tsi721_desc_fill_init() 358 bd_ptr->t1.s_size = 0; in tsi721_desc_fill_init()
|
/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/firmware/efi/libstub/ |
D | efi-stub-helper.c | 635 goto t1; in efi_utf16_to_utf8() 645 t1: in efi_utf16_to_utf8()
|
/drivers/usb/misc/sisusbvga/ |
D | sisusb.c | 1488 u32 t0, t1, t2, t3; in sisusb_getbuswidth() local 1513 ret |= READL(ramptr + 4, &t1); in sisusb_getbuswidth() 1522 if ((t1 == 0x456789ab) && (t0 == 0x01234567)) { in sisusb_getbuswidth() 1527 if ((t1 != 0x456789ab) || (t0 != 0x01234567)) { in sisusb_getbuswidth() 1538 ret |= READL(ramptr + 4, &t1); in sisusb_getbuswidth() 1540 if (t1 != 0xcdef0123) { in sisusb_getbuswidth() 1552 if (t1 == 0x456789ab) { in sisusb_getbuswidth() 1578 ret |= READL(ramptr + 4, &t1); in sisusb_getbuswidth() 1580 if (t1 == 0x456789ab) { in sisusb_getbuswidth()
|