Home
last modified time | relevance | path

Searched refs:d1 (Results 1 – 25 of 38) sorted by relevance

12

/drivers/video/fbdev/core/
Dcfbcopyarea.c107 unsigned long d0, d1; in bitcpy() local
127 d1 = FB_READL(src + 1); in bitcpy()
128 d1 = fb_rev_pixels_in_long(d1, bswapmask); in bitcpy()
129 d0 = d0 >> right | d1 << left; in bitcpy()
145 d1 = d0; in bitcpy()
150 d1 = FB_READL(src++); in bitcpy()
151 d1 = fb_rev_pixels_in_long(d1, bswapmask); in bitcpy()
153 d0 = d0 >> right | d1 << left; in bitcpy()
158 d0 = d1; in bitcpy()
165 d1 = FB_READL(src++); in bitcpy()
[all …]
Dsyscopyarea.c76 unsigned long d0, d1; in bitcpy() local
96 d1 = *src; in bitcpy()
97 *dst = comp(d0 >> right | d1 << left, *dst, in bitcpy()
117 d1 = *src++; in bitcpy()
118 *dst = comp(d0 >> right | d1 << left, *dst, in bitcpy()
120 d0 = d1; in bitcpy()
129 d1 = *src++; in bitcpy()
130 *dst++ = d0 >> right | d1 << left; in bitcpy()
131 d0 = d1; in bitcpy()
132 d1 = *src++; in bitcpy()
[all …]
/drivers/net/wan/
Dwanxlfw.S303 movel SICR, %d1 // D1 = clock settings in SICR
304 andl clocking_mask(%d0), %d1
307 orl clocking_txfromrx(%d0), %d1
311 orl clocking_ext(%d0), %d1
313 movel %d1, SICR // update clock settings in SICR
319 movel first_buffer(%d0), %d1 // D1 = starting buffer address
328 movel %d1, (%a1)+ // buffer address
329 addl #BUFFER_LENGTH, %d1
334 movel %d1, (%a1)+ // buffer address
340 movel %d1, (%a1)+ // buffer address
[all …]
/drivers/staging/comedi/drivers/
Dcomedi_8254.c366 unsigned int d1 = i8254->next_div1 ? i8254->next_div1 : I8254_MAX_COUNT; in comedi_8254_cascade_ns_to_timer() local
368 unsigned int div = d1 * d2; in comedi_8254_cascade_ns_to_timer()
382 d1 > 1 && d1 <= I8254_MAX_COUNT && in comedi_8254_cascade_ns_to_timer()
385 div > d1 && div > d2 && in comedi_8254_cascade_ns_to_timer()
395 for (d1 = start; d1 <= div / d1 + 1 && d1 <= I8254_MAX_COUNT; d1++) { 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()
401 d1_glb = d1; in comedi_8254_cascade_ns_to_timer()
406 d1_lub = d1; 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()
593 b = (d1 * 1000) - (k - 1000) * x1; in twl6030_calibrate_channel()
599 dev_dbg(gpadc->dev, "GPADC d1 for Chn: %d = %d\n", channel, d1); in twl6030_calibrate_channel()
627 s8 d1, d2; in twl6030_calibration() local
647 d1 = trim_regs[0]; in twl6030_calibration()
655 d1 = trim_regs[4]; in twl6030_calibration()
659 d1 = trim_regs[12]; in twl6030_calibration()
663 d1 = trim_regs[6]; in twl6030_calibration()
667 d1 = trim_regs[2]; 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
75 tr_rec->data[0] = d1; in snic_trace()
83 #define SNIC_TRC(_hno, _tag, d1, d2, d3, d4, d5) \ argument
89 (u64)(d1), \
97 #define SNIC_TRC(_hno, _tag, d1, d2, d3, d4, d5) \ argument
104 (u64)(d1), \
/drivers/video/fbdev/
Damifb.c2605 unsigned long d0, d1; in bitcpy() local
2672 d1 = *src; in bitcpy()
2673 *dst = comp(d0 << left | d1 >> right, *dst, in bitcpy()
2687 d1 = *src++; in bitcpy()
2688 *dst = comp(d0 << left | d1 >> right, *dst, in bitcpy()
2690 d0 = d1; in bitcpy()
2699 d1 = *src++; in bitcpy()
2700 *dst++ = d0 << left | d1 >> right; in bitcpy()
2701 d0 = d1; in bitcpy()
2702 d1 = *src++; in bitcpy()
[all …]
Dplatinumfb.h28 unsigned char d1; member
/drivers/block/
Dswim_asm.S52 moveml %d1-%d5/%a0-%a4,%sp@-
55 moveml %sp@+, %d1-%d5/%a0-%a4
80 moveq #3, %d1
90 dbne %d1, wait_addr_mark_byte
155 moveml %d1-%d5/%a0-%a5,%sp@-
158 moveml %sp@+, %d1-%d5/%a0-%a5
178 moveq #3, %d1
190 dbne %d1, wait_data_mark_byte
/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/parisc/
Diosapic.c621 u32 d0, d1; in iosapic_mask_irq() local
624 iosapic_rd_irt_entry(vi, &d0, &d1); in iosapic_mask_irq()
626 iosapic_wr_irt_entry(vi, d0, d1); in iosapic_mask_irq()
633 u32 d0, d1; in iosapic_unmask_irq() local
638 iosapic_set_irt_data(vi, &d0, &d1); in iosapic_unmask_irq()
639 iosapic_wr_irt_entry(vi, d0, d1); in iosapic_unmask_irq()
655 d1 = iosapic_read(isp->addr, d0); in iosapic_unmask_irq()
656 printk(" %x", d1); in iosapic_unmask_irq()
686 u32 d0, d1, dummy_d0; in iosapic_set_affinity_irq() local
700 iosapic_rd_irt_entry(vi, &d0, &d1); in iosapic_set_affinity_irq()
[all …]
/drivers/ata/
Dpata_at32.c243 const int d1 = 0xff; in pata_at32_debug_bus() local
249 iowrite8(d1, info->alt_addr + (0x06 << 1)); in pata_at32_debug_bus()
253 iowrite8(d1, info->ide_addr + (i << 1)); in pata_at32_debug_bus()
258 iowrite16(d1, info->ide_addr); in pata_at32_debug_bus()
259 iowrite16(d1 << 8, info->ide_addr); in pata_at32_debug_bus()
261 iowrite16(d1, info->ide_addr); in pata_at32_debug_bus()
262 iowrite16(d1 << 8, info->ide_addr); in pata_at32_debug_bus()
/drivers/ipack/devices/
Dscc2698.h27 u8 d1, sr; /* Status register */ member
34 u8 d1, csr; /* Clock select register */ member
52 u8 d1, sra; /* Status register (a) */ member
70 u8 d1, csra; /* Clock select register (a) */ member
/drivers/net/wireless/ath/wil6210/
Dtxrx.h347 u32 d1; member
485 return WIL_GET_BITS(d->mac.d1, 8, 9); in wil_rxdesc_ds_bits()
490 return WIL_GET_BITS(d->mac.d1, 21, 24); in wil_rxdesc_mcs()
495 return WIL_GET_BITS(d->mac.d1, 13, 14); in wil_rxdesc_mcast()
/drivers/hwmon/
Dsht15.c74 int d1; member
618 int d1 = temppoints[0].d1; in sht15_calc_temp() local
625 d1 = (data->supply_uv - temppoints[i - 1].vdd) in sht15_calc_temp()
626 * (temppoints[i].d1 - temppoints[i - 1].d1) in sht15_calc_temp()
628 + temppoints[i - 1].d1; in sht15_calc_temp()
632 return data->val_temp * d2 + d1; in sht15_calc_temp()
/drivers/staging/lustre/lustre/obdclass/
Dcl_io.c246 const struct cl_lock_descr *d1) in cl_lock_descr_sort() argument
248 return lu_fid_cmp(cl_lock_descr_fid(d0), cl_lock_descr_fid(d1)) ?: in cl_lock_descr_sort()
249 __diff_normalize(d0->cld_start, d1->cld_start); in cl_lock_descr_sort()
253 const struct cl_lock_descr *d1) in cl_lock_descr_cmp() argument
257 ret = lu_fid_cmp(cl_lock_descr_fid(d0), cl_lock_descr_fid(d1)); in cl_lock_descr_cmp()
260 if (d0->cld_end < d1->cld_start) in cl_lock_descr_cmp()
268 const struct cl_lock_descr *d1) in cl_lock_descr_merge() argument
270 d0->cld_start = min(d0->cld_start, d1->cld_start); in cl_lock_descr_merge()
271 d0->cld_end = max(d0->cld_end, d1->cld_end); in cl_lock_descr_merge()
273 if (d1->cld_mode == CLM_WRITE && d0->cld_mode != CLM_WRITE) in cl_lock_descr_merge()
[all …]
/drivers/net/fddi/skfp/
Dhwmtm.c329 union s_fp_descr volatile *d1 ; in init_descr_ring() local
334 for (i=count-1, d1=start; i ; i--) { in init_descr_ring()
335 d2 = d1 ; in init_descr_ring()
336 d1++ ; /* descr is owned by the host */ in init_descr_ring()
338 d2->r.rxd_next = &d1->r ; in init_descr_ring()
339 phys = mac_drv_virt2phys(smc,(void *)d1) ; in init_descr_ring()
342 DB_GEN("descr ring ends at = %x ",(void *)d1,0,3) ; in init_descr_ring()
343 d1->r.rxd_rbctrl = cpu_to_le32(BMU_CHECK) ; in init_descr_ring()
344 d1->r.rxd_next = &start->r ; in init_descr_ring()
346 d1->r.rxd_nrdadr = cpu_to_le32(phys) ; in init_descr_ring()
[all …]
/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/mtd/maps/
Dbfin-async-flash.c97 static void bfin_flash_write(struct map_info *map, map_word d1, unsigned long ofs) in bfin_flash_write() argument
102 d = d1.x[0]; in bfin_flash_write()
Dgpio-addr-flash.c131 static void gf_write(struct map_info *map, map_word d1, unsigned long ofs) in gf_write() argument
138 d = d1.x[0]; in gf_write()
/drivers/usb/misc/sisusbvga/
Dsisusb_init.c741 unsigned short d1, d2, d3; in SiS_WriteDAC() local
745 d1 = dh; in SiS_WriteDAC()
750 d1 = ah; in SiS_WriteDAC()
755 d1 = al; in SiS_WriteDAC()
759 SiS_SetRegByte(SiS_Pr, DACData, (d1 << shiftflag)); in SiS_WriteDAC()
/drivers/platform/x86/
Dsamsung-laptop.c60 u32 d1; member
413 command, in->d0, in->d1, in->d2, in->d3); in sabi_command()
427 writel(in->d1, samsung->sabi_iface + SABI_IFACE_DATA + 4); in sabi_command()
456 out->d1 = readl(samsung->sabi_iface + SABI_IFACE_DATA + 4); 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()
1326 &samsung->debug.data.d1); in samsung_debugfs_init()
/drivers/devfreq/event/
Dexynos-ppmu.c90 PPMU_EVENT(d1-cpu),
91 PPMU_EVENT(d1-general),
92 PPMU_EVENT(d1-rt),
/drivers/net/wireless/ath/carl9170/
Dphy.c970 u32 d0, d1, td0, td1, fd0, fd1; in carl9170_init_rf_bank4_pwr() local
1008 d1 = chansel; in carl9170_init_rf_bank4_pwr()
1014 td1 = d1 & 0x1f; in carl9170_init_rf_bank4_pwr()
1018 td1 = (d1 >> 5) & 0x7; in carl9170_init_rf_bank4_pwr()

12