Home
last modified time | relevance | path

Searched refs:d2 (Results 1 – 25 of 31) sorted by relevance

12

/drivers/block/
Dswim_asm.S69 movew #seek_time, %d2
85 dbmi %d2, wait_addr_mark_byte
93 moveq #max_retry, %d2
96 dbmi %d2, amark0
101 moveq #max_retry, %d2
104 dbmi %d2, amark1
109 moveq #max_retry, %d2
112 dbmi %d2, amark2
117 moveq #max_retry, %d2
120 dbmi %d2, amark3
[all …]
/drivers/net/wan/
Dwanxlfw.S321 movel #TX_BUFFERS - 2, %d2 // D2 = TX_BUFFERS - 1 counter
330 dbfw %d2, open_port_tx_loop
337 movel #RX_BUFFERS - 2, %d2 // D2 = RX_BUFFERS - 1 counter
342 dbfw %d2, open_port_rx_loop
454 movel %d1, %d2 // D1 = D2 = tx_out BD# = desc#
455 mulul #DESC_LENGTH, %d2 // D2 = TX desc offset
456 addl ch_status_addr(%d0), %d2
457 addl #STATUS_TX_DESCS, %d2 // D2 = TX desc address
458 cmpl #PACKET_FULL, (%d2) // desc status
462 movel 4(%d2), %a0 // PCI address
[all …]
/drivers/staging/comedi/drivers/
Dcomedi_8254.c367 unsigned int d2 = i8254->next_div2 ? i8254->next_div2 : I8254_MAX_COUNT; in comedi_8254_cascade_ns_to_timer() local
368 unsigned int div = d1 * d2; in comedi_8254_cascade_ns_to_timer()
383 d2 > 1 && d2 <= I8254_MAX_COUNT && in comedi_8254_cascade_ns_to_timer()
385 div > d1 && div > d2 && in comedi_8254_cascade_ns_to_timer()
391 d2 = I8254_MAX_COUNT; in comedi_8254_cascade_ns_to_timer()
392 start = div / d2; in comedi_8254_cascade_ns_to_timer()
396 for (d2 = div / d1; in comedi_8254_cascade_ns_to_timer()
397 d1 * d2 <= div + d1 + 1 && d2 <= I8254_MAX_COUNT; d2++) { in comedi_8254_cascade_ns_to_timer()
398 ns = i8254->osc_base * d1 * d2; in comedi_8254_cascade_ns_to_timer()
402 d2_glb = d2; in comedi_8254_cascade_ns_to_timer()
[all …]
/drivers/iio/adc/
Dtwl6030-gpadc.c575 int channel, int d1, int d2) in twl6030_calibrate_channel() argument
590 k = 1000 + (((d2 - d1) * 1000) / (x2 - x1)); in twl6030_calibrate_channel()
600 dev_dbg(gpadc->dev, "GPADC d2 for Chn: %d = %d\n", channel, d2); in twl6030_calibrate_channel()
627 s8 d1, d2; in twl6030_calibration() local
648 d2 = trim_regs[1]; in twl6030_calibration()
656 d2 = trim_regs[5]; in twl6030_calibration()
660 d2 = trim_regs[13]; in twl6030_calibration()
664 d2 = trim_regs[7]; in twl6030_calibration()
668 d2 = trim_regs[3]; in twl6030_calibration()
672 d2 = trim_regs[9]; in twl6030_calibration()
[all …]
/drivers/scsi/snic/
Dsnic_trc.h65 snic_trace(char *fn, u16 hno, u32 tag, u64 d1, u64 d2, u64 d3, u64 d4, u64 d5) in snic_trace() argument
76 tr_rec->data[1] = d2; in snic_trace()
83 #define SNIC_TRC(_hno, _tag, d1, d2, d3, d4, d5) \ argument
90 (u64)(d2), \
97 #define SNIC_TRC(_hno, _tag, d1, d2, d3, d4, d5) \ argument
105 (u64)(d2), \
/drivers/media/rc/
Drc-core-priv.h121 static inline bool geq_margin(unsigned d1, unsigned d2, unsigned margin) in geq_margin() argument
123 return d1 > (d2 - margin); in geq_margin()
126 static inline bool eq_margin(unsigned d1, unsigned d2, unsigned margin) in eq_margin() argument
128 return ((d1 > (d2 - margin)) && (d1 < (d2 + margin))); in eq_margin()
/drivers/clk/
Dclk-vt8500.c332 #define WM8650_BITS_TO_FREQ(r, m, d1, d2) \ argument
333 (r * m / (d1 * (1 << d2)))
335 #define WM8650_BITS_TO_VAL(m, d1, d2) \ argument
336 ((d2 << 13) | (d1 << 10) | (m & 0x3FF))
342 #define WM8750_BITS_TO_FREQ(r, m, d1, d2) \ argument
343 (r * (m+1) / ((d1+1) * (1 << d2)))
345 #define WM8750_BITS_TO_VAL(f, m, d1, d2) \ argument
346 ((f << 24) | ((m - 1) << 16) | ((d1 - 1) << 8) | d2)
352 #define WM8850_BITS_TO_FREQ(r, m, d1, d2) \ argument
353 (r * ((m + 1) * 2) / ((d1+1) * (1 << d2)))
[all …]
/drivers/ipack/devices/
Dscc2698.h28 u8 d2, r1; /* reserved */ member
35 u8 d2, cr; /* Command register */ member
53 u8 d2, r1; /* reserved */ member
71 u8 d2, cra; /* Command register (a) */ member
/drivers/ata/
Dpata_at32.c244 const int d2 = 0x00; in pata_at32_debug_bus() local
250 iowrite8(d2, info->alt_addr + (0x06 << 1)); in pata_at32_debug_bus()
254 iowrite8(d2, info->ide_addr + (i << 1)); in pata_at32_debug_bus()
/drivers/net/ethernet/cavium/liquidio/
Docteon_droq.c47 #define CVM_MIN(d1, d2) (((d1) < (d2)) ? (d1) : (d2)) argument
48 #define CVM_MAX(d1, d2) (((d1) > (d2)) ? (d1) : (d2)) argument
/drivers/usb/misc/sisusbvga/
Dsisusb_init.c741 unsigned short d1, d2, d3; in SiS_WriteDAC() local
746 d2 = ah; in SiS_WriteDAC()
751 d2 = al; in SiS_WriteDAC()
756 d2 = dh; in SiS_WriteDAC()
760 SiS_SetRegByte(SiS_Pr, DACData, (d2 << shiftflag)); in SiS_WriteDAC()
/drivers/platform/x86/
Dsamsung-laptop.c61 u16 d2; member
413 command, in->d0, in->d1, in->d2, in->d3); in sabi_command()
428 writew(in->d2, samsung->sabi_iface + SABI_IFACE_DATA + 8); in sabi_command()
457 out->d2 = readw(samsung->sabi_iface + SABI_IFACE_DATA + 2); in sabi_command()
463 out->d0, out->d1, out->d2, out->d3); in sabi_command()
475 struct sabi_data in = { { { .d0 = 0, .d1 = 0, .d2 = 0, .d3 = 0 } } }; in sabi_set_commandb()
1263 sdata->d0, sdata->d1, sdata->d2, sdata->d3); in show_call()
1274 sdata->d0, sdata->d1, sdata->d2, sdata->d3); in show_call()
1331 &samsung->debug.data.d2); in samsung_debugfs_init()
/drivers/video/fbdev/
Dplatinumfb.h30 unsigned char d2; member
Dplatinumfb.c237 out_8(&cmap_regs->d2, (d)); \
250 if (in_8(&cmap_regs->d2) == 2) { in set_platinum_clock()
620 pinfo->dactype = in_8(&pinfo->cmap_regs->d2); in platinumfb_probe()
Dtridentfb.c360 u32 d2 = point(x2 + w - 1, y2 + h - 1); in blade_copy_rect() local
370 writemmr(par, DST1, direction ? d2 : d1); in blade_copy_rect()
371 writemmr(par, DST2, direction ? d1 : d2); in blade_copy_rect()
522 u32 d2 = point(x2 + w - 1, y2 + h - 1); in image_copy_rect() local
532 writemmr(par, DST1, direction ? d2 : d1); in image_copy_rect()
533 writemmr(par, DST2, direction ? d1 : d2); in image_copy_rect()
/drivers/isdn/i4l/
Disdn_audio.c200 unsigned long d0, d1, d2, d3; in isdn_audio_tlookup() local
207 : "=&b"(d0), "=&c"(d1), "=&D"(d2), "=&S"(d3) in isdn_audio_tlookup()
/drivers/i2c/busses/
Di2c-diolan-u2c.c188 u8 d2, bool flush) in diolan_usb_cmd_data2() argument
192 dev->obuffer[dev->olen++] = d2; in diolan_usb_cmd_data2()
/drivers/acpi/acpica/
Dacmacros.h420 #define ACPI_INIT_UUID(a, b, c, d0, d1, d2, d3, d4, d5, d6, d7) \ argument
424 (d0), (d1), (d2), (d3), (d4), (d5), (d6), (d7)
/drivers/net/fddi/skfp/
Dhwmtm.c330 union s_fp_descr volatile *d2 ; in init_descr_ring() local
335 d2 = d1 ; in init_descr_ring()
337 d2->r.rxd_rbctrl = cpu_to_le32(BMU_CHECK) ; in init_descr_ring()
338 d2->r.rxd_next = &d1->r ; in init_descr_ring()
340 d2->r.rxd_nrdadr = cpu_to_le32(phys) ; in init_descr_ring()
/drivers/isdn/hardware/eicon/
Dkst_ifc.h172 diva_prot_statistics_t d2; member
Dmaintidi.c1822 &pLib->InterfaceStat.d2.X_Frames; in diva_create_parse_table()
1827 &pLib->InterfaceStat.d2.X_Bytes; in diva_create_parse_table()
1832 &pLib->InterfaceStat.d2.X_Errors; in diva_create_parse_table()
1837 &pLib->InterfaceStat.d2.R_Frames; in diva_create_parse_table()
1842 &pLib->InterfaceStat.d2.R_Bytes; in diva_create_parse_table()
1847 &pLib->InterfaceStat.d2.R_Errors; in diva_create_parse_table()
/drivers/hwmon/
Dsht15.c619 int d2 = (data->val_status & SHT15_STATUS_LOW_RESOLUTION) ? 40 : 10; in sht15_calc_temp() local
632 return data->val_temp * d2 + d1; in sht15_calc_temp()
/drivers/pinctrl/sh-pfc/
Dpfc-r8a7778.c1455 #define MMC_PFC_DAT4(name, d0, d1, d2, d3) SH_PFC_MUX4(name, d0, d1, d2, d3) argument
1456 #define MMC_PFC_DAT8(name, d0, d1, d2, d3, d4, d5, d6, d7) \ argument
1457 SH_PFC_MUX8(name, d0, d1, d2, d3, d4, d5, d6, d7)
1558 #define SDHI_PFC_DAT4(name, d0, d1, d2, d3) SH_PFC_MUX4(name, d0, d1, d2, d3) argument
1696 #define VIN_PFC_DAT8(name, d0, d1, d2, d3, d4, d5, d6, d7) \ argument
1697 SH_PFC_MUX8(name, d0, d1, d2, d3, d4, d5, d6, d7)
/drivers/md/
Draid1.c3072 int d, d2, err; in raid1_reshape() local
3127 for (d = d2 = 0; d < conf->raid_disks; d++) { in raid1_reshape()
3129 if (rdev && rdev->raid_disk != d2) { in raid1_reshape()
3131 rdev->raid_disk = d2; in raid1_reshape()
3139 newmirrors[d2++].rdev = rdev; in raid1_reshape()
/drivers/video/fbdev/sis/
Dinit.c2860 unsigned short d1, d2, d3; in SiS_WriteDAC() local
2863 case 0: d1 = dh; d2 = ah; d3 = al; break; in SiS_WriteDAC()
2864 case 1: d1 = ah; d2 = al; d3 = dh; break; in SiS_WriteDAC()
2865 default: d1 = al; d2 = dh; d3 = ah; in SiS_WriteDAC()
2868 SiS_SetRegByte(DACData, (d2 << shiftflag)); in SiS_WriteDAC()

12