Home
last modified time | relevance | path

Searched refs:t2 (Results 1 – 25 of 65) sorted by relevance

123

/drivers/ata/pata_parport/
A Dbpck.c55 t2(1); t2(0x20); in bpck_read_regr()
80 o2(); t2(4); t2(1); in bpck_write_regr()
104 w0(0x40); t2(2); t2(1); in bpck_write_block()
114 w0(0x40); t2(2); t2(1); in bpck_write_block()
175 t2(1); t2(0x20); in bpck_read_block()
220 t2(8); t2(8); t2(8); in bpck_probe_unit()
239 t2(8); t2(8); t2(8); in bpck_connect()
240 t2(2); t2(2); in bpck_connect()
287 t2(8); t2(8); t2(8); in bpck_force_spp()
288 t2(2); t2(2); in bpck_force_spp()
[all …]
/drivers/soc/bcm/brcmstb/pm/
A Ds2-mips.S58 la t2, asm_end
59 and t2, t1
62 bne t0, t2, 1b
128 sgtu t2, t1, t0
129 bnez t2, 1b
147 la t2, asm_end
148 and t2, t1
151 bne t0, t2, 1b
A Ds3-mips.S49 addiu t2, t0, 64
50 and t2, t1
53 bne t0, t2, 1b
/drivers/net/ethernet/mellanox/mlx4/
A Dport.c832 mutex_lock(&t2->mutex); in mlx4_bond_mac_table()
845 t2->is_dup[i] = true; in mlx4_bond_mac_table()
853 t2->is_dup[i] = true; in mlx4_bond_mac_table()
887 mutex_lock(&t2->mutex); in mlx4_unbond_mac_table()
904 t2->is_dup[i] = false; in mlx4_unbond_mac_table()
905 if (!t2->refs[i]) { in mlx4_unbond_mac_table()
906 t2->entries[i] = 0; in mlx4_unbond_mac_table()
939 mutex_lock(&t2->mutex); in mlx4_bond_vlan_table()
952 t2->is_dup[i] = true; in mlx4_bond_vlan_table()
1012 if (!t2->refs[i]) { in mlx4_unbond_vlan_table()
[all …]
/drivers/media/v4l2-core/
A Dv4l2-dv-timings.c268 const struct v4l2_dv_timings *t2, in v4l2_match_dv_timings() argument
273 if (t1->bt.width == t2->bt.width && in v4l2_match_dv_timings()
274 t1->bt.height == t2->bt.height && in v4l2_match_dv_timings()
275 t1->bt.interlaced == t2->bt.interlaced && in v4l2_match_dv_timings()
276 t1->bt.polarities == t2->bt.polarities && in v4l2_match_dv_timings()
280 t1->bt.hsync == t2->bt.hsync && in v4l2_match_dv_timings()
281 t1->bt.hbackporch == t2->bt.hbackporch && in v4l2_match_dv_timings()
283 t1->bt.vsync == t2->bt.vsync && in v4l2_match_dv_timings()
284 t1->bt.vbackporch == t2->bt.vbackporch && in v4l2_match_dv_timings()
287 (t2->bt.flags & V4L2_DV_FL_REDUCED_FPS)) && in v4l2_match_dv_timings()
[all …]
/drivers/input/gameport/
A Dgameport.c80 u64 t1, t2, t3; in gameport_measure_speed() local
93 t2 = ktime_get_ns(); in gameport_measure_speed()
97 t = (t2 - t1) - (t3 - t2); in gameport_measure_speed()
113 unsigned int i, t, t1, t2, t3, tx; in old_gameport_measure_speed() local
125 GET_TIME(t2); in old_gameport_measure_speed()
129 if ((t = DELTA(t2,t1) - DELTA(t3,t2)) < tx) tx = t; in old_gameport_measure_speed()
138 unsigned long tx, t1, t2, flags; in old_gameport_measure_speed()
149 t2 = rdtsc(); in old_gameport_measure_speed()
152 if (t2 - t1 < tx) tx = t2 - t1; in old_gameport_measure_speed()
/drivers/gpu/drm/amd/amdgpu/
A Damdgpu_ih.h79 #define amdgpu_ih_ts_after(t1, t2) \ argument
80 (((int64_t)((t2) << 16) - (int64_t)((t1) << 16)) > 0LL)
82 #define amdgpu_ih_ts_after_or_equal(t1, t2) \ argument
83 (((int64_t)((t2) << 16) - (int64_t)((t1) << 16)) >= 0LL)
/drivers/ata/
A Dpata_ep93xx.c218 unsigned long t2) in ep93xx_pata_wait_for_iordy() argument
229 unsigned long start = (1250 + 35) / 25 - t2; in ep93xx_pata_wait_for_iordy()
247 bool iordy, unsigned long t0, unsigned long t2, in ep93xx_pata_rw_end() argument
250 ep93xx_pata_delay(t2); in ep93xx_pata_rw_end()
253 t2 += ep93xx_pata_wait_for_iordy(base, t2); in ep93xx_pata_rw_end()
255 if (t0 > t2 && t0 - t2 > t2i) in ep93xx_pata_rw_end()
256 ep93xx_pata_delay(t0 - t2); in ep93xx_pata_rw_end()
268 unsigned long t2 = reg ? t->act8b : t->active; in ep93xx_pata_read() local
277 ep93xx_pata_rw_end(base, addr, drv_data->iordy, t0, t2, t2i); in ep93xx_pata_read()
302 unsigned long t2 = reg ? t->act8b : t->active; in ep93xx_pata_write() local
[all …]
A Dpata_sis.c230 u8 t1, t2; in sis_old_set_piomode() local
239 pci_read_config_byte(pdev, port + 1, &t2); in sis_old_set_piomode()
242 t2 &= ~0x07; in sis_old_set_piomode()
245 t2 |= recovery[speed]; in sis_old_set_piomode()
248 pci_write_config_byte(pdev, port + 1, t2); in sis_old_set_piomode()
A Dpata_octeon_cf.c138 int t2; in octeon_cf_set_piomode() local
152 t2 = timing.active; in octeon_cf_set_piomode()
153 if (t2) in octeon_cf_set_piomode()
154 t2--; in octeon_cf_set_piomode()
195 reg_tim.s.we = t2; in octeon_cf_set_piomode()
197 reg_tim.s.oe = t2; in octeon_cf_set_piomode()
/drivers/iio/pressure/
A Dms5611_core.c132 s64 off2, sens2, t2; in ms5611_temp_and_pressure_compensate() local
134 t2 = (dt * dt) >> 31; in ms5611_temp_and_pressure_compensate()
145 t -= t2; in ms5611_temp_and_pressure_compensate()
168 s64 off2, sens2, t2, tmp; in ms5607_temp_and_pressure_compensate() local
170 t2 = (dt * dt) >> 31; in ms5607_temp_and_pressure_compensate()
181 t -= t2; in ms5607_temp_and_pressure_compensate()
/drivers/net/wan/
A Dhdlc_x25.c210 params.t2 = state(hdlc)->settings.t2; in x25_open()
311 new_settings.t2 = 1; in x25_ioctl()
328 new_settings.t2 < 1 || in x25_ioctl()
329 new_settings.t2 > 255 || in x25_ioctl()
/drivers/usb/host/
A Dehci-hub.c180 u32 t2 = t1 & ~PORT_WAKE_BITS; in ehci_adjust_port_wakeup_flags() local
187 t2 |= PORT_WKOC_E | PORT_WKDISC_E; in ehci_adjust_port_wakeup_flags()
189 t2 |= PORT_WKOC_E | PORT_WKCONN_E; in ehci_adjust_port_wakeup_flags()
191 ehci_writel(ehci, t2, reg); in ehci_adjust_port_wakeup_flags()
259 u32 t2 = t1 & ~PORT_WAKE_BITS; in ehci_bus_suspend() local
265 t2 |= PORT_SUSPEND; in ehci_bus_suspend()
277 t2 |= PORT_WKOC_E | PORT_WKDISC_E; in ehci_bus_suspend()
282 if (t1 != t2) { in ehci_bus_suspend()
289 if ((t2 & PORT_WKDISC_E) && in ehci_bus_suspend()
290 ehci_port_speed(ehci, t2) == in ehci_bus_suspend()
[all …]
A Dxhci-hub.c1752 u32 t1, t2; in xhci_bus_suspend() local
1756 t2 = xhci_port_state_to_neutral(t1); in xhci_bus_suspend()
1789 t2 &= ~PORT_PLS_MASK; in xhci_bus_suspend()
1790 t2 |= PORT_LINK_STROBE | XDEV_U3; in xhci_bus_suspend()
1799 t2 |= PORT_WKOC_E | PORT_WKDISC_E; in xhci_bus_suspend()
1800 t2 &= ~PORT_WKCONN_E; in xhci_bus_suspend()
1803 t2 &= ~PORT_WKDISC_E; in xhci_bus_suspend()
1810 t2 &= ~PORT_WAKE_BITS; in xhci_bus_suspend()
1813 t2 &= ~PORT_WAKE_BITS; in xhci_bus_suspend()
1816 if (t1 != t2) in xhci_bus_suspend()
[all …]
/drivers/firmware/
A Dturris-mox-rwtm.c197 static void reply_to_mac_addr(u8 *mac, u32 t1, u32 t2) in reply_to_mac_addr() argument
201 mac[2] = t2 >> 24; in reply_to_mac_addr()
202 mac[3] = t2 >> 16; in reply_to_mac_addr()
203 mac[4] = t2 >> 8; in reply_to_mac_addr()
204 mac[5] = t2; in reply_to_mac_addr()
/drivers/media/pci/cx88/
A Dcx88-dsp.c72 u32 t2, t4, t6, t8; in int_cos() local
85 t2 = x * x / 32768 / 2; in int_cos()
86 t4 = t2 * x / 32768 * x / 32768 / 3 / 4; in int_cos()
89 ret = 32768 - t2 + t4 - t6 + t8; in int_cos()
/drivers/gpio/
A Dgpio-viperboard.c47 u8 t2; member
99 gamsg->t2 = 0x00; in vprbrd_gpioa_get()
153 gamsg->t2 = 0x00; in vprbrd_gpioa_set()
193 gamsg->t2 = 0x00; in vprbrd_gpioa_direction_input()
234 gamsg->t2 = 0x00; in vprbrd_gpioa_direction_output()
/drivers/tee/amdtee/
A Damdtee_if.h63 #define TEE_PARAM_TYPES(t0, t1, t2, t3) \ argument
64 ((t0) | ((t1) << 4) | ((t2) << 8) | ((t3) << 12))
/drivers/media/usb/gspca/
A Dt613.c742 u8 t2[] = { 0x07, 0x00, 0x0d, 0x60, 0x0e, 0x80 }; in sd_start() local
751 t2[1] = 0x40; in sd_start()
754 t2[1] = 0x10; in sd_start()
757 t2[1] = 0x50; in sd_start()
761 t2[1] = 0x20; in sd_start()
788 reg_w_buf(gspca_dev, t2, sizeof t2); in sd_start()
/drivers/media/dvb-frontends/
A Dlgs8gxx.c256 u8 t2; in lgs8gxx_set_mode_manual() local
262 lgs8gxx_read_reg(priv, 0x19, &t2); in lgs8gxx_set_mode_manual()
264 if (((t&0x03) == 0x01) && (t2&0x01)) { in lgs8gxx_set_mode_manual()
363 u8 t1, t2; in lgs8gxx_autolock_gi() local
373 lgs8gxx_read_reg(priv, 0x18, &t2); in lgs8gxx_autolock_gi()
376 t2 &= 0xFE; in lgs8gxx_autolock_gi()
377 t2 |= cpn ? 0x01 : 0x00; in lgs8gxx_autolock_gi()
379 lgs8gxx_write_reg(priv, 0x18, t2); in lgs8gxx_autolock_gi()
/drivers/iio/common/ms_sensors/
A Dms_sensors_i2c.c625 s64 off, sens, t2, off2, sens2; in ms_sensors_read_temp_and_pressure() local
661 t2 = (3 * ((s64)dt * (s64)dt)) >> 33; in ms_sensors_read_temp_and_pressure()
672 t2 = (5 * ((s64)dt * (s64)dt)) >> 38; in ms_sensors_read_temp_and_pressure()
686 *temperature = (temp - t2) * 10; in ms_sensors_read_temp_and_pressure()
/drivers/net/dsa/sja1105/
A Dsja1105_tas.c392 s64 t1, t2; in sja1105_tas_check_conflicts() local
444 for (t2 = rbt2 + delta2; in sja1105_tas_check_conflicts()
445 t2 <= stop_time; in sja1105_tas_check_conflicts()
446 t2 += admin->cycle_time) { in sja1105_tas_check_conflicts()
447 if (t1 == t2) { in sja1105_tas_check_conflicts()
/drivers/thermal/
A Dthermal_thresholds.c55 struct user_threshold *t2 = container_of(l2, struct user_threshold, list_node); in __thermal_thresholds_cmp() local
57 return t1->temperature - t2->temperature; in __thermal_thresholds_cmp()
/drivers/hwmon/
A Dsht15.c650 int t2; in sht15_calc_humid() local
656 t2 = 1280; in sht15_calc_humid()
660 t2 = 80; in sht15_calc_humid()
666 return (temp - 25000) * (10000 + t2 * data->val_humid) in sht15_calc_humid()
/drivers/input/joystick/
A Danalog.c311 ktime_t t1, t2, t3; in analog_calibrate_timer() local
321 t2 = ktime_get(); in analog_calibrate_timer()
326 t = ktime_sub(t2, t1) - ktime_sub(t3, t2); in analog_calibrate_timer()

Completed in 67 milliseconds

123