/drivers/net/ethernet/intel/i40e/ |
D | i40e_hmc.h | 100 u32 val1, val2, val3; \ 107 val3 = (sd_index) | BIT_ULL(I40E_PFHMC_SDCMD_PMSDWR_SHIFT); \ 110 wr32((hw), I40E_PFHMC_SDCMD, val3); \ 121 u32 val2, val3; \ 126 val3 = (sd_index) | BIT_ULL(I40E_PFHMC_SDCMD_PMSDWR_SHIFT); \ 129 wr32((hw), I40E_PFHMC_SDCMD, val3); \
|
/drivers/input/joystick/ |
D | walkera0701.c | 65 int val1, val2, val3, val4, val5, val6, val7, val8; in walkera0701_parse_frame() local 89 val3 = ((w->buf[5] & 7) * 256 + w->buf[6] * 16 + w->buf[7]) >> 2; in walkera0701_parse_frame() 90 val3 *= ((w->buf[5] >> 2) & 2) - 1; /* sign */ in walkera0701_parse_frame() 105 val1, val2, val3, val4, val5, val6, val7, val8, in walkera0701_parse_frame() 111 input_report_abs(w->input_dev, ABS_THROTTLE, val3); in walkera0701_parse_frame()
|
/drivers/gpu/drm/amd/display/dc/dce120/ |
D | dce120_timing_generator.c | 54 #define CRTC_REG_UPDATE_3(reg, field1, val1, field2, val2, field3, val3) \ argument 55 …G_UPDATE_N(reg, 3, FD(reg##__##field1), val1, FD(reg##__##field2), val2, FD(reg##__##field3), val3) 57 #define CRTC_REG_UPDATE_4(reg, field1, val1, field2, val2, field3, val3, field4, val4) \ argument 58 …D(reg##__##field1), val1, FD(reg##__##field2), val2, FD(reg##__##field3), val3, FD(reg##__##field4… 60 #define CRTC_REG_UPDATE_5(reg, field1, val1, field2, val2, field3, val3, field4, val4, field5, val5… argument 61 …D(reg##__##field1), val1, FD(reg##__##field2), val2, FD(reg##__##field3), val3, FD(reg##__##field4… 69 #define CRTC_REG_SET_3(reg, field1, val1, field2, val2, field3, val3) \ argument 70 …_REG_SET_N(reg, 3, FD(reg##__##field1), val1, FD(reg##__##field2), val2, FD(reg##__##field3), val3)
|
/drivers/media/usb/gspca/ |
D | ov534_9.c | 1343 u8 val1, val2, val3; in setsatur() local 1354 val3 = val1 + val2; in setsatur() 1355 sccb_write(gspca_dev, 0x4f, val3); /* matrix coeff */ in setsatur() 1356 sccb_write(gspca_dev, 0x50, val3); in setsatur() 1360 sccb_write(gspca_dev, 0x54, val3); in setsatur()
|
/drivers/media/usb/dvb-usb-v2/ |
D | mxl111sf-demod.c | 377 u8 val1, val2, val3; in mxl111sf_demod_read_ber() local 388 ret = mxl111sf_demod_read_reg(state, V6_N_ACCUMULATE_REG, &val3); in mxl111sf_demod_read_ber() 392 *ber = CALCULATE_BER((val1 | (val2 << 8)), val3); in mxl111sf_demod_read_ber()
|
/drivers/net/ethernet/chelsio/cxgb/ |
D | pm3393.c | 437 u32 val0, val1, val2, val3; in pm3393_update_statistics() local 447 pmread(mac, SUNI1x10GEXP_REG_MSTAT_COUNTER_ROLLOVER_3, &val3); in pm3393_update_statistics() 449 (((u64)val2 & 0xffff) << 32) | (((u64)val3 & 0xffff) << 48); in pm3393_update_statistics()
|
/drivers/gpu/drm/mga/ |
D | mga_drv.h | 338 #define DMA_BLOCK(reg0, val0, reg1, val1, reg2, val2, reg3, val3) \ argument 347 DMA_WRITE(4, val3); \
|
/drivers/iio/magnetometer/ |
D | yamaha-yas530.c | 929 u32 val1, val2, val3, val4; in yas537_get_calibration_data() local 1097 val3 = get_unaligned_be32(&data[6]); in yas537_get_calibration_data() 1106 c->a5 = FIELD_GET(GENMASK(30, 22), val3) - 112; in yas537_get_calibration_data() 1107 c->a6 = FIELD_GET(GENMASK(21, 15), val3) - 64; in yas537_get_calibration_data() 1108 c->a7 = FIELD_GET(GENMASK(14, 7), val3) - 128; in yas537_get_calibration_data()
|
/drivers/net/wireless/intersil/hostap/ |
D | hostap_hw.c | 1887 u16 val, val2, val3; in prism2_read_fid_reg() local 1893 val3 = HFA384X_INW(reg); in prism2_read_fid_reg() 1895 if (val == val2 && val == val3) in prism2_read_fid_reg() 1900 dev->name, i, reg, val, val2, val3); in prism2_read_fid_reg() 1901 if ((val == val2 || val == val3) && val != 0) in prism2_read_fid_reg() 1903 if (val2 == val3 && val2 != 0) in prism2_read_fid_reg() 1907 "%04x (%04x %04x %04x)\n", dev->name, reg, val, val2, val3); in prism2_read_fid_reg()
|
/drivers/net/wireless/broadcom/b43/ |
D | phy_lp.c | 2484 u32 freqref, vco_freq, val1, val2, val3, timeout, timeoutref, count; in lpphy_b2063_tune() local 2523 val3 = lpphy_qdiv_roundup(vco_freq, 3, 16); in lpphy_b2063_tune() 2535 count = lpphy_qdiv_roundup(val3, val2 + 16, 16); in lpphy_b2063_tune() 2542 tmp1 = ((val3 * 62500) / freqref) << 4; in lpphy_b2063_tune() 2543 tmp2 = ((val3 * 62500) % freqref) << 4; in lpphy_b2063_tune() 2559 tmp3 = ((41 * (val3 - 3000)) /1200) + 27; in lpphy_b2063_tune() 2572 tmp6 = lpphy_qdiv_roundup(100 * val1, val3, 16); in lpphy_b2063_tune()
|
/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_minidump.c | 100 u32 val3; member 435 (data | ctr->val3)); in qlcnic_dump_ctrl() 484 data |= ctr->val3; in qlcnic_dump_ctrl()
|
/drivers/pinctrl/ |
D | pinctrl-ingenic.c | 3339 bool val1, val2, val3; in irq_set_type() local 3344 val3 = true; in irq_set_type() 3348 val3 = false; in irq_set_type() 3351 val1 = val3 = false; in irq_set_type() 3356 val2 = val3 = false; in irq_set_type() 3360 val1 = val2 = val3 = false; in irq_set_type() 3381 ingenic_gpio_set_bit(jzgc, X2000_GPIO_EDG, offset, val3); in irq_set_type()
|
/drivers/infiniband/hw/qib/ |
D | qib_sd7220.c | 1003 #define RXEQ_VAL(elt, adr, val0, val1, val2, val3) \ argument 1004 {RXEQ_INIT_RDESC((elt), (adr)), {(val0), (val1), (val2), (val3)} }
|
/drivers/net/phy/ |
D | micrel.c | 764 int val3 = -3; in ksz9021_load_values_from_of() local 775 if (!of_property_read_u32(of_node, field3, &val3)) in ksz9021_load_values_from_of() 795 if (val3 != -3) in ksz9021_load_values_from_of() 796 newval = ((newval & 0xf0ff) | ((val3 / PS_TO_REG) & 0xf) << 8); in ksz9021_load_values_from_of()
|
/drivers/media/platform/qcom/camss/ |
D | camss-vfe-4-8.c | 1045 u32 val3 = VFE_0_BUS_BDG_QOS_CFG_3_CFG; in vfe_set_qos() local 1052 writel_relaxed(val3, vfe->base + VFE_0_BUS_BDG_QOS_CFG_3); in vfe_set_qos()
|
/drivers/staging/media/atomisp/i2c/ |
D | mt9m114.h | 237 u32 val3; member
|
/drivers/staging/media/ipu3/ |
D | ipu3-css.c | 457 u32 val3 = imgu_css_gdc_lut[3][i] & IMGU_GDC_LUT_MASK; in imgu_css_hw_init() local 461 writel(val2 | (val3 << 16), in imgu_css_hw_init()
|
/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_main.c | 10937 u32 val, val2, val3, val4, id, boot_mode; in bnx2x_get_common_hwinfo() local 11114 val3 = SHMEM_RD(bp, dev_info.shared_hw_config.part_num[8]); in bnx2x_get_common_hwinfo() 11118 val, val2, val3, val4); in bnx2x_get_common_hwinfo()
|