Home
last modified time | relevance | path

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

/drivers/net/ethernet/intel/i40e/
Di40e_hmc.h124 u32 val1, val2, val3; \
131 val3 = (sd_index) | BIT_ULL(I40E_PFHMC_SDCMD_PMSDWR_SHIFT); \
134 wr32((hw), I40E_PFHMC_SDCMD, val3); \
145 u32 val2, val3; \
150 val3 = (sd_index) | BIT_ULL(I40E_PFHMC_SDCMD_PMSDWR_SHIFT); \
153 wr32((hw), I40E_PFHMC_SDCMD, val3); \
/drivers/net/ethernet/intel/i40evf/
Di40e_hmc.h124 u32 val1, val2, val3; \
131 val3 = (sd_index) | BIT_ULL(I40E_PFHMC_SDCMD_PMSDWR_SHIFT); \
134 wr32((hw), I40E_PFHMC_SDCMD, val3); \
145 u32 val2, val3; \
150 val3 = (sd_index) | BIT_ULL(I40E_PFHMC_SDCMD_PMSDWR_SHIFT); \
153 wr32((hw), I40E_PFHMC_SDCMD, val3); \
/drivers/input/joystick/
Dwalkera0701.c69 int val1, val2, val3, val4, val5, val6, val7, val8; in walkera0701_parse_frame() local
93 val3 = ((w->buf[5] & 7) * 256 + w->buf[6] * 16 + w->buf[7]) >> 2; in walkera0701_parse_frame()
94 val3 *= ((w->buf[5] >> 2) & 2) - 1; /* sign */ in walkera0701_parse_frame()
109 val1, val2, val3, val4, val5, val6, val7, val8, in walkera0701_parse_frame()
115 input_report_abs(w->input_dev, ABS_THROTTLE, val3); in walkera0701_parse_frame()
/drivers/media/usb/gspca/
Dov534_9.c1351 u8 val1, val2, val3; in setsatur() local
1362 val3 = val1 + val2; in setsatur()
1363 sccb_write(gspca_dev, 0x4f, val3); /* matrix coeff */ in setsatur()
1364 sccb_write(gspca_dev, 0x50, val3); in setsatur()
1368 sccb_write(gspca_dev, 0x54, val3); in setsatur()
/drivers/media/usb/dvb-usb-v2/
Dmxl111sf-demod.c386 u8 val1, val2, val3; in mxl111sf_demod_read_ber() local
397 ret = mxl111sf_demod_read_reg(state, V6_N_ACCUMULATE_REG, &val3); in mxl111sf_demod_read_ber()
401 *ber = CALCULATE_BER((val1 | (val2 << 8)), val3); in mxl111sf_demod_read_ber()
/drivers/net/phy/
Dmicrel.c361 int val3 = -3; in ksz9021_load_values_from_of() local
372 if (!of_property_read_u32(of_node, field3, &val3)) in ksz9021_load_values_from_of()
392 if (val3 != -3) in ksz9021_load_values_from_of()
393 newval = ((newval & 0xf0ff) | ((val3 / PS_TO_REG) & 0xf) << 8); in ksz9021_load_values_from_of()
/drivers/net/ethernet/chelsio/cxgb/
Dpm3393.c446 u32 val0, val1, val2, val3; in pm3393_update_statistics() local
456 pmread(mac, SUNI1x10GEXP_REG_MSTAT_COUNTER_ROLLOVER_3, &val3); in pm3393_update_statistics()
458 (((u64)val2 & 0xffff) << 32) | (((u64)val3 & 0xffff) << 48); in pm3393_update_statistics()
/drivers/gpu/drm/mga/
Dmga_drv.h323 #define DMA_BLOCK(reg0, val0, reg1, val1, reg2, val2, reg3, val3) \ argument
332 DMA_WRITE(4, val3); \
/drivers/net/wireless/intersil/hostap/
Dhostap_hw.c1907 u16 val, val2, val3; in prism2_read_fid_reg() local
1913 val3 = HFA384X_INW(reg); in prism2_read_fid_reg()
1915 if (val == val2 && val == val3) in prism2_read_fid_reg()
1920 dev->name, i, reg, val, val2, val3); in prism2_read_fid_reg()
1921 if ((val == val2 || val == val3) && val != 0) in prism2_read_fid_reg()
1923 if (val2 == val3 && val2 != 0) in prism2_read_fid_reg()
1927 "%04x (%04x %04x %04x)\n", dev->name, reg, val, val2, val3); in prism2_read_fid_reg()
/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_minidump.c101 u32 val3; member
436 (data | ctr->val3)); in qlcnic_dump_ctrl()
485 data |= ctr->val3; in qlcnic_dump_ctrl()
/drivers/net/wireless/broadcom/b43/
Dphy_lp.c2507 u32 freqref, vco_freq, val1, val2, val3, timeout, timeoutref, count; in lpphy_b2063_tune() local
2546 val3 = lpphy_qdiv_roundup(vco_freq, 3, 16); in lpphy_b2063_tune()
2558 count = lpphy_qdiv_roundup(val3, val2 + 16, 16); in lpphy_b2063_tune()
2565 tmp1 = ((val3 * 62500) / freqref) << 4; in lpphy_b2063_tune()
2566 tmp2 = ((val3 * 62500) % freqref) << 4; in lpphy_b2063_tune()
2582 tmp3 = ((41 * (val3 - 3000)) /1200) + 27; in lpphy_b2063_tune()
2595 tmp6 = lpphy_qdiv_roundup(100 * val1, val3, 16); in lpphy_b2063_tune()
/drivers/infiniband/hw/qib/
Dqib_sd7220.c1006 #define RXEQ_VAL(elt, adr, val0, val1, val2, val3) \ argument
1007 {RXEQ_INIT_RDESC((elt), (adr)), {(val0), (val1), (val2), (val3)} }
/drivers/staging/media/atomisp/i2c/
Dmt9m114.h239 u32 val3; member
/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_main.c11016 u32 val, val2, val3, val4, id, boot_mode; in bnx2x_get_common_hwinfo() local
11193 val3 = SHMEM_RD(bp, dev_info.shared_hw_config.part_num[8]); in bnx2x_get_common_hwinfo()
11197 val, val2, val3, val4); in bnx2x_get_common_hwinfo()