Home
last modified time | relevance | path

Searched refs:d1 (Results 1 – 25 of 40) 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 …]
Dpalmas_gpadc.c296 int d1; in palmas_gpadc_calibrate() local
306 adc->adc_info[adc_chan].trim1_reg, &d1); in palmas_gpadc_calibrate()
320 k = (1000 + (1000 * (d2 - d1)) / (x2 - x1)); in palmas_gpadc_calibrate()
328 adc->adc_info[adc_chan].offset = (d1 * 1000) - ((k - 1000) * x1); in palmas_gpadc_calibrate()
/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.c2603 unsigned long d0, d1; in bitcpy() local
2670 d1 = *src; in bitcpy()
2671 *dst = comp(d0 << left | d1 >> right, *dst, in bitcpy()
2685 d1 = *src++; in bitcpy()
2686 *dst = comp(d0 << left | d1 >> right, *dst, in bitcpy()
2688 d0 = d1; in bitcpy()
2697 d1 = *src++; in bitcpy()
2698 *dst++ = d0 << left | d1 >> right; in bitcpy()
2699 d0 = d1; in bitcpy()
2700 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/net/wireless/ath/wil6210/
Dtxrx.h347 u32 d1; member
485 return WIL_GET_BITS(d->mac.d1, 4, 5); in wil_rxdesc_key_id()
490 return WIL_GET_BITS(d->mac.d1, 7, 7); in wil_rxdesc_security()
495 return WIL_GET_BITS(d->mac.d1, 8, 9); in wil_rxdesc_ds_bits()
500 return WIL_GET_BITS(d->mac.d1, 21, 24); in wil_rxdesc_mcs()
505 return WIL_GET_BITS(d->mac.d1, 13, 14); in wil_rxdesc_mcast()
/drivers/clk/
Dclk-vt8500.c333 #define WM8650_BITS_TO_FREQ(r, m, d1, d2) \ argument
334 (r * m / (d1 * (1 << d2)))
336 #define WM8650_BITS_TO_VAL(m, d1, d2) \ argument
337 ((d2 << 13) | (d1 << 10) | (m & 0x3FF))
343 #define WM8750_BITS_TO_FREQ(r, m, d1, d2) \ argument
344 (r * (m+1) / ((d1+1) * (1 << d2)))
346 #define WM8750_BITS_TO_VAL(f, m, d1, d2) \ argument
347 ((f << 24) | ((m - 1) << 16) | ((d1 - 1) << 8) | d2)
353 #define WM8850_BITS_TO_FREQ(r, m, d1, d2) \ argument
354 (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/media/rc/
Drc-core-priv.h126 static inline bool geq_margin(unsigned d1, unsigned d2, unsigned margin) in geq_margin() argument
128 return d1 > (d2 - margin); in geq_margin()
131 static inline bool eq_margin(unsigned d1, unsigned d2, unsigned margin) in eq_margin() argument
133 return ((d1 > (d2 - margin)) && (d1 < (d2 + margin))); in eq_margin()
/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/hwmon/
Dsht15.c75 int d1; member
619 int d1 = temppoints[0].d1; in sht15_calc_temp() local
626 d1 = (data->supply_uv - temppoints[i - 1].vdd) in sht15_calc_temp()
627 * (temppoints[i].d1 - temppoints[i - 1].d1) in sht15_calc_temp()
629 + temppoints[i - 1].d1; in sht15_calc_temp()
633 return data->val_temp * d2 + d1; in sht15_calc_temp()
/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(3, "descr ring ends at = %p", d1); 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/staging/lustre/lustre/obdclass/
Dcl_io.c238 const struct cl_lock_descr *d1) in cl_lock_descr_sort() argument
241 lu_object_fid(&d1->cld_obj->co_lu)); in cl_lock_descr_sort()
291 const struct cl_lock_descr *d1) in cl_lock_descr_merge() argument
293 d0->cld_start = min(d0->cld_start, d1->cld_start); in cl_lock_descr_merge()
294 d0->cld_end = max(d0->cld_end, d1->cld_end); in cl_lock_descr_merge()
296 if (d1->cld_mode == CLM_WRITE && d0->cld_mode != CLM_WRITE) in cl_lock_descr_merge()
299 if (d1->cld_mode == CLM_GROUP && d0->cld_mode != CLM_GROUP) in cl_lock_descr_merge()
/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/scsi/ibmvscsi_tgt/
Dibmvscsi_tgt.h368 #define h_send_crq(ua, d1, d2) \ argument
369 plpar_hcall_norets(H_SEND_CRQ, ua, d1, d2)
/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/net/ethernet/mellanox/mlx5/core/
Dfs_core.c176 static bool mlx5_flow_dests_cmp(struct mlx5_flow_destination *d1,
1273 static bool mlx5_flow_dests_cmp(struct mlx5_flow_destination *d1, in mlx5_flow_dests_cmp() argument
1276 if (d1->type == d2->type) { in mlx5_flow_dests_cmp()
1277 if ((d1->type == MLX5_FLOW_DESTINATION_TYPE_VPORT && in mlx5_flow_dests_cmp()
1278 d1->vport_num == d2->vport_num) || in mlx5_flow_dests_cmp()
1279 (d1->type == MLX5_FLOW_DESTINATION_TYPE_FLOW_TABLE && in mlx5_flow_dests_cmp()
1280 d1->ft == d2->ft) || in mlx5_flow_dests_cmp()
1281 (d1->type == MLX5_FLOW_DESTINATION_TYPE_TIR && in mlx5_flow_dests_cmp()
1282 d1->tir_num == d2->tir_num)) in mlx5_flow_dests_cmp()

12