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/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/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/staging/comedi/drivers/
D8253.h35 unsigned int *d2, in i8253_cascade_ns_to_timer() argument
51 div2 = *d2 ? *d2 : max_count; in i8253_cascade_ns_to_timer()
119 *d2 = div2 & 0xffff; in i8253_cascade_ns_to_timer()
/drivers/staging/media/omap24xx/
Dv4l2-int-device.c74 const struct v4l2_int_ioctl_desc *d1 = a, *d2 = b; in ioctl_sort_cmp() local
76 if (d1->num > d2->num) in ioctl_sort_cmp()
79 if (d1->num < d2->num) in ioctl_sort_cmp()
/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/platform/x86/
Dsamsung-laptop.c61 u16 d2; member
398 command, in->d0, in->d1, in->d2, in->d3); in sabi_command()
413 writew(in->d2, samsung->sabi_iface + SABI_IFACE_DATA + 8); in sabi_command()
442 out->d2 = readw(samsung->sabi_iface + SABI_IFACE_DATA + 2); in sabi_command()
448 out->d0, out->d1, out->d2, out->d3); in sabi_command()
460 struct sabi_data in = { { { .d0 = 0, .d1 = 0, .d2 = 0, .d3 = 0 } } }; in sabi_set_commandb()
1164 sdata->d0, sdata->d1, sdata->d2, sdata->d3); in show_call()
1175 sdata->d0, sdata->d1, sdata->d2, sdata->d3); in show_call()
1232 &samsung->debug.data.d2); in samsung_debugfs_init()
/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/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.c239 u32 d2 = point(x2 + w - 1, y2 + h - 1); in blade_copy_rect() local
249 writemmr(par, DST1, direction ? d2 : d1); in blade_copy_rect()
250 writemmr(par, DST2, direction ? d1 : d2); in blade_copy_rect()
401 u32 d2 = point(x2 + w - 1, y2 + h - 1); in image_copy_rect() local
411 writemmr(par, DST1, direction ? d2 : d1); in image_copy_rect()
412 writemmr(par, DST2, direction ? d1 : d2); in image_copy_rect()
/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/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/acpi/acpica/
Dacmacros.h411 #define ACPI_INIT_UUID(a, b, c, d0, d1, d2, d3, d4, d5, d6, d7) \ argument
415 (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/pinctrl/sh-pfc/
Dpfc-r8a7778.c1449 #define MMC_PFC_DAT4(name, d0, d1, d2, d3) SH_PFC_MUX4(name, d0, d1, d2, d3) argument
1450 #define MMC_PFC_DAT8(name, d0, d1, d2, d3, d4, d5, d6, d7) \ argument
1451 SH_PFC_MUX8(name, d0, d1, d2, d3, d4, d5, d6, d7)
1552 #define SDHI_PFC_DAT4(name, d0, d1, d2, d3) SH_PFC_MUX4(name, d0, d1, d2, d3) argument
1690 #define VIN_PFC_DAT8(name, d0, d1, d2, d3, d4, d5, d6, d7) \ argument
1691 SH_PFC_MUX8(name, d0, d1, d2, d3, d4, d5, d6, d7)
/drivers/hwmon/
Dsht15.c631 int d2 = (data->val_status & SHT15_STATUS_LOW_RESOLUTION) ? 40 : 10; in sht15_calc_temp() local
644 return data->val_temp * d2 + d1; in sht15_calc_temp()
/drivers/scsi/qla2xxx/
Dqla_init.c1135 uint32_t cnt, d2; in qla24xx_reset_risc() local
1156 d2 = (uint32_t) RD_REG_WORD(&reg->mailbox0); in qla24xx_reset_risc()
1157 for (cnt = 10000 ; cnt && d2; cnt--) { in qla24xx_reset_risc()
1159 d2 = (uint32_t) RD_REG_WORD(&reg->mailbox0); in qla24xx_reset_risc()
1164 d2 = RD_REG_DWORD(&reg->ctrl_status); in qla24xx_reset_risc()
1165 for (cnt = 6000000 ; cnt && (d2 & CSRX_ISP_SOFT_RESET); cnt--) { in qla24xx_reset_risc()
1167 d2 = RD_REG_DWORD(&reg->ctrl_status); in qla24xx_reset_risc()
1197 d2 = (uint32_t) RD_REG_WORD(&reg->mailbox0); in qla24xx_reset_risc()
1198 for (cnt = 6000000 ; cnt && d2; cnt--) { in qla24xx_reset_risc()
1200 d2 = (uint32_t) RD_REG_WORD(&reg->mailbox0); in qla24xx_reset_risc()
/drivers/video/fbdev/sis/
Dinit.c2861 unsigned short d1, d2, d3; in SiS_WriteDAC() local
2864 case 0: d1 = dh; d2 = ah; d3 = al; break; in SiS_WriteDAC()
2865 case 1: d1 = ah; d2 = al; d3 = dh; break; in SiS_WriteDAC()
2866 default: d1 = al; d2 = dh; d3 = ah; in SiS_WriteDAC()
2869 SiS_SetRegByte(DACData, (d2 << shiftflag)); in SiS_WriteDAC()
/drivers/md/
Draid1.c3062 int d, d2, err; in raid1_reshape() local
3115 for (d = d2 = 0; d < conf->raid_disks; d++) { in raid1_reshape()
3117 if (rdev && rdev->raid_disk != d2) { in raid1_reshape()
3119 rdev->raid_disk = d2; in raid1_reshape()
3127 newmirrors[d2++].rdev = rdev; in raid1_reshape()

12