/drivers/video/fbdev/core/ |
D | cfbcopyarea.c | 107 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 …]
|
D | syscopyarea.c | 76 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/ |
D | wanxlfw.S | 301 movel SICR, %d1 // D1 = clock settings in SICR 302 andl clocking_mask(%d0), %d1 305 orl clocking_txfromrx(%d0), %d1 309 orl clocking_ext(%d0), %d1 311 movel %d1, SICR // update clock settings in SICR 317 movel first_buffer(%d0), %d1 // D1 = starting buffer address 326 movel %d1, (%a1)+ // buffer address 327 addl #BUFFER_LENGTH, %d1 332 movel %d1, (%a1)+ // buffer address 338 movel %d1, (%a1)+ // buffer address [all …]
|
/drivers/comedi/drivers/ |
D | comedi_8254.c | 357 unsigned int d1 = i8254->next_div1 ? i8254->next_div1 : I8254_MAX_COUNT; in comedi_8254_cascade_ns_to_timer() local 359 unsigned int div = d1 * d2; in comedi_8254_cascade_ns_to_timer() 373 d1 > 1 && d1 <= I8254_MAX_COUNT && in comedi_8254_cascade_ns_to_timer() 376 div > d1 && div > d2 && in comedi_8254_cascade_ns_to_timer() 386 for (d1 = start; d1 <= div / d1 + 1 && d1 <= I8254_MAX_COUNT; d1++) { in comedi_8254_cascade_ns_to_timer() 387 for (d2 = div / d1; in comedi_8254_cascade_ns_to_timer() 388 d1 * d2 <= div + d1 + 1 && d2 <= I8254_MAX_COUNT; d2++) { in comedi_8254_cascade_ns_to_timer() 389 ns = i8254->osc_base * d1 * d2; in comedi_8254_cascade_ns_to_timer() 392 d1_glb = d1; in comedi_8254_cascade_ns_to_timer() 397 d1_lub = d1; in comedi_8254_cascade_ns_to_timer() [all …]
|
/drivers/iio/adc/ |
D | twl6030-gpadc.c | 573 int channel, int d1, int d2) in twl6030_calibrate_channel() argument 588 k = 1000 + (((d2 - d1) * 1000) / (x2 - x1)); in twl6030_calibrate_channel() 591 b = (d1 * 1000) - (k - 1000) * x1; in twl6030_calibrate_channel() 597 dev_dbg(gpadc->dev, "GPADC d1 for Chn: %d = %d\n", channel, d1); in twl6030_calibrate_channel() 625 s8 d1, d2; in twl6030_calibration() local 645 d1 = trim_regs[0]; in twl6030_calibration() 653 d1 = trim_regs[4]; in twl6030_calibration() 657 d1 = trim_regs[12]; in twl6030_calibration() 661 d1 = trim_regs[6]; in twl6030_calibration() 665 d1 = trim_regs[2]; in twl6030_calibration() [all …]
|
D | palmas_gpadc.c | 299 int d1; in palmas_gpadc_calibrate() local 309 adc->adc_info[adc_chan].trim1_reg, &d1); in palmas_gpadc_calibrate() 323 k = (1000 + (1000 * (d2 - d1)) / (x2 - x1)); in palmas_gpadc_calibrate() 331 adc->adc_info[adc_chan].offset = (d1 * 1000) - ((k - 1000) * x1); in palmas_gpadc_calibrate()
|
/drivers/scsi/snic/ |
D | snic_trc.h | 62 snic_trace(char *fn, u16 hno, u32 tag, u64 d1, u64 d2, u64 d3, u64 d4, u64 d5) in snic_trace() argument 72 tr_rec->data[0] = d1; in snic_trace() 80 #define SNIC_TRC(_hno, _tag, d1, d2, d3, d4, d5) \ argument 86 (u64)(d1), \ 94 #define SNIC_TRC(_hno, _tag, d1, d2, d3, d4, d5) \ argument 101 (u64)(d1), \
|
/drivers/video/fbdev/ |
D | amifb.c | 2607 unsigned long d0, d1; in bitcpy() local 2674 d1 = *src; in bitcpy() 2675 *dst = comp(d0 << left | d1 >> right, *dst, in bitcpy() 2689 d1 = *src++; in bitcpy() 2690 *dst = comp(d0 << left | d1 >> right, *dst, in bitcpy() 2692 d0 = d1; in bitcpy() 2701 d1 = *src++; in bitcpy() 2702 *dst++ = d0 << left | d1 >> right; in bitcpy() 2703 d0 = d1; in bitcpy() 2704 d1 = *src++; in bitcpy() [all …]
|
/drivers/block/ |
D | swim_asm.S | 48 moveml %d1-%d5/%a0-%a4,%sp@- 51 moveml %sp@+, %d1-%d5/%a0-%a4 76 moveq #3, %d1 86 dbne %d1, wait_addr_mark_byte 151 moveml %d1-%d5/%a0-%a5,%sp@- 154 moveml %sp@+, %d1-%d5/%a0-%a5 174 moveq #3, %d1 186 dbne %d1, wait_data_mark_byte
|
/drivers/net/wireless/ath/wil6210/ |
D | txrx_edma.h | 288 u32 d1; member 331 u32 d1; member 356 return WIL_GET_BITS(((struct wil_rx_status_compressed *)msg)->d1, in wil_rx_status_get_mcs() 362 return WIL_GET_BITS(((struct wil_rx_status_compressed *)msg)->d1, in wil_rx_status_get_cb_mode() 434 u8 val = WIL_GET_BITS(((struct wil_rx_status_compressed *)msg)->d1, in wil_rx_status_get_data_offset() 450 return WIL_GET_BITS(((struct wil_rx_status_extended *)msg)->ext.d1, in wil_rx_status_get_frame_type() 459 return WIL_GET_BITS(((struct wil_rx_status_extended *)msg)->ext.d1, in wil_rx_status_get_fc1() 558 return WIL_GET_BITS(((struct wil_rx_status_compressed *)msg)->d1, in wil_rx_status_get_key_id()
|
D | txrx.h | 344 u32 d1; member 553 return WIL_GET_BITS(d->mac.d1, 4, 5); in wil_rxdesc_key_id() 558 return WIL_GET_BITS(d->mac.d1, 7, 7); in wil_rxdesc_security() 563 return WIL_GET_BITS(d->mac.d1, 8, 9); in wil_rxdesc_ds_bits() 568 return WIL_GET_BITS(d->mac.d1, 21, 24); in wil_rxdesc_mcs() 573 return WIL_GET_BITS(d->mac.d1, 13, 14); in wil_rxdesc_mcast()
|
/drivers/clk/davinci/ |
D | psc.h | 36 #define LPSC_CLKDEV2(n, c1, d1, c2, d2) \ argument 38 LPSC_CLKDEV((c1), (d1)), \ 43 #define LPSC_CLKDEV3(n, c1, d1, c2, d2, c3, d3) \ argument 45 LPSC_CLKDEV((c1), (d1)), \
|
/drivers/clk/ |
D | clk-vt8500.c | 324 #define WM8650_BITS_TO_FREQ(r, m, d1, d2) \ argument 325 (r * m / (d1 * (1 << d2))) 327 #define WM8650_BITS_TO_VAL(m, d1, d2) \ argument 328 ((d2 << 13) | (d1 << 10) | (m & 0x3FF)) 334 #define WM8750_BITS_TO_FREQ(r, m, d1, d2) \ argument 335 (r * (m+1) / ((d1+1) * (1 << d2))) 337 #define WM8750_BITS_TO_VAL(f, m, d1, d2) \ argument 338 ((f << 24) | ((m - 1) << 16) | ((d1 - 1) << 8) | d2) 344 #define WM8850_BITS_TO_FREQ(r, m, d1, d2) \ argument 345 (r * ((m + 1) * 2) / ((d1+1) * (1 << d2))) [all …]
|
/drivers/parisc/ |
D | iosapic.c | 607 u32 d0, d1; in iosapic_mask_irq() local 610 iosapic_rd_irt_entry(vi, &d0, &d1); in iosapic_mask_irq() 612 iosapic_wr_irt_entry(vi, d0, d1); in iosapic_mask_irq() 619 u32 d0, d1; in iosapic_unmask_irq() local 624 iosapic_set_irt_data(vi, &d0, &d1); in iosapic_unmask_irq() 625 iosapic_wr_irt_entry(vi, d0, d1); in iosapic_unmask_irq() 641 d1 = iosapic_read(isp->addr, d0); in iosapic_unmask_irq() 642 printk(" %x", d1); in iosapic_unmask_irq() 672 u32 d0, d1, dummy_d0; in iosapic_set_affinity_irq() local 686 iosapic_rd_irt_entry(vi, &d0, &d1); in iosapic_set_affinity_irq() [all …]
|
/drivers/media/rc/ |
D | rc-core-priv.h | 167 static inline bool geq_margin(unsigned d1, unsigned d2, unsigned margin) in geq_margin() argument 169 return d1 > (d2 - margin); in geq_margin() 172 static inline bool eq_margin(unsigned d1, unsigned d2, unsigned margin) in eq_margin() argument 174 return ((d1 > (d2 - margin)) && (d1 < (d2 + margin))); in eq_margin()
|
/drivers/ipack/devices/ |
D | scc2698.h | 24 u8 d1, sr; /* Status register */ member 31 u8 d1, csr; /* Clock select register */ member 49 u8 d1, sra; /* Status register (a) */ member 67 u8 d1, csra; /* Clock select register (a) */ member
|
/drivers/hwmon/ |
D | sht15.c | 71 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/clk/baikal-t1/ |
D | ccu-pll.c | 172 unsigned long num, denom, n1, d1, nri; in ccu_pll_calc_factors() local 210 d1 = 1; in ccu_pll_calc_factors() 213 d1 = od_max; in ccu_pll_calc_factors() 216 &n1, &d1); in ccu_pll_calc_factors() 220 freq = ccu_pll_calc_freq(parent_rate, nri, n1, d1); in ccu_pll_calc_factors() 226 *od = CCU_PLL_CLKOD_FACTOR * d1; in ccu_pll_calc_factors()
|
/drivers/firmware/efi/libstub/ |
D | vsprintf.c | 76 unsigned int d3, d2, d1, q, h; in put_dec() local 79 d1 = ((unsigned int)n >> 16); /* implicit "& 0xffff" */ in put_dec() 86 q = 656 * d3 + 7296 * d2 + 5536 * d1 + ((unsigned int)n & 0xffff); in put_dec() 90 q += 7671 * d3 + 9496 * d2 + 6 * d1; in put_dec()
|
/drivers/net/fddi/skfp/ |
D | hwmtm.c | 321 union s_fp_descr volatile *d1 ; in init_descr_ring() local 326 for (i=count-1, d1=start; i ; i--) { in init_descr_ring() 327 d2 = d1 ; in init_descr_ring() 328 d1++ ; /* descr is owned by the host */ in init_descr_ring() 330 d2->r.rxd_next = &d1->r ; in init_descr_ring() 331 phys = mac_drv_virt2phys(smc,(void *)d1) ; in init_descr_ring() 334 DB_GEN(3, "descr ring ends at = %p", d1); in init_descr_ring() 335 d1->r.rxd_rbctrl = cpu_to_le32(BMU_CHECK) ; in init_descr_ring() 336 d1->r.rxd_next = &start->r ; in init_descr_ring() 338 d1->r.rxd_nrdadr = cpu_to_le32(phys) ; in init_descr_ring() [all …]
|
/drivers/platform/x86/ |
D | samsung-laptop.c | 56 u32 d1; member 409 command, in->d0, in->d1, in->d2, in->d3); in sabi_command() 423 writel(in->d1, samsung->sabi_iface + SABI_IFACE_DATA + 4); in sabi_command() 452 out->d1 = readl(samsung->sabi_iface + SABI_IFACE_DATA + 4); in sabi_command() 459 out->d0, out->d1, out->d2, out->d3); in sabi_command() 471 struct sabi_data in = { { { .d0 = 0, .d1 = 0, .d2 = 0, .d3 = 0 } } }; in sabi_set_commandb() 1255 sdata->d0, sdata->d1, sdata->d2, sdata->d3); in samsung_laptop_call_show() 1266 sdata->d0, sdata->d1, sdata->d2, sdata->d3); in samsung_laptop_call_show() 1294 debugfs_create_u32("d1", 0644, root, &samsung->debug.data.d1); in samsung_debugfs_init()
|
/drivers/scsi/ibmvscsi_tgt/ |
D | ibmvscsi_tgt.h | 359 #define h_send_crq(ua, d1, d2) \ argument 360 plpar_hcall_norets(H_SEND_CRQ, ua, d1, d2)
|
/drivers/usb/misc/sisusbvga/ |
D | sisusb_init.c | 740 unsigned short d1, d2, d3; in SiS_WriteDAC() local 744 d1 = dh; in SiS_WriteDAC() 749 d1 = ah; in SiS_WriteDAC() 754 d1 = al; in SiS_WriteDAC() 758 SiS_SetRegByte(SiS_Pr, DACData, (d1 << shiftflag)); in SiS_WriteDAC()
|
/drivers/net/ethernet/mellanox/mlx5/core/ |
D | fs_core.c | 276 static bool mlx5_flow_dests_cmp(struct mlx5_flow_destination *d1, 1548 static bool mlx5_flow_dests_cmp(struct mlx5_flow_destination *d1, in mlx5_flow_dests_cmp() argument 1551 if (d1->type == d2->type) { in mlx5_flow_dests_cmp() 1552 if ((d1->type == MLX5_FLOW_DESTINATION_TYPE_VPORT && in mlx5_flow_dests_cmp() 1553 d1->vport.num == d2->vport.num && in mlx5_flow_dests_cmp() 1554 d1->vport.flags == d2->vport.flags && in mlx5_flow_dests_cmp() 1555 ((d1->vport.flags & MLX5_FLOW_DEST_VPORT_VHCA_ID) ? in mlx5_flow_dests_cmp() 1556 (d1->vport.vhca_id == d2->vport.vhca_id) : true) && in mlx5_flow_dests_cmp() 1557 ((d1->vport.flags & MLX5_FLOW_DEST_VPORT_REFORMAT_ID) ? in mlx5_flow_dests_cmp() 1558 (d1->vport.pkt_reformat->id == in mlx5_flow_dests_cmp() [all …]
|
/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | rxmq.c | 1200 __le32 d0, d1, d2, d3; member 1270 u8 ru = le32_get_bits(phy_data->d1, IWL_RX_PHY_DATA1_HE_RU_ALLOC_MASK); in iwl_mvm_decode_he_phy_ru_alloc() 1310 if (phy_data->d1 & cpu_to_le32(IWL_RX_PHY_DATA1_HE_RU_ALLOC_SEC80)) in iwl_mvm_decode_he_phy_ru_alloc() 1401 he->data5 |= le16_encode_bits(le32_get_bits(phy_data->d1, in iwl_mvm_decode_he_phy_data() 1445 le16_encode_bits(le32_get_bits(phy_data->d1, in iwl_mvm_decode_he_phy_data() 1449 le16_encode_bits(le32_get_bits(phy_data->d1, in iwl_mvm_decode_he_phy_data() 1629 lsig->data2 = le16_encode_bits(le32_get_bits(phy_data->d1, in iwl_mvm_decode_lsig() 1712 phy_data.d1 = desc->v3.phy_data1; in iwl_mvm_rx_mpdu_mq() 1723 phy_data.d1 = desc->v1.phy_data1; in iwl_mvm_rx_mpdu_mq() 1740 le32_get_bits(phy_data.d1, in iwl_mvm_rx_mpdu_mq() [all …]
|