Home
last modified time | relevance | path

Searched refs:val3 (Results 1 – 18 of 18) sorted by relevance

/drivers/net/ethernet/intel/i40e/
Di40e_hmc.h100 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/
Dwalkera0701.c65 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/
Ddce120_timing_generator.c54 #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/
Dov534_9.c1343 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/
Dmxl111sf-demod.c377 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/
Dpm3393.c437 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/
Dmga_drv.h338 #define DMA_BLOCK(reg0, val0, reg1, val1, reg2, val2, reg3, val3) \ argument
347 DMA_WRITE(4, val3); \
/drivers/iio/magnetometer/
Dyamaha-yas530.c929 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/
Dhostap_hw.c1887 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/
Dphy_lp.c2484 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/
Dqlcnic_minidump.c100 u32 val3; member
435 (data | ctr->val3)); in qlcnic_dump_ctrl()
484 data |= ctr->val3; in qlcnic_dump_ctrl()
/drivers/pinctrl/
Dpinctrl-ingenic.c3339 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/
Dqib_sd7220.c1003 #define RXEQ_VAL(elt, adr, val0, val1, val2, val3) \ argument
1004 {RXEQ_INIT_RDESC((elt), (adr)), {(val0), (val1), (val2), (val3)} }
/drivers/net/phy/
Dmicrel.c764 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/
Dcamss-vfe-4-8.c1045 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/
Dmt9m114.h237 u32 val3; member
/drivers/staging/media/ipu3/
Dipu3-css.c457 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/
Dbnx2x_main.c10937 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()